@dxos/react-ui 0.3.11-main.fbbdc2a → 0.3.11-main.fc97a54

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.
Files changed (55) hide show
  1. package/dist/lib/browser/index.mjs +34 -22
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/types/src/components/Avatars/Avatar.d.ts +3 -3
  5. package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
  6. package/dist/types/src/components/Input/Input.stories.d.ts +1 -1
  7. package/dist/types/src/components/List/List.d.ts.map +1 -0
  8. package/dist/types/src/components/{Lists → List}/List.stories.d.ts +3 -1
  9. package/dist/types/src/components/List/List.stories.d.ts.map +1 -0
  10. package/dist/types/src/components/List/Tree.d.ts.map +1 -0
  11. package/dist/types/src/components/List/Tree.stories.d.ts.map +1 -0
  12. package/dist/types/src/components/List/index.d.ts.map +1 -0
  13. package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
  14. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  15. package/dist/types/src/components/Select/Select.d.ts.map +1 -1
  16. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  17. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +108 -1
  18. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  19. package/dist/types/src/components/ThemeProvider/index.d.ts +1 -0
  20. package/dist/types/src/components/ThemeProvider/index.d.ts.map +1 -1
  21. package/dist/types/src/components/index.d.ts +1 -1
  22. package/dist/types/src/components/index.d.ts.map +1 -1
  23. package/dist/types/src/hooks/useTranslationsContext.d.ts +1 -0
  24. package/dist/types/src/hooks/useTranslationsContext.d.ts.map +1 -1
  25. package/dist/types/src/index.d.ts +1 -1
  26. package/dist/types/src/index.d.ts.map +1 -1
  27. package/package.json +12 -9
  28. package/src/components/Avatars/Avatar.tsx +2 -1
  29. package/src/components/Buttons/Button.stories.tsx +2 -2
  30. package/src/components/Input/Input.stories.tsx +2 -2
  31. package/src/components/{Lists → List}/List.stories.tsx +50 -2
  32. package/src/components/Popover/Popover.stories.tsx +2 -1
  33. package/src/components/ScrollArea/ScrollArea.stories.tsx +1 -1
  34. package/src/components/Select/Select.stories.tsx +1 -1
  35. package/src/components/Select/Select.tsx +14 -12
  36. package/src/components/ThemeProvider/ThemeProvider.tsx +1 -0
  37. package/src/components/ThemeProvider/TranslationsProvider.tsx +22 -4
  38. package/src/components/ThemeProvider/index.ts +1 -0
  39. package/src/components/index.ts +1 -1
  40. package/src/index.ts +1 -1
  41. package/src/playground/Surfaces.stories.tsx +9 -9
  42. package/src/playground/Typography.stories.tsx +1 -1
  43. package/dist/types/src/components/Lists/List.d.ts.map +0 -1
  44. package/dist/types/src/components/Lists/List.stories.d.ts.map +0 -1
  45. package/dist/types/src/components/Lists/Tree.d.ts.map +0 -1
  46. package/dist/types/src/components/Lists/Tree.stories.d.ts.map +0 -1
  47. package/dist/types/src/components/Lists/index.d.ts.map +0 -1
  48. package/dist/types/src/components/{Lists → List}/List.d.ts +0 -0
  49. package/dist/types/src/components/{Lists → List}/Tree.d.ts +0 -0
  50. package/dist/types/src/components/{Lists → List}/Tree.stories.d.ts +0 -0
  51. package/dist/types/src/components/{Lists → List}/index.d.ts +0 -0
  52. package/src/components/{Lists → List}/List.tsx +0 -0
  53. package/src/components/{Lists → List}/Tree.stories.tsx +0 -0
  54. package/src/components/{Lists → List}/Tree.tsx +1 -1
  55. /package/src/components/{Lists → List}/index.ts +0 -0
@@ -44,7 +44,7 @@ const TypographyStory = () => {
44
44
  };
45
45
 
46
46
  export default {
47
- title: 'DXOS UI/Scenarios/Typography',
47
+ title: 'react-ui/Scenarios/Typography',
48
48
  component: TypographyStory,
49
49
  decorators: [withTheme],
50
50
  parameters: { chromatic: { disableSnapshot: false } },
@@ -1 +0,0 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["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C,CAAC;IACjE,kBAAkB,EAAE,yBAAyB,CAAC,+BAA+B,CAAC,CAAC;IAC/E,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAQzF,CAAC;AAEF,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,kBAAkB,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;AAE/E,YAAY,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,+BAA+B,GAChC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/List.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAMpB,OAAO,KAA4C,MAAM,OAAO,CAAC;AAIjE,OAAO,EAAkB,KAAK,SAAS,EAAwB,MAAM,QAAQ,CAAC;;;;;;;;;;;AAG9E,wBAKE;AAuBF,eAAO,MAAM,oBAAoB;;;;;CAgChC,CAAC;AA+BF,eAAO,MAAM,kBAAkB;;;;;CA8C9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;CA+BvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,EAAE,EAAc,KAAK,yBAAyB,EAAE,MAAM,OAAO,CAAC;AAElH,OAAO,EAIL,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAGf,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,KAAK,aAAa,GAAG,SAAS,CAAC;AAE/B,KAAK,aAAa,GAAG,iBAAiB,CAAC;AAwBvC,KAAK,oBAAoB,GAAG,oBAAoB,CAAC;AAIjD,KAAK,wBAAwB,GAAG,wBAAwB,CAAC;AAMzD,KAAK,iBAAiB,GAAG,+BAA+B,CAAC;AAIzD,eAAO,MAAM,IAAI;;;CAAyC,CAAC;AAC3D,eAAO,MAAM,QAAQ,EAAE;IACrB,IAAI,EAAE,yBAAyB,CAAC,aAAa,CAAC,CAAC;IAC/C,OAAO,EAAE,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;IACzD,IAAI,EAAE,yBAAyB,CAAC,iBAAiB,CAAC,CAAC;IACnD,WAAW,EAAE,yBAAyB,CAAC,wBAAwB,CAAC,CAAC;IACjE,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAOzF,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAOpB,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;;;;;;;;;;;AA4CF,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Lists/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
File without changes
File without changes
@@ -6,7 +6,6 @@ import React, { type ComponentPropsWithoutRef, type FC, forwardRef, type Forward
6
6
 
7
7
  import {
8
8
  List,
9
- LIST_ITEM_NAME,
10
9
  ListItem,
11
10
  type ListItemCollapsibleContentProps,
12
11
  type ListItemHeadingProps,
@@ -14,6 +13,7 @@ import {
14
13
  type ListItemRootProps,
15
14
  type ListProps,
16
15
  type ListScopedProps,
16
+ LIST_ITEM_NAME,
17
17
  useListItemContext,
18
18
  } from './List';
19
19
  import { type ThemedClassName } from '../../util';
File without changes