@dxos/react-ui-list 0.9.1-main.c7dcc2e112 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/index.mjs +628 -167
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +628 -167
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/aspects/useListDisclosure.d.ts +4 -4
- package/dist/types/src/aspects/useListDisclosure.d.ts.map +1 -1
- package/dist/types/src/aspects/useListNavigation.d.ts +9 -7
- package/dist/types/src/aspects/useListNavigation.d.ts.map +1 -1
- package/dist/types/src/aspects/useListSelection.d.ts +3 -3
- package/dist/types/src/aspects/useListSelection.d.ts.map +1 -1
- package/dist/types/src/components/Accordion/Accordion.d.ts +1 -1
- package/dist/types/src/components/Accordion/AccordionItem.d.ts +3 -1
- package/dist/types/src/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/types/src/components/Combobox/Combobox.d.ts +10 -3
- package/dist/types/src/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/src/components/DropIndicator/DropIndicator.d.ts +12 -0
- package/dist/types/src/components/DropIndicator/DropIndicator.d.ts.map +1 -0
- package/dist/types/src/components/DropIndicator/index.d.ts +2 -0
- package/dist/types/src/components/DropIndicator/index.d.ts.map +1 -0
- package/dist/types/src/components/Empty/Empty.d.ts +17 -0
- package/dist/types/src/components/Empty/Empty.d.ts.map +1 -0
- package/dist/types/src/components/Empty/Empty.stories.d.ts +18 -0
- package/dist/types/src/components/Empty/Empty.stories.d.ts.map +1 -0
- package/dist/types/src/components/Empty/index.d.ts +2 -0
- package/dist/types/src/components/Empty/index.d.ts.map +1 -0
- package/dist/types/src/components/List.theme.d.ts +193 -0
- package/dist/types/src/components/List.theme.d.ts.map +1 -0
- package/dist/types/src/components/Listbox/ListItemContent.d.ts +27 -0
- package/dist/types/src/components/Listbox/ListItemContent.d.ts.map +1 -0
- package/dist/types/src/components/Listbox/ListItemContent.stories.d.ts +24 -0
- package/dist/types/src/components/Listbox/ListItemContent.stories.d.ts.map +1 -0
- package/dist/types/src/components/Listbox/Listbox.d.ts +19 -2
- package/dist/types/src/components/Listbox/Listbox.d.ts.map +1 -1
- package/dist/types/src/components/Listbox/Listbox.stories.d.ts +4 -0
- package/dist/types/src/components/Listbox/Listbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/OrderedList/OrderedList.d.ts +1 -1
- package/dist/types/src/components/OrderedList/OrderedList.d.ts.map +1 -1
- package/dist/types/src/components/OrderedList/OrderedListItem.d.ts.map +1 -1
- package/dist/types/src/components/OrderedList/OrderedListRoot.d.ts +1 -1
- package/dist/types/src/components/OrderedList/OrderedListRoot.d.ts.map +1 -1
- package/dist/types/src/components/Picker/Picker.d.ts +12 -4
- package/dist/types/src/components/Picker/Picker.d.ts.map +1 -1
- package/dist/types/src/components/Picker/index.d.ts +1 -1
- package/dist/types/src/components/Picker/index.d.ts.map +1 -1
- package/dist/types/src/components/Tree/Tree.d.ts +1 -1
- package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
- package/dist/types/src/components/Tree/Tree.stories.d.ts +5 -2
- package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/components/Tree/TreeContext.d.ts +2 -0
- package/dist/types/src/components/Tree/TreeContext.d.ts.map +1 -1
- package/dist/types/src/components/Tree/TreeDropIndicator.d.ts +10 -0
- package/dist/types/src/components/Tree/TreeDropIndicator.d.ts.map +1 -0
- package/dist/types/src/components/Tree/TreeItem.d.ts.map +1 -1
- package/dist/types/src/components/Tree/testing.d.ts +4 -1
- package/dist/types/src/components/Tree/testing.d.ts.map +1 -1
- package/dist/types/src/components/Treegrid/Treegrid.d.ts +33 -0
- package/dist/types/src/components/Treegrid/Treegrid.d.ts.map +1 -0
- package/dist/types/src/components/Treegrid/Treegrid.stories.d.ts +11 -0
- package/dist/types/src/components/Treegrid/Treegrid.stories.d.ts.map +1 -0
- package/dist/types/src/components/Treegrid/Treegrid.theme.d.ts +37 -0
- package/dist/types/src/components/Treegrid/Treegrid.theme.d.ts.map +1 -0
- package/dist/types/src/components/Treegrid/index.d.ts +2 -0
- package/dist/types/src/components/Treegrid/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +3 -0
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -22
- package/src/aspects/useListDisclosure.ts +8 -8
- package/src/aspects/useListNavigation.ts +9 -7
- package/src/aspects/useListSelection.ts +4 -4
- package/src/components/Accordion/AccordionItem.tsx +31 -13
- package/src/components/Combobox/Combobox.tsx +46 -38
- package/src/components/DropIndicator/DropIndicator.tsx +74 -0
- package/src/components/DropIndicator/index.ts +5 -0
- package/src/components/Empty/Empty.stories.tsx +37 -0
- package/src/components/Empty/Empty.tsx +41 -0
- package/src/components/Empty/index.ts +5 -0
- package/src/components/List.theme.ts +99 -0
- package/src/components/Listbox/ListItemContent.stories.tsx +41 -0
- package/src/components/Listbox/ListItemContent.tsx +49 -0
- package/src/components/Listbox/Listbox.stories.tsx +106 -7
- package/src/components/Listbox/Listbox.tsx +85 -42
- package/src/components/OrderedList/OrderedList.tsx +1 -1
- package/src/components/OrderedList/OrderedListItem.tsx +13 -13
- package/src/components/OrderedList/OrderedListRoot.tsx +6 -3
- package/src/components/Picker/Picker.tsx +25 -15
- package/src/components/Picker/index.ts +1 -1
- package/src/components/Tree/Tree.stories.tsx +39 -15
- package/src/components/Tree/Tree.tsx +13 -3
- package/src/components/Tree/TreeContext.tsx +2 -0
- package/src/components/Tree/TreeDropIndicator.tsx +72 -0
- package/src/components/Tree/TreeItem.tsx +43 -3
- package/src/components/Tree/TreeItemHeading.tsx +2 -2
- package/src/components/Tree/testing.ts +19 -14
- package/src/components/Treegrid/Treegrid.stories.tsx +132 -0
- package/src/components/Treegrid/Treegrid.theme.ts +38 -0
- package/src/components/Treegrid/Treegrid.tsx +187 -0
- package/src/components/Treegrid/index.ts +5 -0
- package/src/components/index.ts +3 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/aspects/useListDisclosure.ts":{"bytes":15027,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListGrid.ts":{"bytes":5509,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListNavigation.ts":{"bytes":14216,"imports":[{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListSelection.ts":{"bytes":16169,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useReorder.ts":{"bytes":41843,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-auto-scroll/element","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/util/get-reorder-destination-index","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/index.ts":{"bytes":811,"imports":[{"path":"src/aspects/useListDisclosure.ts","kind":"import-statement","original":"./useListDisclosure"},{"path":"src/aspects/useListGrid.ts","kind":"import-statement","original":"./useListGrid"},{"path":"src/aspects/useListNavigation.ts","kind":"import-statement","original":"./useListNavigation"},{"path":"src/aspects/useListSelection.ts","kind":"import-statement","original":"./useListSelection"},{"path":"src/aspects/useReorder.ts","kind":"import-statement","original":"./useReorder"}],"format":"esm"},"src/components/Accordion/AccordionRoot.tsx":{"bytes":4624,"imports":[{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Accordion/AccordionItem.tsx":{"bytes":8023,"imports":[{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Accordion/AccordionRoot.tsx","kind":"import-statement","original":"./AccordionRoot"}],"format":"esm"},"src/components/Accordion/Accordion.tsx":{"bytes":1825,"imports":[{"path":"src/components/Accordion/AccordionItem.tsx","kind":"import-statement","original":"./AccordionItem"},{"path":"src/components/Accordion/AccordionRoot.tsx","kind":"import-statement","original":"./AccordionRoot"}],"format":"esm"},"src/components/Accordion/index.ts":{"bytes":377,"imports":[{"path":"src/components/Accordion/Accordion.tsx","kind":"import-statement","original":"./Accordion"}],"format":"esm"},"src/components/Picker/context.ts":{"bytes":3388,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true}],"format":"esm"},"src/components/Picker/Picker.tsx":{"bytes":35992,"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Picker/context.ts","kind":"import-statement","original":"./context"},{"path":"src/components/Picker/context.ts","kind":"import-statement","original":"./context"}],"format":"esm"},"src/components/Picker/index.ts":{"bytes":732,"imports":[{"path":"src/components/Picker/Picker.tsx","kind":"import-statement","original":"./Picker"}],"format":"esm"},"src/components/Combobox/Combobox.tsx":{"bytes":28470,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","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","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Picker/index.ts","kind":"import-statement","original":"../Picker"}],"format":"esm"},"src/components/Combobox/index.ts":{"bytes":376,"imports":[{"path":"src/components/Combobox/Combobox.tsx","kind":"import-statement","original":"./Combobox"}],"format":"esm"},"src/components/Listbox/Listbox.tsx":{"bytes":32498,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"}],"format":"esm"},"src/components/Listbox/index.ts":{"bytes":375,"imports":[{"path":"src/components/Listbox/Listbox.tsx","kind":"import-statement","original":"./Listbox"}],"format":"esm"},"src/components/OrderedList/OrderedListRoot.tsx":{"bytes":14576,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"}],"format":"esm"},"src/components/OrderedList/OrderedListItem.tsx":{"bytes":31854,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"},{"path":"src/components/OrderedList/OrderedListRoot.tsx","kind":"import-statement","original":"./OrderedListRoot"}],"format":"esm"},"src/components/OrderedList/OrderedList.tsx":{"bytes":5420,"imports":[{"path":"src/components/OrderedList/OrderedListItem.tsx","kind":"import-statement","original":"./OrderedListItem"},{"path":"src/components/OrderedList/OrderedListRoot.tsx","kind":"import-statement","original":"./OrderedListRoot"}],"format":"esm"},"src/components/OrderedList/index.ts":{"bytes":387,"imports":[{"path":"src/components/OrderedList/OrderedList.tsx","kind":"import-statement","original":"./OrderedList"}],"format":"esm"},"src/components/Tree/TreeContext.tsx":{"bytes":3370,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/helpers.ts":{"bytes":1072,"imports":[],"format":"esm"},"src/components/Tree/TreeItemHeading.tsx":{"bytes":10524,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/TreeItemToggle.tsx":{"bytes":3702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/TreeItem.tsx":{"bytes":40530,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Tree/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeItemHeading.tsx","kind":"import-statement","original":"./TreeItemHeading"},{"path":"src/components/Tree/TreeItemToggle.tsx","kind":"import-statement","original":"./TreeItemToggle"}],"format":"esm"},"src/components/Tree/Tree.tsx":{"bytes":5746,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeItem.tsx","kind":"import-statement","original":"./TreeItem"}],"format":"esm"},"src/components/Tree/index.ts":{"bytes":744,"imports":[{"path":"src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeItem.tsx","kind":"import-statement","original":"./TreeItem"},{"path":"src/components/Tree/TreeItemToggle.tsx","kind":"import-statement","original":"./TreeItemToggle"},{"path":"src/components/Tree/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/components/index.ts":{"bytes":813,"imports":[{"path":"src/components/Accordion/index.ts","kind":"import-statement","original":"./Accordion"},{"path":"src/components/Combobox/index.ts","kind":"import-statement","original":"./Combobox"},{"path":"src/components/Listbox/index.ts","kind":"import-statement","original":"./Listbox"},{"path":"src/components/OrderedList/index.ts","kind":"import-statement","original":"./OrderedList"},{"path":"src/components/Picker/index.ts","kind":"import-statement","original":"./Picker"},{"path":"src/components/Tree/index.ts","kind":"import-statement","original":"./Tree"}],"format":"esm"},"src/util/path.ts":{"bytes":3321,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":368,"imports":[{"path":"src/util/path.ts","kind":"import-statement","original":"./path"}],"format":"esm"},"src/index.ts":{"bytes":545,"imports":[{"path":"src/aspects/index.ts","kind":"import-statement","original":"./aspects"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":171471},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-auto-scroll/element","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/util/get-reorder-destination-index","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","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","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Accordion","Combobox","DEFAULT_INDENTATION","Listbox","OrderedList","Path","Picker","Tree","TreeDataSchema","TreeItem","TreeItemById","TreeItemToggle","TreeProvider","isTreeData","paddingIndentation","useListDisclosure","useListGrid","useListNavigation","useListSelection","useListboxSelection","usePickerInputContext","usePickerItemContext","useReorderAutoScroll","useReorderItem","useReorderList","useTree"],"entryPoint":"src/index.ts","inputs":{"src/aspects/useListDisclosure.ts":{"bytesInOutput":2237},"src/aspects/index.ts":{"bytesInOutput":0},"src/aspects/useListGrid.ts":{"bytesInOutput":701},"src/aspects/useListNavigation.ts":{"bytesInOutput":1803},"src/aspects/useListSelection.ts":{"bytesInOutput":2749},"src/aspects/useReorder.ts":{"bytesInOutput":8249},"src/index.ts":{"bytesInOutput":0},"src/components/Accordion/AccordionItem.tsx":{"bytesInOutput":1867},"src/components/Accordion/AccordionRoot.tsx":{"bytesInOutput":750},"src/components/Accordion/Accordion.tsx":{"bytesInOutput":132},"src/components/Accordion/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/Combobox/Combobox.tsx":{"bytesInOutput":6394},"src/components/Picker/Picker.tsx":{"bytesInOutput":7997},"src/components/Picker/context.ts":{"bytesInOutput":250},"src/components/Picker/index.ts":{"bytesInOutput":0},"src/components/Combobox/index.ts":{"bytesInOutput":0},"src/components/Listbox/Listbox.tsx":{"bytesInOutput":4694},"src/components/Listbox/index.ts":{"bytesInOutput":0},"src/components/OrderedList/OrderedListItem.tsx":{"bytesInOutput":6106},"src/components/OrderedList/OrderedListRoot.tsx":{"bytesInOutput":2175},"src/components/OrderedList/OrderedList.tsx":{"bytesInOutput":354},"src/components/OrderedList/index.ts":{"bytesInOutput":0},"src/components/Tree/Tree.tsx":{"bytesInOutput":1213},"src/components/Tree/TreeContext.tsx":{"bytesInOutput":293},"src/components/Tree/TreeItem.tsx":{"bytesInOutput":10386},"src/components/Tree/helpers.ts":{"bytesInOutput":162},"src/components/Tree/TreeItemHeading.tsx":{"bytesInOutput":2537},"src/components/Tree/TreeItemToggle.tsx":{"bytesInOutput":883},"src/components/Tree/index.ts":{"bytesInOutput":0},"src/util/path.ts":{"bytesInOutput":678},"src/util/index.ts":{"bytesInOutput":0}},"bytes":64294}}}
|
|
1
|
+
{"inputs":{"src/aspects/useListDisclosure.ts":{"bytes":15027,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListGrid.ts":{"bytes":5509,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListNavigation.ts":{"bytes":14640,"imports":[{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useListSelection.ts":{"bytes":16142,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/useReorder.ts":{"bytes":41843,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-auto-scroll/element","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/util/get-reorder-destination-index","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/aspects/index.ts":{"bytes":811,"imports":[{"path":"src/aspects/useListDisclosure.ts","kind":"import-statement","original":"./useListDisclosure"},{"path":"src/aspects/useListGrid.ts","kind":"import-statement","original":"./useListGrid"},{"path":"src/aspects/useListNavigation.ts","kind":"import-statement","original":"./useListNavigation"},{"path":"src/aspects/useListSelection.ts","kind":"import-statement","original":"./useListSelection"},{"path":"src/aspects/useReorder.ts","kind":"import-statement","original":"./useReorder"}],"format":"esm"},"src/components/List.theme.ts":{"bytes":12904,"imports":[{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Accordion/AccordionRoot.tsx":{"bytes":4624,"imports":[{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Accordion/AccordionItem.tsx":{"bytes":9659,"imports":[{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"},{"path":"src/components/Accordion/AccordionRoot.tsx","kind":"import-statement","original":"./AccordionRoot"}],"format":"esm"},"src/components/Accordion/Accordion.tsx":{"bytes":1825,"imports":[{"path":"src/components/Accordion/AccordionItem.tsx","kind":"import-statement","original":"./AccordionItem"},{"path":"src/components/Accordion/AccordionRoot.tsx","kind":"import-statement","original":"./AccordionRoot"}],"format":"esm"},"src/components/Accordion/index.ts":{"bytes":377,"imports":[{"path":"src/components/Accordion/Accordion.tsx","kind":"import-statement","original":"./Accordion"}],"format":"esm"},"src/components/Picker/context.ts":{"bytes":3388,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true}],"format":"esm"},"src/components/Picker/Picker.tsx":{"bytes":37754,"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"},{"path":"src/components/Picker/context.ts","kind":"import-statement","original":"./context"},{"path":"src/components/Picker/context.ts","kind":"import-statement","original":"./context"}],"format":"esm"},"src/components/Picker/index.ts":{"bytes":732,"imports":[{"path":"src/components/Picker/Picker.tsx","kind":"import-statement","original":"./Picker"}],"format":"esm"},"src/components/Combobox/Combobox.tsx":{"bytes":30163,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","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","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"},{"path":"src/components/Picker/index.ts","kind":"import-statement","original":"../Picker"}],"format":"esm"},"src/components/Combobox/index.ts":{"bytes":376,"imports":[{"path":"src/components/Combobox/Combobox.tsx","kind":"import-statement","original":"./Combobox"}],"format":"esm"},"src/components/DropIndicator/DropIndicator.tsx":{"bytes":7683,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/DropIndicator/index.ts":{"bytes":389,"imports":[{"path":"src/components/DropIndicator/DropIndicator.tsx","kind":"import-statement","original":"./DropIndicator"}],"format":"esm"},"src/components/Empty/Empty.tsx":{"bytes":4694,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Empty/index.ts":{"bytes":369,"imports":[{"path":"src/components/Empty/Empty.tsx","kind":"import-statement","original":"./Empty"}],"format":"esm"},"src/components/Listbox/ListItemContent.tsx":{"bytes":5445,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"}],"format":"esm"},"src/components/Listbox/Listbox.tsx":{"bytes":38755,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"},{"path":"src/components/Listbox/ListItemContent.tsx","kind":"import-statement","original":"./ListItemContent"}],"format":"esm"},"src/components/Listbox/index.ts":{"bytes":375,"imports":[{"path":"src/components/Listbox/Listbox.tsx","kind":"import-statement","original":"./Listbox"}],"format":"esm"},"src/components/OrderedList/OrderedListRoot.tsx":{"bytes":15101,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"}],"format":"esm"},"src/components/OrderedList/OrderedListItem.tsx":{"bytes":32466,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/aspects/index.ts","kind":"import-statement","original":"../../aspects"},{"path":"src/components/DropIndicator/index.ts","kind":"import-statement","original":"../DropIndicator"},{"path":"src/components/List.theme.ts","kind":"import-statement","original":"../List.theme"},{"path":"src/components/OrderedList/OrderedListRoot.tsx","kind":"import-statement","original":"./OrderedListRoot"}],"format":"esm"},"src/components/OrderedList/OrderedList.tsx":{"bytes":5420,"imports":[{"path":"src/components/OrderedList/OrderedListItem.tsx","kind":"import-statement","original":"./OrderedListItem"},{"path":"src/components/OrderedList/OrderedListRoot.tsx","kind":"import-statement","original":"./OrderedListRoot"}],"format":"esm"},"src/components/OrderedList/index.ts":{"bytes":387,"imports":[{"path":"src/components/OrderedList/OrderedList.tsx","kind":"import-statement","original":"./OrderedList"}],"format":"esm"},"src/components/Treegrid/Treegrid.theme.ts":{"bytes":4190,"imports":[{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Treegrid/Treegrid.tsx":{"bytes":19200,"imports":[{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Treegrid/Treegrid.theme.ts","kind":"import-statement","original":"./Treegrid.theme"}],"format":"esm"},"src/components/Treegrid/index.ts":{"bytes":376,"imports":[{"path":"src/components/Treegrid/Treegrid.tsx","kind":"import-statement","original":"./Treegrid"}],"format":"esm"},"src/components/Tree/TreeContext.tsx":{"bytes":3574,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/helpers.ts":{"bytes":1072,"imports":[],"format":"esm"},"src/components/Tree/TreeDropIndicator.tsx":{"bytes":8378,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/TreeItemHeading.tsx":{"bytes":10500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/TreeItemToggle.tsx":{"bytes":3702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Tree/TreeItem.tsx":{"bytes":44596,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/Treegrid/index.ts","kind":"import-statement","original":"../Treegrid"},{"path":"src/components/Tree/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeDropIndicator.tsx","kind":"import-statement","original":"./TreeDropIndicator"},{"path":"src/components/Tree/TreeItemHeading.tsx","kind":"import-statement","original":"./TreeItemHeading"},{"path":"src/components/Tree/TreeItemToggle.tsx","kind":"import-statement","original":"./TreeItemToggle"}],"format":"esm"},"src/components/Tree/Tree.tsx":{"bytes":6662,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Treegrid/index.ts","kind":"import-statement","original":"../Treegrid"},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeItem.tsx","kind":"import-statement","original":"./TreeItem"}],"format":"esm"},"src/components/Tree/index.ts":{"bytes":744,"imports":[{"path":"src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"},{"path":"src/components/Tree/TreeContext.tsx","kind":"import-statement","original":"./TreeContext"},{"path":"src/components/Tree/TreeItem.tsx","kind":"import-statement","original":"./TreeItem"},{"path":"src/components/Tree/TreeItemToggle.tsx","kind":"import-statement","original":"./TreeItemToggle"},{"path":"src/components/Tree/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/components/index.ts":{"bytes":1083,"imports":[{"path":"src/components/Accordion/index.ts","kind":"import-statement","original":"./Accordion"},{"path":"src/components/Combobox/index.ts","kind":"import-statement","original":"./Combobox"},{"path":"src/components/DropIndicator/index.ts","kind":"import-statement","original":"./DropIndicator"},{"path":"src/components/Empty/index.ts","kind":"import-statement","original":"./Empty"},{"path":"src/components/Listbox/index.ts","kind":"import-statement","original":"./Listbox"},{"path":"src/components/OrderedList/index.ts","kind":"import-statement","original":"./OrderedList"},{"path":"src/components/Picker/index.ts","kind":"import-statement","original":"./Picker"},{"path":"src/components/Tree/index.ts","kind":"import-statement","original":"./Tree"},{"path":"src/components/Treegrid/index.ts","kind":"import-statement","original":"./Treegrid"}],"format":"esm"},"src/util/path.ts":{"bytes":3321,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":368,"imports":[{"path":"src/util/path.ts","kind":"import-statement","original":"./path"}],"format":"esm"},"src/index.ts":{"bytes":545,"imports":[{"path":"src/aspects/index.ts","kind":"import-statement","original":"./aspects"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":212581},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-auto-scroll/element","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/util/get-reorder-destination-index","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","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","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","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/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","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/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Accordion","Combobox","DEFAULT_INDENTATION","DropIndicator","Empty","Listbox","OrderedList","Path","Picker","TREEGRID_PARENT_OF_SEPARATOR","TREEGRID_PATH_SEPARATOR","Tree","TreeDataSchema","TreeItem","TreeItemById","TreeItemToggle","TreeProvider","Treegrid","isTreeData","paddingIndentation","useListDisclosure","useListGrid","useListNavigation","useListSelection","useListboxSelection","usePickerInputContext","usePickerItemContext","useReorderAutoScroll","useReorderItem","useReorderList","useTree"],"entryPoint":"src/index.ts","inputs":{"src/aspects/useListDisclosure.ts":{"bytesInOutput":2245},"src/aspects/index.ts":{"bytesInOutput":0},"src/aspects/useListGrid.ts":{"bytesInOutput":701},"src/aspects/useListNavigation.ts":{"bytesInOutput":1803},"src/aspects/useListSelection.ts":{"bytesInOutput":2751},"src/aspects/useReorder.ts":{"bytesInOutput":8249},"src/index.ts":{"bytesInOutput":0},"src/components/Accordion/AccordionItem.tsx":{"bytesInOutput":2074},"src/components/List.theme.ts":{"bytesInOutput":3625},"src/components/Accordion/AccordionRoot.tsx":{"bytesInOutput":750},"src/components/Accordion/Accordion.tsx":{"bytesInOutput":132},"src/components/Accordion/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/Combobox/Combobox.tsx":{"bytesInOutput":6685},"src/components/Picker/Picker.tsx":{"bytesInOutput":8259},"src/components/Picker/context.ts":{"bytesInOutput":250},"src/components/Picker/index.ts":{"bytesInOutput":0},"src/components/Combobox/index.ts":{"bytesInOutput":0},"src/components/DropIndicator/DropIndicator.tsx":{"bytesInOutput":1792},"src/components/DropIndicator/index.ts":{"bytesInOutput":0},"src/components/Empty/Empty.tsx":{"bytesInOutput":868},"src/components/Empty/index.ts":{"bytesInOutput":0},"src/components/Listbox/Listbox.tsx":{"bytesInOutput":5230},"src/components/Listbox/ListItemContent.tsx":{"bytesInOutput":921},"src/components/Listbox/index.ts":{"bytesInOutput":0},"src/components/OrderedList/OrderedListItem.tsx":{"bytesInOutput":6179},"src/components/OrderedList/OrderedListRoot.tsx":{"bytesInOutput":2256},"src/components/OrderedList/OrderedList.tsx":{"bytesInOutput":354},"src/components/OrderedList/index.ts":{"bytesInOutput":0},"src/components/Tree/Tree.tsx":{"bytesInOutput":1352},"src/components/Treegrid/Treegrid.tsx":{"bytesInOutput":4175},"src/components/Treegrid/Treegrid.theme.ts":{"bytesInOutput":1004},"src/components/Treegrid/index.ts":{"bytesInOutput":0},"src/components/Tree/TreeContext.tsx":{"bytesInOutput":293},"src/components/Tree/TreeItem.tsx":{"bytesInOutput":11280},"src/components/Tree/helpers.ts":{"bytesInOutput":162},"src/components/Tree/TreeDropIndicator.tsx":{"bytesInOutput":1937},"src/components/Tree/TreeItemHeading.tsx":{"bytesInOutput":2542},"src/components/Tree/TreeItemToggle.tsx":{"bytesInOutput":885},"src/components/Tree/index.ts":{"bytesInOutput":0},"src/util/path.ts":{"bytesInOutput":678},"src/util/index.ts":{"bytesInOutput":0}},"bytes":81592}}}
|
|
@@ -20,15 +20,15 @@ export type DisclosureItemBinding = {
|
|
|
20
20
|
panelId: string;
|
|
21
21
|
/** Spread onto the trigger element (button, title row, …). */
|
|
22
22
|
triggerProps: {
|
|
23
|
-
id: string;
|
|
23
|
+
'id': string;
|
|
24
24
|
'aria-expanded': boolean;
|
|
25
25
|
'aria-controls': string;
|
|
26
|
-
onClick: (event: MouseEvent) => void;
|
|
26
|
+
'onClick': (event: MouseEvent) => void;
|
|
27
27
|
};
|
|
28
28
|
/** Spread onto the disclosed panel; carries role=region for SR navigation. */
|
|
29
29
|
panelProps: {
|
|
30
|
-
id: string;
|
|
31
|
-
role: 'region';
|
|
30
|
+
'id': string;
|
|
31
|
+
'role': 'region';
|
|
32
32
|
'aria-labelledby': string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListDisclosure.d.ts","sourceRoot":"","sources":["../../../../src/aspects/useListDisclosure.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAmD,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC;AACtC,KAAK,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAEtC,KAAK,QAAQ,CAAC,CAAC,SAAS,kBAAkB,IAAI,CAAC,SAAS,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;AAE5F,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAAI;IACxF,IAAI,EAAE,CAAC,CAAC;IACR,gFAAgF;IAChF,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC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AAE,MAAM,IAAI,CAAC;IACnB,mGAAmG;IACnG,SAAS,EAAE,MAAM,CAAC;IAClB,sFAAsF;IACtF,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,EAAE,OAAO,CAAC;QACzB,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACxC,CAAC;IACF,8EAA8E;IAC9E,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,QAAQ,CAAC;QACjB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,6DAA6D;IAC7D,IAAI,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,qBAAqB,CAAC;CAC7C,CAAC;AAIF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,EAAE;IAC9B,CAAC,CAAC,SAAS,kBAAkB,EAAE,IAAI,EAAE,wBAAwB,CAAC,CAAC,CAAC,GAAG,uBAAuB,CAAC;CA0F5F,CAAC"}
|
|
@@ -37,9 +37,9 @@ export type UseListNavigationReturn = {
|
|
|
37
37
|
* stable contract.
|
|
38
38
|
*/
|
|
39
39
|
containerProps: TabsterDOMAttribute & {
|
|
40
|
-
role: ContainerRole;
|
|
40
|
+
'role': ContainerRole;
|
|
41
41
|
'aria-orientation'?: 'vertical' | 'horizontal';
|
|
42
|
-
onFocus: (event: FocusEvent<HTMLElement>) => void;
|
|
42
|
+
'onFocus': (event: FocusEvent<HTMLElement>) => void;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Apply to each item. Returns role, tabIndex, and aria-disabled. Disabled options remain
|
|
@@ -48,8 +48,8 @@ export type UseListNavigationReturn = {
|
|
|
48
48
|
itemProps: (opts?: {
|
|
49
49
|
disabled?: boolean;
|
|
50
50
|
}) => {
|
|
51
|
-
role: ItemRole;
|
|
52
|
-
tabIndex: number;
|
|
51
|
+
'role': ItemRole;
|
|
52
|
+
'tabIndex': number;
|
|
53
53
|
'aria-disabled'?: true;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
@@ -59,9 +59,11 @@ export type UseListNavigationReturn = {
|
|
|
59
59
|
* and adds a focus-on-entry redirect (Tabster handles traversal once focus is on a
|
|
60
60
|
* child; first-entry is the consumer's responsibility).
|
|
61
61
|
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
62
|
+
* The canonical roving-tabindex keyboard aspect. Currently consumed by `Listbox` and
|
|
63
|
+
* `OrderedList`; `Tree` (Treegrid), `Picker`/`Combobox` (input-driven virtual focus), and
|
|
64
|
+
* `Mosaic.Stack` still ship bespoke navigation — see `react-ui-list/AUDIT.md` for the
|
|
65
|
+
* convergence analysis. Non-list focus zones — e.g. Composer's multi-pane chrome — keep
|
|
66
|
+
* their own Tabster wiring (`Focus.Group`).
|
|
65
67
|
*/
|
|
66
68
|
export declare const useListNavigation: ({ mode, axis, memorizeCurrent, }: UseListNavigationOptions) => UseListNavigationReturn;
|
|
67
69
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListNavigation.d.ts","sourceRoot":"","sources":["../../../../src/aspects/useListNavigation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,mBAAmB,EAA2B,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAE7D,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;;;;OAQG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,aAAa,GAAG,MAAM,CAAC;I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AE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK;QAC5C,MAAM,EAAE,QAAQ,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,CAAC,EAAE,IAAI,CAAC;KACxB,CAAC;CACH,CAAC;AAgCF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,qCAI3B,wBAAwB,KAAG,uBAqD7B,CAAC"}
|
|
@@ -21,8 +21,8 @@ export type SelectionItemBinding = {
|
|
|
21
21
|
/** Spread onto the row element to bind click + focus + ARIA. */
|
|
22
22
|
rowProps: {
|
|
23
23
|
'aria-selected': boolean;
|
|
24
|
-
onClick: (event: MouseEvent) => void;
|
|
25
|
-
onFocus?: (event: FocusEvent) => void;
|
|
24
|
+
'onClick': (event: MouseEvent) => void;
|
|
25
|
+
'onFocus'?: (event: FocusEvent) => void;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export type UseListSelectionReturn = {
|
|
@@ -35,7 +35,7 @@ export type UseListSelectionReturn = {
|
|
|
35
35
|
* controllable value semantics; emits `aria-selected` + click/focus handlers per row.
|
|
36
36
|
*
|
|
37
37
|
* `single` mode: at most one selected id, selection follows focus by default. Matches the
|
|
38
|
-
*
|
|
38
|
+
* `Listbox` behaviour and the WAI-ARIA listbox single-select pattern.
|
|
39
39
|
*
|
|
40
40
|
* `multi` mode: tracks a `Set<string>`. Selection does NOT follow focus by default — multi
|
|
41
41
|
* select usually pairs with an explicit toggle affordance (checkbox or keyboard Space) rather
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListSelection.d.ts","sourceRoot":"","sources":["../../../../src/aspects/useListSelection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAA4C,MAAM,OAAO,CAAC;AAEnG,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnD,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,CA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C,CAAC;IACR,uEAAuE;IACvE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpB,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC3B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gEAAgE;IAChE,QAAQ,EAAE;QACR,eAAe,EAAE,OAAO,CAAC;QACzB,SAAS,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QACvC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACzC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,oBAAoB,CAAC;CAC3E,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE;IAC7B,CAAC,CAAC,SAAS,iBAAiB,EAAE,IAAI,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC;CA0GzF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const Accordion: {
|
|
2
2
|
Root: <T extends unknown>({ classNames, items, getId, children, value, defaultValue, onValueChange, }: import("./AccordionRoot").AccordionRootProps<T> & Pick<import("@radix-ui/react-accordion").AccordionMultipleProps, 'value' | 'defaultValue' | 'onValueChange'>) => import("react").JSX.Element;
|
|
3
3
|
Item: <T extends unknown>({ children, classNames, item }: import("./AccordionItem").AccordionItemProps<T>) => import("react").JSX.Element;
|
|
4
|
-
ItemHeader: ({ classNames, children, icon, ...props }: import("./AccordionItem").AccordionItemHeaderProps) => import("react").JSX.Element;
|
|
4
|
+
ItemHeader: ({ classNames, children, icon, hover, ...props }: import("./AccordionItem").AccordionItemHeaderProps) => import("react").JSX.Element;
|
|
5
5
|
ItemBody: ({ children, classNames }: import("./AccordionItem").AccordionItemBodyProps) => import("react").JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -14,8 +14,10 @@ export type AccordionItemProps<T extends ListItemRecord> = ThemedClassName<Props
|
|
|
14
14
|
export declare const AccordionItem: <T extends ListItemRecord>({ children, classNames, item }: AccordionItemProps<T>) => React.JSX.Element;
|
|
15
15
|
export type AccordionItemHeaderProps = ThemedClassName<AccordionPrimitive.AccordionHeaderProps & {
|
|
16
16
|
icon?: string;
|
|
17
|
+
/** Apply `dx-hover` row styling on the trigger (off by default; mirrors `Listbox.Item`). */
|
|
18
|
+
hover?: boolean;
|
|
17
19
|
}>;
|
|
18
|
-
export declare const AccordionItemHeader: ({ classNames, children, icon, ...props }: AccordionItemHeaderProps) => React.JSX.Element;
|
|
20
|
+
export declare const AccordionItemHeader: ({ classNames, children, icon, hover, ...props }: AccordionItemHeaderProps) => React.JSX.Element;
|
|
19
21
|
export type AccordionItemBodyProps = ThemedClassName<PropsWithChildren>;
|
|
20
22
|
export declare const AccordionItemBody: ({ children, classNames }: AccordionItemBodyProps) => React.JSX.Element;
|
|
21
23
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAQ,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAQ,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAM5D,KAAK,cAAc,GAAG,GAAG,CAAC;AAO1B,KAAK,oBAAoB,CAAC,CAAC,SAAS,cAAc,IAAI;IACpD,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAIF,eAAO,MAAO,qBAAqB;;IAAE,yBAAyB,qDACC,CAAC;AAEhE,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI,eAAe,CAAC,iBAAiB,CAAC;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,CAAC;AAE3G,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,cAAc,kCAAkC,kBAAkB,CAAC,CAAC,CAAC,sBAU5G,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,eAAe,CACpD,kBAAkB,CAAC,oBAAoB,GAAG;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4FAA4F;IAC5F,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CACF,CAAC;AAEF,eAAO,MAAM,mBAAmB,oDAAqD,wBAAwB,sBAyB5G,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,6BAA8B,sBAAsB,sBAMjF,CAAC"}
|
|
@@ -16,7 +16,10 @@ type ComboboxRootProps = PropsWithChildren<Partial<ComboboxContextValue & {
|
|
|
16
16
|
defaultValue: string;
|
|
17
17
|
placeholder: string;
|
|
18
18
|
}>>;
|
|
19
|
-
type ComboboxContentProps = PopoverContentProps
|
|
19
|
+
type ComboboxContentProps = PopoverContentProps & {
|
|
20
|
+
/** Snap the highlight to the first item whenever the list changes (type-to-filter lists). */
|
|
21
|
+
resetSelectionOnChange?: boolean;
|
|
22
|
+
};
|
|
20
23
|
type ComboboxTriggerProps = ButtonProps;
|
|
21
24
|
type ComboboxVirtualTriggerProps = PopoverVirtualTriggerProps;
|
|
22
25
|
type ComboboxInputProps = ThemedClassName<Omit<ComponentPropsWithRef<'input'>, 'value'> & Pick<PickerInputProps, 'value' | 'onValueChange'>>;
|
|
@@ -28,6 +31,8 @@ type ComboboxItemProps = ThemedClassName<PropsWithChildren<{
|
|
|
28
31
|
value: string;
|
|
29
32
|
/** Display label (used when `children` are not provided). */
|
|
30
33
|
label?: string;
|
|
34
|
+
/** Optional secondary line shown beneath the label (muted, smaller). */
|
|
35
|
+
description?: string;
|
|
31
36
|
/** Optional icon id (Phosphor) shown before the label. */
|
|
32
37
|
icon?: string;
|
|
33
38
|
/** Additional class names for the icon. */
|
|
@@ -54,7 +59,7 @@ export declare const Combobox: {
|
|
|
54
59
|
}): React.JSX.Element;
|
|
55
60
|
displayName: string;
|
|
56
61
|
};
|
|
57
|
-
Content: React.ForwardRefExoticComponent<Omit<
|
|
62
|
+
Content: React.ForwardRefExoticComponent<Omit<ComboboxContentProps, "className"> & {
|
|
58
63
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
59
64
|
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
60
65
|
Trigger: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -75,6 +80,8 @@ export declare const Combobox: {
|
|
|
75
80
|
value: string;
|
|
76
81
|
/** Display label (used when `children` are not provided). */
|
|
77
82
|
label?: string;
|
|
83
|
+
/** Optional secondary line shown beneath the label (muted, smaller). */
|
|
84
|
+
description?: string;
|
|
78
85
|
/** Optional icon id (Phosphor) shown before the label. */
|
|
79
86
|
icon?: string;
|
|
80
87
|
/** Additional class names for the icon. */
|
|
@@ -101,5 +108,5 @@ export declare const Combobox: {
|
|
|
101
108
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
102
109
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
103
110
|
};
|
|
104
|
-
export type {
|
|
111
|
+
export type { ComboboxArrowProps, ComboboxContentProps, ComboboxEmptyProps, ComboboxInputProps, ComboboxItemProps, ComboboxListProps, ComboboxPortalProps, ComboboxRootProps, ComboboxTriggerProps, ComboboxVirtualTriggerProps, };
|
|
105
112
|
//# sourceMappingURL=Combobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,SAAS,EACd,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAE/B,KAAK,eAAe,EAErB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,SAAS,EACd,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAE/B,KAAK,eAAe,EAErB,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAU,KAAK,gBAAgB,EAAwB,MAAM,WAAW,CAAC;AAahF,K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B,GAC5B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Edge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/** Props for {@link DropIndicator}. */
|
|
4
|
+
export type DropIndicatorProps = {
|
|
5
|
+
edge: Edge;
|
|
6
|
+
gap?: number;
|
|
7
|
+
terminalInset?: number;
|
|
8
|
+
lineInset?: number;
|
|
9
|
+
};
|
|
10
|
+
/** Themed box-edge drop indicator (line + circular terminal) for pragmatic-dnd reorder. */
|
|
11
|
+
export declare const DropIndicator: ({ edge, gap, lineInset, terminalInset, }: DropIndicatorProps) => React.JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DropIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/DropIndicator/DropIndicator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,KAAkD,MAAM,OAAO,CAAC;AAmCvE,uCAAuC;AACvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,2FAA2F;AAC3F,eAAO,MAAM,aAAa,6CAKvB,kBAAkB,sBAmBpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DropIndicator/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type ComposableProps } from '@dxos/ui-types';
|
|
3
|
+
export type EmptyProps = ComposableProps<{
|
|
4
|
+
/** Message to show; caller is responsible for translating it. Falls back to a generic message when omitted. */
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
/** Optional Phosphor icon name shown above the message. */
|
|
7
|
+
icon?: string;
|
|
8
|
+
}>;
|
|
9
|
+
/**
|
|
10
|
+
* Empty-state placeholder for a list/collection: a subdued, centered message shown in place of the list
|
|
11
|
+
* when there are no items. Pass a domain-specific {@link EmptyProps.label} (already translated); when none is
|
|
12
|
+
* given it falls back to a generic "No items" message from the shared `os` translation namespace.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Empty: React.ForwardRefExoticComponent<Omit<EmptyProps, "className"> & {
|
|
15
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
16
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
//# sourceMappingURL=Empty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../../src/components/Empty/Empty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC;IACvC,+GAA+G;IAC/G,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,KAAK;;2HAgBhB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { type EmptyProps } from './Empty';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<Omit<EmptyProps, "className"> & {
|
|
6
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
7
|
+
} & Pick<import("react").HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
decorators: import("@storybook/react").Decorator[];
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<EmptyProps>;
|
|
12
|
+
/** No label — falls back to the generic message. */
|
|
13
|
+
export declare const Fallback: Story;
|
|
14
|
+
/** Caller-supplied (already-translated) label. */
|
|
15
|
+
export declare const WithLabel: Story;
|
|
16
|
+
/** Label plus a leading icon. */
|
|
17
|
+
export declare const WithIcon: Story;
|
|
18
|
+
//# sourceMappingURL=Empty.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Empty.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Empty/Empty.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAEjD,QAAA,MAAM,IAAI;;;;;;CAIoB,CAAC;eAEhB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAElC,oDAAoD;AACpD,eAAO,MAAM,QAAQ,EAAE,KAAU,CAAC;AAElC,kDAAkD;AAClD,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,iCAAiC;AACjC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Empty/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|