@dxos/react-ui 0.3.10-next.ef70620 → 0.3.10

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 (32) hide show
  1. package/dist/lib/browser/index.mjs.map +1 -1
  2. package/dist/lib/browser/meta.json +1 -1
  3. package/dist/types/src/playground/Typography.stories.d.ts +16 -0
  4. package/dist/types/src/playground/Typography.stories.d.ts.map +1 -0
  5. package/package.json +6 -6
  6. package/src/components/Avatars/Avatar.stories.tsx +1 -1
  7. package/src/components/Avatars/AvatarGroup.stories.tsx +1 -1
  8. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +1 -1
  9. package/src/components/Buttons/Button.stories.tsx +1 -1
  10. package/src/components/Buttons/Toggle.stories.tsx +1 -1
  11. package/src/components/Buttons/ToggleGroup.stories.tsx +1 -1
  12. package/src/components/Dialogs/AlertDialog.stories.tsx +1 -1
  13. package/src/components/Dialogs/Dialog.stories.tsx +1 -1
  14. package/src/components/DropdownMenu/DropdownMenu.stories.tsx +1 -1
  15. package/src/components/Input/Input.stories.tsx +1 -1
  16. package/src/components/Link/Link.stories.tsx +1 -1
  17. package/src/components/Lists/List.stories.tsx +1 -1
  18. package/src/components/Lists/Tree.stories.tsx +1 -1
  19. package/src/components/Main/Main.stories.tsx +1 -1
  20. package/src/components/Message/Message.stories.tsx +1 -1
  21. package/src/components/Popover/Popover.stories.tsx +1 -1
  22. package/src/components/ScrollArea/ScrollArea.stories.tsx +1 -1
  23. package/src/components/Select/Select.stories.tsx +1 -1
  24. package/src/components/Status/Status.stories.tsx +1 -1
  25. package/src/components/Tag/Tag.stories.tsx +1 -1
  26. package/src/components/ThemeProvider/ThemeProvider.tsx +1 -1
  27. package/src/components/Toast/Toast.stories.tsx +1 -1
  28. package/src/components/Toolbar/Toolbar.stories.tsx +1 -1
  29. package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
  30. package/src/playground/Controls.stories.tsx +1 -1
  31. package/src/playground/Surfaces.stories.tsx +1 -1
  32. package/src/playground/Typography.stories.tsx +55 -0
@@ -83,7 +83,7 @@ const Story = () => {
83
83
  };
84
84
 
85
85
  export default {
86
- title: 'DXOS UI/Scenarios/Controls',
86
+ title: 'react-ui/Scenarios/Controls',
87
87
  component: Story,
88
88
  decorators: [withTheme],
89
89
  parameters: { chromatic: { disableSnapshot: false } },
@@ -58,7 +58,7 @@ const SurfacesStory = () => {
58
58
  };
59
59
 
60
60
  export default {
61
- title: 'DXOS UI/Scenarios/Surfaces',
61
+ title: 'react-ui/Scenarios/Surfaces',
62
62
  component: SurfacesStory,
63
63
  decorators: [withTheme],
64
64
  parameters: { chromatic: { disableSnapshot: false } },
@@ -0,0 +1,55 @@
1
+ //
2
+ // Copyright 2023 DXOS.org
3
+ //
4
+
5
+ import '@dxosTheme';
6
+
7
+ import React from 'react';
8
+
9
+ import { withTheme } from '../testing';
10
+
11
+ const TypographyStory = () => {
12
+ return (
13
+ <div className='mli-auto p-8 max-is-[60rem] space-b-4'>
14
+ <h1 className='text-4xl font-medium'>
15
+ Việc <span className='italic'>thừa</span> nhận{' '}
16
+ <span className='font-mono bg-neutral-500/10'>
17
+ nhân <span className='italic'>phẩm ~~&gt;</span> vốn
18
+ </span>{' '}
19
+ có, các quyền
20
+ </h1>
21
+ <p>
22
+ Không ai bị bắt, giam giữ hay đày đi nơi khác một cách độc đoán. Mọi người, với tư cách bình đẳng về mọi phương
23
+ diện, đều có quyền được một toà án độc lập và vô tư phân xử công bằng và công khai để xác định quyền, nghĩa vụ
24
+ hoặc bất cứ một lời buộc tội nào đối với người đó.
25
+ </p>
26
+ <h2 className='text-xl font-semibold'>
27
+ Mọi <span className='font-mono'>Mọi</span> người đều có quyền nghỉ ngơi và giải trí, kể cả quyền được hạn chế
28
+ hợp lý về số giờ làm việc và hưởng những ngày nghỉ định kỳ được trả lương.
29
+ </h2>
30
+ <p className='font-mono bg-neutral-500/10'>
31
+ Mọi người đều có quyền được hưởng trật tự xã hội và trật tự quốc tế trong đó các quyền và tự do nêu trong Bản
32
+ tuyên ngôn này có thể được thực hiện đầy đủ.
33
+ </p>
34
+ <p className='italic'>
35
+ Không được phép diễn giải bất kỳ điều khoản nào trong Bản tuyên ngôn này theo hướng ngầm ý cho phép bất kỳ quốc
36
+ gia,{' '}
37
+ <span className='not-italic'>
38
+ nhóm người hay cá nhân nào được quyền tham gia vào bất kỳ hoạt động nào hay thực hiện bất kỳ hành vi nào nhằm
39
+ phá hoại bất kỳ quyền và tự do nào nêu trong Bản tuyên ngôn này.
40
+ </span>
41
+ </p>
42
+ </div>
43
+ );
44
+ };
45
+
46
+ export default {
47
+ title: 'DXOS UI/Scenarios/Typography',
48
+ component: TypographyStory,
49
+ decorators: [withTheme],
50
+ parameters: { chromatic: { disableSnapshot: false } },
51
+ };
52
+
53
+ export const Default = {
54
+ args: {},
55
+ };