@godxjp/ui 31.31.7 → 32.0.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/README.md +102 -121
- package/agent/START-HERE.md +10 -10
- package/agent/components/Accordion.json +2 -2
- package/agent/components/AccountChip.json +1 -1
- package/agent/components/Actions.json +1 -1
- package/agent/components/Activity.json +2 -2
- package/agent/components/Affix.json +1 -1
- package/agent/components/Alert.json +22 -6
- package/agent/components/AlertDialog.json +8 -1
- package/agent/components/Anchor.json +4 -3
- package/agent/components/AppLauncher.json +2 -2
- package/agent/components/AppProvider.json +19 -11
- package/agent/components/AppSettingPicker.json +18 -2
- package/agent/components/AppShell.json +4 -5
- package/agent/components/AreaChart.json +0 -1
- package/agent/components/AspectRatio.json +2 -2
- package/agent/components/Attachments.json +3 -3
- package/agent/components/AuthAccountSummary.json +1 -1
- package/agent/components/AuthDivider.json +1 -1
- package/agent/components/AuthExpiryProvider.json +0 -1
- package/agent/components/AuthFooter.json +2 -2
- package/agent/components/AuthIdentity.json +3 -3
- package/agent/components/AuthStack.json +1 -1
- package/agent/components/Avatar.json +2 -12
- package/agent/components/Badge.json +1 -1
- package/agent/components/BarChart.json +0 -1
- package/agent/components/BranchScopePicker.json +1 -1
- package/agent/components/Breadcrumb.json +1 -1
- package/agent/components/Button.json +3 -3
- package/agent/components/Calendar.json +1 -1
- package/agent/components/Card.json +2 -2
- package/agent/components/CardBar.json +0 -1
- package/agent/components/CardContent.json +0 -1
- package/agent/components/Carousel.json +4 -3
- package/agent/components/Cascader.json +1 -1
- package/agent/components/CenteredShell.json +78 -17
- package/agent/components/ChatBubble.json +3 -3
- package/agent/components/ChatBubbleList.json +3 -3
- package/agent/components/ChatComposer.json +3 -3
- package/agent/components/ChatSuggestion.json +3 -3
- package/agent/components/Checkbox.json +1 -1
- package/agent/components/CheckboxGroup.json +0 -1
- package/agent/components/CodeBlock.json +1 -1
- package/agent/components/Collapsible.json +4 -4
- package/agent/components/ColorPicker.json +1 -1
- package/agent/components/Command.json +5 -5
- package/agent/components/CommandPalette.json +1 -1
- package/agent/components/CompactBarTrend.json +1 -1
- package/agent/components/Conversations.json +3 -3
- package/agent/components/CredentialReveal.json +1 -1
- package/agent/components/DataState.json +2 -2
- package/agent/components/DataTable.json +1 -1
- package/agent/components/DatePicker.json +1 -1
- package/agent/components/Descriptions.json +1 -1
- package/agent/components/Dialog.json +2 -2
- package/agent/components/DraggablePanel.json +5 -4
- package/agent/components/DropdownMenu.json +1 -1
- package/agent/components/EmojiPicker.json +3 -2
- package/agent/components/EmptyState.json +1 -1
- package/agent/components/ErrorSurface.json +3 -3
- package/agent/components/FeatureList.json +1 -1
- package/agent/components/Field.json +0 -1
- package/agent/components/Flex.json +34 -4
- package/agent/components/FloatButton.json +6 -5
- package/agent/components/Form.json +1 -1
- package/agent/components/FormErrors.json +0 -1
- package/agent/components/FormField.json +6 -6
- package/agent/components/FormFieldArray.json +0 -1
- package/agent/components/FormFieldControl.json +0 -1
- package/agent/components/FormRoot.json +1 -1
- package/agent/components/Heading.json +3 -0
- package/agent/components/Icon.json +1 -1
- package/agent/components/Image.json +7 -4
- package/agent/components/InfiniteQueryState.json +1 -1
- package/agent/components/Input.json +1 -1
- package/agent/components/InputOTP.json +2 -2
- package/agent/components/Label.json +3 -3
- package/agent/components/LegalDocumentShell.json +5 -4
- package/agent/components/Legend.json +1 -1
- package/agent/components/LineChart.json +0 -1
- package/agent/components/Link.json +0 -1
- package/agent/components/ListRow.json +1 -1
- package/agent/components/Logo.json +5 -4
- package/agent/components/Marquee.json +4 -3
- package/agent/components/Masonry.json +4 -3
- package/agent/components/MasterDetail.json +1 -1
- package/agent/components/MegaMenu.json +4 -3
- package/agent/components/MobileShell.json +4 -4
- package/agent/components/NavList.json +1 -1
- package/agent/components/NumberInput.json +1 -1
- package/agent/components/OrgChart.json +4 -3
- package/agent/components/OrgSwitcher.json +1 -1
- package/agent/components/OverlayPortalProvider.json +0 -1
- package/agent/components/PageContainer.json +3 -3
- package/agent/components/PageCover.json +3 -2
- package/agent/components/Pagination.json +1 -1
- package/agent/components/PasswordInput.json +1 -1
- package/agent/components/PasswordStrength.json +1 -1
- package/agent/components/PermissionMatrix.json +1 -1
- package/agent/components/PieChart.json +0 -1
- package/agent/components/Popover.json +31 -6
- package/agent/components/PrefetchLink.json +1 -1
- package/agent/components/Progress.json +1 -1
- package/agent/components/Prose.json +1 -1
- package/agent/components/QrCode.json +1 -1
- package/agent/components/Radio.json +0 -1
- package/agent/components/RadioGroup.json +2 -2
- package/agent/components/RangeTimeline.json +2 -1
- package/agent/components/Rating.json +1 -1
- package/agent/components/RecordPicker.json +1 -1
- package/agent/components/ResizablePanel.json +1 -1
- package/agent/components/ResponsiveGrid.json +2 -2
- package/agent/components/Reveal.json +3 -3
- package/agent/components/ScrollArea.json +2 -2
- package/agent/components/SearchInput.json +1 -1
- package/agent/components/Segmented.json +1 -1
- package/agent/components/Select.json +7 -5
- package/agent/components/Separator.json +1 -1
- package/agent/components/ServiceCatalogCta.json +0 -1
- package/agent/components/ServiceLauncherCard.json +1 -1
- package/agent/components/ServiceRolePanel.json +1 -1
- package/agent/components/Sheet.json +5 -5
- package/agent/components/Sidebar.json +1 -1
- package/agent/components/Skeleton.json +26 -12
- package/agent/components/Slider.json +2 -2
- package/agent/components/SortableList.json +3 -2
- package/agent/components/SplitPane.json +1 -1
- package/agent/components/StatCard.json +1 -1
- package/agent/components/Steps.json +1 -1
- package/agent/components/Swatch.json +1 -1
- package/agent/components/Switch.json +1 -1
- package/agent/components/Table.json +1 -1
- package/agent/components/Tabs.json +3 -3
- package/agent/components/Text.json +5 -1
- package/agent/components/TextDiff.json +5 -4
- package/agent/components/Textarea.json +1 -1
- package/agent/components/ThemeScope.json +1 -1
- package/agent/components/ThoughtChain.json +3 -3
- package/agent/components/TimePicker.json +1 -1
- package/agent/components/Timeline.json +1 -1
- package/agent/components/TimelineGrid.json +5 -4
- package/agent/components/Toaster.json +0 -1
- package/agent/components/Toggle.json +3 -3
- package/agent/components/ToggleGroup.json +1 -1
- package/agent/components/Toolbar.json +10 -3
- package/agent/components/Tooltip.json +9 -9
- package/agent/components/Topbar.json +1 -1
- package/agent/components/TopbarItem.json +1 -1
- package/agent/components/Transfer.json +2 -2
- package/agent/components/Tree.json +1 -1
- package/agent/components/TreeSelect.json +1 -1
- package/agent/components/TwoFactorSetup.json +1 -1
- package/agent/components/Upload.json +1 -1
- package/agent/components/UploadCropDialog.json +1 -1
- package/agent/components/Welcome.json +3 -3
- package/agent/components/formatDate.json +2 -2
- package/agent/components/inertiaUpload.json +0 -1
- package/agent/components/useZodForm.json +0 -1
- package/agent/components-index.json +80 -154
- package/agent/components.json +541 -1737
- package/agent/index.json +10 -10
- package/agent/llms.txt +9 -9
- package/agent/patterns/account-recovery-settings.json +1 -1
- package/agent/patterns/auth-recovery-panels.json +2 -2
- package/agent/patterns/error-pages.json +1 -1
- package/agent/patterns/pricing-plans.json +17 -0
- package/agent/patterns-index.json +17 -1
- package/agent/patterns.json +21 -4
- package/agent/rules.json +30 -65
- package/agent/tokens.json +27 -57
- package/agent/vocabulary.json +3 -3
- package/dist/app/app-provider.d.ts +5 -3
- package/dist/app/app-provider.js +47 -12
- package/dist/app/date-format-labels.d.ts +3 -1
- package/dist/app/date-format-labels.js +2 -4
- package/dist/app/date-formats.d.ts +21 -2
- package/dist/app/date-formats.js +51 -2
- package/dist/app/index.d.ts +3 -1
- package/dist/app/index.js +5 -0
- package/dist/app/locales.d.ts +58 -3
- package/dist/app/locales.js +134 -8
- package/dist/app/preset.d.ts +25 -0
- package/dist/app/preset.js +10 -0
- package/dist/app/request-headers.d.ts +3 -3
- package/dist/app/request-headers.js +19 -10
- package/dist/app/settings-scope.d.ts +54 -0
- package/dist/app/settings-scope.js +46 -0
- package/dist/app/tenant-theme.js +8 -3
- package/dist/app/time-format-labels.d.ts +4 -1
- package/dist/app/time-format-labels.js +7 -1
- package/dist/app/types.d.ts +10 -2
- package/dist/app/use-formatting.d.ts +1 -1
- package/dist/components/admin/index.d.ts +1 -1
- package/dist/components/admin/index.js +1 -1
- package/dist/components/data-display/accordion.d.ts +51 -1
- package/dist/components/data-display/accordion.js +247 -1
- package/dist/components/data-display/avatar.d.ts +16 -1
- package/dist/components/data-display/avatar.js +109 -1
- package/dist/components/data-display/credential-reveal.d.ts +9 -2
- package/dist/components/data-display/credential-reveal.js +156 -1
- package/dist/components/data-display/image.js +5 -3
- package/dist/components/data-display/index.d.ts +0 -21
- package/dist/components/data-display/index.js +1 -43
- package/dist/components/data-display/popover.d.ts +15 -3
- package/dist/components/data-display/popover.js +168 -2
- package/dist/components/data-entry/branch-scope-picker.d.ts +1 -1
- package/dist/components/data-entry/index.d.ts +5 -12
- package/dist/components/data-entry/index.js +11 -12
- package/dist/components/data-entry/input-otp.d.ts +48 -2
- package/dist/components/data-entry/input-otp.js +94 -1
- package/dist/components/data-entry/number-input.d.ts +1 -1
- package/dist/components/data-entry/password-input.d.ts +38 -2
- package/dist/components/data-entry/password-input.js +56 -1
- package/dist/components/data-entry/rating.d.ts +38 -2
- package/dist/components/data-entry/rating.js +127 -1
- package/dist/components/data-entry/segmented.d.ts +94 -2
- package/dist/components/data-entry/segmented.js +104 -1
- package/dist/components/{ui/tag-input.d.ts → data-entry/select-tags-inline.d.ts} +7 -4
- package/dist/components/{ui/tag-input.js → data-entry/select-tags-inline.js} +4 -4
- package/dist/components/data-entry/select.js +4 -0
- package/dist/components/data-entry/toggle-group.d.ts +108 -2
- package/dist/components/data-entry/toggle-group.js +189 -1
- package/dist/components/data-entry/toggle.d.ts +86 -2
- package/dist/components/data-entry/toggle.js +153 -2
- package/dist/components/feedback/alert.d.ts +5 -3
- package/dist/components/feedback/alert.js +14 -2
- package/dist/components/feedback/index.d.ts +2 -6
- package/dist/components/feedback/index.js +1 -13
- package/dist/components/feedback/skeleton.d.ts +4 -17
- package/dist/components/feedback/skeleton.js +3 -40
- package/dist/components/general/index.d.ts +2 -4
- package/dist/components/general/index.js +1 -6
- package/dist/components/general/typography.d.ts +4 -58
- package/dist/components/general/typography.js +7 -141
- package/dist/components/layout/aspect-ratio.d.ts +24 -1
- package/dist/components/layout/aspect-ratio.js +18 -1
- package/dist/components/layout/auth-divider.js +1 -1
- package/dist/components/layout/auth-identity.js +6 -2
- package/dist/components/layout/centered-shell.d.ts +13 -8
- package/dist/components/layout/centered-shell.js +43 -1
- package/dist/components/layout/flex.d.ts +1 -1
- package/dist/components/layout/flex.js +73 -1
- package/dist/components/layout/index.d.ts +1 -13
- package/dist/components/layout/index.js +0 -12
- package/dist/components/layout/separator.d.ts +25 -2
- package/dist/components/layout/separator.js +71 -1
- package/dist/components/navigation/{app-setting-toggle.d.ts → app-setting-cycle.d.ts} +3 -4
- package/dist/components/navigation/{app-setting-toggle.js → app-setting-cycle.js} +3 -3
- package/dist/components/navigation/app-setting-picker.d.ts +6 -2
- package/dist/components/navigation/app-setting-picker.js +20 -2
- package/dist/components/navigation/index.d.ts +3 -11
- package/dist/components/navigation/index.js +1 -9
- package/dist/components/navigation/tabs.js +1 -1
- package/dist/components/ui/carousel.d.ts +1 -1
- package/dist/components/ui/carousel.js +1 -1
- package/dist/components/ui/index.d.ts +11 -5
- package/dist/components/ui/index.js +5 -5
- package/dist/contracts/measurement.json +2 -2
- package/dist/email/brand-mark.d.ts +3 -2
- package/dist/email/brand-mark.js +1 -1
- package/dist/email/tokens.generated.d.ts +6 -6
- package/dist/email/tokens.generated.js +6 -6
- package/dist/i18n/locale-tags.d.ts +25 -0
- package/dist/i18n/locale-tags.js +59 -0
- package/dist/i18n/translate.d.ts +20 -3
- package/dist/i18n/translate.js +25 -14
- package/dist/i18n/use-translation.d.ts +3 -3
- package/dist/i18n/use-translation.js +4 -2
- package/dist/{components/navigation → lab}/anchor.d.ts +2 -2
- package/dist/{components/navigation → lab}/anchor.js +5 -5
- package/dist/{components/data-display → lab}/carousel.js +2 -2
- package/dist/{components/layout → lab}/draggable-panel.d.ts +8 -8
- package/dist/{components/layout → lab}/draggable-panel.js +2 -2
- package/dist/{components/data-entry → lab}/emoji-picker.d.ts +2 -2
- package/dist/{components/data-entry → lab}/emoji-picker.js +6 -6
- package/dist/{components/general → lab}/float-button.d.ts +8 -8
- package/dist/{components/general → lab}/float-button.js +7 -7
- package/dist/lab/index.d.ts +39 -0
- package/dist/lab/index.js +48 -0
- package/dist/{components/layout → lab}/legal-document-shell.d.ts +2 -2
- package/dist/{components/layout → lab}/legal-document-shell.js +4 -4
- package/dist/{components/data-display → lab}/marquee.d.ts +5 -5
- package/dist/{components/data-display → lab}/marquee.js +5 -5
- package/dist/{components/layout → lab}/masonry.d.ts +2 -2
- package/dist/{components/layout → lab}/masonry.js +3 -3
- package/dist/{components/navigation → lab}/mega-menu.d.ts +4 -4
- package/dist/{components/navigation → lab}/mega-menu.js +2 -2
- package/dist/{components/data-display → lab}/org-chart.d.ts +2 -2
- package/dist/{components/data-display → lab}/org-chart.js +4 -4
- package/dist/{components/layout → lab}/page-cover.d.ts +2 -2
- package/dist/{components/layout → lab}/page-cover.js +2 -2
- package/dist/{components/data-display → lab}/range-timeline.d.ts +1 -1
- package/dist/{components/data-display → lab}/range-timeline.js +6 -6
- package/dist/{components/data-entry → lab}/sortable-list.d.ts +2 -2
- package/dist/{components/data-entry → lab}/sortable-list.js +3 -3
- package/dist/{components/data-display → lab}/text-diff.d.ts +3 -3
- package/dist/{components/data-display → lab}/text-diff.js +4 -4
- package/dist/{components/data-display → lab}/timeline-grid.d.ts +2 -2
- package/dist/{components/data-display → lab}/timeline-grid.js +1 -1
- package/dist/lib/control-styles.js +1 -1
- package/dist/lib/datetime/format.js +20 -6
- package/dist/lib/datetime/sync.d.ts +6 -2
- package/dist/lib/datetime/sync.js +14 -18
- package/dist/lib/platform.d.ts +1 -1
- package/dist/props/components/app.prop.d.ts +28 -13
- package/dist/props/components/data-display.prop.d.ts +19 -29
- package/dist/props/components/feedback.prop.d.ts +15 -44
- package/dist/props/components/general.prop.d.ts +2 -64
- package/dist/props/components/index.d.ts +9 -1
- package/dist/props/components/layout.prop.d.ts +41 -57
- package/dist/props/registry.d.ts +48 -101
- package/dist/props/registry.js +45 -129
- package/dist/props/vocabulary/index.d.ts +1 -1
- package/dist/props/vocabulary/interaction.prop.d.ts +3 -12
- package/dist/styles/alert-layout.css +0 -29
- package/dist/styles/data-display-layout.css +14 -22
- package/dist/styles/dialog-layout.css +4 -0
- package/dist/styles/fonts/OFL.txt +93 -0
- package/dist/styles/form-layout.css +4 -0
- package/dist/styles/index.css +0 -2
- package/dist/styles/layers.json +44 -179
- package/dist/styles/text-layout.css +0 -15
- package/dist/styles.css +2 -0
- package/dist/themes/godx.css +43 -0
- package/dist/themes/godx.d.ts +13 -0
- package/dist/themes/godx.js +12 -0
- package/dist/tokens/components/feedback.css +0 -6
- package/dist/tokens/derived.css +23 -22
- package/dist/tokens/foundation.css +4 -6
- package/docs/COMPOSITION-VS-COMPONENT.md +58 -33
- package/docs/CONSUMER-RULES.md +1 -1
- package/docs/CUSTOMER-THEMING.md +17 -53
- package/docs/migrations/v32.md +98 -0
- package/package.json +58 -19
- package/scripts/_agent-setup.mjs +54 -3
- package/scripts/brand-accent.generated.mjs +15 -2
- package/scripts/cli.mjs +36 -11
- package/scripts/codemod.mjs +522 -0
- package/scripts/consumer-rule.md +21 -43
- package/scripts/postinstall.mjs +10 -47
- package/scripts/prune-css.mjs +1 -1
- package/scripts/ui-audit.mjs +5 -2
- package/dist/components/data-display/chat-bubble.d.ts +0 -30
- package/dist/components/data-display/chat-bubble.js +0 -229
- package/dist/components/data-display/hover-card.d.ts +0 -1
- package/dist/components/data-display/hover-card.js +0 -7
- package/dist/components/data-display/thought-chain.d.ts +0 -42
- package/dist/components/data-display/thought-chain.js +0 -177
- package/dist/components/data-display/thumbnail.d.ts +0 -37
- package/dist/components/data-display/thumbnail.js +0 -20
- package/dist/components/data-display/welcome.d.ts +0 -26
- package/dist/components/data-display/welcome.js +0 -37
- package/dist/components/data-entry/attachments.d.ts +0 -19
- package/dist/components/data-entry/attachments.js +0 -366
- package/dist/components/data-entry/chat-composer.d.ts +0 -51
- package/dist/components/data-entry/chat-composer.js +0 -200
- package/dist/components/data-entry/chat-suggestion.d.ts +0 -28
- package/dist/components/data-entry/chat-suggestion.js +0 -309
- package/dist/components/data-entry/tag-input.d.ts +0 -2
- package/dist/components/data-entry/tag-input.js +0 -5
- package/dist/components/feedback/banner.d.ts +0 -21
- package/dist/components/feedback/banner.js +0 -19
- package/dist/components/feedback/callout.d.ts +0 -23
- package/dist/components/feedback/callout.js +0 -42
- package/dist/components/layout/auth-shell.d.ts +0 -10
- package/dist/components/layout/auth-shell.js +0 -42
- package/dist/components/layout/space-compact.d.ts +0 -65
- package/dist/components/layout/space-compact.js +0 -52
- package/dist/components/navigation/conversations.d.ts +0 -39
- package/dist/components/navigation/conversations.js +0 -371
- package/dist/components/ui/accordion.d.ts +0 -51
- package/dist/components/ui/accordion.js +0 -254
- package/dist/components/ui/aspect-ratio.d.ts +0 -24
- package/dist/components/ui/aspect-ratio.js +0 -21
- package/dist/components/ui/avatar.d.ts +0 -16
- package/dist/components/ui/avatar.js +0 -115
- package/dist/components/ui/credential-reveal.d.ts +0 -9
- package/dist/components/ui/credential-reveal.js +0 -160
- package/dist/components/ui/hover-card.d.ts +0 -47
- package/dist/components/ui/hover-card.js +0 -205
- package/dist/components/ui/input-otp.d.ts +0 -48
- package/dist/components/ui/input-otp.js +0 -101
- package/dist/components/ui/password-input.d.ts +0 -38
- package/dist/components/ui/password-input.js +0 -60
- package/dist/components/ui/rating.d.ts +0 -38
- package/dist/components/ui/rating.js +0 -131
- package/dist/components/ui/segmented.d.ts +0 -94
- package/dist/components/ui/segmented.js +0 -108
- package/dist/components/ui/separator.d.ts +0 -25
- package/dist/components/ui/separator.js +0 -74
- package/dist/components/ui/toggle-group.d.ts +0 -108
- package/dist/components/ui/toggle-group.js +0 -194
- package/dist/components/ui/toggle.d.ts +0 -86
- package/dist/components/ui/toggle.js +0 -156
- package/docs/CANONICAL-CONTRACTS.md +0 -206
- package/docs/COMPONENTS.md +0 -163
- package/docs/DATETIME.md +0 -78
- package/docs/DEVELOPMENT.md +0 -269
- package/docs/FRAME-A11Y-CI.md +0 -287
- package/docs/FRAME-COVERAGE-LEDGER.md +0 -123
- package/docs/FRAME-COVERAGE-REPORT.md +0 -228
- package/docs/FRAME-COVERAGE-STANDARD.md +0 -65
- package/docs/FRAME-COVERAGE.md +0 -29
- package/docs/MEASUREMENT-CONTRACT.md +0 -109
- package/docs/PROPS-REGISTRY.md +0 -61
- package/docs/PROPS-VOCABULARY.md +0 -100
- package/docs/REGISTRY.md +0 -70
- package/docs/TESTING.md +0 -107
- package/docs/THEME-API-COVERAGE.md +0 -538
- package/docs/WHAT-BELONGS-HERE.md +0 -179
- package/docs/asset-modules.d.ts +0 -53
- package/docs/assets/cover-terrain.svg +0 -6
- package/docs/assets/portrait-amber.svg +0 -5
- package/docs/assets/portrait-clay.svg +0 -5
- package/docs/assets/portrait-indigo.svg +0 -5
- package/docs/assets/portrait-iris.svg +0 -5
- package/docs/assets/portrait-moss.svg +0 -5
- package/docs/assets/portrait-plum.svg +0 -5
- package/docs/assets/portrait-slate.svg +0 -5
- package/docs/assets/service-mark-rose.svg +0 -6
- package/docs/assets/service-mark-teal.svg +0 -5
- package/docs/assets/shot-landscape.svg +0 -12
- package/docs/assets/shot-portrait.svg +0 -10
- package/docs/assets/tcgm/card-1.svg +0 -1
- package/docs/assets/tcgm/card-2.svg +0 -1
- package/docs/assets/tcgm/card-3.svg +0 -1
- package/docs/assets/tcgm/card-4.svg +0 -1
- package/docs/assets/tcgm/card-5.svg +0 -1
- package/docs/assets/tcgm/card-6.svg +0 -1
- package/docs/assets/tcgm/hero-prism.svg +0 -1
- package/docs/assets/tcgm/scene-1.svg +0 -1
- package/docs/assets/tcgm/scene-2.svg +0 -1
- package/docs/assets/tcgm/scene-3.svg +0 -1
- package/docs/assets/tcgm/scene-4.svg +0 -1
- package/docs/assets/tcgm/scene-5.svg +0 -1
- package/docs/assets/tcgm/tcgm-lockup-color.svg +0 -1
- package/docs/assets/tcgm/tcgm-symbol-color.svg +0 -1
- package/docs/charts/cjk-category-axis.tsx +0 -81
- package/docs/charts/compact-bar-trend.tsx +0 -327
- package/docs/charts/size-tiers.tsx +0 -192
- package/docs/data-display/accordion.tsx +0 -99
- package/docs/data-display/avatar.tsx +0 -502
- package/docs/data-display/badge.tsx +0 -335
- package/docs/data-display/card/examples/detail-panel.tsx +0 -106
- package/docs/data-display/card/examples/tab-list.tsx +0 -97
- package/docs/data-display/card/index.md +0 -3
- package/docs/data-display/card/index.tsx +0 -390
- package/docs/data-display/carousel.tsx +0 -160
- package/docs/data-display/charts.tsx +0 -278
- package/docs/data-display/chat-bubble.tsx +0 -397
- package/docs/data-display/code-block.tsx +0 -188
- package/docs/data-display/collapsible.tsx +0 -162
- package/docs/data-display/credential-reveal.tsx +0 -148
- package/docs/data-display/data-table/examples/antd-parity.tsx +0 -257
- package/docs/data-display/data-table/examples/approval-queue.tsx +0 -212
- package/docs/data-display/data-table/examples/grid-features.tsx +0 -158
- package/docs/data-display/data-table/examples/list-page.tsx +0 -175
- package/docs/data-display/data-table/examples/selectable-inbox.tsx +0 -113
- package/docs/data-display/data-table/examples/server-paged.tsx +0 -179
- package/docs/data-display/data-table/examples/striped-list.tsx +0 -173
- package/docs/data-display/data-table/index.md +0 -9
- package/docs/data-display/data-table/index.tsx +0 -407
- package/docs/data-display/descriptions.tsx +0 -263
- package/docs/data-display/empty-state.tsx +0 -164
- package/docs/data-display/feature-list.tsx +0 -159
- package/docs/data-display/hover-card.tsx +0 -181
- package/docs/data-display/image.tsx +0 -170
- package/docs/data-display/legend.tsx +0 -158
- package/docs/data-display/list-row.tsx +0 -441
- package/docs/data-display/markdown.tsx +0 -86
- package/docs/data-display/marquee.tsx +0 -254
- package/docs/data-display/org-chart.tsx +0 -165
- package/docs/data-display/permission-matrix.tsx +0 -188
- package/docs/data-display/popover-touch.tsx +0 -27
- package/docs/data-display/popover.tsx +0 -331
- package/docs/data-display/progress.tsx +0 -162
- package/docs/data-display/prose.tsx +0 -169
- package/docs/data-display/qr-code.tsx +0 -68
- package/docs/data-display/scroll-area.tsx +0 -420
- package/docs/data-display/service-launcher-card.tsx +0 -445
- package/docs/data-display/stat-card.tsx +0 -354
- package/docs/data-display/swatch.tsx +0 -107
- package/docs/data-display/table.tsx +0 -362
- package/docs/data-display/text-diff.tsx +0 -89
- package/docs/data-display/thought-chain.tsx +0 -176
- package/docs/data-display/thumbnail.tsx +0 -128
- package/docs/data-display/timeline-grid.tsx +0 -119
- package/docs/data-display/timeline.tsx +0 -671
- package/docs/data-display/touch-actions.tsx +0 -36
- package/docs/data-display/tree.tsx +0 -724
- package/docs/data-display/welcome.tsx +0 -115
- package/docs/data-entry/attachments.tsx +0 -160
- package/docs/data-entry/block-editor.tsx +0 -105
- package/docs/data-entry/branch-scope-picker.tsx +0 -128
- package/docs/data-entry/calendar.tsx +0 -226
- package/docs/data-entry/cascader.tsx +0 -380
- package/docs/data-entry/chat-composer.tsx +0 -619
- package/docs/data-entry/chat-suggestion.tsx +0 -301
- package/docs/data-entry/checkbox.tsx +0 -256
- package/docs/data-entry/color-picker.tsx +0 -189
- package/docs/data-entry/command-palette.tsx +0 -179
- package/docs/data-entry/command.tsx +0 -341
- package/docs/data-entry/country-picker-recipe.tsx +0 -175
- package/docs/data-entry/date-picker.tsx +0 -452
- package/docs/data-entry/emoji-picker.tsx +0 -35
- package/docs/data-entry/form/examples/employee-settings.tsx +0 -267
- package/docs/data-entry/form/examples/invoice-form.tsx +0 -387
- package/docs/data-entry/form-dynamic-fields.tsx +0 -199
- package/docs/data-entry/form-field/examples/a11y-contract.tsx +0 -242
- package/docs/data-entry/form-field/examples/create-form.tsx +0 -107
- package/docs/data-entry/form-field/index.md +0 -8
- package/docs/data-entry/form-field/index.tsx +0 -337
- package/docs/data-entry/form-inertia.tsx +0 -80
- package/docs/data-entry/form-root.tsx +0 -112
- package/docs/data-entry/form.tsx +0 -1498
- package/docs/data-entry/input-otp.tsx +0 -258
- package/docs/data-entry/input.tsx +0 -796
- package/docs/data-entry/label.tsx +0 -102
- package/docs/data-entry/markdown-editor.tsx +0 -69
- package/docs/data-entry/number-input.tsx +0 -279
- package/docs/data-entry/password-input.tsx +0 -102
- package/docs/data-entry/password-strength.tsx +0 -99
- package/docs/data-entry/radio-group.tsx +0 -316
- package/docs/data-entry/rating.tsx +0 -91
- package/docs/data-entry/record-picker.tsx +0 -209
- package/docs/data-entry/search-input.tsx +0 -121
- package/docs/data-entry/segmented-in-filter-row.tsx +0 -60
- package/docs/data-entry/segmented.tsx +0 -300
- package/docs/data-entry/select-async-contracts.tsx +0 -108
- package/docs/data-entry/select-matrix.tsx +0 -209
- package/docs/data-entry/select.tsx +0 -547
- package/docs/data-entry/slider.tsx +0 -212
- package/docs/data-entry/sortable-list.tsx +0 -76
- package/docs/data-entry/switch.tsx +0 -314
- package/docs/data-entry/tag-input.tsx +0 -145
- package/docs/data-entry/textarea.tsx +0 -249
- package/docs/data-entry/time-picker.tsx +0 -187
- package/docs/data-entry/time-range-picker.tsx +0 -55
- package/docs/data-entry/toggle-count.tsx +0 -348
- package/docs/data-entry/toggle-group.tsx +0 -438
- package/docs/data-entry/toggle.tsx +0 -217
- package/docs/data-entry/transfer.tsx +0 -115
- package/docs/data-entry/tree-select.tsx +0 -204
- package/docs/data-entry/upload-crop-dialog.tsx +0 -109
- package/docs/data-entry/upload.tsx +0 -310
- package/docs/feedback/alert-dialog.tsx +0 -270
- package/docs/feedback/alert.tsx +0 -248
- package/docs/feedback/auth-expiry.tsx +0 -104
- package/docs/feedback/banner.tsx +0 -183
- package/docs/feedback/callout.tsx +0 -220
- package/docs/feedback/danger-confirm.tsx +0 -91
- package/docs/feedback/dialog-touch.tsx +0 -24
- package/docs/feedback/dialog.tsx +0 -373
- package/docs/feedback/sheet.tsx +0 -510
- package/docs/feedback/skeleton.tsx +0 -168
- package/docs/feedback/toast.tsx +0 -135
- package/docs/feedback/tooltip.tsx +0 -171
- package/docs/feedback/two-factor-setup.tsx +0 -68
- package/docs/foundation/_email-specimen.ts +0 -274
- package/docs/foundation/_theme-editor-scope.ts +0 -222
- package/docs/foundation/colors.tsx +0 -207
- package/docs/foundation/density.tsx +0 -242
- package/docs/foundation/email-tokens.tsx +0 -323
- package/docs/foundation/radius-shadow.tsx +0 -154
- package/docs/foundation/spacing.tsx +0 -216
- package/docs/foundation/theme-editor.tsx +0 -654
- package/docs/foundation/typography.tsx +0 -147
- package/docs/general/actions.tsx +0 -175
- package/docs/general/activity.tsx +0 -289
- package/docs/general/button/examples/destructive-confirm.tsx +0 -90
- package/docs/general/button/examples/form-actions.tsx +0 -87
- package/docs/general/button/examples/toolbar.tsx +0 -160
- package/docs/general/button/index.md +0 -16
- package/docs/general/button/index.tsx +0 -236
- package/docs/general/float-button.tsx +0 -133
- package/docs/general/icon.tsx +0 -217
- package/docs/general/logo.tsx +0 -194
- package/docs/general/reveal.tsx +0 -309
- package/docs/general/typography.tsx +0 -542
- package/docs/i18n/messages/en.json +0 -1715
- package/docs/i18n/messages/ja.json +0 -1708
- package/docs/i18n/messages/vi.json +0 -1708
- package/docs/layout/account-chip.tsx +0 -72
- package/docs/layout/admin-collection.tsx +0 -122
- package/docs/layout/affix.tsx +0 -209
- package/docs/layout/app-launcher.tsx +0 -211
- package/docs/layout/app-shell-arrangements.tsx +0 -225
- package/docs/layout/app-shell-narrow-bar.tsx +0 -205
- package/docs/layout/app-shell-states.tsx +0 -171
- package/docs/layout/app-shell.tsx +0 -395
- package/docs/layout/aspect-ratio.tsx +0 -135
- package/docs/layout/auth-account-summary.tsx +0 -103
- package/docs/layout/auth-divider.tsx +0 -28
- package/docs/layout/auth-footer.tsx +0 -37
- package/docs/layout/auth-identity.tsx +0 -70
- package/docs/layout/auth-recovery/examples/mfa-challenge.md +0 -41
- package/docs/layout/auth-recovery/examples/mfa-challenge.tsx +0 -254
- package/docs/layout/auth-recovery/examples/mobile-390.md +0 -25
- package/docs/layout/auth-recovery/examples/mobile-390.tsx +0 -82
- package/docs/layout/auth-recovery/examples/password-recovery.md +0 -24
- package/docs/layout/auth-recovery/examples/password-recovery.tsx +0 -197
- package/docs/layout/auth-recovery/examples/wrapping-ja-en-vi.md +0 -27
- package/docs/layout/auth-recovery/examples/wrapping-ja-en-vi.tsx +0 -156
- package/docs/layout/auth-recovery/index.md +0 -140
- package/docs/layout/auth-recovery/index.tsx +0 -96
- package/docs/layout/auth-shell-context.tsx +0 -103
- package/docs/layout/auth-shell-device.tsx +0 -112
- package/docs/layout/auth-shell-registration.tsx +0 -338
- package/docs/layout/auth-shell-variants.tsx +0 -143
- package/docs/layout/auth-shell.tsx +0 -59
- package/docs/layout/auth-stack.tsx +0 -40
- package/docs/layout/centered-shell.tsx +0 -102
- package/docs/layout/draggable-panel.tsx +0 -127
- package/docs/layout/error-surface/examples/application-403.tsx +0 -84
- package/docs/layout/error-surface/examples/application-404.tsx +0 -77
- package/docs/layout/error-surface/examples/system-500.tsx +0 -47
- package/docs/layout/error-surface/examples/system-503.tsx +0 -48
- package/docs/layout/error-surface/index.md +0 -153
- package/docs/layout/error-surface/index.tsx +0 -239
- package/docs/layout/flex.tsx +0 -444
- package/docs/layout/legal-document-shell/_data.ts +0 -110
- package/docs/layout/legal-document-shell/examples/desktop-1440.md +0 -12
- package/docs/layout/legal-document-shell/examples/desktop-1440.tsx +0 -83
- package/docs/layout/legal-document-shell/examples/mobile-390.md +0 -22
- package/docs/layout/legal-document-shell/examples/mobile-390.tsx +0 -70
- package/docs/layout/legal-document-shell/examples/tablet-1024.md +0 -3
- package/docs/layout/legal-document-shell/examples/tablet-1024.tsx +0 -84
- package/docs/layout/legal-document-shell/examples/wrapping-ja-en-vi.md +0 -18
- package/docs/layout/legal-document-shell/examples/wrapping-ja-en-vi.tsx +0 -61
- package/docs/layout/legal-document-shell/index.md +0 -51
- package/docs/layout/legal-document-shell/index.tsx +0 -101
- package/docs/layout/masonry.tsx +0 -291
- package/docs/layout/master-detail.tsx +0 -390
- package/docs/layout/mobile-shell.tsx +0 -106
- package/docs/layout/nav-list.tsx +0 -584
- package/docs/layout/org-switcher.tsx +0 -131
- package/docs/layout/page-container.tsx +0 -1020
- package/docs/layout/page-cover.tsx +0 -56
- package/docs/layout/resizable-panel.tsx +0 -419
- package/docs/layout/responsive-grid.tsx +0 -403
- package/docs/layout/separator.tsx +0 -327
- package/docs/layout/service-role-panel.tsx +0 -144
- package/docs/layout/sidebar.tsx +0 -689
- package/docs/layout/space-compact.tsx +0 -202
- package/docs/layout/split-pane.tsx +0 -532
- package/docs/layout/topbar-item.tsx +0 -233
- package/docs/layout/topbar.tsx +0 -360
- package/docs/navigation/anchor.tsx +0 -295
- package/docs/navigation/app-setting-picker.tsx +0 -178
- package/docs/navigation/app-setting-toggle.tsx +0 -111
- package/docs/navigation/breadcrumb.tsx +0 -207
- package/docs/navigation/card-tabs.tsx +0 -344
- package/docs/navigation/conversations.tsx +0 -176
- package/docs/navigation/dropdown-menu.tsx +0 -345
- package/docs/navigation/filter-bar.tsx +0 -247
- package/docs/navigation/mega-menu-panel.tsx +0 -86
- package/docs/navigation/mega-menu.tsx +0 -254
- package/docs/navigation/pagination.tsx +0 -293
- package/docs/navigation/steps.tsx +0 -315
- package/docs/navigation/tabs-rtl.tsx +0 -28
- package/docs/navigation/tabs.tsx +0 -755
- package/docs/navigation/toolbar.tsx +0 -347
- package/docs/providers/app-provider.tsx +0 -191
- package/docs/providers/format-date.tsx +0 -230
- package/docs/providers/theme-scope.tsx +0 -186
- package/docs/query/button-refetch.tsx +0 -161
- package/docs/query/data-state.tsx +0 -262
- package/docs/query/infinite-query-state.tsx +0 -97
- package/docs/query/mutation-feedback.tsx +0 -128
- package/docs/query/touch-actions.tsx +0 -68
- package/docs/react-router/prefetch-link.tsx +0 -262
- package/docs/roadmap/ai-chat-components.md +0 -206
- package/docs/roadmap/antd-parity.md +0 -155
- package/docs/roadmap/badge-tag-chip-count.md +0 -172
- package/docs/roadmap/list-masonry.md +0 -159
- package/docs/roadmap/parity-audit-data-display-feedback.md +0 -567
- package/docs/roadmap/parity-audit-data-entry.md +0 -368
- package/docs/roadmap/parity-audit-layout-navigation-general.md +0 -459
- package/docs/roadmap/parity-backlog.md +0 -77
- package/docs/roadmap/tree-components.md +0 -151
- package/docs/roadmap/website-components.md +0 -813
- package/docs/showcase/acme-portal.tsx +0 -461
- package/docs/showcase/acme-website.tsx +0 -499
- package/docs/showcase/caimono-price-comparison.tsx +0 -919
- package/docs/showcase/case1-warehouse-dashboard.tsx +0 -358
- package/docs/showcase/case2-employee-me.tsx +0 -438
- package/docs/showcase/case3-approval-workflow.tsx +0 -531
- package/docs/showcase/case4-login.tsx +0 -312
- package/docs/showcase/case5-shift-calendar.tsx +0 -702
- package/docs/showcase/case6-agency-handy.tsx +0 -1120
- package/docs/showcase/futurelastic-web.tsx +0 -441
- package/docs/showcase/marketing-page.tsx +0 -895
- package/docs/showcase/org-switcher.tsx +0 -320
- package/docs/showcase/permission-matrix.tsx +0 -354
- package/docs/showcase/public-landing.tsx +0 -210
- package/docs/showcase/settings-account-sections.tsx +0 -559
- package/docs/showcase/settings-security-mfa.tsx +0 -145
- package/docs/showcase/table-approval-queue.tsx +0 -199
- package/docs/showcase/table-bulk-actions.tsx +0 -468
- package/docs/showcase/table-compact-kintone.tsx +0 -438
- package/docs/showcase/table-conditional-format.tsx +0 -367
- package/docs/showcase/table-crud-list.tsx +0 -544
- package/docs/showcase/table-density.tsx +0 -349
- package/docs/showcase/table-expandable-rows.tsx +0 -496
- package/docs/showcase/table-filter-chips.tsx +0 -468
- package/docs/showcase/table-footer-totals.tsx +0 -328
- package/docs/showcase/table-grouped-subtotals.tsx +0 -398
- package/docs/showcase/table-master-detail.tsx +0 -482
- package/docs/showcase/table-pagination.tsx +0 -409
- package/docs/showcase/table-states.tsx +0 -371
- package/docs/showcase/table-sticky-columns.tsx +0 -377
- package/docs/showcase/table-tree-rows.tsx +0 -451
- package/docs/showcase/table-view-tabs.tsx +0 -488
- package/docs/showcase/tcgm-website.tsx +0 -1047
- package/docs/showcase/tenant-brand-color.tsx +0 -338
- package/docs/showcase/theme-customization.tsx +0 -1292
- package/docs/showcase/theme-lab.tsx +0 -2125
- package/docs/themes/flat.css +0 -466
- package/docs/themes/glassmorphism.css +0 -960
- package/docs/themes/index.ts +0 -219
- package/docs/themes/neubrutalism.css +0 -481
- /package/dist/components/navigation/{filter-bar.d.ts → toolbar.d.ts} +0 -0
- /package/dist/components/navigation/{filter-bar.js → toolbar.js} +0 -0
- /package/dist/{components/data-display → lab}/carousel.d.ts +0 -0
- /package/dist/{components/data-entry → lab}/emoji-data.d.ts +0 -0
- /package/dist/{components/data-entry → lab}/emoji-data.js +0 -0
- /package/dist/{components/data-display → lab}/marquee-reveal.d.ts +0 -0
- /package/dist/{components/data-display → lab}/marquee-reveal.js +0 -0
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import { useState } from "react";
|
|
2
|
-
import {
|
|
3
|
-
Badge,
|
|
4
|
-
Card,
|
|
5
|
-
CardContent,
|
|
6
|
-
CardDescription,
|
|
7
|
-
CardHeader,
|
|
8
|
-
CardTitle,
|
|
9
|
-
Popover,
|
|
10
|
-
PopoverAnchor,
|
|
11
|
-
PopoverContent,
|
|
12
|
-
PopoverDescription,
|
|
13
|
-
PopoverHeader,
|
|
14
|
-
PopoverTitle,
|
|
15
|
-
PopoverTrigger,
|
|
16
|
-
} from "@godxjp/ui/data-display";
|
|
17
|
-
import {
|
|
18
|
-
Checkbox,
|
|
19
|
-
FormField,
|
|
20
|
-
Input,
|
|
21
|
-
Label,
|
|
22
|
-
Select,
|
|
23
|
-
SelectContent,
|
|
24
|
-
SelectItem,
|
|
25
|
-
SelectTrigger,
|
|
26
|
-
SelectValue,
|
|
27
|
-
} from "@godxjp/ui/data-entry";
|
|
28
|
-
import { Button, Text } from "@godxjp/ui/general";
|
|
29
|
-
import { Flex, PageContainer } from "@godxjp/ui/layout";
|
|
30
|
-
import { Info, SlidersHorizontal } from "lucide-react";
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Popover — floating panel anchored to a trigger. Always compose
|
|
34
|
-
* PopoverTrigger + PopoverContent; never a raw div overlay. Composed only from
|
|
35
|
-
* real @godxjp/ui components.
|
|
36
|
-
*/
|
|
37
|
-
export default function Demo() {
|
|
38
|
-
// Card 1 — controlled filter panel: open/onOpenChange drive the panel, and
|
|
39
|
-
// 適用 closes it. Staged defaultOpen via initial state so the open panel is
|
|
40
|
-
// visible at rest in a static screenshot.
|
|
41
|
-
const [filterOpen, setFilterOpen] = useState(true);
|
|
42
|
-
|
|
43
|
-
return (
|
|
44
|
-
<PageContainer title="Popover" subtitle="Floating panel anchored to a trigger · click to open">
|
|
45
|
-
<Flex direction="col" gap="lg">
|
|
46
|
-
<Card>
|
|
47
|
-
<CardHeader>
|
|
48
|
-
<CardTitle level={2}>PopoverAnchor · non-trigger positioning reference</CardTitle>
|
|
49
|
-
<CardDescription>Anchor positions content without becoming its toggle.</CardDescription>
|
|
50
|
-
</CardHeader>
|
|
51
|
-
<CardContent>
|
|
52
|
-
<Popover defaultOpen>
|
|
53
|
-
<PopoverAnchor asChild>
|
|
54
|
-
<Badge variant="outline">請求額 ¥482,000</Badge>
|
|
55
|
-
</PopoverAnchor>
|
|
56
|
-
<PopoverContent side="right" aria-label="請求額の補足">
|
|
57
|
-
<PopoverDescription>税額と支払条件の補足情報です。</PopoverDescription>
|
|
58
|
-
</PopoverContent>
|
|
59
|
-
</Popover>
|
|
60
|
-
</CardContent>
|
|
61
|
-
</Card>
|
|
62
|
-
|
|
63
|
-
<Card>
|
|
64
|
-
<CardHeader>
|
|
65
|
-
<CardTitle level={2}>Picker in a popover · Select defaultOpen</CardTitle>
|
|
66
|
-
<CardDescription>
|
|
67
|
-
Opening the popover opens the workspace list with it. The Select waits for the popover
|
|
68
|
-
to finish sliding in, so the list sits below its trigger exactly as a click-open does
|
|
69
|
-
and the first option is never covered.
|
|
70
|
-
</CardDescription>
|
|
71
|
-
</CardHeader>
|
|
72
|
-
<CardContent>
|
|
73
|
-
<Popover>
|
|
74
|
-
<PopoverTrigger asChild>
|
|
75
|
-
<Button variant="outline" data-picker-popover="">
|
|
76
|
-
ワークスペースを切り替え
|
|
77
|
-
</Button>
|
|
78
|
-
</PopoverTrigger>
|
|
79
|
-
<PopoverContent aria-label="ワークスペース">
|
|
80
|
-
<Select aria-label="ワークスペース" defaultOpen defaultValue="tokyo">
|
|
81
|
-
<SelectTrigger data-picker-trigger="">
|
|
82
|
-
<SelectValue />
|
|
83
|
-
</SelectTrigger>
|
|
84
|
-
<SelectContent>
|
|
85
|
-
<SelectItem value="tokyo">東京本社</SelectItem>
|
|
86
|
-
<SelectItem value="osaka">大阪支社</SelectItem>
|
|
87
|
-
<SelectItem value="fukuoka">福岡拠点</SelectItem>
|
|
88
|
-
</SelectContent>
|
|
89
|
-
</Select>
|
|
90
|
-
</PopoverContent>
|
|
91
|
-
</Popover>
|
|
92
|
-
</CardContent>
|
|
93
|
-
</Card>
|
|
94
|
-
|
|
95
|
-
<Card>
|
|
96
|
-
<CardHeader>
|
|
97
|
-
<CardTitle level={2}>Controlled trigger + content</CardTitle>
|
|
98
|
-
<CardDescription>
|
|
99
|
-
Common for compact filter / settings panels off a button. Controlled via open /
|
|
100
|
-
onOpenChange so 適用 closes the panel. Shown open at rest.
|
|
101
|
-
</CardDescription>
|
|
102
|
-
</CardHeader>
|
|
103
|
-
<CardContent>
|
|
104
|
-
<Popover open={filterOpen} onOpenChange={setFilterOpen}>
|
|
105
|
-
<PopoverTrigger asChild>
|
|
106
|
-
{/* data-axe-open: check:frame-axe presses this before its overlay scan, so the
|
|
107
|
-
panel is measured OPEN as well as closed. See docs/FRAME-A11Y-CI.md. */}
|
|
108
|
-
<Button data-axe-open variant="outline">
|
|
109
|
-
<SlidersHorizontal />
|
|
110
|
-
絞り込み
|
|
111
|
-
</Button>
|
|
112
|
-
</PopoverTrigger>
|
|
113
|
-
<PopoverContent aria-label="絞り込みパネル">
|
|
114
|
-
<Flex direction="col" gap="md">
|
|
115
|
-
<FormField id="min" label="最小金額">
|
|
116
|
-
<Input id="min" type="number" placeholder="0" />
|
|
117
|
-
</FormField>
|
|
118
|
-
<Flex direction="row" wrap align="center" gap="xs">
|
|
119
|
-
<Checkbox id="unpaid" />
|
|
120
|
-
<Label htmlFor="unpaid">未払いのみ</Label>
|
|
121
|
-
</Flex>
|
|
122
|
-
<Button size="sm" onClick={() => setFilterOpen(false)}>
|
|
123
|
-
適用
|
|
124
|
-
</Button>
|
|
125
|
-
</Flex>
|
|
126
|
-
</PopoverContent>
|
|
127
|
-
</Popover>
|
|
128
|
-
</CardContent>
|
|
129
|
-
</Card>
|
|
130
|
-
|
|
131
|
-
<Card>
|
|
132
|
-
<CardHeader>
|
|
133
|
-
<CardTitle level={2}>Header / title / description slots</CardTitle>
|
|
134
|
-
<CardDescription>
|
|
135
|
-
The titled info-panel pattern: PopoverHeader › PopoverTitle + PopoverDescription, then
|
|
136
|
-
body. Shown open at rest via defaultOpen.
|
|
137
|
-
</CardDescription>
|
|
138
|
-
</CardHeader>
|
|
139
|
-
<CardContent>
|
|
140
|
-
<Popover defaultOpen>
|
|
141
|
-
<PopoverTrigger asChild>
|
|
142
|
-
<Button variant="outline">
|
|
143
|
-
<Info />
|
|
144
|
-
保険料の内訳
|
|
145
|
-
</Button>
|
|
146
|
-
</PopoverTrigger>
|
|
147
|
-
<PopoverContent aria-label="保険料の内訳">
|
|
148
|
-
<Flex direction="col" gap="md">
|
|
149
|
-
<PopoverHeader>
|
|
150
|
-
<PopoverTitle>保険料の内訳</PopoverTitle>
|
|
151
|
-
<PopoverDescription>
|
|
152
|
-
健康保険・厚生年金・雇用保険の控除額を表示します。
|
|
153
|
-
</PopoverDescription>
|
|
154
|
-
</PopoverHeader>
|
|
155
|
-
<Flex direction="col" gap="xs">
|
|
156
|
-
<Flex direction="row" justify="between">
|
|
157
|
-
<span>健康保険</span>
|
|
158
|
-
<span>¥12,400</span>
|
|
159
|
-
</Flex>
|
|
160
|
-
<Flex direction="row" justify="between">
|
|
161
|
-
<span>厚生年金</span>
|
|
162
|
-
<span>¥22,800</span>
|
|
163
|
-
</Flex>
|
|
164
|
-
</Flex>
|
|
165
|
-
</Flex>
|
|
166
|
-
</PopoverContent>
|
|
167
|
-
</Popover>
|
|
168
|
-
</CardContent>
|
|
169
|
-
</Card>
|
|
170
|
-
|
|
171
|
-
<Card>
|
|
172
|
-
<CardHeader>
|
|
173
|
-
<CardTitle level={2}>Placement · side</CardTitle>
|
|
174
|
-
<CardDescription>
|
|
175
|
-
PopoverContent accepts side: top / right / bottom (default) / left, with sideOffset.
|
|
176
|
-
</CardDescription>
|
|
177
|
-
</CardHeader>
|
|
178
|
-
<CardContent>
|
|
179
|
-
<Flex direction="row" wrap gap="sm">
|
|
180
|
-
<Popover>
|
|
181
|
-
<PopoverTrigger asChild>
|
|
182
|
-
<Button variant="outline">side=top</Button>
|
|
183
|
-
</PopoverTrigger>
|
|
184
|
-
<PopoverContent side="top" aria-label="上側の配置例">
|
|
185
|
-
<PopoverDescription>上に開きます。</PopoverDescription>
|
|
186
|
-
</PopoverContent>
|
|
187
|
-
</Popover>
|
|
188
|
-
<Popover>
|
|
189
|
-
<PopoverTrigger asChild>
|
|
190
|
-
<Button variant="outline">side=right</Button>
|
|
191
|
-
</PopoverTrigger>
|
|
192
|
-
<PopoverContent side="right" aria-label="右側の配置例">
|
|
193
|
-
<PopoverDescription>右に開きます。</PopoverDescription>
|
|
194
|
-
</PopoverContent>
|
|
195
|
-
</Popover>
|
|
196
|
-
<Popover>
|
|
197
|
-
<PopoverTrigger asChild>
|
|
198
|
-
<Button variant="outline">side=bottom</Button>
|
|
199
|
-
</PopoverTrigger>
|
|
200
|
-
<PopoverContent side="bottom" aria-label="下側の配置例">
|
|
201
|
-
<PopoverDescription>下に開きます(既定)。</PopoverDescription>
|
|
202
|
-
</PopoverContent>
|
|
203
|
-
</Popover>
|
|
204
|
-
<Popover>
|
|
205
|
-
<PopoverTrigger asChild>
|
|
206
|
-
<Button variant="outline">side=left</Button>
|
|
207
|
-
</PopoverTrigger>
|
|
208
|
-
<PopoverContent side="left" aria-label="左側の配置例">
|
|
209
|
-
<PopoverDescription>左に開きます。</PopoverDescription>
|
|
210
|
-
</PopoverContent>
|
|
211
|
-
</Popover>
|
|
212
|
-
</Flex>
|
|
213
|
-
</CardContent>
|
|
214
|
-
</Card>
|
|
215
|
-
|
|
216
|
-
<Card>
|
|
217
|
-
<CardHeader>
|
|
218
|
-
<CardTitle level={2}>Alignment · align</CardTitle>
|
|
219
|
-
<CardDescription>
|
|
220
|
-
align: start / center (default) / end positions the panel along the trigger edge.
|
|
221
|
-
</CardDescription>
|
|
222
|
-
</CardHeader>
|
|
223
|
-
<CardContent>
|
|
224
|
-
<Flex direction="row" wrap gap="sm">
|
|
225
|
-
<Popover>
|
|
226
|
-
<PopoverTrigger asChild>
|
|
227
|
-
<Button variant="outline">align=start</Button>
|
|
228
|
-
</PopoverTrigger>
|
|
229
|
-
<PopoverContent align="start" aria-label="開始端の配置例">
|
|
230
|
-
<PopoverDescription>開始端に揃えます。</PopoverDescription>
|
|
231
|
-
</PopoverContent>
|
|
232
|
-
</Popover>
|
|
233
|
-
<Popover>
|
|
234
|
-
<PopoverTrigger asChild>
|
|
235
|
-
<Button variant="outline">align=center</Button>
|
|
236
|
-
</PopoverTrigger>
|
|
237
|
-
<PopoverContent align="center" aria-label="中央の配置例">
|
|
238
|
-
<PopoverDescription>中央に揃えます(既定)。</PopoverDescription>
|
|
239
|
-
</PopoverContent>
|
|
240
|
-
</Popover>
|
|
241
|
-
<Popover>
|
|
242
|
-
<PopoverTrigger asChild>
|
|
243
|
-
<Button variant="outline">align=end</Button>
|
|
244
|
-
</PopoverTrigger>
|
|
245
|
-
<PopoverContent align="end" aria-label="終了端の配置例">
|
|
246
|
-
<PopoverDescription>終了端に揃えます。</PopoverDescription>
|
|
247
|
-
</PopoverContent>
|
|
248
|
-
</Popover>
|
|
249
|
-
</Flex>
|
|
250
|
-
</CardContent>
|
|
251
|
-
</Card>
|
|
252
|
-
|
|
253
|
-
<Card>
|
|
254
|
-
<CardHeader>
|
|
255
|
-
<CardTitle level={2}>width · パネルの測り方</CardTitle>
|
|
256
|
-
<CardDescription>
|
|
257
|
-
既定の panel は --popover-width(18rem)。auto は中身に測らせます。自前の幅を持つもの
|
|
258
|
-
(Calendar、チャート、固定幅のプレビュー)はこれ以外に正解がありません。trigger
|
|
259
|
-
はアンカーに合わせます。className に w-*
|
|
260
|
-
を書くのは呼び出し側の定数で、どのテーマからも retune できません。flush が padding
|
|
261
|
-
側で避けているのと同じ話です。
|
|
262
|
-
</CardDescription>
|
|
263
|
-
</CardHeader>
|
|
264
|
-
<CardContent>
|
|
265
|
-
<Flex direction="row" wrap gap="sm">
|
|
266
|
-
<Popover>
|
|
267
|
-
<PopoverTrigger asChild>
|
|
268
|
-
<Button variant="outline">panel(既定)</Button>
|
|
269
|
-
</PopoverTrigger>
|
|
270
|
-
<PopoverContent aria-label="既定の幅">
|
|
271
|
-
<Text size="sm">18rem のパネル幅。散文や、パネル自身が測るリスト向け。</Text>
|
|
272
|
-
</PopoverContent>
|
|
273
|
-
</Popover>
|
|
274
|
-
<Popover>
|
|
275
|
-
<PopoverTrigger asChild>
|
|
276
|
-
<Button variant="outline">auto</Button>
|
|
277
|
-
</PopoverTrigger>
|
|
278
|
-
<PopoverContent width="auto" aria-label="内容に合わせた幅">
|
|
279
|
-
<Text size="sm">中身が幅を決めます。</Text>
|
|
280
|
-
</PopoverContent>
|
|
281
|
-
</Popover>
|
|
282
|
-
<Popover>
|
|
283
|
-
<PopoverTrigger asChild>
|
|
284
|
-
<Button variant="outline">trigger に合わせる</Button>
|
|
285
|
-
</PopoverTrigger>
|
|
286
|
-
<PopoverContent width="trigger" aria-label="トリガーと同じ幅">
|
|
287
|
-
<Text size="sm">アンカーと同じ幅。</Text>
|
|
288
|
-
</PopoverContent>
|
|
289
|
-
</Popover>
|
|
290
|
-
</Flex>
|
|
291
|
-
</CardContent>
|
|
292
|
-
</Card>
|
|
293
|
-
|
|
294
|
-
<Card>
|
|
295
|
-
<CardHeader>
|
|
296
|
-
<CardTitle level={2}>Modal</CardTitle>
|
|
297
|
-
<CardDescription>
|
|
298
|
-
modal traps focus and blocks outside interaction while open, which also marks the rest
|
|
299
|
-
of the page aria-hidden. Shown CLOSED at rest: an open modal layer would take the
|
|
300
|
-
frame's own main landmark and heading out of the accessibility tree. Open it from
|
|
301
|
-
the trigger to inspect it.
|
|
302
|
-
</CardDescription>
|
|
303
|
-
</CardHeader>
|
|
304
|
-
<CardContent>
|
|
305
|
-
<Popover modal>
|
|
306
|
-
<PopoverTrigger asChild>
|
|
307
|
-
<Button variant="outline">確認が必要</Button>
|
|
308
|
-
</PopoverTrigger>
|
|
309
|
-
<PopoverContent aria-label="下書きを削除しますか?">
|
|
310
|
-
<Flex direction="col" gap="md">
|
|
311
|
-
<PopoverHeader>
|
|
312
|
-
<PopoverTitle>下書きを削除しますか?</PopoverTitle>
|
|
313
|
-
<PopoverDescription>この操作は取り消せません。</PopoverDescription>
|
|
314
|
-
</PopoverHeader>
|
|
315
|
-
<Flex direction="row" justify="end" gap="xs">
|
|
316
|
-
<Button variant="outline" size="sm">
|
|
317
|
-
キャンセル
|
|
318
|
-
</Button>
|
|
319
|
-
<Button variant="destructive" size="sm">
|
|
320
|
-
削除
|
|
321
|
-
</Button>
|
|
322
|
-
</Flex>
|
|
323
|
-
</Flex>
|
|
324
|
-
</PopoverContent>
|
|
325
|
-
</Popover>
|
|
326
|
-
</CardContent>
|
|
327
|
-
</Card>
|
|
328
|
-
</Flex>
|
|
329
|
-
</PageContainer>
|
|
330
|
-
);
|
|
331
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Card,
|
|
3
|
-
CardContent,
|
|
4
|
-
CardDescription,
|
|
5
|
-
CardHeader,
|
|
6
|
-
CardTitle,
|
|
7
|
-
Progress,
|
|
8
|
-
} from "@godxjp/ui/data-display";
|
|
9
|
-
import { useTranslation } from "@godxjp/ui/i18n";
|
|
10
|
-
import { Flex, PageContainer } from "@godxjp/ui/layout";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Progress — horizontal 0–100 bar with an optional label and a semantic tone.
|
|
14
|
-
* Composed only from real @godxjp/ui components.
|
|
15
|
-
*/
|
|
16
|
-
export default function Demo() {
|
|
17
|
-
const { t, locale } = useTranslation();
|
|
18
|
-
return (
|
|
19
|
-
<PageContainer title="Progress" subtitle="0–100 bar · optional label + semantic tone">
|
|
20
|
-
<Flex direction="col" gap="lg">
|
|
21
|
-
<Card>
|
|
22
|
-
<CardHeader>
|
|
23
|
-
<CardTitle level={2}>Tones</CardTitle>
|
|
24
|
-
<CardDescription>
|
|
25
|
-
Tone carries meaning。success(既定)/ warning / destructive。
|
|
26
|
-
</CardDescription>
|
|
27
|
-
</CardHeader>
|
|
28
|
-
<CardContent>
|
|
29
|
-
<Flex direction="col" gap="md">
|
|
30
|
-
<Progress value={72} tone="success" label="処理スループット" />
|
|
31
|
-
<Progress value={28} tone="warning" label="SLA 超過リスク" />
|
|
32
|
-
<Progress value={84} tone="destructive" label="エラー率の上限接近" />
|
|
33
|
-
<Progress value={60} label="(tone 指定なし → success)" />
|
|
34
|
-
</Flex>
|
|
35
|
-
</CardContent>
|
|
36
|
-
</Card>
|
|
37
|
-
|
|
38
|
-
<Card>
|
|
39
|
-
<CardHeader>
|
|
40
|
-
<CardTitle level={2}>shape="ring"</CardTitle>
|
|
41
|
-
<CardDescription>
|
|
42
|
-
同じメーターを弧で描きます。バーと同じ value / tone / size / ARIA のまま、label
|
|
43
|
-
がリングの内側に入ります。狭いアプリバーで「18 / 42
|
|
44
|
-
件」を見出しの横に出したいとき、バー+キャプションの 2 段ではなく 1
|
|
45
|
-
マスで済むのが理由です。数値が重要なときではなく、 場所が正方形のときに選びます。
|
|
46
|
-
</CardDescription>
|
|
47
|
-
</CardHeader>
|
|
48
|
-
<CardContent>
|
|
49
|
-
<Flex direction="row" wrap align="center" gap="lg">
|
|
50
|
-
{/* label はリング内の表示であり、同時に読み上げ名でもあります。「何の 18/42 か」を
|
|
51
|
-
名前にしたいときは、画面にすでにある見出しを aria-labelledby で指します
|
|
52
|
-
— bar と同じ規約です。 */}
|
|
53
|
-
<Progress shape="ring" value={43} label="18/42" />
|
|
54
|
-
<Progress shape="ring" value={43} size="sm" label="18/42" />
|
|
55
|
-
<Progress shape="ring" value={0} label="0/42" />
|
|
56
|
-
<Progress shape="ring" value={100} label="42/42" />
|
|
57
|
-
<Progress shape="ring" value={62} tone="warning" label="26/42" />
|
|
58
|
-
<Progress shape="ring" value={88} tone="destructive" label="37/42" />
|
|
59
|
-
{/* label なし=読み出しのないリング。名前は aria-label から。 */}
|
|
60
|
-
<Progress shape="ring" value={43} aria-label="実施済みの点検" />
|
|
61
|
-
</Flex>
|
|
62
|
-
</CardContent>
|
|
63
|
-
</Card>
|
|
64
|
-
|
|
65
|
-
<Card>
|
|
66
|
-
<CardHeader>
|
|
67
|
-
<CardTitle level={2}>Breakdown(segments)</CardTitle>
|
|
68
|
-
<CardDescription>
|
|
69
|
-
1 つの合計を状態ごとに分割します。割合ではなく実数を渡すと、各スライスの比率は
|
|
70
|
-
コンポーネントが計算します。メーターより背の高いトラックになるのは、0.5rem の pill
|
|
71
|
-
上に 3 色を並べると比率が読めなくなるためです。role="img"
|
|
72
|
-
として、全スライスを 1 つの名前で読み上げます。total を渡すと全体は合計ではなく total
|
|
73
|
-
になり、残りはトラックのまま「残り」として読み上げます(antd の percent +
|
|
74
|
-
success.percent と同じく、未塗りのトラックが残り。antd の全体は常に 100
|
|
75
|
-
ですが、ここは実数の単位で total を指定します)。
|
|
76
|
-
</CardDescription>
|
|
77
|
-
</CardHeader>
|
|
78
|
-
<CardContent>
|
|
79
|
-
<Flex direction="col" gap="md">
|
|
80
|
-
<Progress
|
|
81
|
-
segments={[
|
|
82
|
-
{ value: 2, tone: "destructive", label: "期限超過" },
|
|
83
|
-
{ value: 3, tone: "warning", label: "期限間近" },
|
|
84
|
-
{ value: 12, tone: "success", label: "対応済" },
|
|
85
|
-
]}
|
|
86
|
-
label="株式会社山田製作所"
|
|
87
|
-
/>
|
|
88
|
-
<Progress
|
|
89
|
-
segments={[
|
|
90
|
-
{ value: 0, tone: "destructive", label: "期限超過" },
|
|
91
|
-
{ value: 1, tone: "warning", label: "期限間近" },
|
|
92
|
-
{ value: 6, tone: "success", label: "対応済" },
|
|
93
|
-
]}
|
|
94
|
-
label="みどり農産株式会社(0 件のスライスは幅 0)"
|
|
95
|
-
/>
|
|
96
|
-
{/* total を渡すと、スライスは合計ではなく total に対して描かれ、残りはトラックのまま。
|
|
97
|
-
読み上げには残り(remainderLabel)が Intl 形式の数値で入ります。 */}
|
|
98
|
-
<Progress
|
|
99
|
-
segments={[
|
|
100
|
-
{ value: 3, tone: "success", label: t("progressDocs.testRun.passed") },
|
|
101
|
-
{ value: 1, tone: "destructive", label: t("progressDocs.testRun.failed") },
|
|
102
|
-
{ value: 2, tone: "warning", label: t("progressDocs.testRun.blocked") },
|
|
103
|
-
]}
|
|
104
|
-
total={400}
|
|
105
|
-
remainderLabel={t("progressDocs.testRun.notRun")}
|
|
106
|
-
label={t("progressDocs.testRun.caption", {
|
|
107
|
-
total: new Intl.NumberFormat(locale).format(400),
|
|
108
|
-
})}
|
|
109
|
-
/>
|
|
110
|
-
</Flex>
|
|
111
|
-
</CardContent>
|
|
112
|
-
</Card>
|
|
113
|
-
|
|
114
|
-
<Card>
|
|
115
|
-
<CardHeader>
|
|
116
|
-
<CardTitle level={2}>Over capacity</CardTitle>
|
|
117
|
-
<CardDescription>
|
|
118
|
-
over=true で 100% を超えた実値を aria-valuetext
|
|
119
|
-
に残し、破壊的なストライプで区別します。
|
|
120
|
-
</CardDescription>
|
|
121
|
-
</CardHeader>
|
|
122
|
-
<CardContent>
|
|
123
|
-
<Progress value={132} over label="予約容量 132%" />
|
|
124
|
-
</CardContent>
|
|
125
|
-
</Card>
|
|
126
|
-
|
|
127
|
-
<Card>
|
|
128
|
-
<CardHeader>
|
|
129
|
-
<CardTitle level={2}>Labelled / unlabelled</CardTitle>
|
|
130
|
-
<CardDescription>
|
|
131
|
-
label を渡すと bar 下にテキストを表示し aria-labelledby で関連付け。省略時は
|
|
132
|
-
aria-label="Progress"。
|
|
133
|
-
</CardDescription>
|
|
134
|
-
</CardHeader>
|
|
135
|
-
<CardContent>
|
|
136
|
-
<Flex direction="col" gap="md">
|
|
137
|
-
<Progress value={45} label="アップロード進捗" />
|
|
138
|
-
<Progress value={45} />
|
|
139
|
-
</Flex>
|
|
140
|
-
</CardContent>
|
|
141
|
-
</Card>
|
|
142
|
-
|
|
143
|
-
<Card>
|
|
144
|
-
<CardHeader>
|
|
145
|
-
<CardTitle level={2}>Edge values & clamping</CardTitle>
|
|
146
|
-
<CardDescription>
|
|
147
|
-
value は 0–100 にクランプ(Math.max(0, Math.min(100, value)))。範囲外でも安全に描画。
|
|
148
|
-
</CardDescription>
|
|
149
|
-
</CardHeader>
|
|
150
|
-
<CardContent>
|
|
151
|
-
<Flex direction="col" gap="md">
|
|
152
|
-
<Progress value={0} label="0%(空)" />
|
|
153
|
-
<Progress value={100} tone="success" label="100%(完了)" />
|
|
154
|
-
<Progress value={130} tone="warning" label="130 → 100 にクランプ" />
|
|
155
|
-
<Progress value={-5} label="-5 → 0 にクランプ" />
|
|
156
|
-
</Flex>
|
|
157
|
-
</CardContent>
|
|
158
|
-
</Card>
|
|
159
|
-
</Flex>
|
|
160
|
-
</PageContainer>
|
|
161
|
-
);
|
|
162
|
-
}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Card,
|
|
3
|
-
CardContent,
|
|
4
|
-
CardDescription,
|
|
5
|
-
CardHeader,
|
|
6
|
-
CardTitle,
|
|
7
|
-
Prose,
|
|
8
|
-
} from "@godxjp/ui/data-display";
|
|
9
|
-
import { Flex, PageContainer } from "@godxjp/ui/layout";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Prose — typography for rendered content (Markdown, CMS bodies, issue descriptions). Styles the
|
|
13
|
-
* semantic HTML inside it from the tokens; the HTML can come from react-markdown, a sanitised
|
|
14
|
-
* string or JSX. Composed only from real @godxjp/ui components.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* A CONSUMER'S OWN STYLESHEET — the file their app already has, not part of the package. It is
|
|
19
|
-
* inlined here so the third card below is the real thing rather than a description of it.
|
|
20
|
-
*
|
|
21
|
-
* Both halves of the gh#717 contract are exercised:
|
|
22
|
-
* · `--prose-link-*` — the service tunes every link in its wiki once, through the knob;
|
|
23
|
-
* · `a[data-unresolved]` — Prose writes `data-*` on its own ROOT only, so every `data-*` on a
|
|
24
|
-
* descendant `a` is the consumer's and stays selectable. That is a promise, held by
|
|
25
|
-
* src/components/data-display/__tests__/prose-link-717.test.tsx.
|
|
26
|
-
*
|
|
27
|
-
* Measured on the card surface (#fdfdfc light / #21201c dark):
|
|
28
|
-
* resolved --text-link #6400d4 → 8.29:1 light · #dcbcff → 9.85:1 dark
|
|
29
|
-
* unresolved --text-error #aa181f → 7.25:1 light · #eb7076 → 5.51:1 dark
|
|
30
|
-
* The TEXT tier, never `--destructive`: that is the FILL tier, tuned for a white label on top of
|
|
31
|
-
* it, and it measures 2.95:1 as ink on the dark card (gh#610).
|
|
32
|
-
*/
|
|
33
|
-
const WIKI_STYLESHEET = `
|
|
34
|
-
[data-wiki] {
|
|
35
|
-
--prose-link-color: var(--text-link);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
[data-wiki] a[data-unresolved="true"] {
|
|
39
|
-
--prose-link-color: var(--text-error);
|
|
40
|
-
text-decoration-style: dashed;
|
|
41
|
-
}
|
|
42
|
-
`;
|
|
43
|
-
|
|
44
|
-
export default function Demo() {
|
|
45
|
-
return (
|
|
46
|
-
<PageContainer title="Prose" subtitle="レンダリングされた本文のタイポグラフィ">
|
|
47
|
-
<Flex direction="col" gap="lg">
|
|
48
|
-
<Card>
|
|
49
|
-
<CardHeader>
|
|
50
|
-
<CardTitle level={2}>Wiki page (size="md")</CardTitle>
|
|
51
|
-
<CardDescription>
|
|
52
|
-
見出し・段落・リスト・引用・表・コードを一つの本文として。ソフト改行の扱いは Markdown
|
|
53
|
-
パイプライン側 (remark-breaks) の責務。
|
|
54
|
-
</CardDescription>
|
|
55
|
-
</CardHeader>
|
|
56
|
-
<CardContent>
|
|
57
|
-
<Prose size="md" imageSize="fit">
|
|
58
|
-
<h1>請求書の発行手順</h1>
|
|
59
|
-
<p>
|
|
60
|
-
月次の請求書は <strong>締日の翌営業日</strong> に発行する。手順は{" "}
|
|
61
|
-
<a href="#flow">承認フロー</a> に従う。
|
|
62
|
-
</p>
|
|
63
|
-
<h2 id="flow">承認フロー</h2>
|
|
64
|
-
<ol>
|
|
65
|
-
<li>担当者が下書きを作成する</li>
|
|
66
|
-
<li>
|
|
67
|
-
経理が金額を確認する
|
|
68
|
-
<ul>
|
|
69
|
-
<li>消費税区分</li>
|
|
70
|
-
<li>源泉徴収の有無</li>
|
|
71
|
-
</ul>
|
|
72
|
-
</li>
|
|
73
|
-
<li>責任者が承認し、送付する</li>
|
|
74
|
-
</ol>
|
|
75
|
-
<blockquote>
|
|
76
|
-
<p>締日を過ぎた修正は翌月の請求に繰り越す。</p>
|
|
77
|
-
</blockquote>
|
|
78
|
-
<h3>環境</h3>
|
|
79
|
-
{/* Inside Prose the table is rendered content, not page chrome. */}
|
|
80
|
-
{/* ui-audit-disable-next-line no-raw-table */}
|
|
81
|
-
<table>
|
|
82
|
-
<thead>
|
|
83
|
-
<tr>
|
|
84
|
-
<th>項目</th>
|
|
85
|
-
<th>値</th>
|
|
86
|
-
</tr>
|
|
87
|
-
</thead>
|
|
88
|
-
<tbody>
|
|
89
|
-
<tr>
|
|
90
|
-
<td>Browser</td>
|
|
91
|
-
<td>Chrome 140</td>
|
|
92
|
-
</tr>
|
|
93
|
-
<tr>
|
|
94
|
-
<td>Viewport</td>
|
|
95
|
-
<td>1440 x 900</td>
|
|
96
|
-
</tr>
|
|
97
|
-
</tbody>
|
|
98
|
-
</table>
|
|
99
|
-
<h4>再現コード</h4>
|
|
100
|
-
<p>
|
|
101
|
-
<code>estimate.total</code> を <code>hydrate()</code> より前に読むと落ちる。
|
|
102
|
-
</p>
|
|
103
|
-
<pre>{`const total = estimate.total; // undefined before hydrate()`}</pre>
|
|
104
|
-
<hr />
|
|
105
|
-
<p>最終更新: 2026-09-05</p>
|
|
106
|
-
</Prose>
|
|
107
|
-
</CardContent>
|
|
108
|
-
</Card>
|
|
109
|
-
|
|
110
|
-
<Card>
|
|
111
|
-
<CardHeader>
|
|
112
|
-
<CardTitle level={2}>Issue description (size="sm", imageSize="original")</CardTitle>
|
|
113
|
-
<CardDescription>
|
|
114
|
-
コンパクトな本文。貼り付けたスクリーンショットを原寸で見せる設定は横スクロールになる。
|
|
115
|
-
</CardDescription>
|
|
116
|
-
</CardHeader>
|
|
117
|
-
<CardContent>
|
|
118
|
-
<Prose size="sm" imageSize="original">
|
|
119
|
-
<h2>見積画面で合計が更新されない</h2>
|
|
120
|
-
<p>明細を追加しても合計欄が 0 のまま。リロードすると正しい値になる。</p>
|
|
121
|
-
<h3>手順</h3>
|
|
122
|
-
<ol>
|
|
123
|
-
<li>見積 EST-102 を開く</li>
|
|
124
|
-
<li>明細を 1 行追加する</li>
|
|
125
|
-
<li>合計欄を見る</li>
|
|
126
|
-
</ol>
|
|
127
|
-
</Prose>
|
|
128
|
-
</CardContent>
|
|
129
|
-
</Card>
|
|
130
|
-
|
|
131
|
-
<Card>
|
|
132
|
-
<CardHeader>
|
|
133
|
-
<CardTitle level={2}>Wiki body · リンクの状態 (--prose-link-*)</CardTitle>
|
|
134
|
-
<CardDescription>
|
|
135
|
-
リンクの色と下線は --prose-link-color / --prose-link-decoration-line で調整する。Prose
|
|
136
|
-
は自身のルート以外に data-* を書かないため、a[data-…]
|
|
137
|
-
は利用側が所有するセレクタとして保証される。ここではまだ存在しないページへのリンクを
|
|
138
|
-
--text-error +破線で示した。カード面でのコントラストは、解決済み 8.29:1 (ライト) /
|
|
139
|
-
9.85:1 (ダーク)、未解決 7.25:1 / 5.51:1。
|
|
140
|
-
</CardDescription>
|
|
141
|
-
</CardHeader>
|
|
142
|
-
<CardContent>
|
|
143
|
-
<style>{WIKI_STYLESHEET}</style>
|
|
144
|
-
<Prose size="md" data-wiki="">
|
|
145
|
-
<h2>出張費の精算</h2>
|
|
146
|
-
<p>
|
|
147
|
-
原則は <a href="#rules">精算規程</a> に従う。宿泊費の上限は地域区分で変わるため、
|
|
148
|
-
<a href="#lodging" data-unresolved="true">
|
|
149
|
-
宿泊費区分表
|
|
150
|
-
</a>{" "}
|
|
151
|
-
を参照すること(このページはまだ書かれていない)。
|
|
152
|
-
</p>
|
|
153
|
-
<ul>
|
|
154
|
-
<li>
|
|
155
|
-
<a href="#receipt">領収書の要件</a>
|
|
156
|
-
</li>
|
|
157
|
-
<li>
|
|
158
|
-
<a href="#foreign" data-unresolved="true">
|
|
159
|
-
海外出張の為替レート
|
|
160
|
-
</a>
|
|
161
|
-
</li>
|
|
162
|
-
</ul>
|
|
163
|
-
</Prose>
|
|
164
|
-
</CardContent>
|
|
165
|
-
</Card>
|
|
166
|
-
</Flex>
|
|
167
|
-
</PageContainer>
|
|
168
|
-
);
|
|
169
|
-
}
|