@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.
- package/dist/lib/browser/index.mjs.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/playground/Typography.stories.d.ts +16 -0
- package/dist/types/src/playground/Typography.stories.d.ts.map +1 -0
- package/package.json +6 -6
- package/src/components/Avatars/Avatar.stories.tsx +1 -1
- package/src/components/Avatars/AvatarGroup.stories.tsx +1 -1
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +1 -1
- package/src/components/Buttons/Button.stories.tsx +1 -1
- package/src/components/Buttons/Toggle.stories.tsx +1 -1
- package/src/components/Buttons/ToggleGroup.stories.tsx +1 -1
- package/src/components/Dialogs/AlertDialog.stories.tsx +1 -1
- package/src/components/Dialogs/Dialog.stories.tsx +1 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +1 -1
- package/src/components/Input/Input.stories.tsx +1 -1
- package/src/components/Link/Link.stories.tsx +1 -1
- package/src/components/Lists/List.stories.tsx +1 -1
- package/src/components/Lists/Tree.stories.tsx +1 -1
- package/src/components/Main/Main.stories.tsx +1 -1
- package/src/components/Message/Message.stories.tsx +1 -1
- package/src/components/Popover/Popover.stories.tsx +1 -1
- package/src/components/ScrollArea/ScrollArea.stories.tsx +1 -1
- package/src/components/Select/Select.stories.tsx +1 -1
- package/src/components/Status/Status.stories.tsx +1 -1
- package/src/components/Tag/Tag.stories.tsx +1 -1
- package/src/components/ThemeProvider/ThemeProvider.tsx +1 -1
- package/src/components/Toast/Toast.stories.tsx +1 -1
- package/src/components/Toolbar/Toolbar.stories.tsx +1 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/playground/Controls.stories.tsx +1 -1
- package/src/playground/Surfaces.stories.tsx +1 -1
- package/src/playground/Typography.stories.tsx +55 -0
|
@@ -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 ~~></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
|
+
};
|