@ceed/ads 1.13.4 → 1.15.0-next.2
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/Overview.md +11 -0
- package/dist/components/Menu/Menu.d.ts +2 -5
- package/dist/components/Stepper/Stepper.d.ts +6 -0
- package/dist/components/data-display/Avatar.md +428 -0
- package/dist/components/data-display/Badge.md +315 -0
- package/dist/components/data-display/Chip.md +301 -0
- package/dist/components/data-display/DataTable.md +452 -0
- package/dist/components/data-display/InfoSign.md +160 -0
- package/dist/components/data-display/Markdown.md +17 -0
- package/dist/components/data-display/Table.md +1330 -0
- package/dist/components/data-display/Tooltip.md +444 -0
- package/dist/components/data-display/Typography.md +271 -0
- package/dist/components/data-display/llms.txt +17 -0
- package/dist/components/feedback/Alert.md +663 -0
- package/dist/components/feedback/Dialog.md +33 -0
- package/dist/components/feedback/Modal.md +39 -0
- package/dist/components/feedback/llms.txt +11 -0
- package/dist/components/inputs/Autocomplete.md +103 -0
- package/dist/components/inputs/Button.md +334 -0
- package/dist/components/inputs/ButtonGroup.md +382 -0
- package/dist/components/inputs/Calendar.md +19 -0
- package/dist/components/inputs/Checkbox.md +649 -0
- package/dist/components/inputs/CurrencyInput.md +91 -0
- package/dist/components/inputs/DatePicker.md +67 -0
- package/dist/components/inputs/DateRangePicker.md +55 -0
- package/dist/components/inputs/FilterMenu.md +210 -0
- package/dist/components/inputs/IconButton.md +361 -0
- package/dist/components/inputs/Input.md +283 -0
- package/dist/components/inputs/MonthPicker.md +72 -0
- package/dist/components/inputs/MonthRangePicker.md +70 -0
- package/dist/components/inputs/PercentageInput.md +116 -0
- package/dist/components/inputs/RadioButton.md +350 -0
- package/dist/components/inputs/RadioTileGroup.md +418 -0
- package/dist/components/inputs/Select.md +56 -0
- package/dist/components/inputs/Switch.md +577 -0
- package/dist/components/inputs/Textarea.md +64 -0
- package/dist/components/inputs/Uploader/Uploader.md +238 -0
- package/dist/components/inputs/Uploader/llms.txt +9 -0
- package/dist/components/inputs/llms.txt +31 -0
- package/dist/components/layout/Box.md +997 -0
- package/dist/components/layout/Container.md +23 -0
- package/dist/components/layout/Grid.md +728 -0
- package/dist/components/layout/Stack.md +937 -0
- package/dist/components/layout/llms.txt +12 -0
- package/dist/components/llms.txt +14 -0
- package/dist/components/navigation/Breadcrumbs.md +51 -0
- package/dist/components/navigation/Dropdown.md +768 -0
- package/dist/components/navigation/IconMenuButton.md +35 -0
- package/dist/components/navigation/InsetDrawer.md +133 -0
- package/dist/components/navigation/Link.md +24 -0
- package/dist/components/navigation/Menu.md +957 -0
- package/dist/components/navigation/MenuButton.md +39 -0
- package/dist/components/navigation/NavigationGroup.md +17 -0
- package/dist/components/navigation/NavigationItem.md +17 -0
- package/dist/components/navigation/Navigator.md +17 -0
- package/dist/components/navigation/Pagination.md +17 -0
- package/dist/components/navigation/ProfileMenu.md +34 -0
- package/dist/components/navigation/Stepper.md +108 -0
- package/dist/components/navigation/Tabs.md +34 -0
- package/dist/components/navigation/llms.txt +22 -0
- package/dist/components/surfaces/Accordions.md +96 -0
- package/dist/components/surfaces/Card.md +786 -0
- package/dist/components/surfaces/Divider.md +762 -0
- package/dist/components/surfaces/Sheet.md +900 -0
- package/dist/components/surfaces/llms.txt +12 -0
- package/dist/index.cjs +22 -10
- package/dist/index.js +22 -10
- package/dist/llms.txt +75 -0
- package/framer/index.js +36 -36
- package/package.json +8 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# MenuButton
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
<MenuButton
|
|
7
|
+
buttonText="Dashboard..."
|
|
8
|
+
items={[{
|
|
9
|
+
text: 'Profile'
|
|
10
|
+
}, {
|
|
11
|
+
text: 'My account'
|
|
12
|
+
}, {
|
|
13
|
+
text: 'Logout'
|
|
14
|
+
}]}
|
|
15
|
+
showIcon
|
|
16
|
+
variant="solid"
|
|
17
|
+
color="primary"
|
|
18
|
+
/>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
| Field | Description | Default |
|
|
22
|
+
| -------------------- | ----------- | --------------------------------------------------------------------- |
|
|
23
|
+
| buttonText | — | "Dashboard..." |
|
|
24
|
+
| buttonComponent | — | — |
|
|
25
|
+
| buttonComponentProps | — | — |
|
|
26
|
+
| items | — | \[\{ text: 'Profile' }, \{ text: 'My account' }, \{ text: 'Logout' }] |
|
|
27
|
+
| showIcon | — | true |
|
|
28
|
+
| startDecorator | — | — |
|
|
29
|
+
| endDecorator | — | — |
|
|
30
|
+
| placement | — | — |
|
|
31
|
+
| variant | — | "solid" |
|
|
32
|
+
| color | — | "primary" |
|
|
33
|
+
| size | — | — |
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
```tsx
|
|
38
|
+
import { MenuButton } from '@ceed/ads';
|
|
39
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# NavigationGroup
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
// Unable to derive source for Default
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ---------------------------- | ----------- | ------- |
|
|
11
|
+
| Controls resolved at runtime | — | — |
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { NavigationGroup } from '@ceed/ads';
|
|
17
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# NavigationItem
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
// Unable to derive source for Default
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ---------------------------- | ----------- | ------- |
|
|
11
|
+
| Controls resolved at runtime | — | — |
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { NavigationItem } from '@ceed/ads';
|
|
17
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Navigator
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
// Unable to derive source for Playground
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ---------------------------- | ----------- | ------- |
|
|
11
|
+
| Controls resolved at runtime | — | — |
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { Navigator } from '@ceed/ads';
|
|
17
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Pagination
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
// Unable to derive source for Playground
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ---------------------------- | ----------- | ------- |
|
|
11
|
+
| Controls resolved at runtime | — | — |
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { Pagination } from '@ceed/ads';
|
|
17
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# ProfileMenu
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
<ProfileMenu
|
|
7
|
+
open
|
|
8
|
+
profile={{
|
|
9
|
+
name: 'John Gordon',
|
|
10
|
+
chip: 'PDT',
|
|
11
|
+
caption: 'j.gordon@haulla.com'
|
|
12
|
+
}}
|
|
13
|
+
menuItems={[{
|
|
14
|
+
label: 'Menu Item1',
|
|
15
|
+
onClick: fn()
|
|
16
|
+
}, {
|
|
17
|
+
label: 'Menu Item2',
|
|
18
|
+
onClick: fn()
|
|
19
|
+
}, {
|
|
20
|
+
label: 'Menu Item3',
|
|
21
|
+
onClick: fn()
|
|
22
|
+
}]}
|
|
23
|
+
/>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
| Field | Description | Default |
|
|
27
|
+
| ---------------------------- | ----------- | ------- |
|
|
28
|
+
| Controls resolved at runtime | — | — |
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
import { ProfileMenu } from '@ceed/ads';
|
|
34
|
+
```
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Stepper
|
|
2
|
+
|
|
3
|
+
Stepper 컴포넌트는 여러 단계로 구성된 프로세스를 시각적으로 보여주는 컴포넌트입니다. 사용자가 현재 어느 단계에 있는지 표시하고, 완료된 단계와 남은 단계를 쉽게 확인할 수 있습니다.
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
// Unable to derive source for Default
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ---------------------------- | ----------- | ------- |
|
|
11
|
+
| Controls resolved at runtime | — | — |
|
|
12
|
+
|
|
13
|
+
## 사용법
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { Stepper } from '@ceed/ads';
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## 기본형
|
|
20
|
+
|
|
21
|
+
Stepper의 기본 형태입니다. 필수 속성 값으로 `steps`와 `activeStep`을 받으며, 각 단계는 `indicatorContent`, `label`, `extraContent`를 포함할 수 있습니다.
|
|
22
|
+
|
|
23
|
+
```text
|
|
24
|
+
// Unable to derive source for Default
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 인디케이터만 사용
|
|
28
|
+
|
|
29
|
+
`label`과 `extraContent` 없이 인디케이터만 표시할 수도 있습니다.
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
// Unable to derive source for OnlyIndicator
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 방향 설정
|
|
36
|
+
|
|
37
|
+
### 수평 방향 (Horizontal)
|
|
38
|
+
|
|
39
|
+
`orientation` 속성을 'horizontal'로 설정하면 Stepper가 수평 방향으로 표시됩니다.
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
// Unable to derive source for HorizontalOrientation
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 수직 방향 (Vertical)
|
|
46
|
+
|
|
47
|
+
`orientation` 속성을 'vertical'로 설정하면 Stepper가 수직 방향으로 표시됩니다. 이것이 기본 설정입니다.
|
|
48
|
+
|
|
49
|
+
```text
|
|
50
|
+
// Unable to derive source for VerticalOrientation
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 단계 방향 설정
|
|
54
|
+
|
|
55
|
+
### 수평 단계 방향 (Horizontal Step Orientation)
|
|
56
|
+
|
|
57
|
+
`stepOrientation` 속성을 'horizontal'로 설정하면 각 단계의 내용이 인디케이터 옆에 수평으로 배치됩니다. 이것이 기본 설정입니다.
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
// Unable to derive source for HorizontalStepOrientation
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 수직 단계 방향 (Vertical Step Orientation)
|
|
64
|
+
|
|
65
|
+
`stepOrientation` 속성을 'vertical'로 설정하면 각 단계의 내용이 인디케이터 아래에 수직으로 배치됩니다.
|
|
66
|
+
**주의**: `orientation`이 'vertical'로 설정된 경우, `stepOrientation`은 항상 'horizontal'로 강제 설정됩니다.
|
|
67
|
+
|
|
68
|
+
`orientation`이 'horizontal'이고 `stepOrientation`이 'vertical'인 경우, 단계 내용이 자동으로 중앙 정렬됩니다.
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
// Unable to derive source for VerticalStepOrientation
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## 색상 커스터마이징
|
|
75
|
+
|
|
76
|
+
### 활성 색상 설정
|
|
77
|
+
|
|
78
|
+
`activeColor`와 `activeLineColor` 속성을 사용하여 활성 상태와 완료된 상태의 색상을 변경할 수 있습니다.
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
// Unable to derive source for WithActiveColor
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### 비활성 색상 설정
|
|
85
|
+
|
|
86
|
+
`inactiveColor`와 `inactiveLineColor` 속성을 사용하여 비활성 상태의 색상을 변경할 수 있습니다.
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
// Unable to derive source for WithInactiveColor
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## 단계 상태
|
|
93
|
+
|
|
94
|
+
### 모든 단계 완료
|
|
95
|
+
|
|
96
|
+
`activeStep` 값이 단계 수보다 크면 모든 단계가 완료된 것으로 표시됩니다.
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
// Unable to derive source for WithAllComplete
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 모든 단계 비활성
|
|
103
|
+
|
|
104
|
+
`activeStep` 값이 0이면 모든 단계가 비활성 상태로 표시됩니다.
|
|
105
|
+
|
|
106
|
+
```text
|
|
107
|
+
// Unable to derive source for WithAllInactive
|
|
108
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Tabs
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
<Tabs {...args}>
|
|
7
|
+
<TabList>
|
|
8
|
+
<Tab color={color} variant={variant}>
|
|
9
|
+
Tab1
|
|
10
|
+
</Tab>
|
|
11
|
+
<Tab color={color} variant={variant}>
|
|
12
|
+
Tab2
|
|
13
|
+
</Tab>
|
|
14
|
+
<Tab color={color} variant={variant}>
|
|
15
|
+
Tab3
|
|
16
|
+
</Tab>
|
|
17
|
+
</TabList>
|
|
18
|
+
<TabPanel value={0}>Tab list1</TabPanel>
|
|
19
|
+
<TabPanel value={1}>Tab list2</TabPanel>
|
|
20
|
+
<TabPanel value={2}>Tab list3</TabPanel>
|
|
21
|
+
</Tabs>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
| Field | Description | Default |
|
|
25
|
+
| ------- | ----------- | --------- |
|
|
26
|
+
| color | — | "primary" |
|
|
27
|
+
| size | — | "md" |
|
|
28
|
+
| variant | — | "plain" |
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
import { Tabs } from '@ceed/ads';
|
|
34
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# navigation
|
|
2
|
+
|
|
3
|
+
## Documentation
|
|
4
|
+
|
|
5
|
+
- [Breadcrumbs](./Breadcrumbs.md)
|
|
6
|
+
- [Dropdown](./Dropdown.md)
|
|
7
|
+
- [IconMenuButton](./IconMenuButton.md)
|
|
8
|
+
- [InsetDrawer](./InsetDrawer.md)
|
|
9
|
+
- [Link](./Link.md)
|
|
10
|
+
- [Menu](./Menu.md)
|
|
11
|
+
- [MenuButton](./MenuButton.md)
|
|
12
|
+
- [NavigationGroup](./NavigationGroup.md)
|
|
13
|
+
- [NavigationItem](./NavigationItem.md)
|
|
14
|
+
- [Navigator](./Navigator.md)
|
|
15
|
+
- [Pagination](./Pagination.md)
|
|
16
|
+
- [ProfileMenu](./ProfileMenu.md)
|
|
17
|
+
- [Stepper](./Stepper.md)
|
|
18
|
+
- [Tabs](./Tabs.md)
|
|
19
|
+
|
|
20
|
+
## Parent
|
|
21
|
+
|
|
22
|
+
- [Parent](../llms.txt)
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Accordions
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
<Accordions {...args} />
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Field | Description | Default |
|
|
10
|
+
| ----- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
11
|
+
| items | Array of accordion summaries and details | \[\{ summary: 'First header', details: \<h3>Content of the first accordion.\</h3> }, \{ summary: 'Second header', details: \<h3>Content of the second accordion.\</h3> }, \{ summary: 'Third header', details: \<h3>Content of the third accordion.\</h3> }] |
|
|
12
|
+
|
|
13
|
+
## Basics
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
<Accordions
|
|
17
|
+
items={[{
|
|
18
|
+
summary: 'First header',
|
|
19
|
+
details: <h3>Content of the first accordion.</h3>
|
|
20
|
+
}, {
|
|
21
|
+
summary: 'Second header',
|
|
22
|
+
details: <h3>Content of the second accordion.</h3>
|
|
23
|
+
}, {
|
|
24
|
+
summary: 'Third header',
|
|
25
|
+
details: <h3>Content of the third accordion.</h3>
|
|
26
|
+
}]}
|
|
27
|
+
/>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Customization
|
|
31
|
+
|
|
32
|
+
### Sizes
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
<>
|
|
36
|
+
<Accordions {...args} size="sm" />
|
|
37
|
+
<Accordions {...args} size="md" />
|
|
38
|
+
<Accordions {...args} size="lg" />
|
|
39
|
+
</>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Variants
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
<>
|
|
46
|
+
<div>
|
|
47
|
+
<h3>Plain</h3>
|
|
48
|
+
<Accordions {...args} variant="plain" />
|
|
49
|
+
</div>
|
|
50
|
+
<div>
|
|
51
|
+
<h3>Outlined</h3>
|
|
52
|
+
<Accordions {...args} variant="outlined" />
|
|
53
|
+
</div>
|
|
54
|
+
<div>
|
|
55
|
+
<h3>Soft</h3>
|
|
56
|
+
<Accordions {...args} variant="soft" />
|
|
57
|
+
</div>
|
|
58
|
+
<div>
|
|
59
|
+
<h3>Solid</h3>
|
|
60
|
+
<Accordions {...args} variant="solid" />
|
|
61
|
+
</div>
|
|
62
|
+
</>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Colors
|
|
66
|
+
|
|
67
|
+
```tsx
|
|
68
|
+
<>
|
|
69
|
+
<div>
|
|
70
|
+
<h3>Primary</h3>
|
|
71
|
+
<Accordions {...args} color="primary" />
|
|
72
|
+
</div>
|
|
73
|
+
<div>
|
|
74
|
+
<h3>Neutral</h3>
|
|
75
|
+
<Accordions {...args} color="neutral" />
|
|
76
|
+
</div>
|
|
77
|
+
<div>
|
|
78
|
+
<h3>Danger</h3>
|
|
79
|
+
<Accordions {...args} color="danger" />
|
|
80
|
+
</div>
|
|
81
|
+
<div>
|
|
82
|
+
<h3>Success</h3>
|
|
83
|
+
<Accordions {...args} color="success" />
|
|
84
|
+
</div>
|
|
85
|
+
<div>
|
|
86
|
+
<h3>Warning</h3>
|
|
87
|
+
<Accordions {...args} color="warning" />
|
|
88
|
+
</div>
|
|
89
|
+
</>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Removing Divider
|
|
93
|
+
|
|
94
|
+
```tsx
|
|
95
|
+
<Accordions {...args} disableDivider />
|
|
96
|
+
```
|