@qoretechnologies/reqraft 0.10.55-pr.124.g43fa138 → 0.10.55
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/.claude/CLAUDE.md +25 -0
- package/.tasks/INDEX.md +1 -0
- package/.tasks/STORY_NETWORK_ISOLATION.md +98 -0
- package/README.md +1 -1
- package/design/FORM_ENGINE_COMPACT.md +34 -0
- package/design/FORM_ENGINE_EXPRESSIONS.md +110 -0
- package/design/FORM_ENGINE_FIELD_MIGRATION.md +155 -1
- package/design/IDE_INTEGRATION.md +13 -0
- package/design/RENDER_EXPRESSION_TRANSPORT.md +76 -10
- package/design/SELECT_DIALOG_FLOOR.md +86 -0
- package/design/SMART_EDITOR_UX.md +21 -0
- package/design/UNAVAILABLE_ALLOWED_VALUES.md +226 -0
- package/dist/components/composer/Composer.d.ts +8 -3
- package/dist/components/composer/Composer.d.ts.map +1 -1
- package/dist/components/composer/Composer.js.map +1 -1
- package/dist/components/dpqlEditor/DpqlEditor.d.ts.map +1 -1
- package/dist/components/dpqlEditor/DpqlEditor.js +3 -3
- package/dist/components/dpqlEditor/DpqlEditor.js.map +1 -1
- package/dist/components/dpqlEditor/dpqlHelpers.d.ts +6 -0
- package/dist/components/dpqlEditor/dpqlHelpers.d.ts.map +1 -1
- package/dist/components/dpqlEditor/dpqlHelpers.js +21 -2
- package/dist/components/dpqlEditor/dpqlHelpers.js.map +1 -1
- package/dist/components/dpqlEditor/dpqlProbe.d.ts +37 -0
- package/dist/components/dpqlEditor/dpqlProbe.d.ts.map +1 -0
- package/dist/components/dpqlEditor/dpqlProbe.js +203 -0
- package/dist/components/dpqlEditor/dpqlProbe.js.map +1 -0
- package/dist/components/dpqlEditor/dpqlTags.d.ts +8 -0
- package/dist/components/dpqlEditor/dpqlTags.d.ts.map +1 -1
- package/dist/components/dpqlEditor/dpqlTags.js +5 -1
- package/dist/components/dpqlEditor/dpqlTags.js.map +1 -1
- package/dist/components/dpqlEditor/index.d.ts +4 -0
- package/dist/components/dpqlEditor/index.d.ts.map +1 -1
- package/dist/components/dpqlEditor/index.js +5 -1
- package/dist/components/dpqlEditor/index.js.map +1 -1
- package/dist/components/dpqlEditor/types.d.ts +42 -2
- package/dist/components/dpqlEditor/types.d.ts.map +1 -1
- package/dist/components/dpqlEditor/types.js +0 -4
- package/dist/components/dpqlEditor/types.js.map +1 -1
- package/dist/components/dpqlEditor/useDpqlProbe.d.ts +4 -0
- package/dist/components/dpqlEditor/useDpqlProbe.d.ts.map +1 -0
- package/dist/components/dpqlEditor/useDpqlProbe.js +29 -0
- package/dist/components/dpqlEditor/useDpqlProbe.js.map +1 -0
- package/dist/components/dpqlEditor/useDpqlSession.d.ts +5 -2
- package/dist/components/dpqlEditor/useDpqlSession.d.ts.map +1 -1
- package/dist/components/dpqlEditor/useDpqlSession.js +8 -2
- package/dist/components/dpqlEditor/useDpqlSession.js.map +1 -1
- package/dist/components/form/engine/CompactRow.d.ts.map +1 -1
- package/dist/components/form/engine/CompactRow.js +414 -128
- package/dist/components/form/engine/CompactRow.js.map +1 -1
- package/dist/components/form/engine/CompactToolbar.d.ts.map +1 -1
- package/dist/components/form/engine/CompactToolbar.js +5 -2
- package/dist/components/form/engine/CompactToolbar.js.map +1 -1
- package/dist/components/form/engine/FormEngine.d.ts +273 -22
- package/dist/components/form/engine/FormEngine.d.ts.map +1 -1
- package/dist/components/form/engine/FormEngine.js +669 -192
- package/dist/components/form/engine/FormEngine.js.map +1 -1
- package/dist/components/form/engine/FormFieldsSkeleton.d.ts +48 -0
- package/dist/components/form/engine/FormFieldsSkeleton.d.ts.map +1 -0
- package/dist/components/form/engine/FormFieldsSkeleton.js +41 -0
- package/dist/components/form/engine/FormFieldsSkeleton.js.map +1 -0
- package/dist/components/form/engine/OptionFieldMessages.d.ts +108 -2
- package/dist/components/form/engine/OptionFieldMessages.d.ts.map +1 -1
- package/dist/components/form/engine/OptionFieldMessages.js +203 -13
- package/dist/components/form/engine/OptionFieldMessages.js.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.d.ts.map +1 -1
- package/dist/components/form/engine/_structuredData/SchemaDataView.js +68 -5
- package/dist/components/form/engine/_structuredData/SchemaDataView.js.map +1 -1
- package/dist/components/form/engine/compactRowContext.d.ts +15 -1
- package/dist/components/form/engine/compactRowContext.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowContext.js.map +1 -1
- package/dist/components/form/engine/compactRowStyles.d.ts.map +1 -1
- package/dist/components/form/engine/compactRowStyles.js +55 -29
- package/dist/components/form/engine/compactRowStyles.js.map +1 -1
- package/dist/components/form/engine/compactToolbarContext.d.ts +1 -0
- package/dist/components/form/engine/compactToolbarContext.d.ts.map +1 -1
- package/dist/components/form/engine/optionActions.d.ts +37 -1
- package/dist/components/form/engine/optionActions.d.ts.map +1 -1
- package/dist/components/form/engine/optionActions.js +71 -1
- package/dist/components/form/engine/optionActions.js.map +1 -1
- package/dist/components/form/engine/optionsContext.d.ts +22 -0
- package/dist/components/form/engine/optionsContext.d.ts.map +1 -0
- package/dist/components/form/engine/optionsContext.js +20 -0
- package/dist/components/form/engine/optionsContext.js.map +1 -0
- package/dist/components/form/engine/readFirst.d.ts +42 -1
- package/dist/components/form/engine/readFirst.d.ts.map +1 -1
- package/dist/components/form/engine/readFirst.js +76 -8
- package/dist/components/form/engine/readFirst.js.map +1 -1
- package/dist/components/form/engine/rendererTypes.d.ts +42 -3
- package/dist/components/form/engine/rendererTypes.d.ts.map +1 -1
- package/dist/components/form/engine/rendererTypes.js +3 -1
- package/dist/components/form/engine/rendererTypes.js.map +1 -1
- package/dist/components/form/engine/rowFocus.d.ts +30 -0
- package/dist/components/form/engine/rowFocus.d.ts.map +1 -0
- package/dist/components/form/engine/rowFocus.js +93 -0
- package/dist/components/form/engine/rowFocus.js.map +1 -0
- package/dist/components/form/engine/rowMenuContext.d.ts +78 -0
- package/dist/components/form/engine/rowMenuContext.d.ts.map +1 -0
- package/dist/components/form/engine/rowMenuContext.js +103 -0
- package/dist/components/form/engine/rowMenuContext.js.map +1 -0
- package/dist/components/form/engine/rowOpenPicker.d.ts +27 -0
- package/dist/components/form/engine/rowOpenPicker.d.ts.map +1 -0
- package/dist/components/form/engine/rowOpenPicker.js +30 -0
- package/dist/components/form/engine/rowOpenPicker.js.map +1 -0
- package/dist/components/form/engine/typeChoices.d.ts +42 -0
- package/dist/components/form/engine/typeChoices.d.ts.map +1 -0
- package/dist/components/form/engine/typeChoices.js +33 -0
- package/dist/components/form/engine/typeChoices.js.map +1 -0
- package/dist/components/form/expressions/DpqlRendering.d.ts +26 -0
- package/dist/components/form/expressions/DpqlRendering.d.ts.map +1 -0
- package/dist/components/form/expressions/DpqlRendering.js +53 -0
- package/dist/components/form/expressions/DpqlRendering.js.map +1 -0
- package/dist/components/form/expressions/ExpressionField.d.ts +7 -1
- package/dist/components/form/expressions/ExpressionField.d.ts.map +1 -1
- package/dist/components/form/expressions/ExpressionField.js +203 -45
- package/dist/components/form/expressions/ExpressionField.js.map +1 -1
- package/dist/components/form/expressions/argumentPresence.d.ts +84 -0
- package/dist/components/form/expressions/argumentPresence.d.ts.map +1 -0
- package/dist/components/form/expressions/argumentPresence.js +217 -0
- package/dist/components/form/expressions/argumentPresence.js.map +1 -0
- package/dist/components/form/expressions/builder/argumentLabel.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/argumentLabel.js +9 -4
- package/dist/components/form/expressions/builder/argumentLabel.js.map +1 -1
- package/dist/components/form/expressions/builder/index.d.ts +15 -2
- package/dist/components/form/expressions/builder/index.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/index.js +21 -65
- package/dist/components/form/expressions/builder/index.js.map +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.d.ts +4 -1
- package/dist/components/form/expressions/builder/renderTemplate.d.ts.map +1 -1
- package/dist/components/form/expressions/builder/renderTemplate.js +10 -67
- package/dist/components/form/expressions/builder/renderTemplate.js.map +1 -1
- package/dist/components/form/expressions/mockExpressions.d.ts.map +1 -1
- package/dist/components/form/expressions/mockExpressions.js +8 -4
- package/dist/components/form/expressions/mockExpressions.js.map +1 -1
- package/dist/components/form/expressions/renderExpressionToText.d.ts +1 -1
- package/dist/components/form/expressions/renderExpressionToText.d.ts.map +1 -1
- package/dist/components/form/expressions/renderExpressionToText.js +95 -19
- package/dist/components/form/expressions/renderExpressionToText.js.map +1 -1
- package/dist/components/form/expressions/types.d.ts +17 -2
- package/dist/components/form/expressions/types.d.ts.map +1 -1
- package/dist/components/form/expressions/useExpressions.d.ts.map +1 -1
- package/dist/components/form/expressions/useExpressions.js +5 -2
- package/dist/components/form/expressions/useExpressions.js.map +1 -1
- package/dist/components/form/expressions/useRenderExpression.d.ts +7 -16
- package/dist/components/form/expressions/useRenderExpression.d.ts.map +1 -1
- package/dist/components/form/expressions/useRenderExpression.js +50 -126
- package/dist/components/form/expressions/useRenderExpression.js.map +1 -1
- package/dist/components/form/fields/Field.d.ts +21 -0
- package/dist/components/form/fields/Field.d.ts.map +1 -1
- package/dist/components/form/fields/Field.js +54 -8
- package/dist/components/form/fields/Field.js.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.d.ts +11 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.d.ts.map +1 -1
- package/dist/components/form/fields/allowed-values/AllowedValues.js +52 -8
- package/dist/components/form/fields/allowed-values/AllowedValues.js.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts +7 -1
- package/dist/components/form/fields/auto/AutoFormField.d.ts.map +1 -1
- package/dist/components/form/fields/auto/AutoFormField.js +91 -28
- package/dist/components/form/fields/auto/AutoFormField.js.map +1 -1
- package/dist/components/form/fields/date/Date.d.ts +1 -1
- package/dist/components/form/fields/date/Date.d.ts.map +1 -1
- package/dist/components/form/fields/date/Date.js +16 -2
- package/dist/components/form/fields/date/Date.js.map +1 -1
- package/dist/components/form/fields/long-string/LongString.d.ts.map +1 -1
- package/dist/components/form/fields/long-string/LongString.js +14 -2
- package/dist/components/form/fields/long-string/LongString.js.map +1 -1
- package/dist/components/form/fields/multi-select/MultiSelectFormField.d.ts.map +1 -1
- package/dist/components/form/fields/multi-select/MultiSelectFormField.js +50 -4
- package/dist/components/form/fields/multi-select/MultiSelectFormField.js.map +1 -1
- package/dist/components/form/fields/number/Number.d.ts +12 -1
- package/dist/components/form/fields/number/Number.d.ts.map +1 -1
- package/dist/components/form/fields/number/Number.js +6 -3
- package/dist/components/form/fields/number/Number.js.map +1 -1
- package/dist/components/form/fields/rich-text/RichText.d.ts +47 -2
- package/dist/components/form/fields/rich-text/RichText.d.ts.map +1 -1
- package/dist/components/form/fields/rich-text/RichText.js +153 -12
- package/dist/components/form/fields/rich-text/RichText.js.map +1 -1
- package/dist/components/form/fields/select/Select.d.ts.map +1 -1
- package/dist/components/form/fields/select/Select.js +120 -20
- package/dist/components/form/fields/select/Select.js.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.d.ts +166 -9
- package/dist/components/form/fields/select/SelectCollection.d.ts.map +1 -1
- package/dist/components/form/fields/select/SelectCollection.js +200 -7
- package/dist/components/form/fields/select/SelectCollection.js.map +1 -1
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts +2 -1
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.d.ts.map +1 -1
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.js +3 -2
- package/dist/components/form/fields/template/ReadOnlyTemplateTag.js.map +1 -1
- package/dist/components/form/fields/template/TemplateField.d.ts +34 -2
- package/dist/components/form/fields/template/TemplateField.d.ts.map +1 -1
- package/dist/components/form/fields/template/TemplateField.js +606 -58
- package/dist/components/form/fields/template/TemplateField.js.map +1 -1
- package/dist/components/form/fields/template/TemplateText.d.ts +36 -0
- package/dist/components/form/fields/template/TemplateText.d.ts.map +1 -0
- package/dist/components/form/fields/template/TemplateText.js +80 -0
- package/dist/components/form/fields/template/TemplateText.js.map +1 -0
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/index.js +4 -0
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/smartEditor/SmartEditor.d.ts.map +1 -1
- package/dist/components/smartEditor/SmartEditor.js +29 -8
- package/dist/components/smartEditor/SmartEditor.js.map +1 -1
- package/dist/components/smartEditor/useLspSession.d.ts +5 -1
- package/dist/components/smartEditor/useLspSession.d.ts.map +1 -1
- package/dist/components/smartEditor/useLspSession.js +16 -2
- package/dist/components/smartEditor/useLspSession.js.map +1 -1
- package/dist/components/supportTicket/TicketReplyBox.d.ts +8 -4
- package/dist/components/supportTicket/TicketReplyBox.d.ts.map +1 -1
- package/dist/components/supportTicket/TicketReplyBox.js.map +1 -1
- package/dist/helpers/common.d.ts.map +1 -1
- package/dist/helpers/common.js +7 -3
- package/dist/helpers/common.js.map +1 -1
- package/dist/helpers/dpqlDetection.d.ts +58 -0
- package/dist/helpers/dpqlDetection.d.ts.map +1 -0
- package/dist/helpers/dpqlDetection.js +164 -0
- package/dist/helpers/dpqlDetection.js.map +1 -0
- package/dist/helpers/optionUiTypes.d.ts +31 -3
- package/dist/helpers/optionUiTypes.d.ts.map +1 -1
- package/dist/helpers/optionUiTypes.js +36 -1
- package/dist/helpers/optionUiTypes.js.map +1 -1
- package/dist/helpers/options.d.ts +57 -0
- package/dist/helpers/options.d.ts.map +1 -1
- package/dist/helpers/options.js +97 -1
- package/dist/helpers/options.js.map +1 -1
- package/dist/helpers/templateItems.d.ts +47 -0
- package/dist/helpers/templateItems.d.ts.map +1 -0
- package/dist/helpers/templateItems.js +88 -0
- package/dist/helpers/templateItems.js.map +1 -0
- package/dist/helpers/templateText.d.ts +80 -0
- package/dist/helpers/templateText.d.ts.map +1 -0
- package/dist/helpers/templateText.js +291 -0
- package/dist/helpers/templateText.js.map +1 -0
- package/dist/helpers/templates.d.ts +30 -12
- package/dist/helpers/templates.d.ts.map +1 -1
- package/dist/helpers/templates.js +91 -33
- package/dist/helpers/templates.js.map +1 -1
- package/dist/helpers/validations.d.ts +35 -8
- package/dist/helpers/validations.d.ts.map +1 -1
- package/dist/helpers/validations.js +162 -25
- package/dist/helpers/validations.js.map +1 -1
- package/dist/hooks/useArgSchema.d.ts +2 -1
- package/dist/hooks/useArgSchema.d.ts.map +1 -1
- package/dist/hooks/useFetch/useFetch.d.ts +3 -1
- package/dist/hooks/useFetch/useFetch.d.ts.map +1 -1
- package/dist/hooks/useFetch/useFetch.js +47 -9
- package/dist/hooks/useFetch/useFetch.js.map +1 -1
- package/dist/hooks/useTemplates.d.ts +20 -0
- package/dist/hooks/useTemplates.d.ts.map +1 -1
- package/dist/hooks/useTemplates.js +34 -2
- package/dist/hooks/useTemplates.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/fetch.d.ts +151 -1
- package/dist/utils/fetch.d.ts.map +1 -1
- package/dist/utils/fetch.js +256 -44
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/lspClient.d.ts +6 -0
- package/dist/utils/lspClient.d.ts.map +1 -1
- package/dist/utils/lspClient.js +62 -11
- package/dist/utils/lspClient.js.map +1 -1
- package/dist/utils/websocket.d.ts +6 -0
- package/dist/utils/websocket.d.ts.map +1 -1
- package/dist/utils/websocket.js +15 -7
- package/dist/utils/websocket.js.map +1 -1
- package/package.json +10 -6
- package/src/components/composer/Composer.tsx +7 -2
- package/src/components/dpqlEditor/DpqlEditor.stories.tsx +3 -119
- package/src/components/dpqlEditor/DpqlEditor.tsx +5 -2
- package/src/components/dpqlEditor/dpqlHelpers.ts +20 -1
- package/src/components/dpqlEditor/dpqlProbe.ts +165 -0
- package/src/components/dpqlEditor/dpqlTags.ts +13 -0
- package/src/components/dpqlEditor/index.ts +4 -0
- package/src/components/dpqlEditor/types.ts +38 -2
- package/src/components/dpqlEditor/useDpqlProbe.ts +33 -0
- package/src/components/dpqlEditor/useDpqlSession.ts +20 -4
- package/src/components/form/engine/CompactRow.tsx +487 -160
- package/src/components/form/engine/CompactToolbar.tsx +10 -3
- package/src/components/form/engine/FormEngine.stories.tsx +1269 -201
- package/src/components/form/engine/FormEngine.tsx +922 -270
- package/src/components/form/engine/FormEngineStickyHeaders.stories.tsx +331 -0
- package/src/components/form/engine/FormFieldsSkeleton.tsx +77 -0
- package/src/components/form/engine/OptionFieldMessages.tsx +300 -14
- package/src/components/form/engine/_structuredData/SchemaDataView.tsx +94 -3
- package/src/components/form/engine/compactRowContext.ts +15 -6
- package/src/components/form/engine/compactRowStyles.ts +56 -2
- package/src/components/form/engine/compactToolbarContext.ts +1 -1
- package/src/components/form/engine/optionActions.ts +89 -1
- package/src/components/form/engine/optionsContext.ts +24 -0
- package/src/components/form/engine/readFirst.ts +88 -8
- package/src/components/form/engine/rendererTypes.ts +48 -4
- package/src/components/form/engine/rowFocus.ts +101 -0
- package/src/components/form/engine/rowMenuContext.ts +159 -0
- package/src/components/form/engine/rowOpenPicker.ts +27 -0
- package/src/components/form/engine/typeChoices.ts +63 -0
- package/src/components/form/expressions/DpqlRendering.tsx +85 -0
- package/src/components/form/expressions/ExpressionField.stories.tsx +826 -48
- package/src/components/form/expressions/ExpressionField.tsx +269 -55
- package/src/components/form/expressions/argumentPresence.ts +213 -0
- package/src/components/form/expressions/builder/ExpressionBuilder.stories.tsx +38 -21
- package/src/components/form/expressions/builder/argumentLabel.tsx +10 -4
- package/src/components/form/expressions/builder/index.tsx +39 -81
- package/src/components/form/expressions/builder/renderTemplate.tsx +23 -56
- package/src/components/form/expressions/dpqlMockLanguage.ts +565 -0
- package/src/components/form/expressions/dpqlMockLsp.ts +109 -83
- package/src/components/form/expressions/mockExpressions.ts +8 -4
- package/src/components/form/expressions/renderExpressionToText.ts +112 -22
- package/src/components/form/expressions/types.ts +17 -2
- package/src/components/form/expressions/useExpressions.ts +5 -1
- package/src/components/form/expressions/useRenderExpression.ts +43 -127
- package/src/components/form/fields/Field.tsx +102 -20
- package/src/components/form/fields/allowed-values/AllowedValues.tsx +106 -44
- package/src/components/form/fields/auto/AutoFormField.stories.tsx +85 -18
- package/src/components/form/fields/auto/AutoFormField.tsx +97 -21
- package/src/components/form/fields/date/Date.tsx +17 -1
- package/src/components/form/fields/long-string/LongString.tsx +15 -3
- package/src/components/form/fields/multi-select/MultiSelectFormField.tsx +65 -6
- package/src/components/form/fields/number/Number.tsx +25 -0
- package/src/components/form/fields/rich-text/RichText.tsx +248 -30
- package/src/components/form/fields/select/Select.stories.tsx +392 -0
- package/src/components/form/fields/select/Select.tsx +164 -27
- package/src/components/form/fields/select/SelectCollection.tsx +350 -6
- package/src/components/form/fields/template/ReadOnlyTemplateTag.tsx +4 -2
- package/src/components/form/fields/template/TemplateField.stories.tsx +93 -14
- package/src/components/form/fields/template/TemplateField.tsx +825 -131
- package/src/components/form/fields/template/TemplateText.tsx +115 -0
- package/src/components/form/index.tsx +4 -0
- package/src/components/log/Log.stories.tsx +2 -1
- package/src/components/searchFilterBar/SearchFilterBar.stories.tsx +3 -3
- package/src/components/smartEditor/SmartEditor.tsx +41 -9
- package/src/components/smartEditor/__fixtures__/mockLspServer.ts +52 -3
- package/src/components/smartEditor/useLspSession.ts +21 -3
- package/src/components/supportTicket/TicketReplyBox.tsx +8 -4
- package/src/components/ticketThread/TicketThread.stories.tsx +1 -0
- package/src/helpers/common.ts +7 -3
- package/src/helpers/dpqlDetection.ts +209 -0
- package/src/helpers/optionUiTypes.ts +38 -0
- package/src/helpers/options.ts +96 -0
- package/src/helpers/templateItems.ts +81 -0
- package/src/helpers/templateText.ts +350 -0
- package/src/helpers/templates.ts +94 -41
- package/src/helpers/validations.ts +203 -51
- package/src/hooks/useFetch/useFetch.stories.tsx +6 -5
- package/src/hooks/useFetch/useFetch.tsx +53 -7
- package/src/hooks/useStorage/useStorage.stories.tsx +2 -1
- package/src/hooks/useTemplates.ts +41 -0
- package/src/hooks/useWebSocket/useWebsocket.stories.tsx +2 -1
- package/src/index.tsx +14 -1
- package/src/stores/currentUser/currentUser.stories.tsx +2 -1
- package/src/stories/storyNetwork.ts +92 -0
- package/src/utils/fetch.ts +311 -21
- package/src/utils/lspClient.ts +68 -11
- package/src/utils/websocket.ts +20 -9
- package/dist/components/form/engine/__fixtures__/basicFormOptions.d.ts +0 -73
- package/dist/components/form/engine/__fixtures__/basicFormOptions.d.ts.map +0 -1
- package/dist/components/form/engine/__fixtures__/basicFormOptions.js +0 -317
- package/dist/components/form/engine/__fixtures__/basicFormOptions.js.map +0 -1
- package/dist/components/form/engine/__fixtures__/fieldChromeOptions.d.ts +0 -41
- package/dist/components/form/engine/__fixtures__/fieldChromeOptions.d.ts.map +0 -1
- package/dist/components/form/engine/__fixtures__/fieldChromeOptions.js +0 -45
- package/dist/components/form/engine/__fixtures__/fieldChromeOptions.js.map +0 -1
- package/dist/components/form/expressions/dpqlMockLsp.d.ts +0 -3
- package/dist/components/form/expressions/dpqlMockLsp.d.ts.map +0 -1
- package/dist/components/form/expressions/dpqlMockLsp.js +0 -91
- package/dist/components/form/expressions/dpqlMockLsp.js.map +0 -1
- package/dist/components/form/fields/template/__fixtures__/longExampleValue.d.ts +0 -2
- package/dist/components/form/fields/template/__fixtures__/longExampleValue.d.ts.map +0 -1
- package/dist/components/form/fields/template/__fixtures__/longExampleValue.js +0 -9
- package/dist/components/form/fields/template/__fixtures__/longExampleValue.js.map +0 -1
- package/dist/components/smartEditor/__fixtures__/mockLspServer.d.ts +0 -55
- package/dist/components/smartEditor/__fixtures__/mockLspServer.d.ts.map +0 -1
- package/dist/components/smartEditor/__fixtures__/mockLspServer.js +0 -126
- package/dist/components/smartEditor/__fixtures__/mockLspServer.js.map +0 -1
- package/dist/stories/Data/fileFieldArgSchema.json +0 -86
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaDataView.js","sourceRoot":"","sources":["../../../../../src/components/form/engine/_structuredData/SchemaDataView.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,mDAMkC;AAMlC,gDAA0B;AAC1B,wEAAuC;AACvC,6DAA0D;AAC1D,0DAAyD;AACzD,wDA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G,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,IAAyB,CAAA,YAE7E,uBAAC,WAAW,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAI,GAClE,CACpB;AAR4E,CAQ5E,CACF,CAAC;AAEF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C;;;;;;GAMG;AACI,IAAM,mBAAmB,GAAG,UAAC,KAAc,EAAE,MAAe;IACjE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QACzE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAtB,CAAsB,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC,CAAC;AATW,QAAA,mBAAmB,uBAS9B"}
|
|
1
|
+
{"version":3,"file":"SchemaDataView.js","sourceRoot":"","sources":["../../../../../src/components/form/engine/_structuredData/SchemaDataView.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,mDAMkC;AAQlC,iEAAwE;AACxE,gDAA0B;AAC1B,wEAAuC;AACvC,6DAA0D;AAC1D,0DAAyD;AACzD,wDAK6B;AAC7B,0CAUsB;AACtB,mEAAkE;AAElE,mDAAuE;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,kFAAkF;AAClF,IAAM,aAAa,GAAG,yBAAyB,CAAC;AAEhD,IAAM,gBA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GAClE,CACpB;AAR4E,CAQ5E,CACF,CAAC;AAEF,sBAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C;;;;;;GAMG;AACI,IAAM,mBAAmB,GAAG,UAAC,KAAc,EAAE,MAAe;IACjE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QACzE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,IAAI,CAAC,UAAC,IAAI,IAAK,OAAA,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAtB,CAAsB,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC,CAAC;AATW,QAAA,mBAAmB,uBAS9B"}
|
|
@@ -30,6 +30,21 @@ export type TCodePreviewRenderer = (props: {
|
|
|
30
30
|
}) => React.ReactNode;
|
|
31
31
|
export interface ICompactRowContext {
|
|
32
32
|
readOnly?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* What a click on a READ-ONLY row should do, when the consumer has somewhere
|
|
35
|
+
* to send it.
|
|
36
|
+
*
|
|
37
|
+
* A read-only row is not a control, so by default it opens nothing: it shows
|
|
38
|
+
* everything it has and answers a click with silence. That is right when
|
|
39
|
+
* there is nowhere else to go, and a dead end when there is — a reader
|
|
40
|
+
* clicking a value they want to change is telling you exactly what they want,
|
|
41
|
+
* and being ignored teaches them the surface is broken.
|
|
42
|
+
*
|
|
43
|
+
* Given this, the row becomes the way in to wherever that field IS editable,
|
|
44
|
+
* and says so: it takes a button's role and keyboard handling. Without it
|
|
45
|
+
* nothing changes, so a read-only form with no editor behind it stays inert.
|
|
46
|
+
*/
|
|
47
|
+
onReadOnlyActivate?: (optionName: string) => void;
|
|
33
48
|
commitMode: 'immediate' | 'batched';
|
|
34
49
|
expandMode: 'single' | 'multi';
|
|
35
50
|
options?: IQorusFormSchema;
|
|
@@ -39,7 +54,6 @@ export interface ICompactRowContext {
|
|
|
39
54
|
showAllDescriptions: boolean | undefined;
|
|
40
55
|
templates?: IReqoreFormTemplates;
|
|
41
56
|
expandedOptions: string[];
|
|
42
|
-
autoFocusNameRef?: MutableRefObject<string | undefined>;
|
|
43
57
|
highlightedOptions: string[];
|
|
44
58
|
flashedOptions: string[];
|
|
45
59
|
infoPanelOverrides: Record<string, boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compactRowContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;;;GAKG;AACH;;;;;;;;;GASG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,KAAK,KAAK,CAAC,SAAS,CAAC;AAEtB,MAAM,WAAW,kBAAkB;IAEjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,WAAW,GAAG,SAAS,CAAC;IACpC,UAAU,EAAE,QAAQ,GAAG,OAAO,CAAC;IAG/B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IAGxB,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAAC;IAGzC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,eAAe,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"compactRowContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD;;;;;GAKG;AACH;;;;;;;;;GASG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,KAAK,KAAK,CAAC,SAAS,CAAC;AAEtB,MAAM,WAAW,kBAAkB;IAEjC,QA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K,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,iBAAiB,4DAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compactRowContext.js","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowContext.ts"],"names":[],"mappings":";;;AAUA,6DAAqD;
|
|
1
|
+
{"version":3,"file":"compactRowContext.js","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowContext.ts"],"names":[],"mappings":";;;AAUA,6DAAqD;AAuIxC,QAAA,iBAAiB,GAAG,IAAA,oCAAa,EAAqB,EAAwB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compactRowStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/form/engine/compactRowStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,MAAM,EAAE,MAAM,+CAA+C,CAAC;AAKtF,eAAO,MAAM,UAAU,EAAE,MAAc,CAAC;AAOxC,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,eAAO,MAAM,kBAAkB,QAA0D,CAAC;AAE1F,eAAO,MAAM,kBAAkB,QAA0B,CAAC;AAI1D,eAAO,MAAM,YAAY,SAA2B,CAAC;AASrD,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,eAAO,MAAM,aAAa,MAAoB,CAAC;AAC/C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,QAAsB,CAA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eAAO,MAAM,cAAc,KAW1B,CAAC;AAMF,eAAO,MAAM,eAAe,KAO3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,KAI7B,CAAC;AAIF,eAAO,MAAM,eAAe,KAO3B,CAAC;AAIF,eAAO,MAAM,cAAc,KA2D1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAQ5B,CAAC;AAMF,eAAO,MAAM,eAAe,KAO3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAK5B,CAAC;AAEF,eAAO,MAAM,YAAY,KAGxB,CAAC;AAKF,eAAO,MAAM,cAAc,KAI1B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,2FAC8D,CAAC;AAO3F,eAAO,MAAM,iBAAiB,KAa7B,CAAC;AAGF,eAAO,MAAM,iBAAiB,KAO7B,CAAC;AAEF,eAAO,MAAM,eAAe,KA4T3B,CAAC;AAWF,eAAO,MAAM,mBAAmB,KAQ/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAG/B,CAAC"}
|
|
@@ -3,14 +3,34 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
-
var
|
|
7
|
-
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
8
28
|
};
|
|
9
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
30
|
exports.StyledAbsorbedLabel = exports.StyledAbsorbedField = exports.StyledGroupBody = exports.StyledColorSwatch = exports.StyledCodePreview = exports.MONO_FONT_STACK = exports.StyledRowInset = exports.StyledColumn = exports.StyledActionSlot = exports.StyledStatusDot = exports.StyledRowActions = exports.StyledRowValue = exports.StyledCardLabel = exports.StyledCardHeading = exports.StyledLabelDesc = exports.StyledRowLabel = exports.StyledLabelBlock = exports.StyledEditCard = exports.StyledClusterNode = exports.StyledStatusBoxGroupLabel = exports.StyledRequiredClusterHeader = exports.StyledRequiredClusterBox = exports.StyledStatusBox = exports.StyledGroupHeaderLine = exports.StyledGroupHeader = exports.StyledCompactPanel = exports.PANEL_LEFT_CSS = exports.LABEL_COL = exports.LABEL_COL_VAR = exports.LABEL_AFFORDANCE_WIDTH = exports.LABEL_COL_MAX = exports.LABEL_COL_MIN = exports.GROUP_INDENT = exports.COMPACT_PANEL_LEFT = exports.COMPACT_VALUE_LEFT = exports.COMPACT_ROW_GAP = exports.COMPACT_ROW_PAD_X = exports.COMPACT_LABEL_COL = exports.HEADER_GAP = void 0;
|
|
11
31
|
var reqore_1 = require("@qoretechnologies/reqore");
|
|
12
32
|
var sizes_1 = require("@qoretechnologies/reqore/dist/constants/sizes");
|
|
13
|
-
var styled_components_1 =
|
|
33
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
14
34
|
// Styled primitives for the compact (read-first) rows and their editor cards.
|
|
15
35
|
// Shared between FormEngine and the extracted CompactRow component.
|
|
16
36
|
exports.HEADER_GAP = 'big';
|
|
@@ -64,7 +84,10 @@ exports.PANEL_LEFT_CSS = "calc(".concat(exports.LABEL_COL, " + ").concat(exports
|
|
|
64
84
|
// promotes the header to its own GPU layer, which stops the backdrop-filter
|
|
65
85
|
// repaint flicker on scroll. `$headerBg` is a pre-mixed translucent colour so
|
|
66
86
|
// content blurs softly through.
|
|
67
|
-
exports.StyledCompactPanel = (0, styled_components_1.default)(reqore_1.ReqorePanel)(
|
|
87
|
+
exports.StyledCompactPanel = (0, styled_components_1.default)(reqore_1.ReqorePanel)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n /* The wrapper must not clip, or nothing INSIDE it can pin.\n \n ReqorePanel sets its wrapper to `overflow: hidden` unless its own header\n is sticky \u2014 and a clipping box is a scrollport, so a status box header\n inside it resolves against the wrapper instead of the page and stops\n pinning. That coupling is right for the panel's own header and wrong for\n its descendants': a host that turns this form's toolbar off (a two-field\n form inside a longer page, where a pinned search bar is the biggest thing\n on screen and the least useful) was silently turning the box headers off\n with it.\n \n The clip is the panel's rounded corners, and this panel is transparent and\n border-less \u2014 `flat raised minimal`, no background of its own \u2014 so there\n is nothing for it to clip. */\n ", "\n > .reqore-panel-title {\n /* The blur + translateZ exist only to make the STICKY top-level toolbar ghost\n content beneath it; a nested sub-form's header isn't sticky, so skip them\n (and the stacking context translateZ creates). */\n ", "\n padding-top: ", "px;\n /* A header with a SEARCH ROW keeps the `big` gap below it \u2014 a tall\n interactive control earns separation from the content it filters. A\n header without one (search hidden via `compactToolbar`, self-hidden on\n a single-option form, or no toolbar at all) is a thin strip, and at\n `big` its padding stacked onto the panel content's own 8px into a 26px\n dead band between the completion meter and the first status box \u2014\n rejected on build #140 as \"unnecessarily big\". `normal` lands it at\n the boxes' own 10px rhythm, and scoping the change here keeps every\n search-bearing form pixel-identical. */\n padding-bottom: ", "px;\n }\n\n /* Group framing. The HORIZONTAL rule is a real element in the header\n (StyledGroupHeaderLine) so it sits on the name's row, centred, and stretches\n from the name out to the status chip pinned at the far end \u2014 which needs the\n title's left group to fill the header width. The VERTICAL group spine is\n drawn by StyledGroupBody (so it shares the required-group rail's coordinate\n space and the two line up instead of doubling). */\n .options-readfirst-group {\n position: relative;\n }\n .options-readfirst-group > .reqore-panel-title > :first-child,\n .options-readfirst-group > .reqore-panel-title > :first-child > :first-child,\n .options-readfirst-group .reqore-panel-title-label-row {\n flex: 1 1 auto;\n min-width: 0;\n }\n\n /* An injected option action declared `show: 'hover'` \u2014 the shape ReqorePanel\n honours on the classic path \u2014 is revealed only while its row or card is\n hovered or holds focus. The compact slots render plain buttons, so the gate\n has to be CSS here. Kept focus-visible too, so the action stays reachable by\n keyboard. Opacity rather than display keeps the slot's width stable, so rows\n don't reflow on hover. */\n .options-injected-action-hover {\n opacity: 0;\n /* Not hit-testable while invisible \u2014 an opacity:0 button still takes taps\n and clicks, which reads as a mystery control firing out of nowhere. */\n pointer-events: none;\n transition: opacity 0.15s ease;\n }\n .readfirst-row:hover .options-injected-action-hover,\n .readfirst-row:focus-within .options-injected-action-hover,\n .options-readfirst-card:hover .options-injected-action-hover,\n .options-readfirst-card:focus-within .options-injected-action-hover {\n opacity: 1;\n pointer-events: auto;\n }\n /* Touch and other hover-less pointers never fire :hover, so a hover-gated\n action would be permanently unreachable there. Show it unconditionally\n instead \u2014 losing the tidiness beats losing the functionality. */\n @media (hover: none), (pointer: coarse) {\n .options-injected-action-hover {\n opacity: 1;\n pointer-events: auto;\n }\n }\n"], ["\n /* The wrapper must not clip, or nothing INSIDE it can pin.\n \n ReqorePanel sets its wrapper to \\`overflow: hidden\\` unless its own header\n is sticky \u2014 and a clipping box is a scrollport, so a status box header\n inside it resolves against the wrapper instead of the page and stops\n pinning. That coupling is right for the panel's own header and wrong for\n its descendants': a host that turns this form's toolbar off (a two-field\n form inside a longer page, where a pinned search bar is the biggest thing\n on screen and the least useful) was silently turning the box headers off\n with it.\n \n The clip is the panel's rounded corners, and this panel is transparent and\n border-less \u2014 \\`flat raised minimal\\`, no background of its own \u2014 so there\n is nothing for it to clip. */\n ", "\n > .reqore-panel-title {\n /* The blur + translateZ exist only to make the STICKY top-level toolbar ghost\n content beneath it; a nested sub-form's header isn't sticky, so skip them\n (and the stacking context translateZ creates). */\n ", "\n padding-top: ", "px;\n /* A header with a SEARCH ROW keeps the \\`big\\` gap below it \u2014 a tall\n interactive control earns separation from the content it filters. A\n header without one (search hidden via \\`compactToolbar\\`, self-hidden on\n a single-option form, or no toolbar at all) is a thin strip, and at\n \\`big\\` its padding stacked onto the panel content's own 8px into a 26px\n dead band between the completion meter and the first status box \u2014\n rejected on build #140 as \"unnecessarily big\". \\`normal\\` lands it at\n the boxes' own 10px rhythm, and scoping the change here keeps every\n search-bearing form pixel-identical. */\n padding-bottom: ", "px;\n }\n\n /* Group framing. The HORIZONTAL rule is a real element in the header\n (StyledGroupHeaderLine) so it sits on the name's row, centred, and stretches\n from the name out to the status chip pinned at the far end \u2014 which needs the\n title's left group to fill the header width. The VERTICAL group spine is\n drawn by StyledGroupBody (so it shares the required-group rail's coordinate\n space and the two line up instead of doubling). */\n .options-readfirst-group {\n position: relative;\n }\n .options-readfirst-group > .reqore-panel-title > :first-child,\n .options-readfirst-group > .reqore-panel-title > :first-child > :first-child,\n .options-readfirst-group .reqore-panel-title-label-row {\n flex: 1 1 auto;\n min-width: 0;\n }\n\n /* An injected option action declared \\`show: 'hover'\\` \u2014 the shape ReqorePanel\n honours on the classic path \u2014 is revealed only while its row or card is\n hovered or holds focus. The compact slots render plain buttons, so the gate\n has to be CSS here. Kept focus-visible too, so the action stays reachable by\n keyboard. Opacity rather than display keeps the slot's width stable, so rows\n don't reflow on hover. */\n .options-injected-action-hover {\n opacity: 0;\n /* Not hit-testable while invisible \u2014 an opacity:0 button still takes taps\n and clicks, which reads as a mystery control firing out of nowhere. */\n pointer-events: none;\n transition: opacity 0.15s ease;\n }\n .readfirst-row:hover .options-injected-action-hover,\n .readfirst-row:focus-within .options-injected-action-hover,\n .options-readfirst-card:hover .options-injected-action-hover,\n .options-readfirst-card:focus-within .options-injected-action-hover {\n opacity: 1;\n pointer-events: auto;\n }\n /* Touch and other hover-less pointers never fire :hover, so a hover-gated\n action would be permanently unreachable there. Show it unconditionally\n instead \u2014 losing the tidiness beats losing the functionality. */\n @media (hover: none), (pointer: coarse) {\n .options-injected-action-hover {\n opacity: 1;\n pointer-events: auto;\n }\n }\n"])), function (_a) {
|
|
88
|
+
var $stickyBoxes = _a.$stickyBoxes;
|
|
89
|
+
return $stickyBoxes ? (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &&& {\n overflow: visible;\n }\n "], ["\n &&& {\n overflow: visible;\n }\n "]))) : '';
|
|
90
|
+
}, function (_a) {
|
|
68
91
|
var $nested = _a.$nested;
|
|
69
92
|
return $nested ? '' : ('backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: translateZ(0);');
|
|
70
93
|
}, sizes_1.GAP_FROM_SIZE[exports.HEADER_GAP], function (_a) {
|
|
@@ -73,8 +96,8 @@ exports.StyledCompactPanel = (0, styled_components_1.default)(reqore_1.ReqorePan
|
|
|
73
96
|
});
|
|
74
97
|
// Compact group header laid out as the panel's `label`: the group name, a
|
|
75
98
|
// hairline that fades toward the status chip, and the chip pinned at the end.
|
|
76
|
-
exports.StyledGroupHeader = styled_components_1.default.div(
|
|
77
|
-
exports.StyledGroupHeaderLine = styled_components_1.default.span(
|
|
99
|
+
exports.StyledGroupHeader = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n min-width: 0;\n"], ["\n display: flex;\n align-items: center;\n gap: 12px;\n flex: 1;\n min-width: 0;\n"])));
|
|
100
|
+
exports.StyledGroupHeaderLine = styled_components_1.default.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n flex: 1;\n height: 2px;\n min-width: 16px;\n background: linear-gradient(to right, ", ", transparent);\n"], ["\n flex: 1;\n height: 2px;\n min-width: 16px;\n background: linear-gradient(to right, ", ", transparent);\n"])), function (_a) {
|
|
78
101
|
var $color = _a.$color;
|
|
79
102
|
return $color;
|
|
80
103
|
});
|
|
@@ -82,39 +105,42 @@ exports.StyledGroupHeaderLine = styled_components_1.default.span(templateObject_
|
|
|
82
105
|
// a barely-there accent border + a ~5%-opacity tint, NOT the loud intent border a
|
|
83
106
|
// stock ReqorePanel draws. `$accent` is the box's theme colour (warning/success/
|
|
84
107
|
// muted).
|
|
85
|
-
exports.StyledStatusBox = (0, styled_components_1.default)(reqore_1.ReqorePanel)(
|
|
108
|
+
exports.StyledStatusBox = (0, styled_components_1.default)(reqore_1.ReqorePanel)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n &&& {\n border: 1px solid ", ";\n /* $bg lets the muted \"Optional\" box opt into a darker, recessed surface\n instead of the faint accent tint the coloured boxes use. */\n background: ", ";\n border-radius: 10px;\n }\n\n /* A PINNED header needs a surface of its own.\n \n The box's tint lives on the wrapper, behind the header, and a `minimal`\n panel header is transparent \u2014 which is right while the header sits in the\n flow over its own box, and wrong the moment it pins, because the rows then\n scroll THROUGH it. Reqore's backdrop blur softens them but a 12% tint over\n moving text still reads as two overlaid labels.\n \n So repaint the pinned header as the box looks at rest: an opaque layer of\n the page background with the box's own translucent tint composited on top,\n which is exactly what the eye sees where the box meets the page. The\n Optional box already carries an opaque `$bg`, so that is used as-is.\n \n Only when `$surface` is supplied \u2014 i.e. only on a form that pins at all \u2014\n so an unpinned box is pixel-identical to before. */\n ", "\n"], ["\n &&& {\n border: 1px solid ", ";\n /* $bg lets the muted \"Optional\" box opt into a darker, recessed surface\n instead of the faint accent tint the coloured boxes use. */\n background: ", ";\n border-radius: 10px;\n }\n\n /* A PINNED header needs a surface of its own.\n \n The box's tint lives on the wrapper, behind the header, and a \\`minimal\\`\n panel header is transparent \u2014 which is right while the header sits in the\n flow over its own box, and wrong the moment it pins, because the rows then\n scroll THROUGH it. Reqore's backdrop blur softens them but a 12% tint over\n moving text still reads as two overlaid labels.\n \n So repaint the pinned header as the box looks at rest: an opaque layer of\n the page background with the box's own translucent tint composited on top,\n which is exactly what the eye sees where the box meets the page. The\n Optional box already carries an opaque \\`$bg\\`, so that is used as-is.\n \n Only when \\`$surface\\` is supplied \u2014 i.e. only on a form that pins at all \u2014\n so an unpinned box is pixel-identical to before. */\n ", "\n"])), function (_a) {
|
|
86
109
|
var $accent = _a.$accent;
|
|
87
110
|
return "".concat($accent, "33");
|
|
88
111
|
}, function (_a) {
|
|
89
112
|
var $accent = _a.$accent, $bg = _a.$bg;
|
|
90
113
|
return $bg || "".concat($accent, "1f");
|
|
114
|
+
}, function (_a) {
|
|
115
|
+
var $surface = _a.$surface, $accent = _a.$accent, $bg = _a.$bg;
|
|
116
|
+
return $surface ? (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n &&& > .reqore-panel-title {\n background-color: ", ";\n ", "\n }\n "], ["\n &&& > .reqore-panel-title {\n background-color: ", ";\n ", "\n }\n "])), $bg || $surface, $bg ? '' : "background-image: linear-gradient(".concat($accent, "1f, ").concat($accent, "1f);")) : '';
|
|
91
117
|
});
|
|
92
118
|
// "One of the below is required" cluster box — wraps the members of an unmet
|
|
93
119
|
// one-of required group (in the Needs-attention box) so the constraint reads as
|
|
94
120
|
// one unit. The connection rail + status nodes still render inside (they convey
|
|
95
121
|
// which member satisfies the group); this box adds the explicit heading.
|
|
96
|
-
exports.StyledRequiredClusterBox = styled_components_1.default.div(
|
|
122
|
+
exports.StyledRequiredClusterBox = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 8px;\n background: ", ";\n padding: 2px 6px 6px;\n margin: 4px 0;\n /* The members render directly here (not via the gapped group body), so give\n them the same modest gap the rest of the rows have. Pin the divider-centring\n var to that gap (it doesn't widen in narrow like the group body's does). */\n display: flex;\n flex-flow: column;\n --readfirst-row-gap: 4px;\n gap: 4px;\n"], ["\n border: 1px solid ", ";\n border-radius: 8px;\n background: ", ";\n padding: 2px 6px 6px;\n margin: 4px 0;\n /* The members render directly here (not via the gapped group body), so give\n them the same modest gap the rest of the rows have. Pin the divider-centring\n var to that gap (it doesn't widen in narrow like the group body's does). */\n display: flex;\n flex-flow: column;\n --readfirst-row-gap: 4px;\n gap: 4px;\n"])), function (_a) {
|
|
97
123
|
var $border = _a.$border;
|
|
98
124
|
return $border;
|
|
99
125
|
}, function (_a) {
|
|
100
126
|
var $tint = _a.$tint;
|
|
101
127
|
return $tint;
|
|
102
128
|
});
|
|
103
|
-
exports.StyledRequiredClusterHeader = styled_components_1.default.div(
|
|
129
|
+
exports.StyledRequiredClusterHeader = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 8px 0 4px ", ";\n font-size: 10px;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 8px 0 4px ", ";\n font-size: 10px;\n font-weight: 600;\n letter-spacing: 1px;\n text-transform: uppercase;\n color: ", ";\n"])), exports.GROUP_INDENT, function (_a) {
|
|
104
130
|
var $color = _a.$color;
|
|
105
131
|
return $color;
|
|
106
132
|
});
|
|
107
133
|
// Thin schema-group sub-label inside a status box (CONNECTION / AUTHENTICATION /
|
|
108
134
|
// …). Quiet by design — the box header is the loud heading; this just keeps each
|
|
109
135
|
// field's group context as you scan. Indented to the rows' content line.
|
|
110
|
-
exports.StyledStatusBoxGroupLabel = styled_components_1.default.div(
|
|
136
|
+
exports.StyledStatusBoxGroupLabel = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 1px;\n text-transform: uppercase;\n opacity: 0.5;\n padding: 8px 0 2px ", ";\n"], ["\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 1px;\n text-transform: uppercase;\n opacity: 0.5;\n padding: 8px 0 2px ", ";\n"])), exports.GROUP_INDENT);
|
|
111
137
|
// Required-group "connection" rail: contiguous members are linked by a continuous
|
|
112
138
|
// vertical rail (StyledGroupBody draws it; the line bridges the row gaps and is
|
|
113
139
|
// trimmed to the first/last node). Each member carries a status node — absolutely
|
|
114
140
|
// positioned in the EXISTING left gutter, so labels keep their place — tied to the
|
|
115
141
|
// label by a short stub. Theme-derived: the node's hollow centre is painted the
|
|
116
142
|
// form background so it MASKS the rail behind it; filled when the member is set.
|
|
117
|
-
exports.StyledClusterNode = styled_components_1.default.span(
|
|
143
|
+
exports.StyledClusterNode = styled_components_1.default.span(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n position: absolute;\n left: -14px;\n top: 13px;\n width: 12px;\n height: 12px;\n box-sizing: border-box;\n border-radius: 50%;\n border: 2px solid ", ";\n background: ", ";\n box-shadow: 0 0 5px ", ";\n z-index: 1;\n pointer-events: none;\n /* short stub toward the label \u2014 stops a few px short so it doesn't touch it */\n &::after {\n content: '';\n position: absolute;\n left: 100%;\n top: 50%;\n width: 6px;\n height: 2px;\n transform: translateY(-1px);\n background: ", ";\n }\n"], ["\n position: absolute;\n left: -14px;\n top: 13px;\n width: 12px;\n height: 12px;\n box-sizing: border-box;\n border-radius: 50%;\n border: 2px solid ", ";\n background: ", ";\n box-shadow: 0 0 5px ", ";\n z-index: 1;\n pointer-events: none;\n /* short stub toward the label \u2014 stops a few px short so it doesn't touch it */\n &::after {\n content: '';\n position: absolute;\n left: 100%;\n top: 50%;\n width: 6px;\n height: 2px;\n transform: translateY(-1px);\n background: ", ";\n }\n"])), function (_a) {
|
|
118
144
|
var $color = _a.$color;
|
|
119
145
|
return $color;
|
|
120
146
|
}, function (_a) {
|
|
@@ -127,7 +153,7 @@ exports.StyledClusterNode = styled_components_1.default.span(templateObject_8 ||
|
|
|
127
153
|
var $color = _a.$color;
|
|
128
154
|
return $color;
|
|
129
155
|
});
|
|
130
|
-
exports.StyledEditCard = styled_components_1.default.div(
|
|
156
|
+
exports.StyledEditCard = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n padding: 12px;\n display: flex;\n flex-flow: column;\n gap: 8px;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n\n /* Single-value editors (operators, long-string, markdown, richtext, byte-size)\n carry the card's own \"Clear value\" action, so suppress the value input's\n built-in ReqoreInput clear \u2014 ReqoreInput has no prop to hide it, and a\n separate input \u2715 plus the row-level trash action\n read as a duplicate. Multi-input cards (hash/list/\u2026) are not marked single,\n so their per-sub-field clears stay. */\n &.options-readfirst-card-single .reqore-clear-input-button {\n display: none;\n }\n"], ["\n padding: 12px;\n display: flex;\n flex-flow: column;\n gap: 8px;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n\n /* Single-value editors (operators, long-string, markdown, richtext, byte-size)\n carry the card's own \"Clear value\" action, so suppress the value input's\n built-in ReqoreInput clear \u2014 ReqoreInput has no prop to hide it, and a\n separate input \u2715 plus the row-level trash action\n read as a duplicate. Multi-input cards (hash/list/\u2026) are not marked single,\n so their per-sub-field clears stay. */\n &.options-readfirst-card-single .reqore-clear-input-button {\n display: none;\n }\n"])), function (_a) {
|
|
131
157
|
var $bg = _a.$bg;
|
|
132
158
|
return $bg;
|
|
133
159
|
}, function (_a) {
|
|
@@ -135,8 +161,8 @@ exports.StyledEditCard = styled_components_1.default.div(templateObject_9 || (te
|
|
|
135
161
|
return $border;
|
|
136
162
|
});
|
|
137
163
|
// Recurring micro-layouts of the read-first rows and their popovers.
|
|
138
|
-
exports.StyledLabelBlock = styled_components_1.default.div(
|
|
139
|
-
exports.StyledRowLabel = styled_components_1.default.div(
|
|
164
|
+
exports.StyledLabelBlock = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n gap: 2px;\n min-width: 0;\n"], ["\n display: flex;\n flex-flow: column;\n gap: 2px;\n min-width: 0;\n"])));
|
|
165
|
+
exports.StyledRowLabel = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 3px;\n color: ", ";\n font-weight: 600;\n font-size: 13px;\n min-width: 0;\n white-space: normal;\n overflow-wrap: anywhere;\n cursor: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: 3px;\n color: ", ";\n font-weight: 600;\n font-size: 13px;\n min-width: 0;\n white-space: normal;\n overflow-wrap: anywhere;\n cursor: ", ";\n"])), function (_a) {
|
|
140
166
|
var $color = _a.$color;
|
|
141
167
|
return $color;
|
|
142
168
|
}, function (_a) {
|
|
@@ -147,17 +173,17 @@ exports.StyledRowLabel = styled_components_1.default.div(templateObject_11 || (t
|
|
|
147
173
|
// revealed by the row's ⓘ. Reuses ReqoreP for the muted-note styling (size +
|
|
148
174
|
// effect opacity); the only custom bit is the line-clamp that keeps it from
|
|
149
175
|
// pushing the row wide.
|
|
150
|
-
exports.StyledLabelDesc = (0, styled_components_1.default)(reqore_1.ReqoreP)(
|
|
151
|
-
exports.StyledCardHeading = styled_components_1.default.div(
|
|
176
|
+
exports.StyledLabelDesc = (0, styled_components_1.default)(reqore_1.ReqoreP)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n margin-top: 2px;\n white-space: normal;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n"], ["\n margin-top: 2px;\n white-space: normal;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n"])));
|
|
177
|
+
exports.StyledCardHeading = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n min-width: 0;\n"], ["\n display: flex;\n flex-flow: column;\n min-width: 0;\n"])));
|
|
152
178
|
/* The card (expanded) label matches the read-row label exactly — same size /
|
|
153
179
|
weight / case — so a field's name doesn't switch styles when you open it. */
|
|
154
|
-
exports.StyledCardLabel = styled_components_1.default.div(
|
|
180
|
+
exports.StyledCardLabel = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: 13px;\n font-weight: 600;\n color: ", ";\n display: flex;\n align-items: center;\n gap: 4px;\n"], ["\n font-size: 13px;\n font-weight: 600;\n color: ", ";\n display: flex;\n align-items: center;\n gap: 4px;\n"])), function (_a) {
|
|
155
181
|
var $color = _a.$color;
|
|
156
182
|
return $color;
|
|
157
183
|
});
|
|
158
184
|
/* min-width: 0 lets the grid cell shrink below its content's intrinsic width
|
|
159
185
|
so the ellipsis engages instead of overflowing. */
|
|
160
|
-
exports.StyledRowValue = styled_components_1.default.div(
|
|
186
|
+
exports.StyledRowValue = styled_components_1.default.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n min-width: 0;\n font-size: 13px;\n /* Value + inline reason(s) share the line, wrapping the reason below only when\n it doesn't fit (the Focus prototype's layout). */\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n column-gap: 10px;\n row-gap: 2px;\n /* The muted/translucent colour applies to the VALUE TEXT only \u2014 not the whole\n cell \u2014 so the message panels and the structured preview below render at full\n opacity instead of inheriting the dimmed value colour. */\n .options-readfirst-valuetext {\n min-width: 0;\n max-width: 100%;\n color: ", ";\n font-style: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n /* The code size chip kept above an OPEN editor. The read row puts the same chip\n at the top of the value cell with a 2px row-gap under it; matching that here is\n what stops the editor moving as the field opens. */\n .options-readfirst-editing-summary {\n margin-bottom: 2px;\n }\n .options-readfirst-reason {\n font-style: italic;\n font-size: 12px;\n line-height: 1.3;\n }\n /* Schema message panels: full width of the value column, on their own line\n directly beneath the value. */\n .options-readfirst-info-panel {\n flex-basis: 100%;\n width: 100%;\n display: flex;\n flex-flow: column;\n gap: 4px;\n margin-top: 4px;\n }\n /* Read-only companions of the value: what a chosen option means, on its own\n line under it; and a long text drawn in full in the inset. */\n .options-readfirst-choice-desc {\n flex-basis: 100%;\n width: 100%;\n min-width: 0;\n font-size: 12px;\n line-height: 1.4;\n opacity: 0.6;\n }\n .options-readfirst-text {\n color: ", ";\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n line-height: 1.5;\n }\n"], ["\n min-width: 0;\n font-size: 13px;\n /* Value + inline reason(s) share the line, wrapping the reason below only when\n it doesn't fit (the Focus prototype's layout). */\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n column-gap: 10px;\n row-gap: 2px;\n /* The muted/translucent colour applies to the VALUE TEXT only \u2014 not the whole\n cell \u2014 so the message panels and the structured preview below render at full\n opacity instead of inheriting the dimmed value colour. */\n .options-readfirst-valuetext {\n min-width: 0;\n max-width: 100%;\n color: ", ";\n font-style: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n /* The code size chip kept above an OPEN editor. The read row puts the same chip\n at the top of the value cell with a 2px row-gap under it; matching that here is\n what stops the editor moving as the field opens. */\n .options-readfirst-editing-summary {\n margin-bottom: 2px;\n }\n .options-readfirst-reason {\n font-style: italic;\n font-size: 12px;\n line-height: 1.3;\n }\n /* Schema message panels: full width of the value column, on their own line\n directly beneath the value. */\n .options-readfirst-info-panel {\n flex-basis: 100%;\n width: 100%;\n display: flex;\n flex-flow: column;\n gap: 4px;\n margin-top: 4px;\n }\n /* Read-only companions of the value: what a chosen option means, on its own\n line under it; and a long text drawn in full in the inset. */\n .options-readfirst-choice-desc {\n flex-basis: 100%;\n width: 100%;\n min-width: 0;\n font-size: 12px;\n line-height: 1.4;\n opacity: 0.6;\n }\n .options-readfirst-text {\n color: ", ";\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n line-height: 1.5;\n }\n"])), function (_a) {
|
|
161
187
|
var $color = _a.$color;
|
|
162
188
|
return $color;
|
|
163
189
|
}, function (_a) {
|
|
@@ -167,27 +193,27 @@ exports.StyledRowValue = styled_components_1.default.div(templateObject_15 || (t
|
|
|
167
193
|
var $color = _a.$color;
|
|
168
194
|
return $color;
|
|
169
195
|
});
|
|
170
|
-
exports.StyledRowActions = styled_components_1.default.div(
|
|
196
|
+
exports.StyledRowActions = styled_components_1.default.div(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n /* No align-self override: the actions (incl. the status dot) follow the row's\n own vertical alignment \u2014 CENTRED on the common single-line row, TOP-aligned\n (first line) on the tall rows that opt into align-items:start (descriptions /\n message panels / hash previews). */\n gap: 6px;\n"], ["\n display: flex;\n align-items: center;\n /* No align-self override: the actions (incl. the status dot) follow the row's\n own vertical alignment \u2014 CENTRED on the common single-line row, TOP-aligned\n (first line) on the tall rows that opt into align-items:start (descriptions /\n message panels / hash previews). */\n gap: 6px;\n"])));
|
|
171
197
|
// A single status mark pinned at the row's trailing edge: one dot, colour =
|
|
172
198
|
// severity (danger/warning/success). This is the "Focus" read-first signal that
|
|
173
199
|
// replaces the recessed value surface's intent stripe — attention dots carry a
|
|
174
200
|
// faint ring, a plain "set" dot does not. `unset` rows render no dot.
|
|
175
|
-
exports.StyledStatusDot = styled_components_1.default.span(
|
|
201
|
+
exports.StyledStatusDot = styled_components_1.default.span(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n width: 7px;\n height: 7px;\n border-radius: 50%;\n flex: 0 0 auto;\n background: ", ";\n box-shadow: ", ";\n"], ["\n width: 7px;\n height: 7px;\n border-radius: 50%;\n flex: 0 0 auto;\n background: ", ";\n box-shadow: ", ";\n"])), function (_a) {
|
|
176
202
|
var $color = _a.$color;
|
|
177
203
|
return $color;
|
|
178
204
|
}, function (_a) {
|
|
179
205
|
var $color = _a.$color, $ring = _a.$ring;
|
|
180
206
|
return ($ring ? "0 0 0 3px ".concat($color, "22") : 'none');
|
|
181
207
|
});
|
|
182
|
-
exports.StyledActionSlot = styled_components_1.default.span(
|
|
208
|
+
exports.StyledActionSlot = styled_components_1.default.span(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n display: inline-flex;\n justify-content: center;\n width: ", "px;\n flex: 0 0 auto;\n"], ["\n display: inline-flex;\n justify-content: center;\n width: ", "px;\n flex: 0 0 auto;\n"])), function (_a) {
|
|
183
209
|
var $width = _a.$width;
|
|
184
210
|
return $width;
|
|
185
211
|
});
|
|
186
|
-
exports.StyledColumn = styled_components_1.default.div(
|
|
212
|
+
exports.StyledColumn = styled_components_1.default.div(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n"], ["\n display: flex;\n flex-flow: column;\n"])));
|
|
187
213
|
// The structured hash/list preview, rendered inside the value cell directly
|
|
188
214
|
// under the value summary. Full-width of the value column (it's a flex child of
|
|
189
215
|
// the wrapping value cell) so it lines up with the value, not the label gutter.
|
|
190
|
-
exports.StyledRowInset = styled_components_1.default.div(
|
|
216
|
+
exports.StyledRowInset = styled_components_1.default.div(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n flex-basis: 100%;\n width: 100%;\n margin-top: 4px;\n"], ["\n flex-basis: 100%;\n width: 100%;\n margin-top: 4px;\n"])));
|
|
191
217
|
/**
|
|
192
218
|
* The stack literal text renders in: source, ids, tokens, data strings.
|
|
193
219
|
*
|
|
@@ -204,7 +230,7 @@ exports.MONO_FONT_STACK = "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Conso
|
|
|
204
230
|
// the aesthetic of the classic code-view surface but small enough to sit
|
|
205
231
|
// inside a read-row. Height is capped by the wrapping `ReqoreCollapsibleContent`
|
|
206
232
|
// so the "Show more" affordance stays useful.
|
|
207
|
-
exports.StyledCodePreview = styled_components_1.default.pre(
|
|
233
|
+
exports.StyledCodePreview = styled_components_1.default.pre(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n margin: 0;\n padding: 8px 10px;\n border-radius: 4px;\n background: ", ";\n border: 1px solid ", ";\n color: ", ";\n font-family: ", ";\n font-size: 11.5px;\n line-height: 1.5;\n white-space: pre;\n overflow: auto;\n max-width: 100%;\n"], ["\n margin: 0;\n padding: 8px 10px;\n border-radius: 4px;\n background: ", ";\n border: 1px solid ", ";\n color: ", ";\n font-family: ", ";\n font-size: 11.5px;\n line-height: 1.5;\n white-space: pre;\n overflow: auto;\n max-width: 100%;\n"])), function (_a) {
|
|
208
234
|
var $bg = _a.$bg;
|
|
209
235
|
return $bg;
|
|
210
236
|
}, function (_a) {
|
|
@@ -215,14 +241,14 @@ exports.StyledCodePreview = styled_components_1.default.pre(templateObject_21 ||
|
|
|
215
241
|
return $fg;
|
|
216
242
|
}, exports.MONO_FONT_STACK);
|
|
217
243
|
// A small inline colour swatch shown before an rgbcolor value's hex string.
|
|
218
|
-
exports.StyledColorSwatch = styled_components_1.default.span(
|
|
244
|
+
exports.StyledColorSwatch = styled_components_1.default.span(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n width: 12px;\n height: 12px;\n border-radius: 3px;\n flex: 0 0 auto;\n background: ", ";\n border: 1px solid ", ";\n"], ["\n width: 12px;\n height: 12px;\n border-radius: 3px;\n flex: 0 0 auto;\n background: ", ";\n border: 1px solid ", ";\n"])), function (_a) {
|
|
219
245
|
var $color = _a.$color;
|
|
220
246
|
return $color;
|
|
221
247
|
}, function (_a) {
|
|
222
248
|
var $border = _a.$border;
|
|
223
249
|
return $border;
|
|
224
250
|
});
|
|
225
|
-
exports.StyledGroupBody = styled_components_1.default.div(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* The \"N more fields\" control IS a field row \u2014 same grid, same padding, same\n hover \u2014 so it lines up with the rows above instead of floating as a scrap\n of text in the box's corner. A dashed edge and a lower-contrast label are\n what say it is not itself a field: nothing here can be set.\n\n It spans both content columns because it has no label/value split, and it\n drops the inter-row hairline (the ::after rule) since it always sits last. */\n .readfirst-more-row {\n grid-template-columns: 1fr auto;\n border: 1px dashed ", ";\n background: transparent;\n width: 100%;\n text-align: left;\n font: inherit;\n color: inherit;\n /* The dashed edge replaces the hairline; two lines would read as a divider\n AND a border stacked. */\n margin-top: 2px;\n }\n .readfirst-more-row::after {\n display: none;\n }\n .readfirst-more-row:hover {\n background: ", ";\n border-style: solid;\n }\n .readfirst-more-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n /* The chevron points the way the click goes: down to reveal, up to fold. */\n .readfirst-more-row .readfirst-more-chevron {\n transition: transform 0.15s ease;\n }\n .readfirst-more-row[aria-expanded='true'] .readfirst-more-chevron {\n transform: rotate(180deg);\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n /* A read-only row is not a control. No pointer and no hover tint, because a\n click does nothing; and its value wraps in full \u2014 the row is the only\n rendering the value gets, so a line cut with an ellipsis would be the\n reader's whole answer. */\n .readfirst-row-read {\n cursor: default;\n }\n .readfirst-row-read:hover {\n background: transparent;\n }\n .readfirst-row-read .options-readfirst-valuetext {\n white-space: pre-wrap;\n overflow: visible;\n text-overflow: clip;\n overflow-wrap: anywhere;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n"], ["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* The \"N more fields\" control IS a field row \u2014 same grid, same padding, same\n hover \u2014 so it lines up with the rows above instead of floating as a scrap\n of text in the box's corner. A dashed edge and a lower-contrast label are\n what say it is not itself a field: nothing here can be set.\n\n It spans both content columns because it has no label/value split, and it\n drops the inter-row hairline (the ::after rule) since it always sits last. */\n .readfirst-more-row {\n grid-template-columns: 1fr auto;\n border: 1px dashed ", ";\n background: transparent;\n width: 100%;\n text-align: left;\n font: inherit;\n color: inherit;\n /* The dashed edge replaces the hairline; two lines would read as a divider\n AND a border stacked. */\n margin-top: 2px;\n }\n .readfirst-more-row::after {\n display: none;\n }\n .readfirst-more-row:hover {\n background: ", ";\n border-style: solid;\n }\n .readfirst-more-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n /* The chevron points the way the click goes: down to reveal, up to fold. */\n .readfirst-more-row .readfirst-more-chevron {\n transition: transform 0.15s ease;\n }\n .readfirst-more-row[aria-expanded='true'] .readfirst-more-chevron {\n transform: rotate(180deg);\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n /* A read-only row is not a control. No pointer and no hover tint, because a\n click does nothing; and its value wraps in full \u2014 the row is the only\n rendering the value gets, so a line cut with an ellipsis would be the\n reader's whole answer. */\n .readfirst-row-read {\n cursor: default;\n }\n .readfirst-row-read:hover {\n background: transparent;\n }\n .readfirst-row-read .options-readfirst-valuetext {\n white-space: pre-wrap;\n overflow: visible;\n text-overflow: clip;\n overflow-wrap: anywhere;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n"])), exports.LABEL_COL, exports.COMPACT_ROW_PAD_X, exports.COMPACT_ROW_PAD_X, function (_a) {
|
|
251
|
+
exports.StyledGroupBody = styled_components_1.default.div(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* The \"N more fields\" control IS a field row \u2014 same grid, same padding, same\n hover \u2014 so it lines up with the rows above instead of floating as a scrap\n of text in the box's corner. A dashed edge and a lower-contrast label are\n what say it is not itself a field: nothing here can be set.\n\n It spans both content columns because it has no label/value split, and it\n drops the inter-row hairline (the ::after rule) since it always sits last. */\n .readfirst-more-row {\n grid-template-columns: 1fr auto;\n border: 1px dashed ", ";\n background: transparent;\n width: 100%;\n text-align: left;\n font: inherit;\n color: inherit;\n /* The dashed edge replaces the hairline; two lines would read as a divider\n AND a border stacked. */\n margin-top: 2px;\n }\n .readfirst-more-row::after {\n display: none;\n }\n .readfirst-more-row:hover {\n background: ", ";\n border-style: solid;\n }\n .readfirst-more-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n /* The chevron points the way the click goes: down to reveal, up to fold. */\n .readfirst-more-row .readfirst-more-chevron {\n transition: transform 0.15s ease;\n }\n .readfirst-more-row[aria-expanded='true'] .readfirst-more-chevron {\n transform: rotate(180deg);\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n /* A read-only row is not a control. No pointer and no hover tint, because a\n click does nothing; and its value wraps in full \u2014 the row is the only\n rendering the value gets, so a line cut with an ellipsis would be the\n reader's whole answer. */\n .readfirst-row-read {\n cursor: default;\n }\n .readfirst-row-read:hover {\n background: transparent;\n }\n .readfirst-row-read .options-readfirst-valuetext {\n white-space: pre-wrap;\n overflow: visible;\n text-overflow: clip;\n overflow-wrap: anywhere;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n"], ["\n display: flex;\n flex-flow: column;\n position: relative;\n /* Exposed as a var so the inter-field divider can centre itself in the gap\n (the gap differs wide vs narrow). */\n --readfirst-row-gap: 4px;\n gap: var(--readfirst-row-gap);\n\n /* Indent each field block under the group header by a FLUID step. The %\n resolves against this container's width (not the screen), so it tracks the\n (Field blocks no longer get a left gutter \u2014 the spine/rail that needed it are\n gone, so rows sit flush against the box, like the Focus prototype.) */\n > * {\n margin-left: 0;\n }\n\n /* No group spine: the \"Focus\" look keeps the rows flat against the box. (The\n required-group rail is a separate descendant ::after and still renders.) */\n\n .readfirst-row {\n display: grid;\n /* Fixed label column: the recessed value surface (::before below) starts at a\n constant x, so the label width can't flex or the stripe would drift off the\n value edge. The value column is minmax(0, 1fr) \u2014 a bare 1fr keeps its\n min-content width, so a long unbroken value (e.g. a URL) would force the\n grid wider than its container and produce a horizontal scrollbar. The 0\n minimum lets it shrink and the value cell's ellipsis take over instead. */\n grid-template-columns: ", " minmax(0, 1fr) auto;\n /* CENTRE the cells vertically: on the common single-line read row the label,\n value and status dot all sit on one centred line. Tall rows (a shown\n description, message panels or a hash preview) opt back into top-alignment\n (.readfirst-row-info-open / .readfirst-row-tall below) so the label + dot\n stay on the value's FIRST line instead of floating to the middle. */\n align-items: center;\n gap: 14px;\n /* Generous, SYMMETRIC vertical padding so a single-line row isn't cramped\n (content sits with even breathing room top + bottom); a min-height floor\n keeps the rare shorter row a comfortable tap target. */\n min-height: 40px;\n padding: 9px 10px;\n border-radius: 6px;\n cursor: pointer;\n transition: background 0.12s ease;\n }\n /* A dim hairline in the gap below each field so its start/end reads clearly.\n Absolutely positioned (not a border) so it stays straight + full-width and\n the row's rounded hover highlight is unaffected; sits in the inter-row gap. */\n .readfirst-row::after {\n content: '';\n position: absolute;\n /* Inset to the row's horizontal padding so the line spans the content, not\n the full box edge-to-edge. */\n left: ", "px;\n right: ", "px;\n /* Centred in the inter-field gap (which differs wide vs narrow) so the space\n above and below each line is equal. */\n bottom: calc(var(--readfirst-row-gap, 4px) / -2);\n height: 1px;\n background: ", ";\n opacity: 0.5;\n pointer-events: none;\n z-index: 0;\n }\n .readfirst-row:last-child::after {\n display: none;\n }\n .readfirst-row:hover {\n background: ", ";\n }\n .readfirst-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n background: ", ";\n }\n /* A hidden (not-yet-added) field surfaced by the search is dimmed. */\n .readfirst-row-hidden {\n opacity: 0.65;\n }\n /* The \"N more fields\" control IS a field row \u2014 same grid, same padding, same\n hover \u2014 so it lines up with the rows above instead of floating as a scrap\n of text in the box's corner. A dashed edge and a lower-contrast label are\n what say it is not itself a field: nothing here can be set.\n\n It spans both content columns because it has no label/value split, and it\n drops the inter-row hairline (the ::after rule) since it always sits last. */\n .readfirst-more-row {\n grid-template-columns: 1fr auto;\n border: 1px dashed ", ";\n background: transparent;\n width: 100%;\n text-align: left;\n font: inherit;\n color: inherit;\n /* The dashed edge replaces the hairline; two lines would read as a divider\n AND a border stacked. */\n margin-top: 2px;\n }\n .readfirst-more-row::after {\n display: none;\n }\n .readfirst-more-row:hover {\n background: ", ";\n border-style: solid;\n }\n .readfirst-more-row:focus-visible {\n outline: 2px solid ", ";\n outline-offset: -2px;\n }\n /* The chevron points the way the click goes: down to reveal, up to fold. */\n .readfirst-more-row .readfirst-more-chevron {\n transition: transform 0.15s ease;\n }\n .readfirst-more-row[aria-expanded='true'] .readfirst-more-chevron {\n transform: rotate(180deg);\n }\n /* A disabled field (schema disabled flag or unmet dependencies) is not a\n click target \u2014 no hover invite, not-allowed cursor; a lock replaces the\n pencil. */\n /* A disabled field reads dimmed (its name + value at 0.6) \u2014 clearly inactive. */\n .readfirst-row-disabled {\n cursor: not-allowed;\n opacity: 0.6;\n }\n .readfirst-row-disabled:hover {\n background: transparent;\n }\n /* Required-group linkage: hovering a member highlights every sibling row \u2014\n just a background tint, no left stripe (that reads as an intent edge). */\n .readfirst-row-group-highlight {\n background: ", ";\n }\n .readfirst-row-flash {\n animation: readfirstRowFlash 1.4s ease;\n }\n @keyframes readfirstRowFlash {\n 0% {\n background: ", ";\n }\n 100% {\n background: transparent;\n }\n }\n /* A scalar row being edited in place: the real editor replaces the value\n cell. The row stops being a click target (the editor owns the clicks) and\n keeps a constant active background. Vertical padding is tightened so the\n editor fits inside the same ~38px the read row occupies \u2014 switching into\n (and out of) inline editing must not shift the rows around it. */\n .readfirst-row-editing {\n cursor: default;\n /* Top-anchor the cells: with multi-line editors (e.g. allowed-values =\n input + picker), per-cell centring gives every control a different\n anchor. Instead everything aligns to the FIRST editor line \u2014 label and\n the \u2713/\u21BA cluster get small offsets to sit optically centred on it. */\n align-items: start;\n background: ", ";\n /* No top padding (the per-cell nudges below anchor the editor to the first\n line), but a real BOTTOM padding so the editor never sits flush against\n the row's bottom edge \u2014 a tall input used to look clipped/unfinished. */\n padding-top: 0;\n padding-bottom: 9px;\n /* Tighter column gap: the editor's trailing template \u22EE and our \u2713 should\n read as one control cluster, not two separated groups. */\n column-gap: 6px;\n }\n /* Centre each cell's content on the row's ~38px first-line band. The label\n text (+10) and the \u2713/\u21BA cluster (+3) were already nudged, but the editor\n cell was not \u2014 so a single-line input sat ~3px above the buttons. A 32px\n control needs +3 to centre in 38px, so the editor gets the same offset and\n lines up with the buttons. (A multi-line editor's first line lands on the\n band too; its extra rows grow downward.) */\n .readfirst-row-editing > div:nth-child(1) {\n padding-top: 10px;\n }\n .readfirst-row-editing > div:nth-child(2) {\n padding-top: 3px;\n }\n .readfirst-row-editing > div:nth-child(3) {\n padding-top: 3px;\n }\n /* A read-only row is not a control. No pointer and no hover tint, because a\n click does nothing; and its value wraps in full \u2014 the row is the only\n rendering the value gets, so a line cut with an ellipsis would be the\n reader's whole answer. */\n .readfirst-row-read {\n cursor: default;\n }\n .readfirst-row-read:hover {\n background: transparent;\n }\n .readfirst-row-read .options-readfirst-valuetext {\n white-space: pre-wrap;\n overflow: visible;\n text-overflow: clip;\n overflow-wrap: anywhere;\n }\n .readfirst-row-editing:hover {\n background: ", ";\n }\n\n /* Narrow FORMS (phone / slim drawer): stack each row \u2014 label + actions share\n the first line, the value cell (or the inline editor) takes the full width\n beneath. The class is set from a measured wrap width (react-use useMeasure)\n rather than a viewport media query, so a slim desktop drawer stacks too.\n The 3 row children are placed explicitly:\n label (1,1) \u00B7 actions (1,2) \u00B7 value (2, span both). */\n /* Generous breathing room BETWEEN fields when stacked \u2014 far easier to scan and\n less overwhelming on a phone. */\n &.readfirst-narrow {\n --readfirst-row-gap: 18px;\n }\n &.readfirst-narrow .readfirst-row {\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 2px 14px;\n position: relative;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(1) {\n grid-column: 1;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(3) {\n grid-column: 2;\n grid-row: 1;\n }\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n grid-column: 1 / -1;\n grid-row: 2;\n }\n /* Read (non-editing) rows: float the trailing actions (status dot + the\n hover-revealed delete/revert) out of the grid flow so a delete button can't\n inflate the first row and push the value down. They're pinned to a band the\n height of the LABEL line and vertically centred in it \u2014 so the dot always\n sits at the same place (centred on the field name), never the bare corner. */\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(3) {\n position: absolute;\n top: 2px;\n right: 10px;\n height: 22px;\n }\n &.readfirst-narrow .readfirst-row:not(.readfirst-row-editing) > :nth-child(1) {\n padding-right: 46px;\n }\n\n /* Focus calm rows: NO recessed value surface and NO intent stripe. Row status\n is carried by the trailing status dot; message/preview panels keep their own\n intent backgrounds. The (now invisible) pseudo is retained only to preserve\n the block's positioning/stacking context that the required-group rail and its\n cluster nodes resolve against \u2014 removing it would unmoor them. */\n > *:not(.options-readfirst-card) {\n position: relative;\n }\n > *:not(.options-readfirst-card)::before {\n content: '';\n position: absolute;\n inset: 0;\n left: ", ";\n background: transparent;\n pointer-events: none;\n z-index: 0;\n }\n /* Content rides above the surface layer \u2014 except the cluster node, which is\n absolutely positioned in the gutter and must keep its own positioning. */\n > *:not(.options-readfirst-card) > *:not(.options-readfirst-node) {\n position: relative;\n z-index: 1;\n }\n\n /* (The required-group connection rail was removed \u2014 the \"One of the below is\n required\" box now carries the grouping.) */\n\n /* Tall rows top-anchor (overriding the row's centred default) so the label and\n dot stay on the value's FIRST line rather than floating to the vertical\n middle: .readfirst-row-info-open = a shown short_desc grows the LABEL;\n .readfirst-row-tall = message panels / a hash preview grow the VALUE cell. */\n .readfirst-row-info-open,\n .readfirst-row-tall {\n align-items: start;\n }\n /* Narrow stacks label-over-value: the value aligns flush UNDER the label (no\n indent), like the Focus prototype. */\n &.readfirst-narrow .readfirst-row > :nth-child(2) {\n padding-left: 0;\n }\n &.readfirst-narrow > *:not(.options-readfirst-card)::before {\n left: 0;\n }\n /* Touch layouts have no hover: a slot reserved for the hover-revealed edit\n pencil is permanent dead space that insets every chip from the edge \u2014\n drop it (rows are tap-to-edit; the lock/add slots stay, they're static). */\n &.readfirst-narrow .options-readfirst-trailing-hover-only {\n /* !important: the slot carries an inline display for the desktop layout. */\n display: none !important;\n }\n /* Stacked rows: keep them tight (match the Focus prototype). The min-height is\n dropped so a 2-line label+value row sizes to its content instead of being\n padded out to 38px. The in-place editor keeps zero padding (below). */\n &.readfirst-narrow .readfirst-row {\n padding-top: 2px;\n padding-bottom: 2px;\n min-height: 0;\n }\n &.readfirst-narrow .readfirst-row-editing {\n padding-top: 0;\n padding-bottom: 0;\n }\n"])), exports.LABEL_COL, exports.COMPACT_ROW_PAD_X, exports.COMPACT_ROW_PAD_X, function (_a) {
|
|
226
252
|
var $divider = _a.$divider;
|
|
227
253
|
return $divider;
|
|
228
254
|
}, function (_a) {
|
|
@@ -265,10 +291,10 @@ exports.StyledGroupBody = styled_components_1.default.div(templateObject_23 || (
|
|
|
265
291
|
// element it now sits in, and separated from the editor below it by a hairline
|
|
266
292
|
// rather than a gap — the two share one container, so the seam has to look like
|
|
267
293
|
// a division inside it and not like two stacked things.
|
|
268
|
-
exports.StyledAbsorbedField = styled_components_1.default.div(
|
|
294
|
+
exports.StyledAbsorbedField = styled_components_1.default.div(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n padding-bottom: 8px;\n margin-bottom: 8px;\n border-bottom: 1px solid ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n padding-bottom: 8px;\n margin-bottom: 8px;\n border-bottom: 1px solid ", ";\n"])), function (_a) {
|
|
269
295
|
var theme = _a.theme;
|
|
270
296
|
return "".concat(theme.main, "22");
|
|
271
297
|
});
|
|
272
|
-
exports.StyledAbsorbedLabel = (0, styled_components_1.default)(reqore_1.ReqoreP)(
|
|
273
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25;
|
|
298
|
+
exports.StyledAbsorbedLabel = (0, styled_components_1.default)(reqore_1.ReqoreP)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n flex: 0 0 auto;\n margin: 0;\n"], ["\n flex: 0 0 auto;\n margin: 0;\n"])));
|
|
299
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27;
|
|
274
300
|
//# sourceMappingURL=compactRowStyles.js.map
|