Skip to content

Commit 65a38f2

Browse files
mc
1 parent 0dee6e8 commit 65a38f2

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

apps/ui/content/docs/components/calendar.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,15 @@ Or use responsive values:
111111
Use `captionLayout="dropdown"` with `startMonth` and `endMonth` to enable month/year dropdown navigation:
112112

113113
<ComponentPreview name="p-calendar-4" />
114+
115+
### Select Dropdown for Month/Year
116+
117+
Calendar with a custom Select component for month and year navigation:
118+
119+
<ComponentPreview name="p-calendar-5" />
120+
121+
### Combobox Dropdown for Month/Year
122+
123+
Calendar with a searchable Combobox for month and year navigation:
124+
125+
<ComponentPreview name="p-calendar-6" />

apps/ui/content/docs/components/date-picker.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,3 @@ Control the popover state to close it when a date is selected:
112112

113113
<ComponentPreview name="p-date-picker-6" />
114114

115-
### Multiple Dates
116-
117-
<ComponentPreview name="p-date-picker-7" />

apps/ui/lib/docs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const PAGES_NEW = [
22
// "/docs/components/{component-name}",
3-
"/docs/components/command",
3+
"/docs/components/calendar",
4+
"/docs/components/date-picker",
45
];

apps/ui/public/llms.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919
- [Badge](https://coss.com/ui/docs/components/badge.md): A small status indicator or label component.
2020
- [Breadcrumb](https://coss.com/ui/docs/components/breadcrumb.md): Displays the path to the current resource using a hierarchy of links.
2121
- [Button](https://coss.com/ui/docs/components/button.md): A button or a component that looks like a button.
22+
- [Calendar](https://coss.com/ui/docs/components/calendar.md): A date picker for selecting single dates, ranges, or multiple dates.
2223
- [Card](https://coss.com/ui/docs/components/card.md): A content container for grouping related information.
2324
- [Checkbox](https://coss.com/ui/docs/components/checkbox.md): A binary toggle input for selecting one or multiple options.
2425
- [Checkbox Group](https://coss.com/ui/docs/components/checkbox-group.md): A collection of related checkboxes with group-level control.
2526
- [Collapsible](https://coss.com/ui/docs/components/collapsible.md): A component that toggles visibility of content sections.
2627
- [Combobox](https://coss.com/ui/docs/components/combobox.md): An input combined with a list of predefined items to select.
2728
- [Command](https://coss.com/ui/docs/components/command.md): A command palette component built with Dialog and Autocomplete for searching and executing commands.
29+
- [Date Picker](https://coss.com/ui/docs/components/date-picker.md): A date selection component, often combined with a calendar in a popover or input.
2830
- [Dialog](https://coss.com/ui/docs/components/dialog.md): A modal overlay for displaying content that requires user interaction.
2931
- [Empty](https://coss.com/ui/docs/components/empty.md): A container for displaying empty state information.
3032
- [Field](https://coss.com/ui/docs/components/field.md): A wrapper component for form inputs with labels and validation.
@@ -48,6 +50,7 @@
4850
- [Select](https://coss.com/ui/docs/components/select.md): A common form component for choosing a predefined value in a dropdown menu.
4951
- [Separator](https://coss.com/ui/docs/components/separator.md): A visual divider for separating content sections.
5052
- [Sheet](https://coss.com/ui/docs/components/sheet.md): A flyout that opens from the side of the screen, based on the dialog component.
53+
- [Sidebar](https://coss.com/ui/docs/components/sidebar.md): A collapsible side panel for navigation and secondary content.
5154
- [Skeleton](https://coss.com/ui/docs/components/skeleton.md): A placeholder for loading content.
5255
- [Slider](https://coss.com/ui/docs/components/slider.md): A draggable control for selecting values from a continuous range.
5356
- [Spinner](https://coss.com/ui/docs/components/spinner.md): An indicator that can be used to show a loading state.

0 commit comments

Comments
 (0)