@tai42/studio-sdk 16.0.0 → 17.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/dist/components/code-block.js +1 -1
- package/dist/components/code-block.js.map +1 -1
- package/dist/components/confirm-dialog.js +1 -1
- package/dist/components/confirm-dialog.js.map +1 -1
- package/dist/components/copy-field.js +1 -1
- package/dist/components/copy-field.js.map +1 -1
- package/dist/components/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker.js.map +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dirty-guard.d.ts.map +1 -1
- package/dist/components/dirty-guard.js +1 -1
- package/dist/components/dirty-guard.js.map +1 -1
- package/dist/components/explorer-body.d.ts +49 -0
- package/dist/components/explorer-body.d.ts.map +1 -0
- package/dist/components/explorer-body.js +67 -0
- package/dist/components/explorer-body.js.map +1 -0
- package/dist/components/explorer-page-size.d.ts +4 -0
- package/dist/components/explorer-page-size.d.ts.map +1 -0
- package/dist/components/explorer-page-size.js +36 -0
- package/dist/components/explorer-page-size.js.map +1 -0
- package/dist/components/explorer-tag-filter.d.ts +17 -0
- package/dist/components/explorer-tag-filter.d.ts.map +1 -0
- package/dist/components/explorer-tag-filter.js +29 -0
- package/dist/components/explorer-tag-filter.js.map +1 -0
- package/dist/components/explorer-tags.d.ts +22 -0
- package/dist/components/explorer-tags.d.ts.map +1 -0
- package/dist/components/explorer-tags.js +51 -0
- package/dist/components/explorer-tags.js.map +1 -0
- package/dist/components/explorer-view.d.ts +3 -17
- package/dist/components/explorer-view.d.ts.map +1 -1
- package/dist/components/explorer-view.js +53 -170
- package/dist/components/explorer-view.js.map +1 -1
- package/dist/components/extension-combo-builder.d.ts +1 -6
- package/dist/components/extension-combo-builder.d.ts.map +1 -1
- package/dist/components/extension-combo-builder.js +4 -79
- package/dist/components/extension-combo-builder.js.map +1 -1
- package/dist/components/extension-combo-parts.d.ts +44 -0
- package/dist/components/extension-combo-parts.d.ts.map +1 -0
- package/dist/components/extension-combo-parts.js +52 -0
- package/dist/components/extension-combo-parts.js.map +1 -0
- package/dist/components/field.d.ts +8 -0
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +0 -8
- package/dist/components/field.js.map +1 -1
- package/dist/components/fleet-report.d.ts +1 -1
- package/dist/components/fleet-report.d.ts.map +1 -1
- package/dist/components/fleet-report.js +51 -37
- package/dist/components/fleet-report.js.map +1 -1
- package/dist/components/folder-nav.d.ts.map +1 -1
- package/dist/components/folder-nav.js +1 -1
- package/dist/components/folder-nav.js.map +1 -1
- package/dist/components/form-dialog.d.ts.map +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-dialog.js.map +1 -1
- package/dist/components/icons/chrome-marks.d.ts +50 -0
- package/dist/components/icons/chrome-marks.d.ts.map +1 -0
- package/dist/components/icons/chrome-marks.js +51 -0
- package/dist/components/icons/chrome-marks.js.map +1 -0
- package/dist/components/icons/icon-frame.d.ts +29 -0
- package/dist/components/icons/icon-frame.d.ts.map +1 -0
- package/dist/components/icons/icon-frame.js +19 -0
- package/dist/components/icons/icon-frame.js.map +1 -0
- package/dist/components/icons/index.d.ts +40 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/icons/index.js +39 -0
- package/dist/components/icons/index.js.map +1 -0
- package/dist/components/icons/nav-map.d.ts +14 -0
- package/dist/components/icons/nav-map.d.ts.map +1 -0
- package/dist/components/icons/nav-map.js +28 -0
- package/dist/components/icons/nav-map.js.map +1 -0
- package/dist/components/icons/nav-marks.d.ts +44 -0
- package/dist/components/icons/nav-marks.d.ts.map +1 -0
- package/dist/components/icons/nav-marks.js +45 -0
- package/dist/components/icons/nav-marks.js.map +1 -0
- package/dist/components/icons/status-marks.d.ts +21 -0
- package/dist/components/icons/status-marks.d.ts.map +1 -0
- package/dist/components/icons/status-marks.js +22 -0
- package/dist/components/icons/status-marks.js.map +1 -0
- package/dist/components/icons/theme-marks.d.ts +9 -0
- package/dist/components/icons/theme-marks.d.ts.map +1 -0
- package/dist/components/icons/theme-marks.js +10 -0
- package/dist/components/icons/theme-marks.js.map +1 -0
- package/dist/components/inputs.js.map +1 -1
- package/dist/components/json-diff.d.ts.map +1 -1
- package/dist/components/json-diff.js +1 -3
- package/dist/components/json-diff.js.map +1 -1
- package/dist/components/json-tree-context.d.ts +13 -0
- package/dist/components/json-tree-context.d.ts.map +1 -0
- package/dist/components/json-tree-context.js +15 -0
- package/dist/components/json-tree-context.js.map +1 -0
- package/dist/components/json-tree-model.d.ts +56 -0
- package/dist/components/json-tree-model.d.ts.map +1 -0
- package/dist/components/json-tree-model.js +125 -0
- package/dist/components/json-tree-model.js.map +1 -0
- package/dist/components/json-tree-nodes.d.ts +35 -0
- package/dist/components/json-tree-nodes.d.ts.map +1 -0
- package/dist/components/json-tree-nodes.js +113 -0
- package/dist/components/json-tree-nodes.js.map +1 -0
- package/dist/components/json-tree.d.ts +20 -0
- package/dist/components/json-tree.d.ts.map +1 -1
- package/dist/components/json-tree.js +7 -315
- package/dist/components/json-tree.js.map +1 -1
- package/dist/components/json-value-format.d.ts +20 -0
- package/dist/components/json-value-format.d.ts.map +1 -0
- package/dist/components/json-value-format.js +63 -0
- package/dist/components/json-value-format.js.map +1 -0
- package/dist/components/markdown-blocks.d.ts +38 -0
- package/dist/components/markdown-blocks.d.ts.map +1 -0
- package/dist/components/markdown-blocks.js +168 -0
- package/dist/components/markdown-blocks.js.map +1 -0
- package/dist/components/markdown-inline.d.ts +24 -0
- package/dist/components/markdown-inline.d.ts.map +1 -0
- package/dist/components/markdown-inline.js +257 -0
- package/dist/components/markdown-inline.js.map +1 -0
- package/dist/components/markdown.d.ts +3 -52
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +4 -376
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/observer-registry.d.ts +38 -0
- package/dist/components/observer-registry.d.ts.map +1 -0
- package/dist/components/observer-registry.js +131 -0
- package/dist/components/observer-registry.js.map +1 -0
- package/dist/components/overflow-measure.d.ts +38 -0
- package/dist/components/overflow-measure.d.ts.map +1 -0
- package/dist/components/overflow-measure.js +54 -0
- package/dist/components/overflow-measure.js.map +1 -0
- package/dist/components/page-fill.d.ts.map +1 -1
- package/dist/components/page-fill.js.map +1 -1
- package/dist/components/prose-regions.d.ts +81 -0
- package/dist/components/prose-regions.d.ts.map +1 -0
- package/dist/components/prose-regions.js +128 -0
- package/dist/components/prose-regions.js.map +1 -0
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/scroll-region.d.ts +24 -0
- package/dist/components/scroll-region.d.ts.map +1 -1
- package/dist/components/scroll-region.js +3 -322
- package/dist/components/scroll-region.js.map +1 -1
- package/dist/components/tab-stop-parse.d.ts +53 -0
- package/dist/components/tab-stop-parse.d.ts.map +1 -0
- package/dist/components/tab-stop-parse.js +202 -0
- package/dist/components/tab-stop-parse.js.map +1 -0
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/tags.d.ts.map +1 -1
- package/dist/components/tags.js +1 -1
- package/dist/components/tags.js.map +1 -1
- package/dist/components/templated-text-field.d.ts +1 -1
- package/dist/components/templated-text-field.d.ts.map +1 -1
- package/dist/components/templated-text-field.js +10 -174
- package/dist/components/templated-text-field.js.map +1 -1
- package/dist/components/templated-text-kwargs-editor.d.ts +24 -0
- package/dist/components/templated-text-kwargs-editor.d.ts.map +1 -0
- package/dist/components/templated-text-kwargs-editor.js +48 -0
- package/dist/components/templated-text-kwargs-editor.js.map +1 -0
- package/dist/components/templated-text-kwargs.d.ts +37 -0
- package/dist/components/templated-text-kwargs.d.ts.map +1 -0
- package/dist/components/templated-text-kwargs.js +66 -0
- package/dist/components/templated-text-kwargs.js.map +1 -0
- package/dist/components/templated-text-source.d.ts +33 -0
- package/dist/components/templated-text-source.d.ts.map +1 -0
- package/dist/components/templated-text-source.js +53 -0
- package/dist/components/templated-text-source.js.map +1 -0
- package/dist/components/tool-picker-parts.d.ts +39 -0
- package/dist/components/tool-picker-parts.d.ts.map +1 -0
- package/dist/components/tool-picker-parts.js +87 -0
- package/dist/components/tool-picker-parts.js.map +1 -0
- package/dist/components/tool-picker.d.ts +1 -2
- package/dist/components/tool-picker.d.ts.map +1 -1
- package/dist/components/tool-picker.js +4 -66
- package/dist/components/tool-picker.js.map +1 -1
- package/dist/components/version-history-panel.d.ts.map +1 -1
- package/dist/components/version-history-panel.js +7 -34
- package/dist/components/version-history-panel.js.map +1 -1
- package/dist/components/version-history-rows.d.ts +48 -0
- package/dist/components/version-history-rows.d.ts.map +1 -0
- package/dist/components/version-history-rows.js +51 -0
- package/dist/components/version-history-rows.js.map +1 -0
- package/dist/components/view-toggle.d.ts.map +1 -1
- package/dist/components/view-toggle.js.map +1 -1
- package/dist/element-slot.d.ts +11 -0
- package/dist/element-slot.d.ts.map +1 -1
- package/dist/element-slot.js +0 -11
- package/dist/element-slot.js.map +1 -1
- package/dist/guards.d.ts +6 -0
- package/dist/guards.d.ts.map +1 -0
- package/dist/guards.js +8 -0
- package/dist/guards.js.map +1 -0
- package/dist/hooks/interactions-connection.d.ts +43 -0
- package/dist/hooks/interactions-connection.d.ts.map +1 -0
- package/dist/hooks/interactions-connection.js +171 -0
- package/dist/hooks/interactions-connection.js.map +1 -0
- package/dist/hooks/interactions-stream.d.ts +80 -0
- package/dist/hooks/interactions-stream.d.ts.map +1 -0
- package/dist/hooks/interactions-stream.js +233 -0
- package/dist/hooks/interactions-stream.js.map +1 -0
- package/dist/hooks/useApi.d.ts +2259 -2189
- package/dist/hooks/useApi.d.ts.map +1 -1
- package/dist/hooks/useApi.js +0 -11
- package/dist/hooks/useApi.js.map +1 -1
- package/dist/hooks/useAuth.d.ts +6 -0
- package/dist/hooks/useAuth.d.ts.map +1 -1
- package/dist/hooks/useAuth.js +0 -6
- package/dist/hooks/useAuth.js.map +1 -1
- package/dist/hooks/useCapabilities.d.ts +18 -2
- package/dist/hooks/useCapabilities.d.ts.map +1 -1
- package/dist/hooks/useCapabilities.js +1 -17
- package/dist/hooks/useCapabilities.js.map +1 -1
- package/dist/hooks/useSse.d.ts +34 -6
- package/dist/hooks/useSse.d.ts.map +1 -1
- package/dist/hooks/useSse.js +27 -471
- package/dist/hooks/useSse.js.map +1 -1
- package/dist/hooks/useSystemKinds.d.ts +1 -1
- package/dist/hooks/useSystemKinds.d.ts.map +1 -1
- package/dist/hooks/useSystemKinds.js +0 -18
- package/dist/hooks/useSystemKinds.js.map +1 -1
- package/dist/hooks/useTheme.d.ts +15 -0
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/hooks/useTheme.js +0 -15
- package/dist/hooks/useTheme.js.map +1 -1
- package/dist/hooks/useToolDisplayNames.d.ts +0 -14
- package/dist/hooks/useToolDisplayNames.d.ts.map +1 -1
- package/dist/hooks/useToolDisplayNames.js +0 -14
- package/dist/hooks/useToolDisplayNames.js.map +1 -1
- package/dist/host.d.ts +3 -3
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +2 -9
- package/dist/host.js.map +1 -1
- package/dist/index.d.ts +103 -103
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -62
- package/dist/index.js.map +1 -1
- package/dist/navigation/app-link.d.ts +25 -0
- package/dist/navigation/app-link.d.ts.map +1 -0
- package/dist/navigation/app-link.js +33 -0
- package/dist/navigation/app-link.js.map +1 -0
- package/dist/navigation/context.d.ts +3 -20
- package/dist/navigation/context.d.ts.map +1 -1
- package/dist/navigation/context.js +7 -267
- package/dist/navigation/context.js.map +1 -1
- package/dist/navigation/entry-state.d.ts +23 -0
- package/dist/navigation/entry-state.d.ts.map +1 -0
- package/dist/navigation/entry-state.js +39 -0
- package/dist/navigation/entry-state.js.map +1 -0
- package/dist/navigation/guard-registry.d.ts +30 -0
- package/dist/navigation/guard-registry.d.ts.map +1 -0
- package/dist/navigation/guard-registry.js +46 -0
- package/dist/navigation/guard-registry.js.map +1 -0
- package/dist/navigation/guarded-navigation.d.ts +24 -0
- package/dist/navigation/guarded-navigation.d.ts.map +1 -0
- package/dist/navigation/guarded-navigation.js +102 -0
- package/dist/navigation/guarded-navigation.js.map +1 -0
- package/dist/navigation/index.d.ts +5 -4
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +2 -1
- package/dist/navigation/index.js.map +1 -1
- package/dist/navigation/types.d.ts +8 -11
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/navigation/use-back-forward-guard.d.ts +12 -0
- package/dist/navigation/use-back-forward-guard.d.ts.map +1 -0
- package/dist/navigation/use-back-forward-guard.js +75 -0
- package/dist/navigation/use-back-forward-guard.js.map +1 -0
- package/dist/navigation/use-search-commit.d.ts.map +1 -1
- package/dist/navigation/use-search-commit.js.map +1 -1
- package/dist/plugin/host-state.d.ts.map +1 -1
- package/dist/plugin/host-state.js.map +1 -1
- package/dist/plugin/registry.d.ts +6 -15
- package/dist/plugin/registry.d.ts.map +1 -1
- package/dist/plugin/registry.js +83 -75
- package/dist/plugin/registry.js.map +1 -1
- package/dist/schema-editor/SchemaEditor.d.ts.map +1 -1
- package/dist/schema-editor/SchemaEditor.js.map +1 -1
- package/dist/schema-editor/index.d.ts +3 -3
- package/dist/schema-editor/index.d.ts.map +1 -1
- package/dist/schema-editor/index.js +1 -6
- package/dist/schema-editor/index.js.map +1 -1
- package/dist/schema-form/SecretRefField.d.ts +18 -3
- package/dist/schema-form/SecretRefField.d.ts.map +1 -1
- package/dist/schema-form/SecretRefField.js +21 -26
- package/dist/schema-form/SecretRefField.js.map +1 -1
- package/dist/schema-form/classify.d.ts +1 -113
- package/dist/schema-form/classify.d.ts.map +1 -1
- package/dist/schema-form/classify.js +174 -246
- package/dist/schema-form/classify.js.map +1 -1
- package/dist/schema-form/context.d.ts +6 -0
- package/dist/schema-form/context.d.ts.map +1 -1
- package/dist/schema-form/context.js +0 -6
- package/dist/schema-form/context.js.map +1 -1
- package/dist/schema-form/default-value.d.ts.map +1 -1
- package/dist/schema-form/default-value.js +42 -19
- package/dist/schema-form/default-value.js.map +1 -1
- package/dist/schema-form/enum-field.d.ts +1 -1
- package/dist/schema-form/enum-field.d.ts.map +1 -1
- package/dist/schema-form/field-group.d.ts +6 -0
- package/dist/schema-form/field-group.d.ts.map +1 -1
- package/dist/schema-form/field-group.js +0 -6
- package/dist/schema-form/field-group.js.map +1 -1
- package/dist/schema-form/field-model.d.ts +121 -0
- package/dist/schema-form/field-model.d.ts.map +1 -0
- package/dist/schema-form/field-model.js +2 -0
- package/dist/schema-form/field-model.js.map +1 -0
- package/dist/schema-form/field-node.d.ts.map +1 -1
- package/dist/schema-form/field-node.js +25 -14
- package/dist/schema-form/field-node.js.map +1 -1
- package/dist/schema-form/index.d.ts +8 -8
- package/dist/schema-form/index.d.ts.map +1 -1
- package/dist/schema-form/index.js +3 -34
- package/dist/schema-form/index.js.map +1 -1
- package/dist/schema-form/json-field.d.ts +19 -0
- package/dist/schema-form/json-field.d.ts.map +1 -1
- package/dist/schema-form/json-field.js +0 -19
- package/dist/schema-form/json-field.js.map +1 -1
- package/dist/schema-form/media-field.d.ts +1 -1
- package/dist/schema-form/media-field.d.ts.map +1 -1
- package/dist/schema-form/media-field.js +49 -30
- package/dist/schema-form/media-field.js.map +1 -1
- package/dist/schema-form/record-field.d.ts +12 -0
- package/dist/schema-form/record-field.d.ts.map +1 -1
- package/dist/schema-form/record-field.js +1 -13
- package/dist/schema-form/record-field.js.map +1 -1
- package/dist/schema-form/string-annotations.d.ts +20 -0
- package/dist/schema-form/string-annotations.d.ts.map +1 -0
- package/dist/schema-form/string-annotations.js +105 -0
- package/dist/schema-form/string-annotations.js.map +1 -0
- package/dist/schema-form/string-field.d.ts +1 -1
- package/dist/schema-form/string-field.d.ts.map +1 -1
- package/dist/schema-form/string-field.js +1 -1
- package/dist/schema-form/string-field.js.map +1 -1
- package/dist/schema-form/union-field.d.ts +1 -1
- package/dist/schema-form/union-field.d.ts.map +1 -1
- package/dist/schema-form/union-field.js.map +1 -1
- package/dist/schema-form/union.d.ts +8 -1
- package/dist/schema-form/union.d.ts.map +1 -1
- package/dist/schema-form/union.js +0 -7
- package/dist/schema-form/union.js.map +1 -1
- package/dist/schema-form/validate.d.ts.map +1 -1
- package/dist/schema-form/validate.js +126 -105
- package/dist/schema-form/validate.js.map +1 -1
- package/dist/state-binding/AdapterMapping.d.ts.map +1 -1
- package/dist/state-binding/AdapterMapping.js +0 -0
- package/dist/state-binding/AdapterMapping.js.map +1 -1
- package/dist/state-binding/BindingJqField.d.ts.map +1 -1
- package/dist/state-binding/BindingJqField.js +2 -2
- package/dist/state-binding/BindingJqField.js.map +1 -1
- package/dist/state-binding/InputInjectionRow.d.ts.map +1 -1
- package/dist/state-binding/InputInjectionRow.js +3 -3
- package/dist/state-binding/InputInjectionRow.js.map +1 -1
- package/dist/state-binding/StateAttachRow.d.ts.map +1 -1
- package/dist/state-binding/StateAttachRow.js +57 -41
- package/dist/state-binding/StateAttachRow.js.map +1 -1
- package/dist/state-binding/StateBindingSection.d.ts.map +1 -1
- package/dist/state-binding/StateBindingSection.js.map +1 -1
- package/dist/state-binding/SubjectScopeFields.d.ts.map +1 -1
- package/dist/state-binding/SubjectScopeFields.js.map +1 -1
- package/dist/state-binding/UpdateRow.d.ts.map +1 -1
- package/dist/state-binding/UpdateRow.js +2 -2
- package/dist/state-binding/UpdateRow.js.map +1 -1
- package/dist/state-binding/adapter-mapping-row.d.ts +17 -0
- package/dist/state-binding/adapter-mapping-row.d.ts.map +1 -0
- package/dist/state-binding/adapter-mapping-row.js +87 -0
- package/dist/state-binding/adapter-mapping-row.js.map +1 -0
- package/dist/state-binding/index.d.ts +21 -21
- package/dist/state-binding/index.d.ts.map +1 -1
- package/dist/state-binding/index.js +9 -15
- package/dist/state-binding/index.js.map +1 -1
- package/dist/state-binding/templated-text-catalog.d.ts.map +1 -1
- package/dist/state-binding/templated-text-catalog.js.map +1 -1
- package/dist/state-binding/types.d.ts +2 -2
- package/dist/state-binding/types.d.ts.map +1 -1
- package/dist/structured-output/StructuredOutput.d.ts.map +1 -1
- package/dist/structured-output/StructuredOutput.js +1 -3
- package/dist/structured-output/StructuredOutput.js.map +1 -1
- package/package.json +2 -2
- package/src/components/code-block.tsx +1 -1
- package/src/components/confirm-dialog.tsx +1 -1
- package/src/components/copy-field.tsx +1 -1
- package/src/components/date-range-picker.tsx +1 -1
- package/src/components/dialog.tsx +1 -1
- package/src/components/dirty-guard.tsx +3 -3
- package/src/components/explorer-body.tsx +239 -0
- package/src/components/explorer-page-size.ts +39 -0
- package/src/components/explorer-tag-filter.tsx +80 -0
- package/src/components/explorer-tags.ts +64 -0
- package/src/components/explorer-view.tsx +115 -367
- package/src/components/extension-combo-builder.tsx +35 -153
- package/src/components/extension-combo-parts.tsx +236 -0
- package/src/components/field.tsx +1 -1
- package/src/components/fleet-report.tsx +98 -55
- package/src/components/folder-nav.tsx +2 -2
- package/src/components/form-dialog.tsx +2 -2
- package/src/components/icons/chrome-marks.tsx +195 -0
- package/src/components/icons/icon-frame.tsx +50 -0
- package/src/components/icons/index.ts +84 -0
- package/src/components/icons/nav-map.ts +55 -0
- package/src/components/icons/nav-marks.tsx +205 -0
- package/src/components/icons/status-marks.tsx +46 -0
- package/src/components/icons/theme-marks.tsx +33 -0
- package/src/components/inputs.tsx +1 -1
- package/src/components/json-diff.tsx +1 -4
- package/src/components/json-tree-context.ts +26 -0
- package/src/components/json-tree-model.ts +139 -0
- package/src/components/json-tree-nodes.tsx +224 -0
- package/src/components/json-tree.tsx +15 -434
- package/src/components/json-value-format.ts +64 -0
- package/src/components/markdown-blocks.ts +198 -0
- package/src/components/markdown-inline.tsx +365 -0
- package/src/components/markdown.tsx +6 -472
- package/src/components/observer-registry.ts +139 -0
- package/src/components/overflow-measure.ts +69 -0
- package/src/components/page-fill.tsx +1 -1
- package/src/components/prose-regions.ts +153 -0
- package/src/components/radio-group.tsx +1 -1
- package/src/components/scroll-region.tsx +22 -361
- package/src/components/tab-stop-parse.ts +217 -0
- package/src/components/table.tsx +1 -1
- package/src/components/tags.tsx +2 -2
- package/src/components/templated-text-field.tsx +39 -332
- package/src/components/templated-text-kwargs-editor.tsx +147 -0
- package/src/components/templated-text-kwargs.ts +92 -0
- package/src/components/templated-text-source.tsx +226 -0
- package/src/components/tool-picker-parts.tsx +184 -0
- package/src/components/tool-picker.tsx +22 -114
- package/src/components/version-history-panel.tsx +39 -143
- package/src/components/version-history-rows.tsx +220 -0
- package/src/components/view-toggle.tsx +1 -1
- package/src/element-slot.ts +1 -1
- package/src/guards.ts +7 -0
- package/src/hooks/interactions-connection.ts +227 -0
- package/src/hooks/interactions-stream.ts +274 -0
- package/src/hooks/useApi.ts +1 -1
- package/src/hooks/useAuth.ts +1 -1
- package/src/hooks/useCapabilities.ts +3 -3
- package/src/hooks/useSse.ts +51 -478
- package/src/hooks/useSystemKinds.tsx +2 -2
- package/src/hooks/useTheme.ts +1 -1
- package/src/hooks/useToolDisplayNames.tsx +2 -2
- package/src/host.ts +7 -7
- package/src/index.ts +292 -292
- package/src/navigation/app-link.tsx +70 -0
- package/src/navigation/context.tsx +12 -331
- package/src/navigation/entry-state.ts +42 -0
- package/src/navigation/guard-registry.ts +65 -0
- package/src/navigation/guarded-navigation.ts +147 -0
- package/src/navigation/index.ts +14 -14
- package/src/navigation/types.ts +8 -11
- package/src/navigation/use-back-forward-guard.ts +90 -0
- package/src/navigation/use-search-commit.ts +1 -1
- package/src/plugin/host-state.ts +1 -1
- package/src/plugin/registry.ts +111 -90
- package/src/schema-editor/SchemaEditor.tsx +1 -1
- package/src/schema-editor/index.ts +3 -3
- package/src/schema-form/SecretRefField.tsx +122 -72
- package/src/schema-form/classify.ts +245 -396
- package/src/schema-form/context.ts +1 -1
- package/src/schema-form/default-value.ts +48 -17
- package/src/schema-form/enum-field.tsx +1 -1
- package/src/schema-form/field-group.tsx +1 -1
- package/src/schema-form/field-model.ts +133 -0
- package/src/schema-form/field-node.tsx +95 -39
- package/src/schema-form/index.ts +10 -10
- package/src/schema-form/json-field.tsx +1 -1
- package/src/schema-form/media-field.tsx +136 -67
- package/src/schema-form/record-field.tsx +2 -2
- package/src/schema-form/string-annotations.ts +111 -0
- package/src/schema-form/string-field.tsx +2 -2
- package/src/schema-form/union-field.tsx +3 -2
- package/src/schema-form/union.ts +1 -1
- package/src/schema-form/validate.ts +185 -104
- package/src/state-binding/AdapterMapping.tsx +0 -0
- package/src/state-binding/BindingJqField.tsx +3 -3
- package/src/state-binding/InputInjectionRow.tsx +4 -4
- package/src/state-binding/StateAttachRow.tsx +229 -154
- package/src/state-binding/StateBindingSection.tsx +1 -1
- package/src/state-binding/SubjectScopeFields.tsx +1 -1
- package/src/state-binding/UpdateRow.tsx +3 -3
- package/src/state-binding/adapter-mapping-row.tsx +232 -0
- package/src/state-binding/index.ts +43 -43
- package/src/state-binding/templated-text-catalog.ts +0 -1
- package/src/state-binding/types.ts +2 -2
- package/src/structured-output/StructuredOutput.tsx +1 -4
- package/dist/components/icons.d.ts +0 -160
- package/dist/components/icons.d.ts.map +0 -1
- package/dist/components/icons.js +0 -160
- package/dist/components/icons.js.map +0 -1
- package/src/components/icons.tsx +0 -586
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAatD,+DAA+D;AAC/D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,cAAc,EAAE,IAAI,GAAG,SAAS,CAAC;CAC3C;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,IAAI,iBAAiB,CAUnD;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC;IAC/B,sFAAsF;IACtF,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAa,EACb,SAAiB,GAClB,EAAE,UAAU,+BA0EZ"}
|
package/dist/components/field.js
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* `Field` — the label + description + error wrapper every form control sits in.
|
|
4
|
-
* It owns one generated id and publishes it (plus the description/error ids and
|
|
5
|
-
* the invalid flag) through a context; a nested control reads them via
|
|
6
|
-
* `useFieldControl` and spreads them, so the label's `htmlFor`, the control's
|
|
7
|
-
* `aria-describedby`, and its `aria-invalid` stay wired without the caller
|
|
8
|
-
* threading ids by hand.
|
|
9
|
-
*/
|
|
10
2
|
import { createContext, useContext, useId } from 'react';
|
|
11
3
|
import { XCircleIcon } from './icons';
|
|
12
4
|
const FieldContext = createContext(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":";
|
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C,OAAO,qBACK,OAAO,sBACN,WAAW,EAC7B,SAAS,EAAC,iBAAiB,YAE1B,QAAQ,GACL,CACP,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,EAIA,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CACrB,aAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,aAC3E,KAAC,WAAW,KAAG,EACd,KAAK,IACJ,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,GACgB,CACzB,CAAC;AACJ,CAAC"}
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* icon MARK plus a word LABEL, with the tone color only reinforcing them, so the
|
|
28
28
|
* report is readable without color perception.
|
|
29
29
|
*/
|
|
30
|
-
import type { ReactNode } from 'react';
|
|
31
30
|
import type { FleetReportSummary } from '@tai42/api-client';
|
|
31
|
+
import type { ReactNode } from 'react';
|
|
32
32
|
/**
|
|
33
33
|
* Render a fleet broadcast's failure state. Returns `null` for a converged/absent
|
|
34
34
|
* report (nothing to warn about) so callers can always mount it unconditionally
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fleet-report.d.ts","sourceRoot":"","sources":["../../src/components/fleet-report.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"fleet-report.d.ts","sourceRoot":"","sources":["../../src/components/fleet-report.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,EAEV,kBAAkB,EAEnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyCvC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC5C;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,QAAQ,CAAC;CAC/D;AAyGD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAe,EAAE,EAAE,gBAAgB,GAAG,SAAS,CAwBrF"}
|
|
@@ -28,51 +28,65 @@ const OUTCOME_STATUS = {
|
|
|
28
28
|
recycling: { tone: 'tai-status-warn', Icon: AlertTriangleIcon },
|
|
29
29
|
stale: { tone: 'tai-status-warn', Icon: AlertTriangleIcon },
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
: 'Re-run the reload from the System page once the bus is back.';
|
|
47
|
-
return (_jsxs("div", { role: "alert", className: "tai-error-state tai-stack tai-stack-2", children: [_jsxs("strong", { className: "tai-status tai-status-err", children: [_jsx(XCircleIcon, {}), savedFraming
|
|
48
|
-
? 'Change saved, but the worker fleet was not reached'
|
|
49
|
-
: 'The worker fleet was not reached'] }), _jsx("p", { children: `The worker bus was unreachable, so other workers may still be running the old config. ${unreachableRemediation}` }), summary.error !== null ? (_jsx("p", { className: "tai-code-block tai-code-block-wrap", children: summary.error })) : null] }));
|
|
31
|
+
/**
|
|
32
|
+
* Where to send the operator, per action and phase. On `unreachable` the copy
|
|
33
|
+
* is a full sentence ending "once the bus is back."; on `degraded` it is the
|
|
34
|
+
* verb phrase spliced into the sentence the panel builds. A saved change reloads
|
|
35
|
+
* from the System page; a detach re-runs itself, since a reload would re-attach.
|
|
36
|
+
*/
|
|
37
|
+
function remediationText(action, phase) {
|
|
38
|
+
if (phase === 'unreachable') {
|
|
39
|
+
if (action === 'deregister')
|
|
40
|
+
return 'Re-run the deregister once the bus is back.';
|
|
41
|
+
if (action === 'remove')
|
|
42
|
+
return 'Re-run the remove once the bus is back.';
|
|
43
|
+
if (action === 'reload')
|
|
44
|
+
return 'Re-run the reload once the bus is back.';
|
|
45
|
+
return 'Re-run the reload from the System page once the bus is back.';
|
|
50
46
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
if (action === 'deregister')
|
|
48
|
+
return 're-run the deregister';
|
|
49
|
+
if (action === 'remove')
|
|
50
|
+
return 're-run the remove';
|
|
51
|
+
if (action === 'reload')
|
|
52
|
+
return 're-run the reload';
|
|
53
|
+
return 'reload the fleet from the System page';
|
|
54
|
+
}
|
|
55
|
+
/** The loud panel for a bus that could not be reached: no sibling was told. */
|
|
56
|
+
function UnreachableReport({ error, savedFraming, remediation, }) {
|
|
57
|
+
return (_jsxs("div", { role: "alert", className: "tai-error-state tai-stack tai-stack-2", children: [_jsxs("strong", { className: "tai-status tai-status-err", children: [_jsx(XCircleIcon, {}), savedFraming
|
|
58
|
+
? 'Change saved, but the worker fleet was not reached'
|
|
59
|
+
: 'The worker fleet was not reached'] }), _jsx("p", { children: `The worker bus was unreachable, so other workers may still be running the old config. ${remediation}` }), error !== null ? _jsx("p", { className: "tai-code-block tai-code-block-wrap", children: error }) : null] }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The loud panel for a reachable bus whose named workers did not converge. A
|
|
63
|
+
* warning, not a failure, so it takes the warning surface: a warn-toned headline
|
|
64
|
+
* inside an error-toned panel would state two different severities.
|
|
65
|
+
*/
|
|
66
|
+
function DegradedReport({ failures, savedFraming, remediation, }) {
|
|
67
|
+
// A count and its noun agree. `worker(s)` is machine output at the one moment an
|
|
68
|
+
// operator is being told something went wrong, and a single unconverged worker
|
|
69
|
+
// is the commonest degraded fleet there is.
|
|
70
|
+
const count = failures.length;
|
|
59
71
|
const workers = `${String(count)} worker${count === 1 ? '' : 's'}`;
|
|
60
|
-
// How the operator converges the stranded workers: re-run the same op, except a
|
|
61
|
-
// saved change reloads the fleet from the System page.
|
|
62
|
-
const remediation = action === 'deregister'
|
|
63
|
-
? 're-run the deregister'
|
|
64
|
-
: action === 'remove'
|
|
65
|
-
? 're-run the remove'
|
|
66
|
-
: action === 'reload'
|
|
67
|
-
? 're-run the reload'
|
|
68
|
-
: 'reload the fleet from the System page';
|
|
69
72
|
return (_jsxs("div", { role: "alert", className: "tai-warn-state tai-stack tai-stack-2", children: [_jsxs("strong", { className: "tai-status tai-status-warn", children: [_jsx(AlertTriangleIcon, {}), savedFraming
|
|
70
73
|
? `Change saved, but ${workers} did not converge`
|
|
71
74
|
: `${workers} did not converge`] }), _jsx("p", { children: `${count === 1 ? 'This worker' : 'These workers'} may still be running the old config — ` +
|
|
72
75
|
remediation +
|
|
73
|
-
` to converge ${count === 1 ? 'it' : 'them'}.` }), _jsx("ul", { className: "tai-stack tai-stack-2", children:
|
|
76
|
+
` to converge ${count === 1 ? 'it' : 'them'}.` }), _jsx("ul", { className: "tai-stack tai-stack-2", children: failures.map((failure) => {
|
|
74
77
|
const { tone, Icon } = OUTCOME_STATUS[failure.outcome];
|
|
75
78
|
return (_jsxs("li", { className: "tai-row", children: [_jsx("span", { className: "tai-mono", children: failure.name }), _jsxs("span", { className: `tai-status ${tone}`, children: [_jsx(Icon, {}), OUTCOME_LABEL[failure.outcome]] }), failure.message !== null ? (_jsx("span", { className: "tai-muted", children: failure.message })) : null] }, failure.name));
|
|
76
79
|
}) })] }));
|
|
77
80
|
}
|
|
81
|
+
export function FleetReport({ summary, action = 'save' }) {
|
|
82
|
+
if (summary === null || summary.status === 'converged')
|
|
83
|
+
return null;
|
|
84
|
+
// Only a saved config change carries the "Change saved" framing; a reload or a
|
|
85
|
+
// deregister saved nothing.
|
|
86
|
+
const savedFraming = action === 'save';
|
|
87
|
+
if (summary.status === 'unreachable') {
|
|
88
|
+
return (_jsx(UnreachableReport, { error: summary.error, savedFraming: savedFraming, remediation: remediationText(action, 'unreachable') }));
|
|
89
|
+
}
|
|
90
|
+
return (_jsx(DegradedReport, { failures: summary.failures, savedFraming: savedFraming, remediation: remediationText(action, 'degraded') }));
|
|
91
|
+
}
|
|
78
92
|
//# sourceMappingURL=fleet-report.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fleet-report.js","sourceRoot":"","sources":["../../src/components/fleet-report.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"fleet-report.js","sourceRoot":"","sources":["../../src/components/fleet-report.tsx"],"names":[],"mappings":";AAoCA,OAAO,EAAE,iBAAiB,EAAsB,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1F,4DAA4D;AAC5D,MAAM,aAAa,GAAwC;IACzD,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,oBAAoB;IAC9B,SAAS,EAAE,0CAA0C;IACrD,SAAS,EAAE,qCAAqC;IAChD,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,8BAA8B;CACtC,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,cAAc,GAA4C;IAC9D,MAAM,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,EAAE;IACrD,OAAO,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,WAAW,EAAE;IAC1D,QAAQ,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAC9D,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5D,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAC/D,SAAS,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAC/D,KAAK,EAAE,EAAE,IA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OAAO,EAAE,MAAM,GAAG,MAAM,EAAoB;IACxE,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,CAAC,MAAM,KAAK,WAAW;QAAE,OAAO,IAAI,CAAC;IAEpE,+EAA+E;IAC/E,4BAA4B;IAC5B,MAAM,YAAY,GAAG,MAAM,KAAK,MAAM,CAAC;IAEvC,IAAI,OAAO,CAAC,MAAM,KAAK,aAAa,EAAE,CAAC;QACrC,OAAO,CACL,KAAC,iBAAiB,IAChB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,eAAe,CAAC,MAAM,EAAE,aAAa,CAAC,GACnD,CACH,CAAC;IACJ,CAAC;IAED,OAAO,CACL,KAAC,cAAc,IACb,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,GAChD,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder-nav.d.ts","sourceRoot":"","sources":["../../src/components/folder-nav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"folder-nav.d.ts","sourceRoot":"","sources":["../../src/components/folder-nav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAOjD,yFAAyF;AACzF,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,GAA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AAC,EAAE,OAAO,CAAC;IAC5B,qDAAqD;IACrD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,cAAc,EACd,QAAQ,EACR,YAAY,GACb,EAAE,iBAAiB,GAAG,SAAS,CA4F/B"}
|
|
@@ -16,9 +16,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
*/
|
|
17
17
|
import { useState } from 'react';
|
|
18
18
|
import { ChevronRightIcon, FolderIcon } from './icons';
|
|
19
|
+
import { TextInput } from './inputs';
|
|
19
20
|
import { Button } from './primitives';
|
|
20
21
|
import { Select } from './select';
|
|
21
|
-
import { TextInput } from './inputs';
|
|
22
22
|
/** The subfolders directly under `parentId` (`null` = the root directory), name-sorted. */
|
|
23
23
|
export function childFolders(folders, parentId) {
|
|
24
24
|
return folders
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder-nav.js","sourceRoot":"","sources":["../../src/components/folder-nav.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"folder-nav.js","sourceRoot":"","sources":["../../src/components/folder-nav.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAkB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,2FAA2F;AAC3F,MAAM,UAAU,YAAY,CAAC,OAA0B,EAAE,QAAuB;IAC9E,OAAO,OAAO;SACX,MAAM,CAAC,CAAC,MAAM,EAAE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ACT,KAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,GAAG,EAAE;4BACZ,WAAW,CAAC,KAAK,CAAC,CAAC;4BACnB,QAAQ,CAAC,EAAE,CAAC,CAAC;wBACf,CAAC,EACD,QAAQ,EAAE,IAAI,uBAGP,IACL,CACP,CAAC,CAAC,CAAC,CACF,MAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,GAAG,EAAE;oBACZ,WAAW,CAAC,IAAI,CAAC,CAAC;gBACpB,CAAC,EACD,QAAQ,EAAE,QAAQ,aAElB,KAAC,UAAU,KAAG,EACd,wCAAuB,IAChB,CACV,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/components/form-dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/components/form-dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,KAAK,SAAS,EAAoD,MAAM,OAAO,CAAC;AAMzF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,8EAA8E;IAC9E,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,iIAAiI;IACjI,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9C,iCAAiC;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,cAAsB,EACtB,aAAyB,EACzB,WAAsB,EACtB,QAAQ,GACT,EAAE,eAAe,GAAG,SAAS,CAwE7B"}
|
|
@@ -14,9 +14,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
* click AND by Enter — a disabled default button is not an implicit-submission target.
|
|
15
15
|
*/
|
|
16
16
|
import { useEffect, useRef, useState } from 'react';
|
|
17
|
+
import { errorMessage } from '../errors';
|
|
17
18
|
import { Dialog } from './dialog';
|
|
18
19
|
import { Button, ErrorState, Spinner } from './primitives';
|
|
19
|
-
import { errorMessage } from '../errors';
|
|
20
20
|
export function FormDialog({ title, description, submitLabel, pendingLabel, onSubmit, onClose, submitDisabled = false, submitVariant = 'primary', cancelLabel = 'Cancel', children, }) {
|
|
21
21
|
const [isPending, setIsPending] = useState(false);
|
|
22
22
|
const [submitError, setSubmitError] = useState(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog.js","sourceRoot":"","sources":["../../src/components/form-dialog.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"form-dialog.js","sourceRoot":"","sources":["../../src/components/form-dialog.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAuC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,EAAE,YAA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 +1,50 @@
|
|
|
1
|
+
/** App-chrome and control marks: search, navigation controls, list actions,
|
|
2
|
+
* ordering arrows, and the reveal/mask pair. */
|
|
3
|
+
import { type IconComponent } from './icon-frame';
|
|
4
|
+
/** A magnifier. */
|
|
5
|
+
export declare const SearchIcon: IconComponent;
|
|
6
|
+
/** Sign out: a door with an outbound arrow. */
|
|
7
|
+
export declare const SignOutIcon: IconComponent;
|
|
8
|
+
/** The three-bar menu / drawer toggle. */
|
|
9
|
+
export declare const MenuIcon: IconComponent;
|
|
10
|
+
/** Dismiss. */
|
|
11
|
+
export declare const CloseIcon: IconComponent;
|
|
12
|
+
/** A funnel. */
|
|
13
|
+
export declare const FilterIcon: IconComponent;
|
|
14
|
+
/** Back / previous. */
|
|
15
|
+
export declare const ArrowLeftIcon: IconComponent;
|
|
16
|
+
/** Move the item one place earlier in an ordered list. */
|
|
17
|
+
export declare const ArrowUpIcon: IconComponent;
|
|
18
|
+
/** Move the item one place later in an ordered list. */
|
|
19
|
+
export declare const ArrowDownIcon: IconComponent;
|
|
20
|
+
/** Expand / collapse affordance. */
|
|
21
|
+
export declare const ChevronDownIcon: IconComponent;
|
|
22
|
+
/** Disclosure / breadcrumb separator. */
|
|
23
|
+
export declare const ChevronRightIcon: IconComponent;
|
|
24
|
+
/** A bare tick, for selection and confirmation. */
|
|
25
|
+
export declare const CheckIcon: IconComponent;
|
|
26
|
+
/** A bare dash, for a partial selection — the tick's mixed-state counterpart. */
|
|
27
|
+
export declare const MinusIcon: IconComponent;
|
|
28
|
+
/** Add / insert: the dash crossed by an upright, for an append or attach affordance. */
|
|
29
|
+
export declare const PlusIcon: IconComponent;
|
|
30
|
+
/** Edit: a pencil laid across the surface it writes on. */
|
|
31
|
+
export declare const EditIcon: IconComponent;
|
|
32
|
+
/** Detach / unmount: a plug pulled from its socket, the two prongs above the gap. */
|
|
33
|
+
export declare const UnplugIcon: IconComponent;
|
|
34
|
+
/** Copy to clipboard: a sheet duplicated behind another. */
|
|
35
|
+
export declare const CopyIcon: IconComponent;
|
|
36
|
+
/** Opens in a new tab / leaves the app. */
|
|
37
|
+
export declare const ExternalLinkIcon: IconComponent;
|
|
38
|
+
/** Ascending sort: an up arrow beside narrow-to-wide rows. */
|
|
39
|
+
export declare const SortAscIcon: IconComponent;
|
|
40
|
+
/** Descending sort: a down arrow beside wide-to-narrow rows. */
|
|
41
|
+
export declare const SortDescIcon: IconComponent;
|
|
42
|
+
/** Reveal a masked value. */
|
|
43
|
+
export declare const EyeIcon: IconComponent;
|
|
44
|
+
/** Mask a revealed value. */
|
|
45
|
+
export declare const EyeOffIcon: IconComponent;
|
|
46
|
+
/** Folder: a tabbed folder, for the tool-organization tree and breadcrumbs. */
|
|
47
|
+
export declare const FolderIcon: IconComponent;
|
|
48
|
+
/** Grid: a 2x2 tile array — the card-view half of the list/card toggle. */
|
|
49
|
+
export declare const GridIcon: IconComponent;
|
|
50
|
+
//# sourceMappingURL=chrome-marks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chrome-marks.d.ts","sourceRoot":"","sources":["../../../src/components/icons/chrome-marks.tsx"],"names":[],"mappings":"AAAA;gDACgD;AAChD,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,mBAAmB;AACnB,eAAO,MAAM,UAAU,EAAE,aAKxB,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,WAAW,EAAE,aAMzB,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,QAAQ,EAAE,aAMtB,CAAC;AAEF,eAAe;AACf,eAAO,MAAM,SAAS,EAAE,aAKvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,UAAU,EAAE,aAIxB,CAAC;AAEF,uBAAuB;AACvB,eAAO,MAAM,aAAa,EAAE,aAK3B,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,WAAW,EAAE,aAKzB,CAAC;AAEF,wDAAwD;AACxD,eAAO,MAAM,aAAa,EAAE,aAK3B,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,gBAAgB,EAAE,aAI9B,CAAC;AAEF,mDAAmD;AACnD,eAAO,MAAM,SAAS,EAAE,aAIvB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,SAAS,EAAE,aAIvB,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,QAAQ,EAAE,aAKtB,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,QAAQ,EAAE,aAKtB,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,UAAU,EAAE,aAMxB,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,QAAQ,EAAE,aAKtB,CAAC;AAEF,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB,EAAE,aAM9B,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,WAAW,EAAE,aAQzB,CAAC;AAEF,gEAAgE;AAChE,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAC;AAEF,6BAA6B;AAC7B,eAAO,MAAM,OAAO,EAAE,aAKrB,CAAC;AAEF,6BAA6B;AAC7B,eAAO,MAAM,UAAU,EAAE,aAOxB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,UAAU,EAAE,aAIxB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,EAAE,aAOtB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/** App-chrome and control marks: search, navigation controls, list actions,
|
|
3
|
+
* ordering arrows, and the reveal/mask pair. */
|
|
4
|
+
import { Icon } from './icon-frame';
|
|
5
|
+
/** A magnifier. */
|
|
6
|
+
export const SearchIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("circle", { cx: "10.5", cy: "10.5", r: "6.5" }), _jsx("path", { d: "M15.3 15.3 20.5 20.5" })] }));
|
|
7
|
+
/** Sign out: a door with an outbound arrow. */
|
|
8
|
+
export const SignOutIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M9.5 20.5H5.5A1.5 1.5 0 0 1 4 19V5a1.5 1.5 0 0 1 1.5-1.5h4" }), _jsx("path", { d: "M15.5 16.5 20 12l-4.5-4.5" }), _jsx("path", { d: "M20 12H9.5" })] }));
|
|
9
|
+
/** The three-bar menu / drawer toggle. */
|
|
10
|
+
export const MenuIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M3.5 6.5h17" }), _jsx("path", { d: "M3.5 12h17" }), _jsx("path", { d: "M3.5 17.5h17" })] }));
|
|
11
|
+
/** Dismiss. */
|
|
12
|
+
export const CloseIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M5.5 5.5 18.5 18.5" }), _jsx("path", { d: "M18.5 5.5 5.5 18.5" })] }));
|
|
13
|
+
/** A funnel. */
|
|
14
|
+
export const FilterIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M3.5 5h17l-6.6 7.8V19l-3.8 2v-8.2z" }) }));
|
|
15
|
+
/** Back / previous. */
|
|
16
|
+
export const ArrowLeftIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M20 12H4.5" }), _jsx("path", { d: "M11 5 4 12l7 7" })] }));
|
|
17
|
+
/** Move the item one place earlier in an ordered list. */
|
|
18
|
+
export const ArrowUpIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M12 20V4.5" }), _jsx("path", { d: "M5 11 12 4l7 7" })] }));
|
|
19
|
+
/** Move the item one place later in an ordered list. */
|
|
20
|
+
export const ArrowDownIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M12 4v15.5" }), _jsx("path", { d: "M5 13 12 20l7-7" })] }));
|
|
21
|
+
/** Expand / collapse affordance. */
|
|
22
|
+
export const ChevronDownIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M5.5 9 12 15.5 18.5 9" }) }));
|
|
23
|
+
/** Disclosure / breadcrumb separator. */
|
|
24
|
+
export const ChevronRightIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M9 5.5 15.5 12 9 18.5" }) }));
|
|
25
|
+
/** A bare tick, for selection and confirmation. */
|
|
26
|
+
export const CheckIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M4.5 12.5 9.5 17.5 19.5 6.5" }) }));
|
|
27
|
+
/** A bare dash, for a partial selection — the tick's mixed-state counterpart. */
|
|
28
|
+
export const MinusIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M5.5 12h13" }) }));
|
|
29
|
+
/** Add / insert: the dash crossed by an upright, for an append or attach affordance. */
|
|
30
|
+
export const PlusIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M5.5 12h13" }), _jsx("path", { d: "M12 5.5v13" })] }));
|
|
31
|
+
/** Edit: a pencil laid across the surface it writes on. */
|
|
32
|
+
export const EditIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M4 20h4L18.5 9.5a2 2 0 0 0-2.83-2.83L5 17.2z" }), _jsx("path", { d: "M14 8 16 10" })] }));
|
|
33
|
+
/** Detach / unmount: a plug pulled from its socket, the two prongs above the gap. */
|
|
34
|
+
export const UnplugIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M15.5 8.5 20 4" }), _jsx("path", { d: "M10.5 6.5 6 11l7 7 4.5-4.5z" }), _jsx("path", { d: "M13.5 3.5 11 6M18 8.5 20.5 11M8.5 15.5 4 20" })] }));
|
|
35
|
+
/** Copy to clipboard: a sheet duplicated behind another. */
|
|
36
|
+
export const CopyIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("rect", { x: "8.5", y: "8.5", width: "12", height: "12", rx: "2" }), _jsx("path", { d: "M15.5 5.5V5A1.5 1.5 0 0 0 14 3.5H5A1.5 1.5 0 0 0 3.5 5v9A1.5 1.5 0 0 0 5 15.5h.5" })] }));
|
|
37
|
+
/** Opens in a new tab / leaves the app. */
|
|
38
|
+
export const ExternalLinkIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M13.5 4.5h6v6" }), _jsx("path", { d: "M19.5 4.5 11 13" }), _jsx("path", { d: "M18 14v4.5A1.5 1.5 0 0 1 16.5 20h-11A1.5 1.5 0 0 1 4 18.5v-11A1.5 1.5 0 0 1 5.5 6H10" })] }));
|
|
39
|
+
/** Ascending sort: an up arrow beside narrow-to-wide rows. */
|
|
40
|
+
export const SortAscIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M6.5 20V5" }), _jsx("path", { d: "M3.5 8.5 6.5 5l3 3.5" }), _jsx("path", { d: "M12.5 7h3" }), _jsx("path", { d: "M12.5 12h5.5" }), _jsx("path", { d: "M12.5 17h8" })] }));
|
|
41
|
+
/** Descending sort: a down arrow beside wide-to-narrow rows. */
|
|
42
|
+
export const SortDescIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M6.5 4v15" }), _jsx("path", { d: "M3.5 15.5 6.5 19l3-3.5" }), _jsx("path", { d: "M12.5 7h8" }), _jsx("path", { d: "M12.5 12h5.5" }), _jsx("path", { d: "M12.5 17h3" })] }));
|
|
43
|
+
/** Reveal a masked value. */
|
|
44
|
+
export const EyeIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M2 12s3.8-7 10-7 10 7 10 7-3.8 7-10 7-10-7-10-7z" }), _jsx("circle", { cx: "12", cy: "12", r: "3.2" })] }));
|
|
45
|
+
/** Mask a revealed value. */
|
|
46
|
+
export const EyeOffIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("path", { d: "M17.9 17.9A9.9 9.9 0 0 1 12 19.8c-6.2 0-10-7-10-7a18.3 18.3 0 0 1 4.6-5.4" }), _jsx("path", { d: "M9.9 4.4A9.1 9.1 0 0 1 12 4.2c6.2 0 10 7 10 7a18.4 18.4 0 0 1-2.1 3.1" }), _jsx("path", { d: "M14.1 14.1a3.2 3.2 0 1 1-4.4-4.4" }), _jsx("path", { d: "M2.6 2.6 21.4 21.4" })] }));
|
|
47
|
+
/** Folder: a tabbed folder, for the tool-organization tree and breadcrumbs. */
|
|
48
|
+
export const FolderIcon = (props) => (_jsx(Icon, { ...props, children: _jsx("path", { d: "M3 6.5a2 2 0 0 1 2-2h4l2 2.5h6a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }) }));
|
|
49
|
+
/** Grid: a 2x2 tile array — the card-view half of the list/card toggle. */
|
|
50
|
+
export const GridIcon = (props) => (_jsxs(Icon, { ...props, children: [_jsx("rect", { x: "4", y: "4", width: "7", height: "7", rx: "1.5" }), _jsx("rect", { x: "13", y: "4", width: "7", height: "7", rx: "1.5" }), _jsx("rect", { x: "4", y: "13", width: "7", height: "7", rx: "1.5" }), _jsx("rect", { x: "13", y: "13", width: "7", height: "7", rx: "1.5" })] }));
|
|
51
|
+
//# sourceMappingURL=chrome-marks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chrome-marks.js","sourceRoot":"","sources":["../../../src/components/icons/chrome-marks.tsx"],"names":[],"mappings":";AAAA;gDACgD;AAChD,OAAO,EAAE,IAAI,EAAsB,MAAM,cAAc,CAAC;AAExD,mBAAmB;AACnB,MAAM,CAAC,MAAM,UAAU,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAClD,MAAC,IAAI,OAAK,KAAK,aACb,iBAAQ,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,EAAC,KAAK,GAAG,EACtC,eAAM,CAAC,EAAC,sBAAsB,GAAG,IAC5B,CACR,CAAC;AAEF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnD,MAAC,IAAI,OAAK,KAAK,aACb,eAAM,CAAC,EAAC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EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,KAAK,GAAG,EACnD,eAAM,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,KAAK,GAAG,IAC/C,CACR,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shared SVG frame every mark is drawn in, and the icon prop/component
|
|
3
|
+
* types. Marks import `Icon` from here; it is deliberately not re-exported from
|
|
4
|
+
* the barrel, so it is never mistaken for a mark.
|
|
5
|
+
*/
|
|
6
|
+
import type { ReactElement, SVGProps } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Props of every icon: the full SVG surface, so `style`, events and ARIA pass
|
|
9
|
+
* through. `className` is APPENDED to the `tai-icon` sizing class rather than
|
|
10
|
+
* replacing it — the same merge every other design-system primitive does.
|
|
11
|
+
*/
|
|
12
|
+
export type IconProps = SVGProps<SVGSVGElement>;
|
|
13
|
+
/** The shape every exported icon satisfies. */
|
|
14
|
+
export type IconComponent = (props: IconProps) => ReactElement;
|
|
15
|
+
/**
|
|
16
|
+
* The shared frame every mark is drawn in. Defaults are declared BEFORE the prop
|
|
17
|
+
* spread so a caller can override any of them, while `className` is destructured
|
|
18
|
+
* out of the spread so the caller's class is merged with `tai-icon` instead of
|
|
19
|
+
* replacing it.
|
|
20
|
+
*
|
|
21
|
+
* The accessibility defaults are DERIVED from whether the caller gave the icon a
|
|
22
|
+
* name rather than fixed. A hard-coded `aria-hidden="true"` is not self-serving:
|
|
23
|
+
* it makes `<Icon aria-label="Warning" />` — the form a caller naturally reaches
|
|
24
|
+
* for — a named-but-hidden element, which exposes nothing and fails nowhere. So
|
|
25
|
+
* `aria-hidden` is emitted only for an icon with NO accessible name, and an icon
|
|
26
|
+
* that has one is given the `role="img"` that makes the name reachable.
|
|
27
|
+
*/
|
|
28
|
+
export declare function Icon({ className, children, ...props }: IconProps): ReactElement;
|
|
29
|
+
//# sourceMappingURL=icon-frame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-frame.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-frame.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAEhD,+CAA+C;AAC/C,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,SAAS,KAAK,YAAY,CAAC;AAE/D;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG,YAAY,CAmB/E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* The shared frame every mark is drawn in. Defaults are declared BEFORE the prop
|
|
4
|
+
* spread so a caller can override any of them, while `className` is destructured
|
|
5
|
+
* out of the spread so the caller's class is merged with `tai-icon` instead of
|
|
6
|
+
* replacing it.
|
|
7
|
+
*
|
|
8
|
+
* The accessibility defaults are DERIVED from whether the caller gave the icon a
|
|
9
|
+
* name rather than fixed. A hard-coded `aria-hidden="true"` is not self-serving:
|
|
10
|
+
* it makes `<Icon aria-label="Warning" />` — the form a caller naturally reaches
|
|
11
|
+
* for — a named-but-hidden element, which exposes nothing and fails nowhere. So
|
|
12
|
+
* `aria-hidden` is emitted only for an icon with NO accessible name, and an icon
|
|
13
|
+
* that has one is given the `role="img"` that makes the name reachable.
|
|
14
|
+
*/
|
|
15
|
+
export function Icon({ className, children, ...props }) {
|
|
16
|
+
const named = props['aria-label'] !== undefined || props['aria-labelledby'] !== undefined;
|
|
17
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": named ? undefined : 'true', role: named ? 'img' : undefined, className: className === undefined ? 'tai-icon' : `tai-icon ${className}`, ...props, children: children }));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=icon-frame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-frame.js","sourceRoot":"","sources":["../../../src/components/icons/icon-frame.tsx"],"names":[],"mappings":";AAiBA;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAa;IAC/D,MAAM,KAAK,GAAG,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS,CAAC;IAC1F,OAAO,CACL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,iBACT,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EACvC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,EAC/B,SAAS,EAAE,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,SAAS,EAAE,KACrE,KAAK,YAER,QAAQ,GACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The design system's icon set — the ONLY sanctioned source of iconography in
|
|
3
|
+
* Studio (Unicode glyphs as icons are banned).
|
|
4
|
+
*
|
|
5
|
+
* Every mark is hand-authored inline SVG on a 24-unit grid with ~2 units of
|
|
6
|
+
* optical padding, drawn stroke-only in `currentColor` at a uniform 1.6 stroke.
|
|
7
|
+
* Because the paint is `currentColor` an icon inherits the ink of whatever it
|
|
8
|
+
* sits in — a token color at FULL opacity, never a dimmed one; to mute an icon,
|
|
9
|
+
* mute the surrounding text color, never the icon's alpha.
|
|
10
|
+
*
|
|
11
|
+
* Sizing is owned by the `tai-icon` class (16 px square, no shrink), which every
|
|
12
|
+
* icon applies unconditionally. A caller-supplied `className` is APPENDED to it,
|
|
13
|
+
* the way every other design-system primitive treats the prop — an inline `<svg>`
|
|
14
|
+
* with a `viewBox` and no width/height has no intrinsic size, so a `className`
|
|
15
|
+
* that replaced `tai-icon` would not make the mark slightly wrong, it would blow
|
|
16
|
+
* it up to the replaced-element default.
|
|
17
|
+
*
|
|
18
|
+
* Icons are decorative by default (`aria-hidden="true"`): they accompany a text
|
|
19
|
+
* label or sit inside a control that carries its own accessible name. An icon
|
|
20
|
+
* that is the ONLY carrier of meaning is given a name by the caller —
|
|
21
|
+
* `<AlertTriangleIcon aria-label="Warning" />` — and NAMING IT IS ENOUGH: the
|
|
22
|
+
* frame derives the other two attributes from the name, so `aria-hidden` is
|
|
23
|
+
* dropped and `role="img"` supplied. A name and `aria-hidden` can therefore
|
|
24
|
+
* never ship together by omission. Both derived attributes are still
|
|
25
|
+
* overridable through the prop spread, and the older explicit three-prop form
|
|
26
|
+
* (`aria-hidden={false} role="img" aria-label="…"`) keeps working unchanged.
|
|
27
|
+
*
|
|
28
|
+
* {@link NAV_ICONS} is PUBLISHED SURFACE: the canonical route-token → icon
|
|
29
|
+
* mapping, exported so a navigation surface renders the agreed mark for a route
|
|
30
|
+
* instead of choosing one. Studio's own shell renders its nav as text and reads
|
|
31
|
+
* none of it; the map is exhaustive over {@link RouteToken} regardless, so a new
|
|
32
|
+
* route fails the build here until it has a mark.
|
|
33
|
+
*/
|
|
34
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FilterIcon, FolderIcon, GridIcon, MenuIcon, MinusIcon, PlusIcon, SearchIcon, SignOutIcon, SortAscIcon, SortDescIcon, UnplugIcon, } from './chrome-marks';
|
|
35
|
+
export type { IconComponent, IconProps } from './icon-frame';
|
|
36
|
+
export { NAV_ICONS } from './nav-map';
|
|
37
|
+
export { AgentsIcon, ConnectorsIcon, ConversationsIcon, DashboardIcon, DatabaseIcon, ExtensionsIcon, HooksIcon, InteractionsIcon, ManifestIcon, MarketplaceIcon, NotificationsIcon, PluginIcon, PresetsIcon, SchedulingIcon, ServedEndpointsIcon, SettingsIcon, StorageIcon, SystemIcon, TemplatesIcon, ToolsIcon, } from './nav-marks';
|
|
38
|
+
export { AlertTriangleIcon, CheckCircleIcon, PendingIcon, XCircleIcon } from './status-marks';
|
|
39
|
+
export { MonitorIcon, MoonIcon, SunIcon } from './theme-marks';
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EACL,aAAa,EACb,aAAa,EACb,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,EACb,SAAS,GACV,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The design system's icon set — the ONLY sanctioned source of iconography in
|
|
3
|
+
* Studio (Unicode glyphs as icons are banned).
|
|
4
|
+
*
|
|
5
|
+
* Every mark is hand-authored inline SVG on a 24-unit grid with ~2 units of
|
|
6
|
+
* optical padding, drawn stroke-only in `currentColor` at a uniform 1.6 stroke.
|
|
7
|
+
* Because the paint is `currentColor` an icon inherits the ink of whatever it
|
|
8
|
+
* sits in — a token color at FULL opacity, never a dimmed one; to mute an icon,
|
|
9
|
+
* mute the surrounding text color, never the icon's alpha.
|
|
10
|
+
*
|
|
11
|
+
* Sizing is owned by the `tai-icon` class (16 px square, no shrink), which every
|
|
12
|
+
* icon applies unconditionally. A caller-supplied `className` is APPENDED to it,
|
|
13
|
+
* the way every other design-system primitive treats the prop — an inline `<svg>`
|
|
14
|
+
* with a `viewBox` and no width/height has no intrinsic size, so a `className`
|
|
15
|
+
* that replaced `tai-icon` would not make the mark slightly wrong, it would blow
|
|
16
|
+
* it up to the replaced-element default.
|
|
17
|
+
*
|
|
18
|
+
* Icons are decorative by default (`aria-hidden="true"`): they accompany a text
|
|
19
|
+
* label or sit inside a control that carries its own accessible name. An icon
|
|
20
|
+
* that is the ONLY carrier of meaning is given a name by the caller —
|
|
21
|
+
* `<AlertTriangleIcon aria-label="Warning" />` — and NAMING IT IS ENOUGH: the
|
|
22
|
+
* frame derives the other two attributes from the name, so `aria-hidden` is
|
|
23
|
+
* dropped and `role="img"` supplied. A name and `aria-hidden` can therefore
|
|
24
|
+
* never ship together by omission. Both derived attributes are still
|
|
25
|
+
* overridable through the prop spread, and the older explicit three-prop form
|
|
26
|
+
* (`aria-hidden={false} role="img" aria-label="…"`) keeps working unchanged.
|
|
27
|
+
*
|
|
28
|
+
* {@link NAV_ICONS} is PUBLISHED SURFACE: the canonical route-token → icon
|
|
29
|
+
* mapping, exported so a navigation surface renders the agreed mark for a route
|
|
30
|
+
* instead of choosing one. Studio's own shell renders its nav as text and reads
|
|
31
|
+
* none of it; the map is exhaustive over {@link RouteToken} regardless, so a new
|
|
32
|
+
* route fails the build here until it has a mark.
|
|
33
|
+
*/
|
|
34
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FilterIcon, FolderIcon, GridIcon, MenuIcon, MinusIcon, PlusIcon, SearchIcon, SignOutIcon, SortAscIcon, SortDescIcon, UnplugIcon, } from './chrome-marks';
|
|
35
|
+
export { NAV_ICONS } from './nav-map';
|
|
36
|
+
export { AgentsIcon, ConnectorsIcon, ConversationsIcon, DashboardIcon, DatabaseIcon, ExtensionsIcon, HooksIcon, InteractionsIcon, ManifestIcon, MarketplaceIcon, NotificationsIcon, PluginIcon, PresetsIcon, SchedulingIcon, ServedEndpointsIcon, SettingsIcon, StorageIcon, SystemIcon, TemplatesIcon, ToolsIcon, } from './nav-marks';
|
|
37
|
+
export { AlertTriangleIcon, CheckCircleIcon, PendingIcon, XCircleIcon } from './status-marks';
|
|
38
|
+
export { MonitorIcon, MoonIcon, SunIcon } from './theme-marks';
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EACL,aAAa,EACb,aAAa,EACb,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,GACX,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACL,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,EACb,SAAS,GACV,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The canonical route-token → icon mapping. Exhaustive over {@link RouteToken}
|
|
3
|
+
* (bar `login`, which is not a listed destination), so adding a route fails the
|
|
4
|
+
* build here until it has a mark.
|
|
5
|
+
*/
|
|
6
|
+
import type { RouteToken } from '../../navigation/types';
|
|
7
|
+
import type { IconComponent } from './icon-frame';
|
|
8
|
+
/**
|
|
9
|
+
* The canonical mark for every navigable route token. `login` is excluded: it is
|
|
10
|
+
* not a destination the navigation surfaces list. Keyed by the token type, so
|
|
11
|
+
* adding a route to {@link RouteToken} fails the build here until it gets a mark.
|
|
12
|
+
*/
|
|
13
|
+
export declare const NAV_ICONS: Readonly<Record<Exclude<RouteToken, 'login'>, IconComponent>>;
|
|
14
|
+
//# sourceMappingURL=nav-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-map.d.ts","sourceRoot":"","sources":["../../../src/components/icons/nav-map.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAuBlD;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,aAAa,CAAC,CAoBnF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AgentsIcon, ConnectorsIcon, ConversationsIcon, DashboardIcon, DatabaseIcon, ExtensionsIcon, HooksIcon, InteractionsIcon, ManifestIcon, MarketplaceIcon, NotificationsIcon, PresetsIcon, SchedulingIcon, ServedEndpointsIcon, SettingsIcon, StorageIcon, SystemIcon, TemplatesIcon, ToolsIcon, } from './nav-marks';
|
|
2
|
+
/**
|
|
3
|
+
* The canonical mark for every navigable route token. `login` is excluded: it is
|
|
4
|
+
* not a destination the navigation surfaces list. Keyed by the token type, so
|
|
5
|
+
* adding a route to {@link RouteToken} fails the build here until it gets a mark.
|
|
6
|
+
*/
|
|
7
|
+
export const NAV_ICONS = {
|
|
8
|
+
observability: DashboardIcon,
|
|
9
|
+
tools: ToolsIcon,
|
|
10
|
+
agents: AgentsIcon,
|
|
11
|
+
presets: PresetsIcon,
|
|
12
|
+
states: DatabaseIcon,
|
|
13
|
+
extensions: ExtensionsIcon,
|
|
14
|
+
templates: TemplatesIcon,
|
|
15
|
+
connectors: ConnectorsIcon,
|
|
16
|
+
servedEndpoints: ServedEndpointsIcon,
|
|
17
|
+
hooks: HooksIcon,
|
|
18
|
+
storage: StorageIcon,
|
|
19
|
+
scheduling: SchedulingIcon,
|
|
20
|
+
interactions: InteractionsIcon,
|
|
21
|
+
notifications: NotificationsIcon,
|
|
22
|
+
conversations: ConversationsIcon,
|
|
23
|
+
marketplace: MarketplaceIcon,
|
|
24
|
+
manifest: ManifestIcon,
|
|
25
|
+
settings: SettingsIcon,
|
|
26
|
+
system: SystemIcon,
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=nav-map.js.map
|