@dxos/plugin-stack 0.9.0 → 0.9.1-staging.ee54ba693a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/neutral/StackArticle-DDKRSUE7.mjs +199 -0
- package/dist/lib/neutral/StackArticle-DDKRSUE7.mjs.map +7 -0
- package/dist/lib/neutral/StackPlugin.mjs +6 -4
- package/dist/lib/neutral/StackPlugin.mjs.map +4 -4
- package/dist/lib/neutral/capabilities/index.mjs +3 -1
- package/dist/lib/neutral/capabilities/index.mjs.map +1 -1
- package/dist/lib/neutral/chunk-FDNICBZZ.mjs +18 -0
- package/dist/lib/neutral/chunk-FDNICBZZ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZOIZTRMG.mjs +44 -0
- package/dist/lib/neutral/chunk-ZOIZTRMG.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +191 -147
- package/dist/lib/neutral/components/index.mjs.map +4 -4
- package/dist/lib/neutral/containers/index.mjs +3 -1
- package/dist/lib/neutral/containers/index.mjs.map +1 -1
- package/dist/lib/neutral/index.mjs +5 -6
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +2 -1
- package/dist/lib/neutral/plugin.mjs +2 -1
- package/dist/lib/neutral/plugin.mjs.map +1 -1
- package/dist/lib/neutral/{react-surface-MD3CVY2N.mjs → react-surface-IL4CW7ND.mjs} +3 -1
- package/dist/lib/neutral/{react-surface-MD3CVY2N.mjs.map → react-surface-IL4CW7ND.mjs.map} +1 -1
- package/dist/lib/neutral/translations.mjs +9 -7
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +4 -5
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +1 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/Stack/Stack.d.ts +67 -0
- package/dist/types/src/components/Stack/Stack.d.ts.map +1 -0
- package/dist/types/src/components/Stack/index.d.ts +2 -0
- package/dist/types/src/components/Stack/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/StackArticle/StackArticle.d.ts +1 -2
- package/dist/types/src/containers/StackArticle/StackArticle.d.ts.map +1 -1
- package/dist/types/src/containers/StackArticle/StackArticle.stories.d.ts +7 -0
- package/dist/types/src/containers/StackArticle/StackArticle.stories.d.ts.map +1 -0
- package/dist/types/src/meta.d.ts +32 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +5 -16
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Stack.d.ts +6 -0
- package/dist/types/src/types/Stack.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +1 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +32 -0
- package/package.json +34 -28
- package/src/StackPlugin.ts +3 -3
- package/src/components/Stack/Stack.tsx +319 -0
- package/src/components/{StackContext → Stack}/index.ts +1 -1
- package/src/components/index.ts +1 -3
- package/src/containers/StackArticle/StackArticle.stories.tsx +122 -0
- package/src/containers/StackArticle/StackArticle.tsx +181 -119
- package/src/meta.ts +3 -26
- package/src/translations.ts +6 -6
- package/src/types/Stack.ts +12 -0
- package/src/types/index.ts +1 -2
- package/dist/lib/neutral/StackArticle-R7IS6TYR.mjs +0 -124
- package/dist/lib/neutral/StackArticle-R7IS6TYR.mjs.map +0 -7
- package/dist/lib/neutral/chunk-RGJSGQGF.mjs +0 -36
- package/dist/lib/neutral/chunk-RGJSGQGF.mjs.map +0 -7
- package/dist/lib/neutral/chunk-T4NSFSPH.mjs +0 -24
- package/dist/lib/neutral/chunk-T4NSFSPH.mjs.map +0 -7
- package/dist/types/src/components/StackContext/StackContext.d.ts +0 -11
- package/dist/types/src/components/StackContext/StackContext.d.ts.map +0 -1
- package/dist/types/src/components/StackContext/index.d.ts +0 -2
- package/dist/types/src/components/StackContext/index.d.ts.map +0 -1
- package/dist/types/src/components/StackSection/CaretDownUp.d.ts +0 -3
- package/dist/types/src/components/StackSection/CaretDownUp.d.ts.map +0 -1
- package/dist/types/src/components/StackSection/StackSection.d.ts +0 -5
- package/dist/types/src/components/StackSection/StackSection.d.ts.map +0 -1
- package/dist/types/src/components/StackSection/index.d.ts +0 -2
- package/dist/types/src/components/StackSection/index.d.ts.map +0 -1
- package/dist/types/src/components/StackSettings/StackSettings.d.ts +0 -6
- package/dist/types/src/components/StackSettings/StackSettings.d.ts.map +0 -1
- package/dist/types/src/components/StackSettings/index.d.ts +0 -2
- package/dist/types/src/components/StackSettings/index.d.ts.map +0 -1
- package/dist/types/src/types/stack.d.ts +0 -18
- package/dist/types/src/types/stack.d.ts.map +0 -1
- package/dist/types/src/types/types.d.ts +0 -44
- package/dist/types/src/types/types.d.ts.map +0 -1
- package/src/components/StackContext/StackContext.tsx +0 -25
- package/src/components/StackSection/CaretDownUp.tsx +0 -30
- package/src/components/StackSection/StackSection.tsx +0 -123
- package/src/components/StackSection/index.ts +0 -5
- package/src/components/StackSettings/StackSettings.tsx +0 -28
- package/src/components/StackSettings/index.ts +0 -5
- package/src/types/stack.ts +0 -26
- package/src/types/types.ts +0 -46
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":4808,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/stack.ts":{"bytes":3608,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":409,"imports":[{"path":"src/types/stack.ts","kind":"import-statement","original":"./stack"}],"format":"esm"},"src/index.ts":{"bytes":449,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl?raw":{"bytes":10138,"imports":[]},"src/StackPlugin.ts":{"bytes":3256,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl?raw","kind":"import-statement","original":"../PLUGIN.mdl?raw"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3130,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":802,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/components/StackContext/StackContext.tsx":{"bytes":1849,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/StackContext/index.ts":{"bytes":388,"imports":[{"path":"src/components/StackContext/StackContext.tsx","kind":"import-statement","original":"./StackContext"}],"format":"esm"},"src/components/StackSection/CaretDownUp.tsx":{"bytes":2864,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/StackSection/StackSection.tsx":{"bytes":17809,"imports":[{"path":"@radix-ui/react-collapsible","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/components/StackContext/index.ts","kind":"import-statement","original":"../StackContext"},{"path":"src/components/StackSection/CaretDownUp.tsx","kind":"import-statement","original":"./CaretDownUp"}],"format":"esm"},"src/components/StackSection/index.ts":{"bytes":388,"imports":[{"path":"src/components/StackSection/StackSection.tsx","kind":"import-statement","original":"./StackSection"}],"format":"esm"},"src/components/StackSettings/StackSettings.tsx":{"bytes":3207,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/components/StackSettings/index.ts":{"bytes":389,"imports":[{"path":"src/components/StackSettings/StackSettings.tsx","kind":"import-statement","original":"./StackSettings"}],"format":"esm"},"src/components/index.ts":{"bytes":589,"imports":[{"path":"src/components/StackContext/index.ts","kind":"import-statement","original":"./StackContext"},{"path":"src/components/StackSection/index.ts","kind":"import-statement","original":"./StackSection"},{"path":"src/components/StackSettings/index.ts","kind":"import-statement","original":"./StackSettings"}],"format":"esm"},"src/containers/StackArticle/StackArticle.tsx":{"bytes":18490,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/containers/StackArticle/index.ts":{"bytes":506,"imports":[{"path":"src/containers/StackArticle/StackArticle.tsx","kind":"import-statement","original":"./StackArticle"}],"format":"esm"},"src/containers/index.ts":{"bytes":702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/StackArticle/index.ts","kind":"dynamic-import","original":"./StackArticle"}],"format":"esm"},"src/plugin.ts":{"bytes":850,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/translations.ts":{"bytes":4619,"imports":[{"path":"@dxos/react-ui-stack/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-T4NSFSPH.mjs","kind":"import-statement"}],"exports":["SectionSchema","StackViewType"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":154},"dist/lib/neutral/react-surface-MD3CVY2N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1620},"dist/lib/neutral/react-surface-MD3CVY2N.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":741}},"bytes":878},"dist/lib/neutral/StackArticle-R7IS6TYR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9611},"dist/lib/neutral/StackArticle-R7IS6TYR.mjs":{"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/StackArticle/index.ts","inputs":{"src/containers/StackArticle/StackArticle.tsx":{"bytesInOutput":4068},"src/containers/StackArticle/index.ts":{"bytesInOutput":0}},"bytes":4205},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-T4NSFSPH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-RGJSGQGF.mjs","kind":"import-statement"}],"exports":["SECTION_IDENTIFIER","SectionSchema","StackViewType","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":252},"dist/lib/neutral/chunk-T4NSFSPH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1716},"dist/lib/neutral/chunk-T4NSFSPH.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["SectionSchema","StackViewType"],"inputs":{"src/types/stack.ts":{"bytesInOutput":567},"src/types/index.ts":{"bytesInOutput":0}},"bytes":679},"dist/lib/neutral/StackPlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13592},"dist/lib/neutral/StackPlugin.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["StackPlugin","default"],"entryPoint":"src/StackPlugin.ts","inputs":{"src/StackPlugin.ts":{"bytesInOutput":690},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl?raw":{"bytesInOutput":11772}},"bytes":12683},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":432},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/react-surface-MD3CVY2N.mjs","kind":"dynamic-import"}],"exports":["ReactSurface"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":149}},"bytes":240},"dist/lib/neutral/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13929},"dist/lib/neutral/components/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-collapsible","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["StackContext","StackSection","StackSettings","useStack"],"entryPoint":"src/components/index.ts","inputs":{"src/components/StackContext/StackContext.tsx":{"bytesInOutput":285},"src/components/StackContext/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/StackSection/StackSection.tsx":{"bytesInOutput":5244},"src/components/StackSection/CaretDownUp.tsx":{"bytesInOutput":771},"src/components/StackSection/index.ts":{"bytesInOutput":0},"src/components/StackSettings/StackSettings.tsx":{"bytesInOutput":814},"src/components/StackSettings/index.ts":{"bytesInOutput":0}},"bytes":7466},"dist/lib/neutral/containers/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":395},"dist/lib/neutral/containers/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/neutral/StackArticle-R7IS6TYR.mjs","kind":"dynamic-import"}],"exports":["StackArticle"],"entryPoint":"src/containers/index.ts","inputs":{"src/containers/index.ts":{"bytesInOutput":101}},"bytes":190},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-RGJSGQGF.mjs","kind":"import-statement"}],"exports":["SECTION_IDENTIFIER","meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":144},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":437},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-RGJSGQGF.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["StackPlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":108}},"bytes":235},"dist/lib/neutral/chunk-RGJSGQGF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2215},"dist/lib/neutral/chunk-RGJSGQGF.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["SECTION_IDENTIFIER","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":1628}},"bytes":1729},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2139},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"@dxos/react-ui-stack/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":1404}},"bytes":1496}}}
|
|
1
|
+
{"inputs":{"dx.config.ts":{"bytes":4012,"imports":[{"path":"@dxos/app-framework/config","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":1203,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"dx.config.ts","kind":"import-statement","original":"../dx.config"}],"format":"esm"},"src/types/Stack.ts":{"bytes":1199,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":422,"imports":[{"path":"src/types/Stack.ts","kind":"import-statement","original":"./Stack"}],"format":"esm"},"src/index.ts":{"bytes":449,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl":{"bytes":10138,"imports":[]},"src/StackPlugin.ts":{"bytes":3291,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl","kind":"import-statement","original":"../PLUGIN.mdl?raw"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3130,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":802,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/components/Stack/Stack.tsx":{"bytes":32544,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/components/Stack/index.ts":{"bytes":369,"imports":[{"path":"src/components/Stack/Stack.tsx","kind":"import-statement","original":"./Stack"}],"format":"esm"},"src/components/index.ts":{"bytes":369,"imports":[{"path":"src/components/Stack/index.ts","kind":"import-statement","original":"./Stack"}],"format":"esm"},"src/containers/StackArticle/StackArticle.tsx":{"bytes":26942,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/containers/StackArticle/index.ts":{"bytes":506,"imports":[{"path":"src/containers/StackArticle/StackArticle.tsx","kind":"import-statement","original":"./StackArticle"}],"format":"esm"},"src/containers/index.ts":{"bytes":702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/StackArticle/index.ts","kind":"dynamic-import","original":"./StackArticle"}],"format":"esm"},"src/plugin.ts":{"bytes":850,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/translations.ts":{"bytes":4513,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-FDNICBZZ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["Stack"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":161},"dist/lib/neutral/react-surface-IL4CW7ND.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1622},"dist/lib/neutral/react-surface-IL4CW7ND.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":741}},"bytes":910},"dist/lib/neutral/StackArticle-DDKRSUE7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14013},"dist/lib/neutral/StackArticle-DDKRSUE7.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/StackArticle/index.ts","inputs":{"src/containers/StackArticle/StackArticle.tsx":{"bytesInOutput":6763},"src/containers/StackArticle/index.ts":{"bytesInOutput":0}},"bytes":6932},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-FDNICBZZ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-ZOIZTRMG.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["SECTION_IDENTIFIER","Stack","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":258},"dist/lib/neutral/chunk-FDNICBZZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":640},"dist/lib/neutral/chunk-FDNICBZZ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["Stack_exports"],"inputs":{"src/types/Stack.ts":{"bytesInOutput":264},"src/types/index.ts":{"bytesInOutput":0}},"bytes":411},"dist/lib/neutral/StackPlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13595},"dist/lib/neutral/StackPlugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["StackPlugin","default"],"entryPoint":"src/StackPlugin.ts","inputs":{"src/StackPlugin.ts":{"bytesInOutput":689},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-stack/PLUGIN.mdl":{"bytesInOutput":11772}},"bytes":12710},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":434},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/react-surface-IL4CW7ND.mjs","kind":"dynamic-import"}],"exports":["ReactSurface"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":149}},"bytes":273},"dist/lib/neutral/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17185},"dist/lib/neutral/components/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["Stack","useStack"],"entryPoint":"src/components/index.ts","inputs":{"src/components/Stack/Stack.tsx":{"bytesInOutput":8318},"src/components/Stack/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0}},"bytes":8452},"dist/lib/neutral/containers/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":397},"dist/lib/neutral/containers/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/neutral/StackArticle-DDKRSUE7.mjs","kind":"dynamic-import"}],"exports":["StackArticle"],"entryPoint":"src/containers/index.ts","inputs":{"src/containers/index.ts":{"bytesInOutput":101}},"bytes":223},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZOIZTRMG.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["SECTION_IDENTIFIER","meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":175},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":438},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZOIZTRMG.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["StackPlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":108}},"bytes":266},"dist/lib/neutral/chunk-ZOIZTRMG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2389},"dist/lib/neutral/chunk-ZOIZTRMG.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/app-framework/config","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["SECTION_IDENTIFIER","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":201},"dx.config.ts":{"bytesInOutput":1383}},"bytes":1718},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2088},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":1360}},"bytes":1484},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/plugin.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const StackPlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,cAAcC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
6
|
"names": ["Plugin", "StackPlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
1
3
|
// src/capabilities/react-surface.tsx
|
|
2
4
|
import * as Effect from "effect/Effect";
|
|
3
5
|
import React from "react";
|
|
@@ -20,4 +22,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
|
|
|
20
22
|
export {
|
|
21
23
|
react_surface_default as default
|
|
22
24
|
};
|
|
23
|
-
//# sourceMappingURL=react-surface-
|
|
25
|
+
//# sourceMappingURL=react-surface-IL4CW7ND.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\nimport { Collection } from '@dxos/echo';\n\nimport { StackArticle } from '#containers';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Capabilities.ReactSurface,\n Surface.create({\n id: 'article',\n filter: AppSurface.object(AppSurface.Article, Collection.Collection),\n component: ({ role, data }) => {\n return <StackArticle attendableId={data.attendableId} role={role} subject={data.subject} />;\n },\n }),\n ),\n ),\n);\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,kBAAkB;AAC3B,SAASC,kBAAkB;AAE3B,SAASC,oBAAoB;AAE7B,IAAA,wBAAeJ,WAAWK,WAAW,MAC5BC,eACLN,WAAWO,YACTR,aAAaS,cACbP,QAAQQ,OAAO;EACbC,IAAI;EACJC,QAAQT,WAAWU,OAAOV,WAAWW,SAASV,WAAWA,UAAU;EACnEW,WAAW,CAAC,EAAEC,MAAMC,KAAI,MAAE;AACxB,WAAO,sBAAA,cAACZ,cAAAA;MAAaa,cAAcD,KAAKC;MAAcF;MAAYG,SAASF,KAAKE;;EAClF;AACF,CAAA,CAAA,CAAA,CAAA;",
|
|
6
6
|
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "AppSurface", "Collection", "StackArticle", "makeModule", "succeed", "contributes", "ReactSurface", "create", "id", "filter", "object", "Article", "component", "role", "data", "attendableId", "subject"]
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
1
3
|
// src/translations.ts
|
|
2
|
-
import { translations as stackTranslations } from "@dxos/react-ui-stack/translations";
|
|
3
4
|
import { meta } from "#meta";
|
|
4
5
|
var translations = [
|
|
5
6
|
{
|
|
6
7
|
"en-US": {
|
|
7
|
-
[meta.
|
|
8
|
+
[meta.profile.key]: {
|
|
8
9
|
"plugin.name": "Stacks",
|
|
9
|
-
"settings.title": "Stack settings",
|
|
10
10
|
"settings.separation.label": "Separate sections",
|
|
11
11
|
"settings.separation.description": "Add visual dividers between sections in stacks.",
|
|
12
12
|
"add-section-beforeAll-dialog.title": "Add a section to the start",
|
|
@@ -20,16 +20,18 @@ var translations = [
|
|
|
20
20
|
"remove-section.label": "Delete",
|
|
21
21
|
"navigate-to-section.label": "Navigate to object",
|
|
22
22
|
"untitled-section.title": "Untitled section",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"move-up.label": "Move up",
|
|
24
|
+
"move-down.label": "Move down",
|
|
25
25
|
"expand.label": "Expand",
|
|
26
26
|
"collapse.label": "Collapse",
|
|
27
|
+
"collapse-all.label": "Collapse all",
|
|
28
|
+
"expand-all.label": "Expand all",
|
|
29
|
+
"options.label": "Options",
|
|
27
30
|
"open-chat-thread.label": "Open chat thread",
|
|
28
31
|
"drag-handle.label": "Press space or enter to begin dragging this object."
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
|
-
}
|
|
32
|
-
...stackTranslations
|
|
34
|
+
}
|
|
33
35
|
];
|
|
34
36
|
export {
|
|
35
37
|
translations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.profile.key]: {\n 'plugin.name': 'Stacks',\n 'settings.separation.label': 'Separate sections',\n 'settings.separation.description': 'Add visual dividers between sections in stacks.',\n 'add-section-beforeAll-dialog.title': 'Add a section to the start',\n 'add-section-afterAll-dialog.title': 'Add a section to the end',\n 'add-section-before-dialog.title': 'Add a section',\n 'add-section-after-dialog.title': 'Add a section',\n 'add-section-input.placeholder': 'Find the type of section to add',\n 'upload-file.label': 'Add file',\n 'add-section.label': 'Add section',\n 'empty-stack.message': 'Drag objects into the stack.',\n 'remove-section.label': 'Delete',\n 'navigate-to-section.label': 'Navigate to object',\n 'untitled-section.title': 'Untitled section',\n 'move-up.label': 'Move up',\n 'move-down.label': 'Move down',\n 'expand.label': 'Expand',\n 'collapse.label': 'Collapse',\n 'collapse-all.label': 'Collapse all',\n 'expand-all.label': 'Expand all',\n 'options.label': 'Options',\n 'open-chat-thread.label': 'Open chat thread',\n 'drag-handle.label': 'Press space or enter to begin dragging this object.',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";;;AAMA,SAASA,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACD,KAAKE,QAAQC,GAAG,GAAG;QAClB,eAAe;QACf,6BAA6B;QAC7B,mCAAmC;QACnC,sCAAsC;QACtC,qCAAqC;QACrC,mCAAmC;QACnC,kCAAkC;QAClC,iCAAiC;QACjC,qBAAqB;QACrB,qBAAqB;QACrB,uBAAuB;QACvB,wBAAwB;QACxB,6BAA6B;QAC7B,0BAA0B;QAC1B,iBAAiB;QACjB,mBAAmB;QACnB,gBAAgB;QAChB,kBAAkB;QAClB,sBAAsB;QACtB,oBAAoB;QACpB,iBAAiB;QACjB,0BAA0B;QAC1B,qBAAqB;MACvB;IACF;EACF;;",
|
|
6
|
+
"names": ["meta", "translations", "profile", "key"]
|
|
7
7
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Stack_exports
|
|
3
|
+
} from "../chunk-FDNICBZZ.mjs";
|
|
4
|
+
import "../chunk-J5LGTIGS.mjs";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
StackViewType
|
|
6
|
+
Stack_exports as Stack
|
|
8
7
|
};
|
|
9
8
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly plugin: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly description?: string | undefined;
|
|
6
|
+
readonly author?: string | undefined;
|
|
7
|
+
readonly homePage?: string | undefined;
|
|
8
|
+
readonly source?: string | undefined;
|
|
9
|
+
readonly screenshots?: readonly {
|
|
10
|
+
readonly light?: string | undefined;
|
|
11
|
+
readonly dark?: string | undefined;
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
readonly tags?: readonly string[] | undefined;
|
|
14
|
+
readonly icon?: {
|
|
15
|
+
readonly key: string;
|
|
16
|
+
readonly hue?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
readonly spec?: string | undefined;
|
|
19
|
+
readonly dependsOn?: readonly string[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
readonly publish?: {
|
|
22
|
+
readonly buildCommand?: string | undefined;
|
|
23
|
+
readonly outputDirectory?: string | undefined;
|
|
24
|
+
readonly assetBaseUrl?: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=dx.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dx.config.d.ts","sourceRoot":"","sources":["../../dx.config.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Capability } from '@dxos/app-framework';
|
|
2
|
-
export declare const ReactSurface: Capability.LazyCapability<void, Capability.
|
|
2
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iEAAmE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React, { type ComponentPropsWithoutRef, type PropsWithChildren } from 'react';
|
|
2
|
+
import { Obj } from '@dxos/echo';
|
|
3
|
+
import { ScrollAreaRootProps, type ThemedClassName } from '@dxos/react-ui';
|
|
4
|
+
import { type MosaicEventHandler, type MosaicTileProps } from '@dxos/react-ui-mosaic';
|
|
5
|
+
export type StackSectionItem = {
|
|
6
|
+
id: string;
|
|
7
|
+
object: Obj.Unknown;
|
|
8
|
+
};
|
|
9
|
+
/** Section-level callbacks consumed by stack sections. */
|
|
10
|
+
export type StackContextValue = {
|
|
11
|
+
attendableId: string;
|
|
12
|
+
/** Ids of sections that are currently collapsed. */
|
|
13
|
+
collapsed: ReadonlySet<string>;
|
|
14
|
+
onCollapse: (id: string, collapsed: boolean) => void;
|
|
15
|
+
/** Add a new section immediately after the given section. */
|
|
16
|
+
onAdd: (id: string) => void;
|
|
17
|
+
onMoveUp: (id: string) => void;
|
|
18
|
+
onMoveDown: (id: string) => void;
|
|
19
|
+
onDelete: (id: string) => void;
|
|
20
|
+
};
|
|
21
|
+
/** Section-level callbacks consumed by stack sections. */
|
|
22
|
+
export declare const useStack: () => StackContextValue;
|
|
23
|
+
type StackRootProps = PropsWithChildren<StackContextValue & {
|
|
24
|
+
/** Container id used to scope Mosaic drag/drop. */
|
|
25
|
+
id: string;
|
|
26
|
+
/** Drag/drop event handler; defaults to a read-only (no-drop) handler. */
|
|
27
|
+
eventHandler?: MosaicEventHandler;
|
|
28
|
+
}>;
|
|
29
|
+
declare function StackRoot({ id, eventHandler, children, attendableId, collapsed, onCollapse, onAdd, onMoveUp, onMoveDown, onDelete }: StackRootProps): React.JSX.Element;
|
|
30
|
+
declare namespace StackRoot {
|
|
31
|
+
var displayName: string;
|
|
32
|
+
}
|
|
33
|
+
type StackContentProps = ThemedClassName<ComponentPropsWithoutRef<'div'> & Pick<ScrollAreaRootProps, 'centered' | 'thin' | 'padding'>>;
|
|
34
|
+
type StackViewportProps = ThemedClassName<PropsWithChildren>;
|
|
35
|
+
type StackSectionProps = MosaicTileProps<StackSectionItem>;
|
|
36
|
+
declare function StackSection({ data, ...tileProps }: StackSectionProps): React.JSX.Element;
|
|
37
|
+
declare namespace StackSection {
|
|
38
|
+
var displayName: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const Stack: {
|
|
41
|
+
Root: {
|
|
42
|
+
({ id, eventHandler, children, attendableId, collapsed, onCollapse, onAdd, onMoveUp, onMoveDown, onDelete, }: StackRootProps): React.JSX.Element;
|
|
43
|
+
displayName: string;
|
|
44
|
+
};
|
|
45
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<Partial<{
|
|
46
|
+
orientation: import("@dxos/ui-types").AllowedAxis;
|
|
47
|
+
autoHide: boolean;
|
|
48
|
+
scrollbars?: boolean;
|
|
49
|
+
centered?: boolean;
|
|
50
|
+
padding: boolean;
|
|
51
|
+
thin: boolean;
|
|
52
|
+
snap: boolean;
|
|
53
|
+
}>, "centered" | "padding" | "thin">, "className"> & {
|
|
54
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
Viewport: React.ForwardRefExoticComponent<Omit<{
|
|
57
|
+
children?: React.ReactNode | undefined;
|
|
58
|
+
}, "className"> & {
|
|
59
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
60
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
Section: {
|
|
62
|
+
({ data, ...tileProps }: StackSectionProps): React.JSX.Element;
|
|
63
|
+
displayName: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export type { StackContentProps, StackRootProps, StackSectionProps, StackViewportProps };
|
|
67
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAE7B,KAAK,iBAAiB,EAOvB,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAIL,mBAAmB,EACnB,KAAK,eAAe,EAErB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAU,KAAK,kBAAkB,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAQ9F,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;CACrB,CAAC;AAMF,0DAA0D;AAC1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,6DAA6D;IAC7D,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAqBF,0DAA0D;AAC1D,eAAO,MAAM,QAAQ,QAAO,iBAAgD,CAAC;AAM7E,KAAK,cAAc,GAAG,iBAAiB,CACrC,iBAAiB,GAAG;IAClB,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,0EAA0E;IAC1E,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC,CACF,CAAC;2BAEiB,EACjB,EAAE,EACF,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACT,EAAE,cAAc;;;;AAgCjB,KAAK,iBAAiB,GAAG,eAAe,CACtC,wBAAwB,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,CAC7F,CAAC;AAmBF,KAAK,kBAAkB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAgC7D,KAAK,iBAAiB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;8BAoBrC,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,EAAE,iBAAiB;;;;AAqG/D,eAAO,MAAM,KAAK;IAChB,IAAI;sHA/MH,cAAc;;;IAgNf,OAAO;;;;;;;;;;;IACP,QAAQ;;;;;IACR,OAAO;iCAzGqC,iBAAiB;;;CA0G9D,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Stack/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
3
|
import { type Collection } from '@dxos/echo';
|
|
4
|
-
type StackArticleProps = AppSurface.ObjectArticleProps<Collection.Collection>;
|
|
4
|
+
export type StackArticleProps = AppSurface.ObjectArticleProps<Collection.Collection>;
|
|
5
5
|
export declare const StackArticle: ({ attendableId, subject: collection }: StackArticleProps) => React.JSX.Element;
|
|
6
|
-
export {};
|
|
7
6
|
//# sourceMappingURL=StackArticle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackArticle/StackArticle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StackArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackArticle/StackArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAUlD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAErF,eAAO,MAAM,YAAY,0CAA2C,iBAAiB,sBAmMpF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { StackArticle } from './StackArticle';
|
|
3
|
+
declare const meta: Meta<typeof StackArticle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=StackArticle.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackArticle/StackArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwBjE,OAAO,EAAE,YAAY,EAA0B,MAAM,gBAAgB,CAAC;AAoBtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CA+DnC,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
-
import { Plugin } from '@dxos/app-framework';
|
|
2
1
|
import { DXN } from '@dxos/keys';
|
|
3
2
|
export declare const SECTION_IDENTIFIER: DXN.DXN;
|
|
4
|
-
export declare const meta:
|
|
3
|
+
export declare const meta: {
|
|
4
|
+
readonly profile: {
|
|
5
|
+
readonly key: string;
|
|
6
|
+
readonly name: string;
|
|
7
|
+
readonly description?: string | undefined;
|
|
8
|
+
readonly homePage?: string | undefined;
|
|
9
|
+
readonly source?: string | undefined;
|
|
10
|
+
readonly tags?: readonly string[] | undefined;
|
|
11
|
+
readonly screenshots?: readonly {
|
|
12
|
+
readonly light?: string | undefined;
|
|
13
|
+
readonly dark?: string | undefined;
|
|
14
|
+
}[] | undefined;
|
|
15
|
+
readonly icon?: {
|
|
16
|
+
readonly key: string;
|
|
17
|
+
readonly hue?: string | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
readonly dependsOn?: readonly string[] | undefined;
|
|
20
|
+
readonly spec?: string | undefined;
|
|
21
|
+
readonly createdAt?: string | undefined;
|
|
22
|
+
readonly author?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
readonly release?: {
|
|
25
|
+
readonly version: string;
|
|
26
|
+
readonly moduleUrl: string;
|
|
27
|
+
readonly dependencies?: {
|
|
28
|
+
readonly [x: string]: string;
|
|
29
|
+
} | undefined;
|
|
30
|
+
readonly pluginKey?: string | undefined;
|
|
31
|
+
readonly manifestHash?: string | undefined;
|
|
32
|
+
readonly createdAt?: string | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
};
|
|
5
35
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAIjC,eAAO,MAAM,kBAAkB,SAAyC,CAAC;AAEzE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC"}
|
|
@@ -2,7 +2,6 @@ export declare const translations: [{
|
|
|
2
2
|
readonly 'en-US': {
|
|
3
3
|
readonly [x: string]: {
|
|
4
4
|
readonly 'plugin.name': 'Stacks';
|
|
5
|
-
readonly 'settings.title': 'Stack settings';
|
|
6
5
|
readonly 'settings.separation.label': 'Separate sections';
|
|
7
6
|
readonly 'settings.separation.description': 'Add visual dividers between sections in stacks.';
|
|
8
7
|
readonly 'add-section-beforeAll-dialog.title': 'Add a section to the start';
|
|
@@ -16,26 +15,16 @@ export declare const translations: [{
|
|
|
16
15
|
readonly 'remove-section.label': 'Delete';
|
|
17
16
|
readonly 'navigate-to-section.label': 'Navigate to object';
|
|
18
17
|
readonly 'untitled-section.title': 'Untitled section';
|
|
19
|
-
readonly '
|
|
20
|
-
readonly '
|
|
18
|
+
readonly 'move-up.label': 'Move up';
|
|
19
|
+
readonly 'move-down.label': 'Move down';
|
|
21
20
|
readonly 'expand.label': 'Expand';
|
|
22
21
|
readonly 'collapse.label': 'Collapse';
|
|
22
|
+
readonly 'collapse-all.label': 'Collapse all';
|
|
23
|
+
readonly 'expand-all.label': 'Expand all';
|
|
24
|
+
readonly 'options.label': 'Options';
|
|
23
25
|
readonly 'open-chat-thread.label': 'Open chat thread';
|
|
24
26
|
readonly 'drag-handle.label': 'Press space or enter to begin dragging this object.';
|
|
25
27
|
};
|
|
26
28
|
};
|
|
27
|
-
}, {
|
|
28
|
-
readonly 'en-US': {
|
|
29
|
-
readonly "@dxos/react-ui-stack": {
|
|
30
|
-
readonly 'resize.label': 'Drag to resize';
|
|
31
|
-
readonly 'drag-handle.label': 'Drag to rearrange';
|
|
32
|
-
readonly 'pin-start.label': 'Pin to the left sidebar';
|
|
33
|
-
readonly 'pin-end.label': 'Pin to the right sidebar';
|
|
34
|
-
readonly 'increment-start.label': 'Move to the left';
|
|
35
|
-
readonly 'increment-end.label': 'Move to the right';
|
|
36
|
-
readonly 'close.label': 'Close';
|
|
37
|
-
readonly 'minify.label': 'Minify';
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
29
|
}];
|
|
41
30
|
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,QAAQ;kDACM,mBAAmB;wDACb,iDAAiD;2DAC9C,4BAA4B;0DAC7B,0BAA0B;wDAC5B,eAAe;uDAChB,eAAe;sDAChB,iCAAiC;0CAC7C,UAAU;0CACV,aAAa;4CACX,8BAA8B;6CAC7B,QAAQ;kDACH,oBAAoB;+CACvB,kBAAkB;sCAC3B,SAAS;wCACP,WAAW;qCACd,QAAQ;uCACN,UAAU;2CACN,cAAc;yCAChB,YAAY;sCACf,SAAS;+CACA,kBAAkB;0CACvB,qDAAqD;;;EAInD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../src/types/Stack.ts"],"names":[],"mappings":"AAQA,OAAO,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;;AAGvC,qBAAa,KAAM,SAAQ,UAAmF;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|