@once-ui-system/core 1.7.11 → 1.7.13
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/AGENTS.md +53 -0
- package/README.md +27 -0
- package/agent/once-ui-codegen.mdc +27 -0
- package/ai/catalog.json +1650 -0
- package/ai/catalog.seed.json +411 -0
- package/ai/components/Accordion.json +136 -0
- package/ai/components/AccordionGroup.json +128 -0
- package/ai/components/Animation.json +146 -0
- package/ai/components/Arrow.json +128 -0
- package/ai/components/AutoScroll.json +130 -0
- package/ai/components/Avatar.json +133 -0
- package/ai/components/AvatarGroup.json +129 -0
- package/ai/components/Background.json +131 -0
- package/ai/components/Badge.json +132 -0
- package/ai/components/Banner.json +122 -0
- package/ai/components/BarChart.json +123 -0
- package/ai/components/BlobFx.json +125 -0
- package/ai/components/BlockQuote.json +132 -0
- package/ai/components/Button.json +26 -0
- package/ai/components/Card.json +129 -0
- package/ai/components/Carousel.json +134 -0
- package/ai/components/CelebrationFx.json +132 -0
- package/ai/components/ChartHeader.json +130 -0
- package/ai/components/ChartStatus.json +12 -0
- package/ai/components/Checkbox.json +13 -0
- package/ai/components/Chip.json +132 -0
- package/ai/components/CodeBlock.json +122 -0
- package/ai/components/ColorInput.json +13 -0
- package/ai/components/Column.json +128 -0
- package/ai/components/CompareImage.json +126 -0
- package/ai/components/ContextMenu.json +22 -0
- package/ai/components/CountFx.json +82 -0
- package/ai/components/CountdownFx.json +11 -0
- package/ai/components/Cursor.json +9 -0
- package/ai/components/CursorCard.json +128 -0
- package/ai/components/DataTooltip.json +15 -0
- package/ai/components/DateInput.json +21 -0
- package/ai/components/DatePicker.json +143 -0
- package/ai/components/DateRangeInput.json +18 -0
- package/ai/components/DateRangePicker.json +129 -0
- package/ai/components/Dialog.json +134 -0
- package/ai/components/DialogProvider.json +8 -0
- package/ai/components/Dropdown.json +128 -0
- package/ai/components/DropdownWrapper.json +28 -0
- package/ai/components/EmojiPicker.json +129 -0
- package/ai/components/EmojiPickerDropdown.json +13 -0
- package/ai/components/Fade.json +130 -0
- package/ai/components/FadingLettersFx.json +77 -0
- package/ai/components/Feedback.json +132 -0
- package/ai/components/Flex.json +125 -0
- package/ai/components/FlipFx.json +133 -0
- package/ai/components/GlitchFx.json +128 -0
- package/ai/components/Grid.json +121 -0
- package/ai/components/Heading.json +75 -0
- package/ai/components/HeadingLink.json +127 -0
- package/ai/components/HeadingNav.json +124 -0
- package/ai/components/HoloFx.json +128 -0
- package/ai/components/Hover.json +130 -0
- package/ai/components/HoverCard.json +122 -0
- package/ai/components/Icon.json +132 -0
- package/ai/components/IconButton.json +22 -0
- package/ai/components/InfiniteScroll.json +130 -0
- package/ai/components/InlineCode.json +126 -0
- package/ai/components/Input.json +24 -0
- package/ai/components/InteractiveDetails.json +14 -0
- package/ai/components/Kbar.json +10 -0
- package/ai/components/Kbd.json +127 -0
- package/ai/components/Legend.json +14 -0
- package/ai/components/LetterFx.json +14 -0
- package/ai/components/Line.json +125 -0
- package/ai/components/LineBarChart.json +123 -0
- package/ai/components/LineChart.json +123 -0
- package/ai/components/LinearGauge.json +130 -0
- package/ai/components/LinearGradient.json +15 -0
- package/ai/components/List.json +127 -0
- package/ai/components/ListItem.json +77 -0
- package/ai/components/Logo.json +16 -0
- package/ai/components/LogoCloud.json +124 -0
- package/ai/components/Mask.json +131 -0
- package/ai/components/MasonryGrid.json +132 -0
- package/ai/components/MatrixFx.json +135 -0
- package/ai/components/Media.json +142 -0
- package/ai/components/MediaUpload.json +122 -0
- package/ai/components/MegaMenu.json +125 -0
- package/ai/components/MobileMegaMenu.json +125 -0
- package/ai/components/Modal.json +12 -0
- package/ai/components/NavIcon.json +127 -0
- package/ai/components/NumberInput.json +16 -0
- package/ai/components/OTPInput.json +13 -0
- package/ai/components/OgCard.json +135 -0
- package/ai/components/Option.json +137 -0
- package/ai/components/Particle.json +135 -0
- package/ai/components/PasswordInput.json +8 -0
- package/ai/components/PieChart.json +123 -0
- package/ai/components/ProgressBar.json +131 -0
- package/ai/components/Pulse.json +129 -0
- package/ai/components/RadialGauge.json +134 -0
- package/ai/components/RadialGradient.json +16 -0
- package/ai/components/RadioButton.json +17 -0
- package/ai/components/RevealFx.json +131 -0
- package/ai/components/Row.json +128 -0
- package/ai/components/Schema.json +17 -0
- package/ai/components/ScrollContainer.json +126 -0
- package/ai/components/ScrollToTop.json +124 -0
- package/ai/components/Scroller.json +128 -0
- package/ai/components/SegmentedControl.json +132 -0
- package/ai/components/Select.json +21 -0
- package/ai/components/ShineFx.json +80 -0
- package/ai/components/Skeleton.json +129 -0
- package/ai/components/Slider.json +17 -0
- package/ai/components/SmartLink.json +17 -0
- package/ai/components/Spinner.json +127 -0
- package/ai/components/SplitView.json +129 -0
- package/ai/components/StatusIndicator.json +128 -0
- package/ai/components/StyleOverlay.json +126 -0
- package/ai/components/StylePanel.json +125 -0
- package/ai/components/Swiper.json +130 -0
- package/ai/components/Switch.json +20 -0
- package/ai/components/Table.json +140 -0
- package/ai/components/Tag.json +129 -0
- package/ai/components/TagInput.json +12 -0
- package/ai/components/Text.json +72 -0
- package/ai/components/Textarea.json +24 -0
- package/ai/components/ThemeSwitcher.json +122 -0
- package/ai/components/TiltFx.json +126 -0
- package/ai/components/Timeline.json +126 -0
- package/ai/components/Toast.json +13 -0
- package/ai/components/Toaster.json +14 -0
- package/ai/components/ToggleButton.json +24 -0
- package/ai/components/Tooltip.json +129 -0
- package/ai/components/TypeFx.json +15 -0
- package/ai/components/User.json +15 -0
- package/ai/components/UserMenu.json +16 -0
- package/ai/components/WeatherFx.json +133 -0
- package/ai/examples/auth.tsx +105 -0
- package/ai/examples/blocks/Background6.tsx +25 -0
- package/ai/examples/blocks/Chat1.tsx +70 -0
- package/ai/examples/blocks/Dashboard1.tsx +404 -0
- package/ai/examples/blocks/Feed3.tsx +151 -0
- package/ai/examples/blocks/Footer1.tsx +30 -0
- package/ai/examples/blocks/Footer2.tsx +96 -0
- package/ai/examples/blocks/Footer3.tsx +127 -0
- package/ai/examples/blocks/Footer4.tsx +406 -0
- package/ai/examples/blocks/Header1.tsx +370 -0
- package/ai/examples/blocks/Header2.tsx +98 -0
- package/ai/examples/blocks/Header3.tsx +133 -0
- package/ai/examples/blocks/Header4.tsx +123 -0
- package/ai/examples/blocks/Productivity1.tsx +318 -0
- package/ai/examples/blocks/Roadmap1.tsx +133 -0
- package/ai/examples/blocks/Sidebar1.tsx +34 -0
- package/ai/examples/blocks/Sidebar2.tsx +17 -0
- package/ai/examples/blocks/Sidebar4.tsx +92 -0
- package/ai/examples/blocks/Sidebar5.tsx +73 -0
- package/ai/examples/blocks/Streaming1.tsx +353 -0
- package/ai/examples/blocks/Table1.tsx +303 -0
- package/ai/examples/blocks/Waitlist1.tsx +141 -0
- package/ai/examples/blocks/content/chat1content.ts +65 -0
- package/ai/examples/blocks/content/resources.ts +5 -0
- package/ai/examples/blocks/content/roadmap1content.ts +51 -0
- package/ai/examples/blocks/manifest.json +191 -0
- package/ai/examples/dashboard.tsx +150 -0
- package/ai/examples/marketing-hero.tsx +152 -0
- package/ai/examples/pricing.tsx +219 -0
- package/ai/examples/settings.tsx +140 -0
- package/ai/gotchas.json +85 -0
- package/ai/manifest.json +21 -0
- package/ai/rules.compact.md +73 -0
- package/ai/spec.json +2694 -2701
- package/ai/tasks/auth.json +23 -0
- package/ai/tasks/chat.json +28 -0
- package/ai/tasks/dashboard.json +39 -0
- package/ai/tasks/index.json +12 -0
- package/ai/tasks/marketing-hero.json +38 -0
- package/ai/tasks/pricing.json +42 -0
- package/ai/tasks/roadmap.json +22 -0
- package/ai/tasks/settings.json +34 -0
- package/dist/AGENTS.md +53 -0
- package/dist/README.md +27 -0
- package/dist/agent/once-ui-codegen.mdc +27 -0
- package/dist/ai/catalog.json +1650 -0
- package/dist/ai/catalog.seed.json +411 -0
- package/dist/ai/components/Accordion.json +136 -0
- package/dist/ai/components/AccordionGroup.json +128 -0
- package/dist/ai/components/Animation.json +146 -0
- package/dist/ai/components/Arrow.json +128 -0
- package/dist/ai/components/AutoScroll.json +130 -0
- package/dist/ai/components/Avatar.json +133 -0
- package/dist/ai/components/AvatarGroup.json +129 -0
- package/dist/ai/components/Background.json +131 -0
- package/dist/ai/components/Badge.json +132 -0
- package/dist/ai/components/Banner.json +122 -0
- package/dist/ai/components/BarChart.json +123 -0
- package/dist/ai/components/BlobFx.json +125 -0
- package/dist/ai/components/BlockQuote.json +132 -0
- package/dist/ai/components/Button.json +26 -0
- package/dist/ai/components/Card.json +129 -0
- package/dist/ai/components/Carousel.json +134 -0
- package/dist/ai/components/CelebrationFx.json +132 -0
- package/dist/ai/components/ChartHeader.json +130 -0
- package/dist/ai/components/ChartStatus.json +12 -0
- package/dist/ai/components/Checkbox.json +13 -0
- package/dist/ai/components/Chip.json +132 -0
- package/dist/ai/components/CodeBlock.json +122 -0
- package/dist/ai/components/ColorInput.json +13 -0
- package/dist/ai/components/Column.json +128 -0
- package/dist/ai/components/CompareImage.json +126 -0
- package/dist/ai/components/ContextMenu.json +22 -0
- package/dist/ai/components/CountFx.json +82 -0
- package/dist/ai/components/CountdownFx.json +11 -0
- package/dist/ai/components/Cursor.json +9 -0
- package/dist/ai/components/CursorCard.json +128 -0
- package/dist/ai/components/DataTooltip.json +15 -0
- package/dist/ai/components/DateInput.json +21 -0
- package/dist/ai/components/DatePicker.json +143 -0
- package/dist/ai/components/DateRangeInput.json +18 -0
- package/dist/ai/components/DateRangePicker.json +129 -0
- package/dist/ai/components/Dialog.json +134 -0
- package/dist/ai/components/DialogProvider.json +8 -0
- package/dist/ai/components/Dropdown.json +128 -0
- package/dist/ai/components/DropdownWrapper.json +28 -0
- package/dist/ai/components/EmojiPicker.json +129 -0
- package/dist/ai/components/EmojiPickerDropdown.json +13 -0
- package/dist/ai/components/Fade.json +130 -0
- package/dist/ai/components/FadingLettersFx.json +77 -0
- package/dist/ai/components/Feedback.json +132 -0
- package/dist/ai/components/Flex.json +125 -0
- package/dist/ai/components/FlipFx.json +133 -0
- package/dist/ai/components/GlitchFx.json +128 -0
- package/dist/ai/components/Grid.json +121 -0
- package/dist/ai/components/Heading.json +75 -0
- package/dist/ai/components/HeadingLink.json +127 -0
- package/dist/ai/components/HeadingNav.json +124 -0
- package/dist/ai/components/HoloFx.json +128 -0
- package/dist/ai/components/Hover.json +130 -0
- package/dist/ai/components/HoverCard.json +122 -0
- package/dist/ai/components/Icon.json +132 -0
- package/dist/ai/components/IconButton.json +22 -0
- package/dist/ai/components/InfiniteScroll.json +130 -0
- package/dist/ai/components/InlineCode.json +126 -0
- package/dist/ai/components/Input.json +24 -0
- package/dist/ai/components/InteractiveDetails.json +14 -0
- package/dist/ai/components/Kbar.json +10 -0
- package/dist/ai/components/Kbd.json +127 -0
- package/dist/ai/components/Legend.json +14 -0
- package/dist/ai/components/LetterFx.json +14 -0
- package/dist/ai/components/Line.json +125 -0
- package/dist/ai/components/LineBarChart.json +123 -0
- package/dist/ai/components/LineChart.json +123 -0
- package/dist/ai/components/LinearGauge.json +130 -0
- package/dist/ai/components/LinearGradient.json +15 -0
- package/dist/ai/components/List.json +127 -0
- package/dist/ai/components/ListItem.json +77 -0
- package/dist/ai/components/Logo.json +16 -0
- package/dist/ai/components/LogoCloud.json +124 -0
- package/dist/ai/components/Mask.json +131 -0
- package/dist/ai/components/MasonryGrid.json +132 -0
- package/dist/ai/components/MatrixFx.json +135 -0
- package/dist/ai/components/Media.json +142 -0
- package/dist/ai/components/MediaUpload.json +122 -0
- package/dist/ai/components/MegaMenu.json +125 -0
- package/dist/ai/components/MobileMegaMenu.json +125 -0
- package/dist/ai/components/Modal.json +12 -0
- package/dist/ai/components/NavIcon.json +127 -0
- package/dist/ai/components/NumberInput.json +16 -0
- package/dist/ai/components/OTPInput.json +13 -0
- package/dist/ai/components/OgCard.json +135 -0
- package/dist/ai/components/Option.json +137 -0
- package/dist/ai/components/Particle.json +135 -0
- package/dist/ai/components/PasswordInput.json +8 -0
- package/dist/ai/components/PieChart.json +123 -0
- package/dist/ai/components/ProgressBar.json +131 -0
- package/dist/ai/components/Pulse.json +129 -0
- package/dist/ai/components/RadialGauge.json +134 -0
- package/dist/ai/components/RadialGradient.json +16 -0
- package/dist/ai/components/RadioButton.json +17 -0
- package/dist/ai/components/RevealFx.json +131 -0
- package/dist/ai/components/Row.json +128 -0
- package/dist/ai/components/Schema.json +17 -0
- package/dist/ai/components/ScrollContainer.json +126 -0
- package/dist/ai/components/ScrollToTop.json +124 -0
- package/dist/ai/components/Scroller.json +128 -0
- package/dist/ai/components/SegmentedControl.json +132 -0
- package/dist/ai/components/Select.json +21 -0
- package/dist/ai/components/ShineFx.json +80 -0
- package/dist/ai/components/Skeleton.json +129 -0
- package/dist/ai/components/Slider.json +17 -0
- package/dist/ai/components/SmartLink.json +17 -0
- package/dist/ai/components/Spinner.json +127 -0
- package/dist/ai/components/SplitView.json +129 -0
- package/dist/ai/components/StatusIndicator.json +128 -0
- package/dist/ai/components/StyleOverlay.json +126 -0
- package/dist/ai/components/StylePanel.json +125 -0
- package/dist/ai/components/Swiper.json +130 -0
- package/dist/ai/components/Switch.json +20 -0
- package/dist/ai/components/Table.json +140 -0
- package/dist/ai/components/Tag.json +129 -0
- package/dist/ai/components/TagInput.json +12 -0
- package/dist/ai/components/Text.json +72 -0
- package/dist/ai/components/Textarea.json +24 -0
- package/dist/ai/components/ThemeSwitcher.json +122 -0
- package/dist/ai/components/TiltFx.json +126 -0
- package/dist/ai/components/Timeline.json +126 -0
- package/dist/ai/components/Toast.json +13 -0
- package/dist/ai/components/Toaster.json +14 -0
- package/dist/ai/components/ToggleButton.json +24 -0
- package/dist/ai/components/Tooltip.json +129 -0
- package/dist/ai/components/TypeFx.json +15 -0
- package/dist/ai/components/User.json +15 -0
- package/dist/ai/components/UserMenu.json +16 -0
- package/dist/ai/components/WeatherFx.json +133 -0
- package/dist/ai/eval-tasks.md +71 -0
- package/dist/ai/examples/blocks/manifest.json +191 -0
- package/dist/ai/gotchas.json +85 -0
- package/dist/ai/manifest.json +21 -0
- package/dist/ai/recipes.md +149 -0
- package/dist/ai/rules.compact.md +73 -0
- package/dist/ai/rules.md +217 -0
- package/dist/ai/spec.json +2695 -0
- package/dist/ai/tasks/auth.json +23 -0
- package/dist/ai/tasks/chat.json +28 -0
- package/dist/ai/tasks/dashboard.json +39 -0
- package/dist/ai/tasks/index.json +12 -0
- package/dist/ai/tasks/marketing-hero.json +38 -0
- package/dist/ai/tasks/pricing.json +42 -0
- package/dist/ai/tasks/roadmap.json +22 -0
- package/dist/ai/tasks/settings.json +34 -0
- package/dist/components/ContextMenu.d.ts +2 -2
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu.js +3 -3
- package/dist/components/ContextMenu.js.map +1 -1
- package/dist/components/ElementType.d.ts.map +1 -1
- package/dist/components/ElementType.js +6 -4
- package/dist/components/ElementType.js.map +1 -1
- package/dist/components/Media.d.ts.map +1 -1
- package/dist/components/Media.js +6 -3
- package/dist/components/Media.js.map +1 -1
- package/dist/components/MediaVideoPlayer.d.ts +12 -0
- package/dist/components/MediaVideoPlayer.d.ts.map +1 -0
- package/dist/components/MediaVideoPlayer.js +246 -0
- package/dist/components/MediaVideoPlayer.js.map +1 -0
- package/dist/components/MediaVideoPlayer.module.scss +90 -0
- package/dist/components/Table.d.ts +34 -6
- package/dist/components/Table.d.ts.map +1 -1
- package/dist/components/Table.js +114 -30
- package/dist/components/Table.js.map +1 -1
- package/dist/components/Table.module.scss +174 -3
- package/dist/components/ThemeInit.d.ts.map +1 -1
- package/dist/components/ThemeInit.js +2 -1
- package/dist/components/ThemeInit.js.map +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline.js +16 -52
- package/dist/components/Timeline.js.map +1 -1
- package/dist/data/emoji-data.json +0 -10
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +7 -2
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.js +11 -5
- package/dist/modules/code/CodeBlock.impl.js.map +1 -1
- package/dist/modules/seo/Schema.d.ts.map +1 -1
- package/dist/modules/seo/Schema.js +3 -4
- package/dist/modules/seo/Schema.js.map +1 -1
- package/dist/package.json +33 -3
- package/dist/server/og-url-validation.d.ts +10 -0
- package/dist/server/og-url-validation.d.ts.map +1 -0
- package/dist/server/og-url-validation.js +234 -0
- package/dist/server/og-url-validation.js.map +1 -0
- package/dist/server/og-utils.d.ts +5 -2
- package/dist/server/og-utils.d.ts.map +1 -1
- package/dist/server/og-utils.js +39 -14
- package/dist/server/og-utils.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/safe-html.d.ts +19 -0
- package/dist/utils/safe-html.d.ts.map +1 -0
- package/dist/utils/safe-html.js +43 -0
- package/dist/utils/safe-html.js.map +1 -0
- package/package.json +159 -127
- package/scripts/copy-files.js +103 -0
- package/scripts/generate-ai-spec.js +464 -0
- package/scripts/generate-emoji-data.js +128 -0
- package/scripts/init-agent.js +156 -0
- package/scripts/validate-ai-code.js +149 -0
- package/LICENSE.md +0 -21
- package/next-env.d.ts +0 -5
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Button,
|
|
5
|
+
Column,
|
|
6
|
+
Icon,
|
|
7
|
+
Kbar,
|
|
8
|
+
Line,
|
|
9
|
+
Logo,
|
|
10
|
+
MegaMenu,
|
|
11
|
+
MobileMegaMenu,
|
|
12
|
+
NavIcon,
|
|
13
|
+
Option,
|
|
14
|
+
Row,
|
|
15
|
+
SmartLink,
|
|
16
|
+
Text,
|
|
17
|
+
ToggleButton,
|
|
18
|
+
UserMenu,
|
|
19
|
+
} from "@once-ui-system/core";
|
|
20
|
+
import { usePathname } from "next/navigation";
|
|
21
|
+
import React, { useState } from "react";
|
|
22
|
+
|
|
23
|
+
interface HeaderProps extends React.ComponentProps<typeof Row> {
|
|
24
|
+
authenticated?: boolean;
|
|
25
|
+
avatar?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const Header1: React.FC<HeaderProps> = ({ authenticated, avatar, ...flex }) => {
|
|
29
|
+
const pathname = usePathname() ?? "";
|
|
30
|
+
const isMac = typeof window !== "undefined" && /Mac/i.test(navigator.platform);
|
|
31
|
+
|
|
32
|
+
const kbar = [
|
|
33
|
+
{
|
|
34
|
+
id: "dashboard",
|
|
35
|
+
name: "Dashboard",
|
|
36
|
+
icon: "refresh",
|
|
37
|
+
shortcut: [],
|
|
38
|
+
section: "Navigation",
|
|
39
|
+
keywords: "dashboard home",
|
|
40
|
+
href: "#",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "analytics",
|
|
44
|
+
name: "Analytics",
|
|
45
|
+
icon: "refresh",
|
|
46
|
+
shortcut: [],
|
|
47
|
+
section: "Navigation",
|
|
48
|
+
keywords: "analytics metrics",
|
|
49
|
+
href: "#",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: "security",
|
|
53
|
+
name: "Security",
|
|
54
|
+
icon: "refresh",
|
|
55
|
+
shortcut: [],
|
|
56
|
+
section: "Navigation",
|
|
57
|
+
keywords: "security privacy",
|
|
58
|
+
href: "#",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "settings",
|
|
62
|
+
name: "Settings",
|
|
63
|
+
icon: "refresh",
|
|
64
|
+
shortcut: [],
|
|
65
|
+
section: "Navigation",
|
|
66
|
+
keywords: "settings preferences",
|
|
67
|
+
href: "#",
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
|
|
71
|
+
const nav = [
|
|
72
|
+
{
|
|
73
|
+
id: "products",
|
|
74
|
+
label: "Products",
|
|
75
|
+
suffixIcon: "chevronDown",
|
|
76
|
+
sections: [
|
|
77
|
+
{
|
|
78
|
+
title: "Featured",
|
|
79
|
+
links: [
|
|
80
|
+
{
|
|
81
|
+
label: "Analytics",
|
|
82
|
+
href: "#",
|
|
83
|
+
icon: "refresh",
|
|
84
|
+
description: "Get insights into your data",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: "Security",
|
|
88
|
+
href: "#",
|
|
89
|
+
icon: "refresh",
|
|
90
|
+
description: "Protect your assets",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
title: "Tools",
|
|
96
|
+
links: [
|
|
97
|
+
{
|
|
98
|
+
label: "Dashboard",
|
|
99
|
+
href: "#",
|
|
100
|
+
icon: "refresh",
|
|
101
|
+
description: "Monitor your metrics",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
label: "Settings",
|
|
105
|
+
href: "#",
|
|
106
|
+
icon: "refresh",
|
|
107
|
+
description: "Configure your preferences",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: "solutions",
|
|
115
|
+
label: "Solutions",
|
|
116
|
+
suffixIcon: "chevronDown",
|
|
117
|
+
sections: [
|
|
118
|
+
{
|
|
119
|
+
title: "By industry",
|
|
120
|
+
links: [
|
|
121
|
+
{
|
|
122
|
+
label: "Enterprise",
|
|
123
|
+
href: "#",
|
|
124
|
+
icon: "refresh",
|
|
125
|
+
description: "Solutions for large organizations",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: "Startups",
|
|
129
|
+
href: "#",
|
|
130
|
+
icon: "refresh",
|
|
131
|
+
description: "Perfect for growing companies",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
title: "By team",
|
|
137
|
+
links: [
|
|
138
|
+
{
|
|
139
|
+
label: "Developers",
|
|
140
|
+
href: "#",
|
|
141
|
+
icon: "refresh",
|
|
142
|
+
description: "Tools and APIs",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
label: "Design teams",
|
|
146
|
+
href: "#",
|
|
147
|
+
icon: "refresh",
|
|
148
|
+
description: "Creative solutions",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: "resources",
|
|
156
|
+
label: "Resources",
|
|
157
|
+
suffixIcon: "chevronDown",
|
|
158
|
+
sections: [
|
|
159
|
+
{
|
|
160
|
+
title: "Documentation",
|
|
161
|
+
links: [
|
|
162
|
+
{
|
|
163
|
+
label: "Guides",
|
|
164
|
+
href: "#",
|
|
165
|
+
icon: "refresh",
|
|
166
|
+
description: "Learn how to use our platform",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
label: "API reference",
|
|
170
|
+
href: "#",
|
|
171
|
+
icon: "refresh",
|
|
172
|
+
description: "Technical documentation",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
title: "Support",
|
|
178
|
+
links: [
|
|
179
|
+
{
|
|
180
|
+
label: "Help center",
|
|
181
|
+
href: "#",
|
|
182
|
+
icon: "refresh",
|
|
183
|
+
description: "Get your questions answered",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
label: "Community",
|
|
187
|
+
href: "#",
|
|
188
|
+
icon: "refresh",
|
|
189
|
+
description: "Connect with other users",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: "company",
|
|
197
|
+
label: "Company",
|
|
198
|
+
suffixIcon: "chevronDown",
|
|
199
|
+
sections: [
|
|
200
|
+
{
|
|
201
|
+
title: "About",
|
|
202
|
+
links: [
|
|
203
|
+
{
|
|
204
|
+
label: "Our story",
|
|
205
|
+
href: "#",
|
|
206
|
+
icon: "refresh",
|
|
207
|
+
description: "Learn about our journey",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
label: "Careers",
|
|
211
|
+
href: "#",
|
|
212
|
+
icon: "refresh",
|
|
213
|
+
description: "Join our team",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
title: "Connect",
|
|
219
|
+
links: [
|
|
220
|
+
{
|
|
221
|
+
label: "Blog",
|
|
222
|
+
href: "#",
|
|
223
|
+
icon: "refresh",
|
|
224
|
+
description: "Latest updates and news",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
label: "Contact",
|
|
228
|
+
href: "#",
|
|
229
|
+
icon: "refresh",
|
|
230
|
+
description: "Get in touch with us",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
},
|
|
236
|
+
]
|
|
237
|
+
|
|
238
|
+
const [isActive, setIsActive] = useState(false);
|
|
239
|
+
|
|
240
|
+
const handleClick = () => {
|
|
241
|
+
setIsActive(!isActive);
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
return (
|
|
245
|
+
<Row
|
|
246
|
+
as="header"
|
|
247
|
+
borderBottom="neutral-medium"
|
|
248
|
+
fillWidth
|
|
249
|
+
paddingX="m"
|
|
250
|
+
minHeight="56"
|
|
251
|
+
vertical="center"
|
|
252
|
+
background="page"
|
|
253
|
+
position="sticky"
|
|
254
|
+
top="0"
|
|
255
|
+
zIndex={2}
|
|
256
|
+
{...flex}
|
|
257
|
+
>
|
|
258
|
+
<Row gap="4" vertical="center" maxWidth={10}>
|
|
259
|
+
<NavIcon
|
|
260
|
+
isActive={isActive}
|
|
261
|
+
onClick={handleClick}
|
|
262
|
+
aria-label="Toggle navigation menu"
|
|
263
|
+
aria-expanded={isActive}
|
|
264
|
+
hide
|
|
265
|
+
s={{hide: false}} />
|
|
266
|
+
<Logo dark wordmark="/trademarks/wordmark-dark.svg" size="s" href="/" />
|
|
267
|
+
<Logo light wordmark="/trademarks/wordmark-light.svg" size="s" href="/" />
|
|
268
|
+
</Row>
|
|
269
|
+
{authenticated ? (
|
|
270
|
+
<Row fillWidth vertical="center" horizontal="between" gap="16">
|
|
271
|
+
<Row fillWidth horizontal="center">
|
|
272
|
+
<Kbar m={{hide: true}} data-border="rounded" radius="full" background="neutral-alpha-weak"
|
|
273
|
+
items={kbar}
|
|
274
|
+
>
|
|
275
|
+
<Button size="s" variant="tertiary" weight="default">
|
|
276
|
+
<Row vertical="center" gap="16" onBackground="neutral-medium" style={{ marginLeft: "-0.5rem" }} paddingRight="8">
|
|
277
|
+
<Row
|
|
278
|
+
background="neutral-alpha-medium"
|
|
279
|
+
paddingX="8"
|
|
280
|
+
paddingY="4"
|
|
281
|
+
radius="full"
|
|
282
|
+
textVariant="body-default-xs"
|
|
283
|
+
onBackground="neutral-medium"
|
|
284
|
+
>
|
|
285
|
+
{isMac ? "Cmd" : "Ctrl"} + k
|
|
286
|
+
</Row>
|
|
287
|
+
Search in app
|
|
288
|
+
</Row>
|
|
289
|
+
</Button>
|
|
290
|
+
</Kbar>
|
|
291
|
+
</Row>
|
|
292
|
+
<Row vertical="center" gap="16" horizontal="end" maxWidth={10}>
|
|
293
|
+
<SmartLink prefixIcon="book" href="#">
|
|
294
|
+
<Text variant="label-default-s">
|
|
295
|
+
Docs
|
|
296
|
+
</Text>
|
|
297
|
+
</SmartLink>
|
|
298
|
+
<UserMenu
|
|
299
|
+
placement="bottom-end"
|
|
300
|
+
avatarProps={{
|
|
301
|
+
empty: !avatar,
|
|
302
|
+
src: avatar,
|
|
303
|
+
}}
|
|
304
|
+
dropdown={
|
|
305
|
+
<Column padding="4" gap="2" minWidth={10}>
|
|
306
|
+
<Option hasPrefix={<Icon onBackground="neutral-weak" size="s" name="person" />} label="Profile" value="profile" />
|
|
307
|
+
<Option hasPrefix={<Icon onBackground="neutral-weak" size="s" name="settings" />} label="Settings" value="settings" />
|
|
308
|
+
<Line marginY="2" />
|
|
309
|
+
<Option hasPrefix={<Icon onBackground="neutral-weak" size="s" name="logout" />} label="Log out" value="logout" />
|
|
310
|
+
</Column>
|
|
311
|
+
}
|
|
312
|
+
/>
|
|
313
|
+
</Row>
|
|
314
|
+
</Row>
|
|
315
|
+
) : (
|
|
316
|
+
<Row fillWidth vertical="center" horizontal="end">
|
|
317
|
+
<Row
|
|
318
|
+
s={{hide: true}}
|
|
319
|
+
textVariant="label-default-s"
|
|
320
|
+
fillWidth
|
|
321
|
+
gap="16"
|
|
322
|
+
paddingX="l"
|
|
323
|
+
vertical="center"
|
|
324
|
+
>
|
|
325
|
+
<MegaMenu
|
|
326
|
+
menuGroups={nav}
|
|
327
|
+
/>
|
|
328
|
+
</Row>
|
|
329
|
+
<Row fitWidth vertical="center" gap="8">
|
|
330
|
+
<Button size="s" variant="secondary" label="Log in" href="#" />
|
|
331
|
+
<Button size="s" label="Sign up" href="#" />
|
|
332
|
+
</Row>
|
|
333
|
+
</Row>
|
|
334
|
+
)}
|
|
335
|
+
{isActive && (
|
|
336
|
+
<Column
|
|
337
|
+
top="56"
|
|
338
|
+
left="0"
|
|
339
|
+
position="absolute"
|
|
340
|
+
padding="8"
|
|
341
|
+
fillWidth
|
|
342
|
+
overflowY="auto"
|
|
343
|
+
style={{ maxHeight: "calc(100vh - var(--static-space-56))" }}
|
|
344
|
+
>
|
|
345
|
+
{authenticated ? (
|
|
346
|
+
<Column
|
|
347
|
+
padding="8"
|
|
348
|
+
background="surface"
|
|
349
|
+
border="surface"
|
|
350
|
+
radius="l-4"
|
|
351
|
+
gap="4"
|
|
352
|
+
>
|
|
353
|
+
<ToggleButton fillWidth size="l" horizontal="start" selected={true} label="Dashboard" />
|
|
354
|
+
<ToggleButton fillWidth size="l" horizontal="start" selected={pathname === "/apps"} label="Apps" />
|
|
355
|
+
<ToggleButton fillWidth size="l" horizontal="start" selected={pathname === "/resources"} label="Resources" />
|
|
356
|
+
</Column>
|
|
357
|
+
) : (
|
|
358
|
+
<MobileMegaMenu
|
|
359
|
+
padding="8"
|
|
360
|
+
background="surface"
|
|
361
|
+
border="surface"
|
|
362
|
+
radius="l-4"
|
|
363
|
+
menuGroups={nav}
|
|
364
|
+
/>
|
|
365
|
+
)}
|
|
366
|
+
</Column>
|
|
367
|
+
)}
|
|
368
|
+
</Row>
|
|
369
|
+
);
|
|
370
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button,
|
|
3
|
+
Column,
|
|
4
|
+
Fade,
|
|
5
|
+
Logo,
|
|
6
|
+
NavIcon,
|
|
7
|
+
Option,
|
|
8
|
+
Row,
|
|
9
|
+
SmartLink,
|
|
10
|
+
ToggleButton,
|
|
11
|
+
UserMenu,
|
|
12
|
+
} from "@once-ui-system/core";
|
|
13
|
+
|
|
14
|
+
interface HeaderProps extends React.ComponentProps<typeof Row> {
|
|
15
|
+
authenticated?: boolean;
|
|
16
|
+
avatar?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Header2: React.FC<HeaderProps> = ({ authenticated, avatar, ...flex }) => {
|
|
20
|
+
return (
|
|
21
|
+
<Row paddingX="8" paddingTop="8" fillWidth position="sticky" horizontal="center" top="0"
|
|
22
|
+
zIndex={2}>
|
|
23
|
+
<Fade
|
|
24
|
+
fillWidth
|
|
25
|
+
position="absolute"
|
|
26
|
+
top="0"
|
|
27
|
+
height={8}
|
|
28
|
+
pattern={{ display: true, size: "2" }}
|
|
29
|
+
/>
|
|
30
|
+
<Row
|
|
31
|
+
as="header"
|
|
32
|
+
border="neutral-alpha-weak"
|
|
33
|
+
maxWidth="m"
|
|
34
|
+
paddingX="m"
|
|
35
|
+
radius="l"
|
|
36
|
+
height="56"
|
|
37
|
+
vertical="center"
|
|
38
|
+
background="page"
|
|
39
|
+
{...flex}
|
|
40
|
+
>
|
|
41
|
+
<Row s={{hide: true}}>
|
|
42
|
+
<Logo dark wordmark="/trademarks/wordmark-dark.svg" size="s" href="/" />
|
|
43
|
+
<Logo light wordmark="/trademarks/wordmark-light.svg" size="s" href="/" />
|
|
44
|
+
</Row>
|
|
45
|
+
<Row hide s={{hide: false}} gap="4" vertical="center" fillWidth>
|
|
46
|
+
<NavIcon />
|
|
47
|
+
<Logo dark icon="/trademarks/icon-dark.svg" size="s" href="/" />
|
|
48
|
+
<Logo light icon="/trademarks/icon-light.svg" size="s" href="/" />
|
|
49
|
+
</Row>
|
|
50
|
+
{authenticated ? (
|
|
51
|
+
<Row fillWidth vertical="center" horizontal="between">
|
|
52
|
+
<Row fillWidth>
|
|
53
|
+
<Row s={{hide: true}} fillWidth gap="4" paddingX="l" vertical="center">
|
|
54
|
+
<ToggleButton selected={true} label="Dashboard" />
|
|
55
|
+
<ToggleButton label="Apps" />
|
|
56
|
+
<ToggleButton label="Resources" />
|
|
57
|
+
</Row>
|
|
58
|
+
</Row>
|
|
59
|
+
<UserMenu
|
|
60
|
+
placement="bottom-end"
|
|
61
|
+
avatarProps={{
|
|
62
|
+
value: avatar ? undefined : "L",
|
|
63
|
+
src: avatar,
|
|
64
|
+
}}
|
|
65
|
+
dropdown={
|
|
66
|
+
<Column gap="2" padding="4" width={8}>
|
|
67
|
+
<Option label="Profile" value="profile" />
|
|
68
|
+
<Option label="Settings" value="settings" />
|
|
69
|
+
<Option label="Log out" value="logout" />
|
|
70
|
+
</Column>
|
|
71
|
+
}
|
|
72
|
+
/>
|
|
73
|
+
</Row>
|
|
74
|
+
) : (
|
|
75
|
+
<Row fillWidth vertical="center" horizontal="end">
|
|
76
|
+
<Row
|
|
77
|
+
s={{hide: true}}
|
|
78
|
+
textVariant="label-default-s"
|
|
79
|
+
fillWidth
|
|
80
|
+
gap="16"
|
|
81
|
+
paddingX="l"
|
|
82
|
+
vertical="center"
|
|
83
|
+
>
|
|
84
|
+
<SmartLink href="#">Home</SmartLink>
|
|
85
|
+
<SmartLink href="#">Product</SmartLink>
|
|
86
|
+
<SmartLink href="#">Solutions</SmartLink>
|
|
87
|
+
<SmartLink href="#">Pricing</SmartLink>
|
|
88
|
+
</Row>
|
|
89
|
+
<Row fitWidth vertical="center" gap="8">
|
|
90
|
+
<Button size="s" variant="secondary" label="Log in" href="#" />
|
|
91
|
+
<Button size="s" label="Sign up" href="#" />
|
|
92
|
+
</Row>
|
|
93
|
+
</Row>
|
|
94
|
+
)}
|
|
95
|
+
</Row>
|
|
96
|
+
</Row>
|
|
97
|
+
);
|
|
98
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Avatar,
|
|
3
|
+
Background,
|
|
4
|
+
Column,
|
|
5
|
+
Fade,
|
|
6
|
+
Icon,
|
|
7
|
+
Line,
|
|
8
|
+
Logo,
|
|
9
|
+
NavIcon,
|
|
10
|
+
Option,
|
|
11
|
+
Row,
|
|
12
|
+
SmartLink,
|
|
13
|
+
Text,
|
|
14
|
+
UserMenu,
|
|
15
|
+
} from "@once-ui-system/core";
|
|
16
|
+
|
|
17
|
+
export const Header3: React.FC<React.ComponentProps<typeof Row>> = ({ ...flex }) => {
|
|
18
|
+
return (
|
|
19
|
+
<Row
|
|
20
|
+
fillWidth
|
|
21
|
+
horizontal="center"
|
|
22
|
+
zIndex={3}
|
|
23
|
+
{...flex}
|
|
24
|
+
>
|
|
25
|
+
<Fade
|
|
26
|
+
fillWidth
|
|
27
|
+
position="absolute"
|
|
28
|
+
pointerEvents="none"
|
|
29
|
+
top="0"
|
|
30
|
+
height={12}
|
|
31
|
+
pattern={{ display: true, size: "2" }}
|
|
32
|
+
/>
|
|
33
|
+
<Row
|
|
34
|
+
as="header"
|
|
35
|
+
fillWidth
|
|
36
|
+
paddingX="l"
|
|
37
|
+
height="64"
|
|
38
|
+
vertical="center"
|
|
39
|
+
>
|
|
40
|
+
<Row s={{hide: true}}>
|
|
41
|
+
<Logo dark wordmark="/trademarks/wordmark-dark.svg" size="s" href="/" />
|
|
42
|
+
<Logo light wordmark="/trademarks/wordmark-light.svg" size="s" href="/" />
|
|
43
|
+
</Row>
|
|
44
|
+
<Row hide s={{hide: false}} gap="4" vertical="center" fillWidth>
|
|
45
|
+
<NavIcon />
|
|
46
|
+
<Logo dark icon="/trademarks/icon-dark.svg" size="s" href="/" />
|
|
47
|
+
<Logo light icon="/trademarks/icon-light.svg" size="s" href="/" />
|
|
48
|
+
</Row>
|
|
49
|
+
<Row fillWidth vertical="center" horizontal="end">
|
|
50
|
+
<Row
|
|
51
|
+
s={{hide: true}}
|
|
52
|
+
fillWidth
|
|
53
|
+
gap="24"
|
|
54
|
+
paddingX="64"
|
|
55
|
+
vertical="center"
|
|
56
|
+
>
|
|
57
|
+
<SmartLink href="#"><Text padding="8" onBackground="neutral-strong" variant="label-strong-s">Home</Text></SmartLink>
|
|
58
|
+
<SmartLink href="#"><Text padding="8" onBackground="neutral-strong" variant="label-default-s">TV Shows</Text></SmartLink>
|
|
59
|
+
<SmartLink href="#"><Text padding="8" onBackground="neutral-strong" variant="label-default-s">Movies</Text></SmartLink>
|
|
60
|
+
<SmartLink href="#"><Text padding="8" onBackground="neutral-strong" variant="label-default-s">Popular</Text></SmartLink>
|
|
61
|
+
<SmartLink href="#"><Text padding="8" onBackground="neutral-strong" variant="label-default-s">My List</Text></SmartLink>
|
|
62
|
+
</Row>
|
|
63
|
+
<Row fitWidth vertical="center" gap="8">
|
|
64
|
+
<UserMenu
|
|
65
|
+
placement="bottom-end"
|
|
66
|
+
avatarProps={{
|
|
67
|
+
src: "/images/creators/lorant.jpg",
|
|
68
|
+
}}
|
|
69
|
+
dropdown={
|
|
70
|
+
<Column minWidth={14} background="page">
|
|
71
|
+
<Background position="absolute" fill top="0" left="0" gradient={{
|
|
72
|
+
display: true,
|
|
73
|
+
width: 200,
|
|
74
|
+
height: 100,
|
|
75
|
+
x: 50,
|
|
76
|
+
y: 0,
|
|
77
|
+
colorStart: "brand-background-medium",
|
|
78
|
+
colorEnd: "static-transparent",
|
|
79
|
+
}} />
|
|
80
|
+
<Column fillWidth padding="4" gap="2">
|
|
81
|
+
<Option
|
|
82
|
+
label="Profile 1"
|
|
83
|
+
value="profile"
|
|
84
|
+
hasPrefix={
|
|
85
|
+
<Avatar src="/images/creators/justin.jpg"/>
|
|
86
|
+
}/>
|
|
87
|
+
<Option
|
|
88
|
+
label="Profile 2"
|
|
89
|
+
value="profile"
|
|
90
|
+
hasPrefix={
|
|
91
|
+
<Avatar src="/images/creators/light.jpg"/>
|
|
92
|
+
}/>
|
|
93
|
+
</Column>
|
|
94
|
+
<Line />
|
|
95
|
+
<Column fillWidth padding="4" gap="2">
|
|
96
|
+
<Option
|
|
97
|
+
label="Account"
|
|
98
|
+
value="account"
|
|
99
|
+
hasPrefix={
|
|
100
|
+
<Icon padding="4" margin="2" size="s" name="person" onBackground="neutral-weak"/>
|
|
101
|
+
} />
|
|
102
|
+
<Option
|
|
103
|
+
label="Settings"
|
|
104
|
+
value="settings"
|
|
105
|
+
hasPrefix={
|
|
106
|
+
<Icon padding="4" margin="2" size="s" name="settings" onBackground="neutral-weak"/>
|
|
107
|
+
} />
|
|
108
|
+
<Option
|
|
109
|
+
label="Subscription"
|
|
110
|
+
value="subscription"
|
|
111
|
+
hasPrefix={
|
|
112
|
+
<Icon padding="4" margin="2" size="s" name="payment" onBackground="neutral-weak"/>
|
|
113
|
+
} />
|
|
114
|
+
<Option label="Help" value="help"
|
|
115
|
+
hasPrefix={
|
|
116
|
+
<Icon padding="4" margin="2" size="s" name="help" onBackground="neutral-weak"/>
|
|
117
|
+
} />
|
|
118
|
+
</Column>
|
|
119
|
+
<Line />
|
|
120
|
+
<Column fillWidth padding="4">
|
|
121
|
+
<Option padding="4" label="Log out" value="logout" hasPrefix={
|
|
122
|
+
<Icon padding="4" margin="2" size="s" name="logout" onBackground="neutral-weak"/>
|
|
123
|
+
} />
|
|
124
|
+
</Column>
|
|
125
|
+
</Column>
|
|
126
|
+
}
|
|
127
|
+
/>
|
|
128
|
+
</Row>
|
|
129
|
+
</Row>
|
|
130
|
+
</Row>
|
|
131
|
+
</Row>
|
|
132
|
+
);
|
|
133
|
+
};
|