@shavin/ui 0.0.0-stage → 0.1.0
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/CHANGELOG.md +94 -0
- package/LICENSE +21 -0
- package/README.md +81 -2
- package/components.json +15771 -0
- package/dist/authoring/types.js +0 -0
- package/dist/icons.d.ts +20 -0
- package/dist/icons.js +6 -0
- package/dist/index.d.ts +3325 -0
- package/dist/index.js +531 -0
- package/dist/inspector/FindingPopover.js +252 -0
- package/dist/inspector/Highlight.js +76 -0
- package/dist/inspector/Inspector.js +420 -0
- package/dist/inspector/InspectorRoot.js +75 -0
- package/dist/inspector/IssuesLayer.js +134 -0
- package/dist/inspector/IssuesList.js +174 -0
- package/dist/inspector/SettingsPanel.js +89 -0
- package/dist/inspector/ShavinMark.js +22 -0
- package/dist/inspector/Toolbar.js +202 -0
- package/dist/inspector/barPlacement.js +117 -0
- package/dist/inspector/env.js +59 -0
- package/dist/inspector/geometry.js +44 -0
- package/dist/inspector/ignored.js +52 -0
- package/dist/inspector/index.js +7 -0
- package/dist/inspector/journalClient.js +57 -0
- package/dist/inspector/journalState.js +36 -0
- package/dist/inspector/pin.js +43 -0
- package/dist/inspector/placement.js +96 -0
- package/dist/inspector/prompt.js +63 -0
- package/dist/inspector/scheme.js +56 -0
- package/dist/inspector/settings.js +54 -0
- package/dist/inspector/strings.js +67 -0
- package/dist/inspector/targets.js +31 -0
- package/dist/inspector/theme/ThemeControls.js +351 -0
- package/dist/inspector/theme/ThemePanel.js +32 -0
- package/dist/inspector/theme/useThemeController.js +560 -0
- package/dist/inspector/usePhone.js +32 -0
- package/dist/inspector/useSelectTool.js +82 -0
- package/dist/inspector/useTimeouts.js +22 -0
- package/dist/inspector/useTrackedRect.js +39 -0
- package/dist/lib/announce.js +47 -0
- package/dist/lib/bridge.js +43 -0
- package/dist/lib/buttonState.js +81 -0
- package/dist/lib/chart-kit.js +226 -0
- package/dist/lib/cn.js +8 -0
- package/dist/lib/color-space.js +315 -0
- package/dist/lib/concentric.js +85 -0
- package/dist/lib/hit-area.js +25 -0
- package/dist/lib/inspector/collect.js +299 -0
- package/dist/lib/inspector/color.js +58 -0
- package/dist/lib/inspector/console-capture.js +96 -0
- package/dist/lib/inspector/index.js +8 -0
- package/dist/lib/inspector/rules.js +232 -0
- package/dist/lib/inspector/run.js +35 -0
- package/dist/lib/inspector/schema.js +110 -0
- package/dist/lib/inspector/selector.js +103 -0
- package/dist/lib/inspector/tokens.js +34 -0
- package/dist/lib/media-overlay-presets.js +284 -0
- package/dist/lib/media-overlays.js +381 -0
- package/dist/lib/meta.js +70 -0
- package/dist/lib/motion-gsap.js +25 -0
- package/dist/lib/motion-runtime.js +283 -0
- package/dist/lib/neutral-tint.js +108 -0
- package/dist/lib/portal-container.js +12 -0
- package/dist/lib/scroll-edges.js +41 -0
- package/dist/lib/surface.js +6 -0
- package/dist/lib/syntax.js +115 -0
- package/dist/lib/theme-presets.d.ts +1 -0
- package/dist/lib/theme-presets.js +759 -0
- package/dist/lib/useClientLocale.js +11 -0
- package/dist/lib/useFieldErrorAnnouncement.js +15 -0
- package/dist/lib/useReducedMotion.js +17 -0
- package/dist/lib/useResizable.js +313 -0
- package/dist/lib/useReturnFocus.js +24 -0
- package/dist/lib/useSlidingIndicator.js +56 -0
- package/dist/panels.d.ts +37 -0
- package/dist/panels.js +19 -0
- package/dist/primitives/Accordion/Accordion.doc.js +37 -0
- package/dist/primitives/Accordion/Accordion.js +87 -0
- package/dist/primitives/Accordion/index.js +2 -0
- package/dist/primitives/ActionBar/ActionBar.doc.js +37 -0
- package/dist/primitives/ActionBar/ActionBar.js +126 -0
- package/dist/primitives/ActionBar/index.js +2 -0
- package/dist/primitives/AlertDialog/AlertDialog.doc.js +54 -0
- package/dist/primitives/AlertDialog/AlertDialog.js +113 -0
- package/dist/primitives/AlertDialog/index.js +2 -0
- package/dist/primitives/AppShell/AppShell.doc.js +81 -0
- package/dist/primitives/AppShell/AppShell.js +178 -0
- package/dist/primitives/AppShell/frame-context.js +10 -0
- package/dist/primitives/AppShell/index.js +2 -0
- package/dist/primitives/AspectRatio/AspectRatio.doc.js +34 -0
- package/dist/primitives/AspectRatio/AspectRatio.js +5 -0
- package/dist/primitives/AspectRatio/index.js +2 -0
- package/dist/primitives/Avatar/Avatar.doc.js +40 -0
- package/dist/primitives/Avatar/Avatar.js +62 -0
- package/dist/primitives/Avatar/index.js +2 -0
- package/dist/primitives/Backdrop/Backdrop.doc.js +24 -0
- package/dist/primitives/Backdrop/Backdrop.js +42 -0
- package/dist/primitives/Backdrop/index.js +2 -0
- package/dist/primitives/Badge/Badge.doc.js +35 -0
- package/dist/primitives/Badge/Badge.js +95 -0
- package/dist/primitives/Badge/index.js +2 -0
- package/dist/primitives/BarChart/BarChart.doc.js +59 -0
- package/dist/primitives/BarChart/BarChart.js +154 -0
- package/dist/primitives/BarChart/index.js +2 -0
- package/dist/primitives/BlockPreview/BlockPreview.doc.js +51 -0
- package/dist/primitives/BlockPreview/BlockPreview.js +485 -0
- package/dist/primitives/BlockPreview/index.js +8 -0
- package/dist/primitives/Blockquote/Blockquote.doc.js +25 -0
- package/dist/primitives/Blockquote/Blockquote.js +19 -0
- package/dist/primitives/Blockquote/index.js +2 -0
- package/dist/primitives/BottomNav/BottomNav.doc.js +37 -0
- package/dist/primitives/BottomNav/BottomNav.js +54 -0
- package/dist/primitives/BottomNav/index.js +2 -0
- package/dist/primitives/Box/Box.doc.js +45 -0
- package/dist/primitives/Box/Box.js +51 -0
- package/dist/primitives/Box/index.js +2 -0
- package/dist/primitives/Breadcrumbs/Breadcrumbs.doc.js +35 -0
- package/dist/primitives/Breadcrumbs/Breadcrumbs.js +40 -0
- package/dist/primitives/Breadcrumbs/index.js +2 -0
- package/dist/primitives/Button/Button.doc.js +80 -0
- package/dist/primitives/Button/Button.js +132 -0
- package/dist/primitives/Button/index.js +2 -0
- package/dist/primitives/Calendar/Calendar.doc.js +36 -0
- package/dist/primitives/Calendar/Calendar.js +502 -0
- package/dist/primitives/Calendar/index.js +2 -0
- package/dist/primitives/Callout/Callout.doc.js +34 -0
- package/dist/primitives/Callout/Callout.js +63 -0
- package/dist/primitives/Callout/index.js +2 -0
- package/dist/primitives/Card/Card.doc.js +46 -0
- package/dist/primitives/Card/Card.js +159 -0
- package/dist/primitives/Card/index.js +2 -0
- package/dist/primitives/Carousel/Carousel.doc.js +61 -0
- package/dist/primitives/Carousel/Carousel.js +369 -0
- package/dist/primitives/Carousel/index.js +1 -0
- package/dist/primitives/ChatBubble/ChatBubble.doc.js +37 -0
- package/dist/primitives/ChatBubble/ChatBubble.js +120 -0
- package/dist/primitives/ChatBubble/index.js +2 -0
- package/dist/primitives/Checkbox/Checkbox.doc.js +36 -0
- package/dist/primitives/Checkbox/Checkbox.js +57 -0
- package/dist/primitives/Checkbox/index.js +2 -0
- package/dist/primitives/CheckboxCards/CheckboxCards.doc.js +35 -0
- package/dist/primitives/CheckboxCards/CheckboxCards.js +47 -0
- package/dist/primitives/CheckboxCards/index.js +2 -0
- package/dist/primitives/CheckboxGroup/CheckboxGroup.doc.js +35 -0
- package/dist/primitives/CheckboxGroup/CheckboxGroup.js +40 -0
- package/dist/primitives/CheckboxGroup/index.js +2 -0
- package/dist/primitives/Code/Code.doc.js +22 -0
- package/dist/primitives/Code/Code.js +17 -0
- package/dist/primitives/Code/index.js +2 -0
- package/dist/primitives/CodeBlock/CodeBlock.doc.js +36 -0
- package/dist/primitives/CodeBlock/CodeBlock.js +205 -0
- package/dist/primitives/CodeBlock/index.js +2 -0
- package/dist/primitives/CodeEditor/CodeEditor.doc.js +53 -0
- package/dist/primitives/CodeEditor/CodeEditor.js +204 -0
- package/dist/primitives/CodeEditor/index.js +4 -0
- package/dist/primitives/ColorPicker/ColorPicker.doc.js +37 -0
- package/dist/primitives/ColorPicker/ColorPicker.js +776 -0
- package/dist/primitives/ColorPicker/index.js +2 -0
- package/dist/primitives/Combobox/Combobox.doc.js +36 -0
- package/dist/primitives/Combobox/Combobox.js +199 -0
- package/dist/primitives/Combobox/index.js +2 -0
- package/dist/primitives/Container/Container.doc.js +46 -0
- package/dist/primitives/Container/Container.js +54 -0
- package/dist/primitives/Container/index.js +2 -0
- package/dist/primitives/ContextMenu/ContextMenu.doc.js +36 -0
- package/dist/primitives/ContextMenu/ContextMenu.js +59 -0
- package/dist/primitives/ContextMenu/index.js +2 -0
- package/dist/primitives/DataList/DataList.doc.js +34 -0
- package/dist/primitives/DataList/DataList.js +35 -0
- package/dist/primitives/DataList/index.js +2 -0
- package/dist/primitives/DatePicker/DatePicker.doc.js +36 -0
- package/dist/primitives/DatePicker/DatePicker.js +398 -0
- package/dist/primitives/DatePicker/index.js +2 -0
- package/dist/primitives/Dialog/Dialog.doc.js +107 -0
- package/dist/primitives/Dialog/Dialog.js +143 -0
- package/dist/primitives/Dialog/index.js +2 -0
- package/dist/primitives/DonutChart/DonutChart.doc.js +26 -0
- package/dist/primitives/DonutChart/DonutChart.js +71 -0
- package/dist/primitives/DonutChart/index.js +2 -0
- package/dist/primitives/Drawer/Drawer.doc.js +44 -0
- package/dist/primitives/Drawer/Drawer.js +158 -0
- package/dist/primitives/Drawer/index.js +2 -0
- package/dist/primitives/Dropdown/Dropdown.doc.js +40 -0
- package/dist/primitives/Dropdown/Dropdown.js +146 -0
- package/dist/primitives/Dropdown/index.js +2 -0
- package/dist/primitives/Emphasis/Emphasis.doc.js +28 -0
- package/dist/primitives/Emphasis/Emphasis.js +25 -0
- package/dist/primitives/Emphasis/index.js +2 -0
- package/dist/primitives/EmptyState/EmptyState.doc.js +76 -0
- package/dist/primitives/EmptyState/EmptyState.js +118 -0
- package/dist/primitives/EmptyState/index.js +2 -0
- package/dist/primitives/FileOutput/FileOutput.doc.js +26 -0
- package/dist/primitives/FileOutput/FileOutput.js +55 -0
- package/dist/primitives/FileOutput/index.js +2 -0
- package/dist/primitives/Flex/Flex.doc.js +58 -0
- package/dist/primitives/Flex/Flex.js +98 -0
- package/dist/primitives/Flex/index.js +2 -0
- package/dist/primitives/FormErrorSummary/FormErrorSummary.doc.js +39 -0
- package/dist/primitives/FormErrorSummary/FormErrorSummary.js +61 -0
- package/dist/primitives/FormErrorSummary/index.js +2 -0
- package/dist/primitives/FormField/FormField.doc.js +68 -0
- package/dist/primitives/FormField/FormField.js +149 -0
- package/dist/primitives/FormField/index.js +2 -0
- package/dist/primitives/FunnelChart/FunnelChart.doc.js +45 -0
- package/dist/primitives/FunnelChart/FunnelChart.js +54 -0
- package/dist/primitives/FunnelChart/index.js +2 -0
- package/dist/primitives/Grid/Grid.doc.js +57 -0
- package/dist/primitives/Grid/Grid.js +122 -0
- package/dist/primitives/Grid/index.js +2 -0
- package/dist/primitives/Heading/Heading.doc.js +46 -0
- package/dist/primitives/Heading/Heading.js +80 -0
- package/dist/primitives/Heading/index.js +2 -0
- package/dist/primitives/Heatmap/Heatmap.doc.js +49 -0
- package/dist/primitives/Heatmap/Heatmap.js +42 -0
- package/dist/primitives/Heatmap/index.js +2 -0
- package/dist/primitives/HoverCard/HoverCard.doc.js +36 -0
- package/dist/primitives/HoverCard/HoverCard.js +39 -0
- package/dist/primitives/HoverCard/index.js +2 -0
- package/dist/primitives/Icon/Icon.doc.js +49 -0
- package/dist/primitives/Icon/Icon.js +214 -0
- package/dist/primitives/Icon/buckets/lucide-a.js +214 -0
- package/dist/primitives/Icon/buckets/lucide-b.js +298 -0
- package/dist/primitives/Icon/buckets/lucide-c.js +524 -0
- package/dist/primitives/Icon/buckets/lucide-d.js +110 -0
- package/dist/primitives/Icon/buckets/lucide-e.js +50 -0
- package/dist/primitives/Icon/buckets/lucide-f.js +264 -0
- package/dist/primitives/Icon/buckets/lucide-g.js +108 -0
- package/dist/primitives/Icon/buckets/lucide-h.js +112 -0
- package/dist/primitives/Icon/buckets/lucide-i.js +46 -0
- package/dist/primitives/Icon/buckets/lucide-j.js +6 -0
- package/dist/primitives/Icon/buckets/lucide-k.js +18 -0
- package/dist/primitives/Icon/buckets/lucide-l.js +162 -0
- package/dist/primitives/Icon/buckets/lucide-m.js +266 -0
- package/dist/primitives/Icon/buckets/lucide-n.js +34 -0
- package/dist/primitives/Icon/buckets/lucide-o.js +20 -0
- package/dist/primitives/Icon/buckets/lucide-p.js +216 -0
- package/dist/primitives/Icon/buckets/lucide-q.js +6 -0
- package/dist/primitives/Icon/buckets/lucide-r.js +140 -0
- package/dist/primitives/Icon/buckets/lucide-s.js +490 -0
- package/dist/primitives/Icon/buckets/lucide-t.js +204 -0
- package/dist/primitives/Icon/buckets/lucide-u.js +84 -0
- package/dist/primitives/Icon/buckets/lucide-v.js +46 -0
- package/dist/primitives/Icon/buckets/lucide-w.js +82 -0
- package/dist/primitives/Icon/buckets/lucide-x.js +6 -0
- package/dist/primitives/Icon/buckets/lucide-z.js +36 -0
- package/dist/primitives/Icon/buckets/phosphor-a.js +250 -0
- package/dist/primitives/Icon/buckets/phosphor-b.js +158 -0
- package/dist/primitives/Icon/buckets/phosphor-c.js +320 -0
- package/dist/primitives/Icon/buckets/phosphor-d.js +90 -0
- package/dist/primitives/Icon/buckets/phosphor-e.js +52 -0
- package/dist/primitives/Icon/buckets/phosphor-f.js +162 -0
- package/dist/primitives/Icon/buckets/phosphor-g.js +92 -0
- package/dist/primitives/Icon/buckets/phosphor-h.js +88 -0
- package/dist/primitives/Icon/buckets/phosphor-i.js +26 -0
- package/dist/primitives/Icon/buckets/phosphor-j.js +8 -0
- package/dist/primitives/Icon/buckets/phosphor-k.js +8 -0
- package/dist/primitives/Icon/buckets/phosphor-l.js +84 -0
- package/dist/primitives/Icon/buckets/phosphor-m.js +110 -0
- package/dist/primitives/Icon/buckets/phosphor-n.js +100 -0
- package/dist/primitives/Icon/buckets/phosphor-o.js +14 -0
- package/dist/primitives/Icon/buckets/phosphor-p.js +166 -0
- package/dist/primitives/Icon/buckets/phosphor-q.js +10 -0
- package/dist/primitives/Icon/buckets/phosphor-r.js +46 -0
- package/dist/primitives/Icon/buckets/phosphor-s.js +254 -0
- package/dist/primitives/Icon/buckets/phosphor-t.js +152 -0
- package/dist/primitives/Icon/buckets/phosphor-u.js +38 -0
- package/dist/primitives/Icon/buckets/phosphor-v.js +22 -0
- package/dist/primitives/Icon/buckets/phosphor-w.js +48 -0
- package/dist/primitives/Icon/buckets/phosphor-x.js +4 -0
- package/dist/primitives/Icon/buckets/phosphor-y.js +8 -0
- package/dist/primitives/Icon/icon-display-names.generated.js +4 -0
- package/dist/primitives/Icon/icon-loaders.generated.js +70 -0
- package/dist/primitives/Icon/icon-names-material.generated.js +4 -0
- package/dist/primitives/Icon/icon-names.js +11 -0
- package/dist/primitives/Icon/index.js +7 -0
- package/dist/primitives/IconButton/IconButton.doc.js +43 -0
- package/dist/primitives/IconButton/IconButton.js +98 -0
- package/dist/primitives/IconButton/index.js +2 -0
- package/dist/primitives/IconPicker/IconPicker.doc.js +52 -0
- package/dist/primitives/IconPicker/IconPicker.js +193 -0
- package/dist/primitives/IconPicker/index.js +2 -0
- package/dist/primitives/IconPicker/registry.js +98 -0
- package/dist/primitives/Image/Image.doc.js +40 -0
- package/dist/primitives/Image/Image.js +76 -0
- package/dist/primitives/Image/index.js +2 -0
- package/dist/primitives/Inset/Inset.doc.js +34 -0
- package/dist/primitives/Inset/Inset.js +51 -0
- package/dist/primitives/Inset/index.js +2 -0
- package/dist/primitives/Kbd/Kbd.doc.js +22 -0
- package/dist/primitives/Kbd/Kbd.js +17 -0
- package/dist/primitives/Kbd/index.js +2 -0
- package/dist/primitives/LineChart/LineChart.doc.js +61 -0
- package/dist/primitives/LineChart/LineChart.js +146 -0
- package/dist/primitives/LineChart/index.js +2 -0
- package/dist/primitives/Link/Link.doc.js +45 -0
- package/dist/primitives/Link/Link.js +37 -0
- package/dist/primitives/Link/index.js +2 -0
- package/dist/primitives/List/List.doc.js +35 -0
- package/dist/primitives/List/List.js +35 -0
- package/dist/primitives/List/index.js +2 -0
- package/dist/primitives/Menu/Menu.doc.js +37 -0
- package/dist/primitives/Menu/Menu.js +117 -0
- package/dist/primitives/Menu/index.js +2 -0
- package/dist/primitives/Murmur/Murmur.doc.js +32 -0
- package/dist/primitives/Murmur/Murmur.js +85 -0
- package/dist/primitives/Murmur/engine.js +163 -0
- package/dist/primitives/Murmur/index.js +12 -0
- package/dist/primitives/Pagination/Pagination.doc.js +37 -0
- package/dist/primitives/Pagination/Pagination.js +183 -0
- package/dist/primitives/Pagination/index.js +2 -0
- package/dist/primitives/PanelGroup/PanelGroup.doc.js +41 -0
- package/dist/primitives/PanelGroup/PanelGroup.js +142 -0
- package/dist/primitives/PanelGroup/index.js +2 -0
- package/dist/primitives/Popover/Popover.doc.js +36 -0
- package/dist/primitives/Popover/Popover.js +41 -0
- package/dist/primitives/Popover/index.js +2 -0
- package/dist/primitives/Progress/Progress.doc.js +35 -0
- package/dist/primitives/Progress/Progress.js +77 -0
- package/dist/primitives/Progress/index.js +2 -0
- package/dist/primitives/RadioGroup/RadioGroup.doc.js +36 -0
- package/dist/primitives/RadioGroup/RadioGroup.js +132 -0
- package/dist/primitives/RadioGroup/index.js +2 -0
- package/dist/primitives/Rating/NpsScale.js +102 -0
- package/dist/primitives/Rating/Rating.doc.js +35 -0
- package/dist/primitives/Rating/Rating.js +116 -0
- package/dist/primitives/Rating/RatingSummary.js +50 -0
- package/dist/primitives/Rating/SentimentRating.js +81 -0
- package/dist/primitives/Rating/index.js +5 -0
- package/dist/primitives/Reasoning/Reasoning.doc.js +28 -0
- package/dist/primitives/Reasoning/Reasoning.js +73 -0
- package/dist/primitives/Reasoning/index.js +2 -0
- package/dist/primitives/Resizable/Resizable.doc.js +50 -0
- package/dist/primitives/Resizable/ResizeHandle.js +185 -0
- package/dist/primitives/Resizable/index.js +2 -0
- package/dist/primitives/Row/Row.doc.js +36 -0
- package/dist/primitives/Row/Row.js +53 -0
- package/dist/primitives/Row/index.js +2 -0
- package/dist/primitives/ScrollArea/ScrollArea.doc.js +35 -0
- package/dist/primitives/ScrollArea/ScrollArea.js +50 -0
- package/dist/primitives/ScrollArea/index.js +2 -0
- package/dist/primitives/Section/Section.doc.js +64 -0
- package/dist/primitives/Section/Section.js +76 -0
- package/dist/primitives/Section/index.js +2 -0
- package/dist/primitives/SegmentedControl/SegmentedControl.doc.js +75 -0
- package/dist/primitives/SegmentedControl/SegmentedControl.js +160 -0
- package/dist/primitives/SegmentedControl/index.js +2 -0
- package/dist/primitives/Select/Select.doc.js +42 -0
- package/dist/primitives/Select/Select.js +180 -0
- package/dist/primitives/Select/index.js +2 -0
- package/dist/primitives/Separator/Separator.doc.js +34 -0
- package/dist/primitives/Separator/Separator.js +84 -0
- package/dist/primitives/Separator/index.js +2 -0
- package/dist/primitives/ShavinDevTools/DevToolsPanel.js +2050 -0
- package/dist/primitives/ShavinDevTools/ShavinDevTools.doc.js +44 -0
- package/dist/primitives/ShavinDevTools/ShavinDevTools.js +15 -0
- package/dist/primitives/ShavinDevTools/index.js +8 -0
- package/dist/primitives/ShavinDevTools/types.js +0 -0
- package/dist/primitives/Sidebar/Sidebar.doc.js +39 -0
- package/dist/primitives/Sidebar/Sidebar.js +295 -0
- package/dist/primitives/Sidebar/index.js +2 -0
- package/dist/primitives/Skeleton/Skeleton.doc.js +38 -0
- package/dist/primitives/Skeleton/Skeleton.js +36 -0
- package/dist/primitives/Skeleton/index.js +2 -0
- package/dist/primitives/Slider/Slider.doc.js +45 -0
- package/dist/primitives/Slider/Slider.js +406 -0
- package/dist/primitives/Slider/index.js +2 -0
- package/dist/primitives/Sortable/Sortable.doc.js +35 -0
- package/dist/primitives/Sortable/Sortable.js +179 -0
- package/dist/primitives/Sortable/index.js +2 -0
- package/dist/primitives/Sparkline/Sparkline.doc.js +25 -0
- package/dist/primitives/Sparkline/Sparkline.js +46 -0
- package/dist/primitives/Sparkline/index.js +2 -0
- package/dist/primitives/Spinner/Spinner.doc.js +35 -0
- package/dist/primitives/Spinner/Spinner.js +162 -0
- package/dist/primitives/Spinner/index.js +2 -0
- package/dist/primitives/Spotlight/Spotlight.doc.js +36 -0
- package/dist/primitives/Spotlight/Spotlight.js +139 -0
- package/dist/primitives/Spotlight/index.js +2 -0
- package/dist/primitives/Stepper/Stepper.doc.js +46 -0
- package/dist/primitives/Stepper/Stepper.js +235 -0
- package/dist/primitives/Stepper/index.js +2 -0
- package/dist/primitives/Switch/Switch.doc.js +36 -0
- package/dist/primitives/Switch/Switch.js +54 -0
- package/dist/primitives/Switch/index.js +2 -0
- package/dist/primitives/Table/Table.doc.js +47 -0
- package/dist/primitives/Table/Table.js +63 -0
- package/dist/primitives/Table/index.js +2 -0
- package/dist/primitives/Tabs/Tabs.doc.js +53 -0
- package/dist/primitives/Tabs/Tabs.js +275 -0
- package/dist/primitives/Tabs/index.js +2 -0
- package/dist/primitives/Text/Text.doc.js +35 -0
- package/dist/primitives/Text/Text.js +67 -0
- package/dist/primitives/Text/index.js +2 -0
- package/dist/primitives/TextArea/TextArea.doc.js +35 -0
- package/dist/primitives/TextArea/TextArea.js +45 -0
- package/dist/primitives/TextArea/index.js +2 -0
- package/dist/primitives/TextField/TextField.doc.js +41 -0
- package/dist/primitives/TextField/TextField.js +290 -0
- package/dist/primitives/TextField/index.js +2 -0
- package/dist/primitives/ThemeProvider/ScopedThemeProvider.js +71 -0
- package/dist/primitives/ThemeProvider/ThemeProvider.doc.js +61 -0
- package/dist/primitives/ThemeProvider/ThemeProvider.js +143 -0
- package/dist/primitives/ThemeProvider/clientTheme.js +47 -0
- package/dist/primitives/ThemeProvider/index.js +3 -0
- package/dist/primitives/ThemeProvider/themeContext.js +11 -0
- package/dist/primitives/ThemeSwitcher/ThemeSwitcher.doc.js +49 -0
- package/dist/primitives/ThemeSwitcher/ThemeSwitcher.js +323 -0
- package/dist/primitives/ThemeSwitcher/index.js +2 -0
- package/dist/primitives/TimePicker/TimePicker.doc.js +36 -0
- package/dist/primitives/TimePicker/TimePicker.js +368 -0
- package/dist/primitives/TimePicker/index.js +2 -0
- package/dist/primitives/Toast/Toast.doc.js +65 -0
- package/dist/primitives/Toast/Toast.js +304 -0
- package/dist/primitives/Toast/index.js +2 -0
- package/dist/primitives/ToolCall/ToolCall.doc.js +29 -0
- package/dist/primitives/ToolCall/ToolCall.js +75 -0
- package/dist/primitives/ToolCall/index.js +2 -0
- package/dist/primitives/Tooltip/Tooltip.doc.js +37 -0
- package/dist/primitives/Tooltip/Tooltip.js +55 -0
- package/dist/primitives/Tooltip/index.js +2 -0
- package/dist/primitives/TopBar/TopBar.doc.js +34 -0
- package/dist/primitives/TopBar/TopBar.js +8 -0
- package/dist/primitives/TopBar/index.js +2 -0
- package/dist/primitives/Video/PauseToggle.js +49 -0
- package/dist/primitives/Video/Video.doc.js +47 -0
- package/dist/primitives/Video/Video.js +104 -0
- package/dist/primitives/Video/index.js +1 -0
- package/dist/primitives/VoiceInput/VoiceInput.doc.js +38 -0
- package/dist/primitives/VoiceInput/VoiceInput.js +96 -0
- package/dist/primitives/VoiceInput/index.js +2 -0
- package/dist/primitives/WiseOwlLogo/WiseOwlLogo.doc.js +38 -0
- package/dist/primitives/WiseOwlLogo/WiseOwlLogo.js +82 -0
- package/dist/primitives/WiseOwlLogo/index.js +2 -0
- package/dist/primitives/WiseOwlLogo/paths.js +10 -0
- package/dist/server.d.ts +256 -0
- package/dist/server.js +22 -0
- package/dist/styles/base-oklch.css +124 -0
- package/dist/styles/base-oklch.d.ts +2 -0
- package/dist/styles/base.css +124 -0
- package/dist/styles/base.d.ts +2 -0
- package/dist/styles/brand-preset.d.ts +22 -0
- package/dist/styles/brand-preset.js +13 -0
- package/dist/styles/brand-theme-v4-oklch.css +2 -0
- package/dist/styles/brand-theme-v4-oklch.d.ts +2 -0
- package/dist/styles/brand-theme-v4.css +2 -0
- package/dist/styles/brand-theme-v4.d.ts +2 -0
- package/dist/styles/brand-tokens-oklch.css +6 -0
- package/dist/styles/brand-tokens-oklch.d.ts +2 -0
- package/dist/styles/brand-tokens.css +6 -0
- package/dist/styles/brand-tokens.d.ts +2 -0
- package/dist/styles/global-oklch.css +1329 -0
- package/dist/styles/global-oklch.d.ts +2 -0
- package/dist/styles/global.css +1329 -0
- package/dist/styles/global.d.ts +2 -0
- package/dist/styles/theme-v4-oklch.css +22 -0
- package/dist/styles/theme-v4-oklch.d.ts +2 -0
- package/dist/styles/theme-v4.css +22 -0
- package/dist/styles/theme-v4.d.ts +2 -0
- package/dist/styles/tokens-oklch.css +1204 -0
- package/dist/styles/tokens-oklch.d.ts +2 -0
- package/dist/styles/tokens.css +1204 -0
- package/dist/styles/tokens.d.ts +2 -0
- package/dist/tailwind-preset.cjs +155 -0
- package/dist/tailwind-preset.d.ts +112 -0
- package/dist/tailwind-preset.js +133 -0
- package/dist/theme-presets-BVWZ_TxX.d.ts +514 -0
- package/global-oklch.css +3 -0
- package/package.json +169 -4
- package/styles.css +3 -0
- package/tailwind-preset.ts +140 -0
- package/tokens.json +423 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef, useState } from "react";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "../../lib/cn.js";
|
|
6
|
+
import { useReducedMotion } from "../../lib/useReducedMotion.js";
|
|
7
|
+
import { VideoPauseToggle } from "./PauseToggle.js";
|
|
8
|
+
const videoVariants = cva("block overflow-hidden bg-surface-hover", {
|
|
9
|
+
variants: {
|
|
10
|
+
radius: {
|
|
11
|
+
none: "rounded-none",
|
|
12
|
+
small: "rounded-[0.25rem]",
|
|
13
|
+
medium: "rounded-[0.5rem]",
|
|
14
|
+
large: "rounded-[0.75rem]",
|
|
15
|
+
full: "rounded-full",
|
|
16
|
+
inherit: "rounded-[var(--radius-panel)]",
|
|
17
|
+
concentric: "rounded-panel-inner"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: { radius: "inherit" }
|
|
21
|
+
});
|
|
22
|
+
const FIT_CLASS = { cover: "object-cover", contain: "object-contain", fill: "object-fill", none: "object-none" };
|
|
23
|
+
function Video({
|
|
24
|
+
src,
|
|
25
|
+
poster,
|
|
26
|
+
fit = "cover",
|
|
27
|
+
ratio,
|
|
28
|
+
radius,
|
|
29
|
+
autoPlay = true,
|
|
30
|
+
loop = true,
|
|
31
|
+
muted = true,
|
|
32
|
+
controls = false,
|
|
33
|
+
placeholder,
|
|
34
|
+
captions,
|
|
35
|
+
captionsLang = "en",
|
|
36
|
+
label,
|
|
37
|
+
decorative = false,
|
|
38
|
+
className,
|
|
39
|
+
style,
|
|
40
|
+
...props
|
|
41
|
+
}) {
|
|
42
|
+
const videoRef = useRef(null);
|
|
43
|
+
const reducedMotion = useReducedMotion();
|
|
44
|
+
const shouldAutoPlay = autoPlay && !reducedMotion;
|
|
45
|
+
const [playing, setPlaying] = useState(false);
|
|
46
|
+
useEffect(() => {
|
|
47
|
+
const v = videoRef.current;
|
|
48
|
+
if (!v) return;
|
|
49
|
+
if (!shouldAutoPlay && !v.paused) v.pause();
|
|
50
|
+
setPlaying(!v.paused);
|
|
51
|
+
}, [shouldAutoPlay]);
|
|
52
|
+
const needsToggle = !controls && (autoPlay || loop);
|
|
53
|
+
const showPlaceholder = !src;
|
|
54
|
+
const boxStyle = { ...ratio ? { aspectRatio: ratio } : null, ...style };
|
|
55
|
+
if (showPlaceholder) {
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
role: "img",
|
|
60
|
+
"aria-label": "Video placeholder",
|
|
61
|
+
className: cn(videoVariants({ radius }), "flex w-full items-center justify-center relative bg-surface-hover text-fg-subtle", className),
|
|
62
|
+
style: boxStyle,
|
|
63
|
+
children: placeholder ?? /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 24 24", fill: "none", className: "h-1/4 max-h-10 w-1/4 max-w-10 text-fg-subtle", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
64
|
+
/* @__PURE__ */ jsx("rect", { x: "2", y: "4", width: "20", height: "16", rx: "2" }),
|
|
65
|
+
/* @__PURE__ */ jsx("path", { d: "m10 9 5 3-5 3z" })
|
|
66
|
+
] })
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
const video = /* @__PURE__ */ jsx(
|
|
71
|
+
"video",
|
|
72
|
+
{
|
|
73
|
+
ref: videoRef,
|
|
74
|
+
src,
|
|
75
|
+
poster,
|
|
76
|
+
autoPlay: shouldAutoPlay,
|
|
77
|
+
loop,
|
|
78
|
+
muted,
|
|
79
|
+
controls,
|
|
80
|
+
playsInline: true,
|
|
81
|
+
"aria-hidden": decorative || void 0,
|
|
82
|
+
"aria-label": decorative ? void 0 : label,
|
|
83
|
+
tabIndex: decorative ? -1 : void 0,
|
|
84
|
+
onPlay: () => setPlaying(true),
|
|
85
|
+
onPause: () => setPlaying(false),
|
|
86
|
+
className: cn(
|
|
87
|
+
needsToggle ? "h-full w-full" : cn(videoVariants({ radius }), "h-full w-full", className),
|
|
88
|
+
FIT_CLASS[fit]
|
|
89
|
+
),
|
|
90
|
+
style: needsToggle ? void 0 : boxStyle,
|
|
91
|
+
...props,
|
|
92
|
+
children: captions && /* @__PURE__ */ jsx("track", { kind: "captions", src: captions, srcLang: captionsLang, default: true })
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
if (!needsToggle) return video;
|
|
96
|
+
return /* @__PURE__ */ jsxs("div", { className: cn(videoVariants({ radius }), "relative", className), style: boxStyle, children: [
|
|
97
|
+
video,
|
|
98
|
+
/* @__PURE__ */ jsx(VideoPauseToggle, { videoRef, playing, label: label ?? "video" })
|
|
99
|
+
] });
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
Video,
|
|
103
|
+
videoVariants
|
|
104
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Video.js";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const docs = {
|
|
2
|
+
name: "VoiceInput",
|
|
3
|
+
description: "Voice-to-text control for a composer: idle mic, microphone permission wait, live waveform with timer, transcribing and error.",
|
|
4
|
+
features: [
|
|
5
|
+
"state: idle, requesting, listening, transcribing, processing, error. processing is the step after transcribing, when the app acts on what was said",
|
|
6
|
+
"mode: push-to-send (default, waveform plus a send arrow) or hands-free (voice-activity detection, no send; a centred Murmur stack that fits a side panel)",
|
|
7
|
+
"description is a quiet context line, e.g. what a voice command will act on",
|
|
8
|
+
"The transcript wraps to two lines instead of truncating, at any container width",
|
|
9
|
+
"onCancel adds a cancel button while requesting, transcribing and processing",
|
|
10
|
+
"level (0-1) drives the waveform, omit for a gentle pulse",
|
|
11
|
+
"Cancel discards, Stop sends"
|
|
12
|
+
],
|
|
13
|
+
accessibility: [
|
|
14
|
+
"Every icon button has an aria-label",
|
|
15
|
+
"Requesting, transcribing and processing use role=status, error uses role=alert",
|
|
16
|
+
"Waveform is decorative (aria-hidden)"
|
|
17
|
+
],
|
|
18
|
+
keyboard: "Tab to Discard or Stop and send, Enter or Space to activate.",
|
|
19
|
+
usage: {
|
|
20
|
+
bestPractices: [
|
|
21
|
+
{ guidance: true, description: "Own the MediaRecorder and speech logic in your app, VoiceInput is the visual state only." },
|
|
22
|
+
{ guidance: false, description: "Do not start recording on mount, always require a user click." }
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
examples: [
|
|
26
|
+
{
|
|
27
|
+
title: "Hands-free dock",
|
|
28
|
+
code: '<VoiceInput mode="hands-free" state="listening" level={0.4} transcript="make this heading bigger" description="Pointing at Hero heading" onStop={() => {}} />'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Listening",
|
|
32
|
+
code: '<VoiceInput state="listening" level={0.6} elapsed="0:07" onStop={() => {}} onCancel={() => {}} />'
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
docs
|
|
38
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../lib/cn.js";
|
|
4
|
+
import { Button } from "../Button/Button.js";
|
|
5
|
+
import { IconButton } from "../IconButton/IconButton.js";
|
|
6
|
+
import { Murmur } from "../Murmur/Murmur.js";
|
|
7
|
+
import { Text } from "../Text/index.js";
|
|
8
|
+
import { ArrowUp, Mic, MicOff, X } from "lucide-react";
|
|
9
|
+
const BARS = 24;
|
|
10
|
+
function VoiceInput({
|
|
11
|
+
state = "idle",
|
|
12
|
+
mode = "push-to-send",
|
|
13
|
+
description,
|
|
14
|
+
processingLabel = "Working on it\u2026",
|
|
15
|
+
level,
|
|
16
|
+
elapsed,
|
|
17
|
+
transcript,
|
|
18
|
+
error,
|
|
19
|
+
onStart,
|
|
20
|
+
onDismiss,
|
|
21
|
+
onStop,
|
|
22
|
+
onCancel,
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}) {
|
|
26
|
+
if (state === "idle") {
|
|
27
|
+
return /* @__PURE__ */ jsx("div", { className, ...props, children: /* @__PURE__ */ jsx(IconButton, { "aria-label": "Start voice input", variant: "ghost", size: "sm", onClick: onStart, children: /* @__PURE__ */ jsx(Mic, { className: "h-4 w-4", "aria-hidden": true }) }) });
|
|
28
|
+
}
|
|
29
|
+
if (state === "error") {
|
|
30
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", className), role: "alert", ...props, children: [
|
|
31
|
+
/* @__PURE__ */ jsx(MicOff, { className: "h-4 w-4 shrink-0 text-danger", "aria-hidden": true }),
|
|
32
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", color: "subtle", className: "min-w-0 truncate", children: error ?? "Voice input is unavailable." }),
|
|
33
|
+
onStart && /* @__PURE__ */ jsx(Button, { size: "sm", variant: "ghost", onClick: onStart, children: "Try again" }),
|
|
34
|
+
onDismiss && /* @__PURE__ */ jsx(IconButton, { "aria-label": "Dismiss", variant: "ghost", size: "sm", onClick: onDismiss, children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4", "aria-hidden": true }) })
|
|
35
|
+
] });
|
|
36
|
+
}
|
|
37
|
+
const cancel = onCancel && /* @__PURE__ */ jsx(IconButton, { "aria-label": "Cancel", variant: "ghost", size: "sm", onClick: onCancel, children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4", "aria-hidden": true }) });
|
|
38
|
+
const statusText = state === "requesting" ? "Allow microphone access\u2026" : state === "transcribing" ? "Transcribing\u2026" : state === "processing" ? processingLabel : null;
|
|
39
|
+
if (mode === "hands-free") {
|
|
40
|
+
const murmurState = state === "requesting" ? "idle" : state === "transcribing" ? "thinking" : state === "processing" ? "working" : "listening";
|
|
41
|
+
const headline = transcript && state !== "processing" ? transcript : statusText ?? "Listening, hands-free";
|
|
42
|
+
return /* @__PURE__ */ jsxs(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
className: cn("relative flex w-full min-w-0 flex-col items-center gap-3 px-4 py-5 text-center", className),
|
|
46
|
+
role: state === "listening" ? "group" : "status",
|
|
47
|
+
"aria-label": state === "listening" ? "Listening" : void 0,
|
|
48
|
+
...props,
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ jsx(Murmur, { state: murmurState, level, size: 48, dotSize: 0.8, dots: 80, label: "" }),
|
|
51
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-full min-w-0 flex-col gap-1", children: [
|
|
52
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", weight: "medium", className: cn("break-words", transcript && state === "listening" ? "line-clamp-2 italic" : "line-clamp-2"), children: headline }),
|
|
53
|
+
description && /* @__PURE__ */ jsx(Text, { size: "xs", color: "subtle", className: "truncate", children: description }),
|
|
54
|
+
elapsed && /* @__PURE__ */ jsx(Text, { size: "xs", color: "muted", className: "tabular-nums", children: elapsed })
|
|
55
|
+
] }),
|
|
56
|
+
/* @__PURE__ */ jsx(IconButton, { "aria-label": state === "listening" ? "Stop listening" : "Cancel", variant: "ghost", size: "sm", onClick: state === "listening" ? onStop ?? onCancel : onCancel ?? onStop, className: "absolute right-2 top-2", children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4", "aria-hidden": true }) })
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
if (statusText) {
|
|
62
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex min-w-0 flex-col gap-1", className), role: "status", ...props, children: [
|
|
63
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
64
|
+
/* @__PURE__ */ jsx(Murmur, { state: state === "requesting" ? "idle" : state === "processing" ? "working" : "thinking", size: 22, label: "" }),
|
|
65
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", color: "subtle", className: "min-w-0 flex-1", children: statusText }),
|
|
66
|
+
cancel
|
|
67
|
+
] }),
|
|
68
|
+
state === "transcribing" && transcript && /* @__PURE__ */ jsx(Text, { size: "xs", className: "line-clamp-2 break-words", children: transcript }),
|
|
69
|
+
description && /* @__PURE__ */ jsx(Text, { size: "xs", color: "subtle", className: "truncate", children: description })
|
|
70
|
+
] });
|
|
71
|
+
}
|
|
72
|
+
const l = Math.min(Math.max(level ?? 0.35, 0), 1);
|
|
73
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex w-full min-w-0 flex-col gap-1", className), role: "group", "aria-label": "Recording voice input", ...props, children: [
|
|
74
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
75
|
+
/* @__PURE__ */ jsx(IconButton, { "aria-label": "Discard recording", variant: "ghost", size: "sm", onClick: onCancel, children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4", "aria-hidden": true }) }),
|
|
76
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-8 min-w-0 flex-1 items-center justify-center gap-[3px]", "aria-hidden": true, children: Array.from({ length: BARS }).map((_, i) => {
|
|
77
|
+
const shape = 0.35 + 0.65 * Math.abs(Math.sin(i * 1.7 + 1));
|
|
78
|
+
return /* @__PURE__ */ jsx(
|
|
79
|
+
"span",
|
|
80
|
+
{
|
|
81
|
+
className: cn("w-[3px] rounded-full bg-brand transition-[height] duration-100", level === void 0 && "animate-pulse-dot"),
|
|
82
|
+
style: { height: `${Math.round(12 + 88 * l * shape)}%`, animationDelay: level === void 0 ? `${i * 40}ms` : void 0 }
|
|
83
|
+
},
|
|
84
|
+
i
|
|
85
|
+
);
|
|
86
|
+
}) }),
|
|
87
|
+
elapsed && /* @__PURE__ */ jsx(Text, { size: "xs", color: "muted", className: "tabular-nums", children: elapsed }),
|
|
88
|
+
/* @__PURE__ */ jsx(IconButton, { "aria-label": "Stop and send", variant: "solid", size: "sm", onClick: onStop, children: /* @__PURE__ */ jsx(ArrowUp, { className: "h-4 w-4", "aria-hidden": true }) })
|
|
89
|
+
] }),
|
|
90
|
+
transcript && /* @__PURE__ */ jsx(Text, { size: "xs", className: "line-clamp-2 break-words px-1", children: transcript }),
|
|
91
|
+
description && /* @__PURE__ */ jsx(Text, { size: "xs", color: "subtle", className: "truncate px-1", children: description })
|
|
92
|
+
] });
|
|
93
|
+
}
|
|
94
|
+
export {
|
|
95
|
+
VoiceInput
|
|
96
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const docs = {
|
|
2
|
+
name: "WiseOwlLogo",
|
|
3
|
+
internal: true,
|
|
4
|
+
description: "Internal: the logo of WiseOwl, the fictional finance product Shavin's examples and blocks are built around. WiseOwlLogo is the owl mark with the wordmark; WiseOwlMark is the owl on its own.",
|
|
5
|
+
features: [
|
|
6
|
+
"One currentColor path each, so the logo takes the theme colour; color: inherit (default), default, muted or brand (contrast-safe)",
|
|
7
|
+
"WiseOwlLogo heights: sm 24px, md 32px (default), lg 56px",
|
|
8
|
+
"WiseOwlMark sizes: xs 16px, sm 20px, md 24px (default), lg 32px, xl 48px",
|
|
9
|
+
"Static copies for non-React use at shavin.cc/brand/wiseowl/ (wiseowl-logo.svg, wiseowl-mark.svg, wiseowl-app-icon-512.png)"
|
|
10
|
+
],
|
|
11
|
+
notes: [
|
|
12
|
+
"WiseOwl is sample branding. In your own product, replace it with your logo.",
|
|
13
|
+
"Keep the full logo at least 20px high and the mark at least 16px; below that the wordmark and the owl's face blur."
|
|
14
|
+
],
|
|
15
|
+
accessibility: [
|
|
16
|
+
'Renders role="img" with aria-label="WiseOwl" (change it with label)',
|
|
17
|
+
"Pass decorative when the name is already written next to it; the SVG is then aria-hidden"
|
|
18
|
+
],
|
|
19
|
+
usage: {
|
|
20
|
+
bestPractices: [
|
|
21
|
+
{
|
|
22
|
+
guidance: true,
|
|
23
|
+
description: "Use it wherever a WiseOwl example shows the brand: nav bars, sidebars, footers and auth screens."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
guidance: false,
|
|
27
|
+
description: "Do not recolour it with raw colours or add a second colour; pick a color token instead."
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
examples: [
|
|
32
|
+
{ title: "Nav brand", code: '<Link href="/" aria-label="WiseOwl home"><WiseOwlLogo size="sm" decorative /></Link>' },
|
|
33
|
+
{ title: "Sidebar mark", code: '<WiseOwlMark size="md" color="brand" />' }
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
docs
|
|
38
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "../../lib/cn.js";
|
|
5
|
+
import { WISEOWL_LOGO_PATH, WISEOWL_LOGO_VIEWBOX, WISEOWL_MARK_PATH, WISEOWL_MARK_VIEWBOX } from "./paths.js";
|
|
6
|
+
const wiseOwlLogoVariants = cva("inline-block shrink-0 align-middle w-auto", {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
sm: "h-6",
|
|
10
|
+
md: "h-8",
|
|
11
|
+
lg: "h-14"
|
|
12
|
+
},
|
|
13
|
+
color: {
|
|
14
|
+
inherit: "text-current",
|
|
15
|
+
default: "text-fg",
|
|
16
|
+
muted: "text-fg-muted",
|
|
17
|
+
brand: "text-brand-contrast"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: { size: "md", color: "inherit" }
|
|
21
|
+
});
|
|
22
|
+
const wiseOwlMarkVariants = cva("inline-block shrink-0 align-middle", {
|
|
23
|
+
variants: {
|
|
24
|
+
size: {
|
|
25
|
+
xs: "h-4 w-4",
|
|
26
|
+
sm: "h-5 w-5",
|
|
27
|
+
md: "h-6 w-6",
|
|
28
|
+
lg: "h-8 w-8",
|
|
29
|
+
xl: "h-12 w-12"
|
|
30
|
+
},
|
|
31
|
+
color: {
|
|
32
|
+
inherit: "text-current",
|
|
33
|
+
default: "text-fg",
|
|
34
|
+
muted: "text-fg-muted",
|
|
35
|
+
brand: "text-brand-contrast"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: { size: "md", color: "inherit" }
|
|
39
|
+
});
|
|
40
|
+
const WiseOwlLogo = forwardRef(function WiseOwlLogo2({ size = "md", color = "inherit", label = "WiseOwl", decorative = false, className, ...rest }, ref) {
|
|
41
|
+
return /* @__PURE__ */ jsx(
|
|
42
|
+
"svg",
|
|
43
|
+
{
|
|
44
|
+
ref,
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
viewBox: WISEOWL_LOGO_VIEWBOX,
|
|
47
|
+
preserveAspectRatio: "xMinYMid meet",
|
|
48
|
+
fill: "currentColor",
|
|
49
|
+
"data-slot": "wiseowl-logo",
|
|
50
|
+
role: decorative ? void 0 : "img",
|
|
51
|
+
"aria-label": decorative ? void 0 : label,
|
|
52
|
+
"aria-hidden": decorative || void 0,
|
|
53
|
+
...rest,
|
|
54
|
+
className: cn(wiseOwlLogoVariants({ size, color }), className),
|
|
55
|
+
children: /* @__PURE__ */ jsx("path", { d: WISEOWL_LOGO_PATH })
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
});
|
|
59
|
+
const WiseOwlMark = forwardRef(function WiseOwlMark2({ size = "md", color = "inherit", label = "WiseOwl", decorative = false, className, ...rest }, ref) {
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
"svg",
|
|
62
|
+
{
|
|
63
|
+
ref,
|
|
64
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
65
|
+
viewBox: WISEOWL_MARK_VIEWBOX,
|
|
66
|
+
fill: "currentColor",
|
|
67
|
+
"data-slot": "wiseowl-mark",
|
|
68
|
+
role: decorative ? void 0 : "img",
|
|
69
|
+
"aria-label": decorative ? void 0 : label,
|
|
70
|
+
"aria-hidden": decorative || void 0,
|
|
71
|
+
...rest,
|
|
72
|
+
className: cn(wiseOwlMarkVariants({ size, color }), className),
|
|
73
|
+
children: /* @__PURE__ */ jsx("path", { d: WISEOWL_MARK_PATH })
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
WiseOwlLogo,
|
|
79
|
+
WiseOwlMark,
|
|
80
|
+
wiseOwlLogoVariants,
|
|
81
|
+
wiseOwlMarkVariants
|
|
82
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const WISEOWL_LOGO_VIEWBOX = "0 0 110 32";
|
|
2
|
+
const WISEOWL_LOGO_PATH = "m13.53 4h.53l.6 .07 .88 .22 .43 .18 .65 .34 .52 .36 .85 .77 .34-.12 .43-.13h.09l.06 .09 .1 .38 .08 .43v.42l-.08 .34-.09 .2 .08 .34-.02 .07-.09-.02-.43-.47-.17-.07-.12 .02-.09 .09-.07 .11-.15 .43-.09 .02-.32-.43-.15-.15-.43-.3-.25-.13-.7-.18-.31-.04h-.57l-.15-.14v-.04l-.2-.16-.46-.36-.4-.25-.66-.34-.38-.13h-.09l-.09 .27-.07 .87-.4 .27-.61 .57-.34 .45-.13 .22-.18 .41-.11 .34-.11 .62v.35l.06 .42 .09 .38 .14 .39 .22 .42 .18 .25 .39 .45 .6 .48 .74 .4 .34 .13 .59 .14 .02 .07-.25 .58-.18 .56-.16 .81-.04 .48 .02 .49 .05 .43 .11 .52 .25 .76 .15 .32 .39 .74 .61 .86 .88 .98 .54 .46h.04l-.36-.48-.59-.94-.45-.84-.27-.6-.24-.63-.25-.97-.07-.49-.02-.79 .11-.79 .2-.59 .14-.29 .16-.27 .2-.24 .14-.09 .49-.19 .63-.2 1.26-.22 .56-.39 .23-.22 .18-.18 .45-.59h.06l-.02 .12-.31 .7-.41 .67 .88 .29 .67 .34 .77 .56 .47 .45 .43 .56 .4 .66 .32 .81 .11 .4 .02 .2-.38-.26-4.27-3.16-.02 .28 .04 .35 .09 .36 .11 .27 .27 .37 .57 .53 2.29 1.72 1.62 1.16 .27 1.76-.4-.25-4.78-3.53v.31l.05 .39 .07 .27 .24 .51 .34 .36 .38 .32 1.53 1.17 1.65 1.21 1.15 .79 .27 1.99-.34-.21-5.02-3.71 .04 .56 .05 .27 .09 .29 .14 .29 .17 .23h.03l.49 .45 1.65 1.28 2.94 2.1 .16 1.46-.41-.05-.89-.26-.46-.19-.81-.44-.78-.48-.92-.69-1.69-1.4h-.03l-.11 .31 .57 .41-.01 .07-.51 .27h-.14l-.2-.07-.29-.16-.18-.15-.12-.19v-.2l.28-.99-.25-.22-.02 .11-.45 1.06v.06l.58 .43-.04 .07-.46 .25h-.17l-.16-.05-.54-.36-.09-.16v-.22l.36-1.19h-.32l-.49 1.23 .58 .43-.04 .07-.45 .23-.18 .02-.2-.07-.5-.34-.09-.15-.02-.12 .07-.33 .31-.99-.31 .02-.48 1.17v.06l.57 .45-.07 .07-.41 .21-.18 .02-.16-.05-.43-.27-.13-.11-.07-.13-.02-.14 .07-.31 .33-.99-.35 .02-.48 1.17v.06l.57 .43-.03 .07-.52 .25h-.13l-.18-.07-.41-.27-.15-.14v-.04l-2.45-.02v-1.24l2.72-.04 .11-.28 .67-.53h.19l.29 .15 .33 .21 .07-.01 .2-.2-.18-.04-.89-.34-.54-.27-.7-.45-.72-.57-.56-.56-.61-.79-.41-.69-.4-.84-.21-.65-.11-.43-.09-.49-.09-.9v-.7l.05-.58 .22-1.06 .27-.81-.15-.31-.19-.59-.17-.86-.01-.99 .12-.87 .27-.84 .4-.78 .47-.66 .64-.67 .85-.59 .47-.25 1.02-.35 .51-.09zm-5.46 12.98l.09 .01 .27 .78 .36 .79 .24 .41 .57 .83 .6 .67 .59 .52 .72 .5 .56 .33 .02 .03-.42 .36v.16l-1.29-.07-.18-.03-.35-.31-.57-.72-.43-.72-.26-.54-.32-.97-.11-.45-.14-1.01-.02-.56zm5.53-8.35l.2 .07 2.14 1.1v.05l-.24 .16-.41 .22-.33 .1-.5 .02-.23-.07-.17-.09-.17-.16-.15-.23-.09-.26-.07-.37zm4.12 1.71h.09l.29 .26 .12 .22 .09 .25 .02 .51-.05 .18-.17 .21-.07-.02-.12-.19-.36-.18-.49-.18-.23-.15 .01-.11 .2-.21zm1.42-1.25l.02 .31-.06 .34-.18 .31-.14 .09h-.16l-.22-.09-.3-.22 .03-.07zm-5.61-5.09h.53l.6 .07 .88 .22 .43 .18 .65 .34 .52 .36v.04l.15 .1-.04 .04-.25-.22-.79-.46-.35-.15v-.03l-.05 .01-.23-.1h-.08v-.06l-.05 .04-.07-.06-.38-.05-.43-.13-.88-.07-.72 .04v.03l-.07 .02-.08-.02-.21 .06h-.24l-.01 .05-.17 .06-.03-.02v.03l-.29 .09-.04-.01v.03l-.41 .11-.02-.04 .99-.34 .45-.09zm5.54 12.08l1.74 1.29 1.68 1.19-.06 .04-.25-.17-.41-.32-.33-.2-.09-.07v-.04l-.09-.01v-.04l-.32-.2-.18-.16-.76-.54v-.04l-.1-.03-.13-.09v-.04l-.22-.12-.07-.09-.25-.17-.18-.18zm-.94 2.14l.69 .61 2.05 1.57-.13-.02-.43-.34-.16-.09-.02-.06-.07-.02-.45-.34-.13-.11v-.03l-.11-.04-.39-.3-.63-.54-.2-.22zm-9.73-5.22l.03 .03-.18 1.17v.53l.02 .7 .18 1.22-.04-.05-.1-.52-.11-1.03v-.7l.05-.58zm.01-4.99l.02 .15-.11 .41-.05 .43v.69l.05 .66 .08 .4-.02 .09h.03l.06 .23-.04 .06-.12-.51-.09-.7v-.77l.03-.38zm2.96-3.49l.05 .06-.52 .27-.36 .27h-.06l-.01 .05-.06 .02-.47 .41h-.05l-.09 .13h-.05l-.02 .07-.06-.02 .31-.32 .38-.31 .61-.41zm11.19 14.11l.09 .06 .27 1.76-.13-.07h.04l-.05-.22v-.34h-.04l-.04-.43-.05-.16-.02-.29zm.56 3.35l.03 .02 .08 .46 .18 1.46-.06-.02v-.18l-.03-.07-.06-.5-.11-.56-.01-.32-.04-.11zm-9.52-13.35l.07 .03 .04 .83 .05 .22-.04 .03-.07-.2-.07-.37zm.43 1.47l.27 .13 .65 .03 .09 .04-.17 .05h-.41l-.23-.07-.17-.09-.05-.05zm4.91 1.21h.06l-.02 .12-.31 .7-.03 .02v-.09l.07-.11 .03-.16h.04l-.04-.05 .04-.06h.04l.01-.1-.09 .09v.03l-.05 .02v-.07zm.13 4.77l.97 .72-.04 .03-.21-.12-.02-.06-.22-.12-.07-.09-.25-.17-.18-.18zm-.24-10.39l.06 .04 .12 .43 .08 .43v.42l-.11-.76zm-.7 12.53l.74 .65v.03l-.25-.14-.47-.47zm-1.55-13.41l.36 .22 .35 .28-.04 .04-.25-.22-.43-.27zm-3.94 .65l.02 .05-.11 .6-.01 .45h-.06l.02-.49 .09-.54zm5.62 5.5l.03 .04 .04 .16v.42l-.05 .18-.09 .14-.04-.04 .07-.14 .06-.27zm-.22 9.09l.06 .02h-.04l.04 .56 .05 .27-.02 .07-.05-.07-.09-.56zm4.11-3.69l.16 .51 .02 .2-.11-.08v-.21l-.09-.4zm-4.13-1.22l.65 .59-.02 .04-.07-.04-.52-.48zm.24-2.32l.2 .03 .64 .22 .04 .04h-.13l-.07-.06-.18-.03-.27-.11-.25-.04zm-8.12-7.51l.04 .02v.06l-.24 .21h-.05l-.09 .13h-.05l-.02 .07-.06-.02zm7.29 .11l.31 .27 .1 .15-.03 .03-.4-.39zm1.51 5.89h.06l-.02 .12-.22 .2-.02 .07-.05 .02v-.07zm-1.13 12.56l.48 .34-.01 .05-.06-.03-.09 .02v-.08l-.03-.01 .01-.04h-.05l-.2-.14-.07-.09zm3.06-3.47l.48 .36-.1-.02-.4-.31zm-1.8-4.32l.45 .32v.04l-.29-.17-.18-.18zm-1.66-3.37h.11l-.29 .09-.43 .02zm.54-5.11l.04 .02-.11 .39-.05-.03 .01-.16zm1.08-.59l.04 .03-.02 .16-.13 .35-.03-.06h.03l-.01-.07 .07-.16zm-9.39-1.19l.02 .05-.22 .29-.09 .07-.04-.02zm1.73-1.3l.05 .06-.34 .18-.04-.04zm2.87 11.97l.09 .32 .02 .29-.11-.47zm4.04-10.65h.05v.07h-.11l-.02 .03-.09-.01v.05h-.09v.04l-.09-.06zm.93 13.33l.31 .2-.02 .04-.13-.06-.16-.12zm-.5-3.38l.34 .25-.02 .04-.09-.04-.23-.2zm-10.62 2.23l.05 .07 .04 .24-.02 .14-.07-.31zm4.81 5.65l.05 .02-.04 .34-.03-.04-.02-.14zm5.7-11.54l.04 .02-.04 .11-.11 .18-.03-.04 .01-.05zm.14-.28l.04 .01-.02 .09-.12 .2v-.09zm-10.58 6.62l.06 .02 .03 .2-.02 .12zm12.73-4.18l.21 .24h-.05l-.18-.2zm-7.9 9.07l.01 .24h-.03l-.04 .07-.02-.07zm4.08-18.23l.22 .18-.04 .04-.2-.16zm3.6 15.12l.2 .15-.13-.02-.09-.11zm-12.04-8.04l.02 .07-.11 .32-.02-.07zm-.16 4.42l.03 .06v.23l-.05-.2zm5.77-.14l.08 .31-.04 .01zm3.89 1.73l.18 .18h-.05l-.13-.13zm2.25-4.38l.2 .17h-.05l-.17-.13zm-1.94-1.89l.02 .06-.26 .2zm0 .47l.03 .04-.12 .18v-.09zm-8.8-6.6l.02 .05-.09 .13-.06-.02zm2 16.41l.03 .04v.1h-.18l.13-.03-.02-.06zm6.64-16.39h.05v.07h-.11l-.02 .03-.03-.05zm-6.91-1.32l.05 .06-.16 .05v-.05zm10.94 13.93l.18 .11-.06 .04-.14-.11zm9.96 3.55l-1.83-11.7h2.26l1.53 9.9h.36l1.83-9.9h3.84l1.85 9.9h.36l1.51-9.9h2.12l-1.82 11.7h-3.99l-1.84-9.9h-.36l-1.83 9.9zm15.41 0v-9h2.22v9zm1.11-10.09c-.4 0-.71-.11-.92-.32-.21-.22-.31-.5-.31-.84 0-.34 .1-.61 .31-.82 .21-.22 .52-.33 .92-.33 .4 0 .7 .11 .91 .33 .21 .21 .32 .48 .32 .82 0 .34-.11 .62-.32 .84-.21 .21-.51 .32-.91 .32zm6.68 10.32c-.96 0-1.73-.16-2.31-.47-.58-.31-1.01-.7-1.29-1.18-.27-.48-.42-.97-.45-1.46h2.11c.05 .27 .16 .53 .32 .77 .17 .22 .39 .41 .67 .55 .28 .13 .63 .2 1.05 .2 .49 0 .85-.09 1.08-.28 .23-.18 .35-.41 .35-.7 0-.26-.11-.48-.32-.66-.2-.18-.52-.34-.96-.49l-1.08-.36c-.51-.18-.98-.38-1.41-.59-.42-.22-.76-.5-1.02-.84-.25-.34-.37-.77-.37-1.3 0-.79 .29-1.43 .88-1.91 .6-.49 1.44-.73 2.51-.73 .78 0 1.42 .12 1.92 .37 .5 .24 .87 .57 1.12 .99 .26 .41 .41 .87 .45 1.38h-2.04c-.05-.37-.2-.66-.45-.88-.25-.22-.61-.33-1.08-.33-.41 0-.72 .08-.93 .25-.21 .16-.31 .38-.31 .66 0 .28 .1 .52 .31 .71 .22 .18 .56 .34 1.01 .49l1.06 .35c.51 .16 .98 .34 1.4 .57 .43 .21 .76 .48 1 .82 .25 .34 .38 .78 .38 1.32 0 .82-.31 1.49-.93 2-.61 .5-1.5 .75-2.67 .75zm8.86 0c-1.39 0-2.45-.43-3.18-1.28-.73-.86-1.1-2.02-1.1-3.46 0-.97 .16-1.81 .48-2.51 .33-.7 .81-1.24 1.44-1.62 .64-.39 1.42-.58 2.33-.58 1.32 0 2.32 .4 3.01 1.21 .7 .8 1.05 1.98 1.05 3.54v.49h-6.15c.05 .81 .26 1.44 .62 1.91 .36 .46 .86 .69 1.5 .69 .5 0 .9-.14 1.2-.44 .3-.28 .5-.64 .61-1.06h2.12c-.1 .57-.31 1.09-.62 1.56-.31 .46-.74 .84-1.29 1.13-.54 .28-1.21 .42-2.02 .42zm-2.1-5.63h3.97c-.04-.73-.22-1.29-.55-1.69-.32-.4-.78-.6-1.37-.6-.59 0-1.06 .19-1.41 .58-.35 .38-.56 .95-.64 1.71zm16.22 5.61c-1.23 0-2.25-.24-3.07-.73-.81-.5-1.42-1.21-1.82-2.12-.4-.91-.6-1.98-.6-3.21 0-1.24 .2-2.31 .6-3.21 .4-.91 1.01-1.61 1.82-2.1 .82-.5 1.84-.75 3.07-.75 1.23 0 2.25 .25 3.06 .75 .82 .49 1.43 1.19 1.82 2.1 .4 .9 .6 1.97 .6 3.21 0 1.23-.2 2.3-.6 3.21-.39 .91-1 1.62-1.82 2.12-.81 .49-1.83 .73-3.06 .73zm0-1.76c1.06 0 1.84-.37 2.34-1.12 .51-.75 .77-1.81 .77-3.18 0-1.38-.26-2.44-.77-3.18-.5-.75-1.28-1.12-2.34-1.12-1.07 0-1.85 .37-2.35 1.12-.5 .74-.75 1.8-.75 3.18 0 1.37 .25 2.43 .75 3.18 .5 .75 1.28 1.12 2.35 1.12zm8 1.55l-1.44-9h2.07l1.15 7.32h.35l1.33-7.32h3.56l1.33 7.32h.35l1.15-7.32h1.94l-1.44 9h-3.63l-1.37-7.36h-.37l-1.35 7.36zm14.24 0c-.27-.31-.46-.66-.58-1.05-.12-.4-.18-.94-.18-1.63v-9.32h2.23v9.08c0 .77 .09 1.36 .26 1.78 .17 .42 .39 .77 .66 1.05v.09z";
|
|
3
|
+
const WISEOWL_MARK_VIEWBOX = "0 0 32 32";
|
|
4
|
+
const WISEOWL_MARK_PATH = "m13.53 4h.53l.6 .07 .88 .22 .43 .18 .65 .34 .52 .36 .85 .77 .34-.12 .43-.13h.09l.06 .09 .1 .38 .08 .43v.42l-.08 .34-.09 .2 .08 .34-.02 .07-.09-.02-.43-.47-.17-.07-.12 .02-.09 .09-.07 .11-.15 .43-.09 .02-.32-.43-.15-.15-.43-.3-.25-.13-.7-.18-.31-.04h-.57l-.15-.14v-.04l-.2-.16-.46-.36-.4-.25-.66-.34-.38-.13h-.09l-.09 .27-.07 .87-.4 .27-.61 .57-.34 .45-.13 .22-.18 .41-.11 .34-.11 .62v.35l.06 .42 .09 .38 .14 .39 .22 .42 .18 .25 .39 .45 .6 .48 .74 .4 .34 .13 .59 .14 .02 .07-.25 .58-.18 .56-.16 .81-.04 .48 .02 .49 .05 .43 .11 .52 .25 .76 .15 .32 .39 .74 .61 .86 .88 .98 .54 .46h.04l-.36-.48-.59-.94-.45-.84-.27-.6-.24-.63-.25-.97-.07-.49-.02-.79 .11-.79 .2-.59 .14-.29 .16-.27 .2-.24 .14-.09 .49-.19 .63-.2 1.26-.22 .56-.39 .23-.22 .18-.18 .45-.59h.06l-.02 .12-.31 .7-.41 .67 .88 .29 .67 .34 .77 .56 .47 .45 .43 .56 .4 .66 .32 .81 .11 .4 .02 .2-.38-.26-4.27-3.16-.02 .28 .04 .35 .09 .36 .11 .27 .27 .37 .57 .53 2.29 1.72 1.62 1.16 .27 1.76-.4-.25-4.78-3.53v.31l.05 .39 .07 .27 .24 .51 .34 .36 .38 .32 1.53 1.17 1.65 1.21 1.15 .79 .27 1.99-.34-.21-5.02-3.71 .04 .56 .05 .27 .09 .29 .14 .29 .17 .23h.03l.49 .45 1.65 1.28 2.94 2.1 .16 1.46-.41-.05-.89-.26-.46-.19-.81-.44-.78-.48-.92-.69-1.69-1.4h-.03l-.11 .31 .57 .41-.01 .07-.51 .27h-.14l-.2-.07-.29-.16-.18-.15-.12-.19v-.2l.28-.99-.25-.22-.02 .11-.45 1.06v.06l.58 .43-.04 .07-.46 .25h-.17l-.16-.05-.54-.36-.09-.16v-.22l.36-1.19h-.32l-.49 1.23 .58 .43-.04 .07-.45 .23-.18 .02-.2-.07-.5-.34-.09-.15-.02-.12 .07-.33 .31-.99-.31 .02-.48 1.17v.06l.57 .45-.07 .07-.41 .21-.18 .02-.16-.05-.43-.27-.13-.11-.07-.13-.02-.14 .07-.31 .33-.99-.35 .02-.48 1.17v.06l.57 .43-.03 .07-.52 .25h-.13l-.18-.07-.41-.27-.15-.14v-.04l-2.45-.02v-1.24l2.72-.04 .11-.28 .67-.53h.19l.29 .15 .33 .21 .07-.01 .2-.2-.18-.04-.89-.34-.54-.27-.7-.45-.72-.57-.56-.56-.61-.79-.41-.69-.4-.84-.21-.65-.11-.43-.09-.49-.09-.9v-.7l.05-.58 .22-1.06 .27-.81-.15-.31-.19-.59-.17-.86-.01-.99 .12-.87 .27-.84 .4-.78 .47-.66 .64-.67 .85-.59 .47-.25 1.02-.35 .51-.09zm-5.46 12.98l.09 .01 .27 .78 .36 .79 .24 .41 .57 .83 .6 .67 .59 .52 .72 .5 .56 .33 .02 .03-.42 .36v.16l-1.29-.07-.18-.03-.35-.31-.57-.72-.43-.72-.26-.54-.32-.97-.11-.45-.14-1.01-.02-.56zm5.53-8.35l.2 .07 2.14 1.1v.05l-.24 .16-.41 .22-.33 .1-.5 .02-.23-.07-.17-.09-.17-.16-.15-.23-.09-.26-.07-.37zm4.12 1.71h.09l.29 .26 .12 .22 .09 .25 .02 .51-.05 .18-.17 .21-.07-.02-.12-.19-.36-.18-.49-.18-.23-.15 .01-.11 .2-.21zm1.42-1.25l.02 .31-.06 .34-.18 .31-.14 .09h-.16l-.22-.09-.3-.22 .03-.07zm-5.61-5.09h.53l.6 .07 .88 .22 .43 .18 .65 .34 .52 .36v.04l.15 .1-.04 .04-.25-.22-.79-.46-.35-.15v-.03l-.05 .01-.23-.1h-.08v-.06l-.05 .04-.07-.06-.38-.05-.43-.13-.88-.07-.72 .04v.03l-.07 .02-.08-.02-.21 .06h-.24l-.01 .05-.17 .06-.03-.02v.03l-.29 .09-.04-.01v.03l-.41 .11-.02-.04 .99-.34 .45-.09zm5.54 12.08l1.74 1.29 1.68 1.19-.06 .04-.25-.17-.41-.32-.33-.2-.09-.07v-.04l-.09-.01v-.04l-.32-.2-.18-.16-.76-.54v-.04l-.1-.03-.13-.09v-.04l-.22-.12-.07-.09-.25-.17-.18-.18zm-.94 2.14l.69 .61 2.05 1.57-.13-.02-.43-.34-.16-.09-.02-.06-.07-.02-.45-.34-.13-.11v-.03l-.11-.04-.39-.3-.63-.54-.2-.22zm-9.73-5.22l.03 .03-.18 1.17v.53l.02 .7 .18 1.22-.04-.05-.1-.52-.11-1.03v-.7l.05-.58zm.01-4.99l.02 .15-.11 .41-.05 .43v.69l.05 .66 .08 .4-.02 .09h.03l.06 .23-.04 .06-.12-.51-.09-.7v-.77l.03-.38zm2.96-3.49l.05 .06-.52 .27-.36 .27h-.06l-.01 .05-.06 .02-.47 .41h-.05l-.09 .13h-.05l-.02 .07-.06-.02 .31-.32 .38-.31 .61-.41zm11.19 14.11l.09 .06 .27 1.76-.13-.07h.04l-.05-.22v-.34h-.04l-.04-.43-.05-.16-.02-.29zm.56 3.35l.03 .02 .08 .46 .18 1.46-.06-.02v-.18l-.03-.07-.06-.5-.11-.56-.01-.32-.04-.11zm-9.52-13.35l.07 .03 .04 .83 .05 .22-.04 .03-.07-.2-.07-.37zm.43 1.47l.27 .13 .65 .03 .09 .04-.17 .05h-.41l-.23-.07-.17-.09-.05-.05zm4.91 1.21h.06l-.02 .12-.31 .7-.03 .02v-.09l.07-.11 .03-.16h.04l-.04-.05 .04-.06h.04l.01-.1-.09 .09v.03l-.05 .02v-.07zm.13 4.77l.97 .72-.04 .03-.21-.12-.02-.06-.22-.12-.07-.09-.25-.17-.18-.18zm-.24-10.39l.06 .04 .12 .43 .08 .43v.42l-.11-.76zm-.7 12.53l.74 .65v.03l-.25-.14-.47-.47zm-1.55-13.41l.36 .22 .35 .28-.04 .04-.25-.22-.43-.27zm-3.94 .65l.02 .05-.11 .6-.01 .45h-.06l.02-.49 .09-.54zm5.62 5.5l.03 .04 .04 .16v.42l-.05 .18-.09 .14-.04-.04 .07-.14 .06-.27zm-.22 9.09l.06 .02h-.04l.04 .56 .05 .27-.02 .07-.05-.07-.09-.56zm4.11-3.69l.16 .51 .02 .2-.11-.08v-.21l-.09-.4zm-4.13-1.22l.65 .59-.02 .04-.07-.04-.52-.48zm.24-2.32l.2 .03 .64 .22 .04 .04h-.13l-.07-.06-.18-.03-.27-.11-.25-.04zm-8.12-7.51l.04 .02v.06l-.24 .21h-.05l-.09 .13h-.05l-.02 .07-.06-.02zm7.29 .11l.31 .27 .1 .15-.03 .03-.4-.39zm1.51 5.89h.06l-.02 .12-.22 .2-.02 .07-.05 .02v-.07zm-1.13 12.56l.48 .34-.01 .05-.06-.03-.09 .02v-.08l-.03-.01 .01-.04h-.05l-.2-.14-.07-.09zm3.06-3.47l.48 .36-.1-.02-.4-.31zm-1.8-4.32l.45 .32v.04l-.29-.17-.18-.18zm-1.66-3.37h.11l-.29 .09-.43 .02zm.54-5.11l.04 .02-.11 .39-.05-.03 .01-.16zm1.08-.59l.04 .03-.02 .16-.13 .35-.03-.06h.03l-.01-.07 .07-.16zm-9.39-1.19l.02 .05-.22 .29-.09 .07-.04-.02zm1.73-1.3l.05 .06-.34 .18-.04-.04zm2.87 11.97l.09 .32 .02 .29-.11-.47zm4.04-10.65h.05v.07h-.11l-.02 .03-.09-.01v.05h-.09v.04l-.09-.06zm.93 13.33l.31 .2-.02 .04-.13-.06-.16-.12zm-.5-3.38l.34 .25-.02 .04-.09-.04-.23-.2zm-10.62 2.23l.05 .07 .04 .24-.02 .14-.07-.31zm4.81 5.65l.05 .02-.04 .34-.03-.04-.02-.14zm5.7-11.54l.04 .02-.04 .11-.11 .18-.03-.04 .01-.05zm.14-.28l.04 .01-.02 .09-.12 .2v-.09zm-10.58 6.62l.06 .02 .03 .2-.02 .12zm12.73-4.18l.21 .24h-.05l-.18-.2zm-7.9 9.07l.01 .24h-.03l-.04 .07-.02-.07zm4.08-18.23l.22 .18-.04 .04-.2-.16zm3.6 15.12l.2 .15-.13-.02-.09-.11zm-12.04-8.04l.02 .07-.11 .32-.02-.07zm-.16 4.42l.03 .06v.23l-.05-.2zm5.77-.14l.08 .31-.04 .01zm3.89 1.73l.18 .18h-.05l-.13-.13zm2.25-4.38l.2 .17h-.05l-.17-.13zm-1.94-1.89l.02 .06-.26 .2zm0 .47l.03 .04-.12 .18v-.09zm-8.8-6.6l.02 .05-.09 .13-.06-.02zm2 16.41l.03 .04v.1h-.18l.13-.03-.02-.06zm6.64-16.39h.05v.07h-.11l-.02 .03-.03-.05zm-6.91-1.32l.05 .06-.16 .05v-.05zm10.94 13.93l.18 .11-.06 .04-.14-.11z";
|
|
5
|
+
export {
|
|
6
|
+
WISEOWL_LOGO_PATH,
|
|
7
|
+
WISEOWL_LOGO_VIEWBOX,
|
|
8
|
+
WISEOWL_MARK_PATH,
|
|
9
|
+
WISEOWL_MARK_VIEWBOX
|
|
10
|
+
};
|