aural-ui 2.0.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/LICENSE +21 -0
- package/README.md +456 -0
- package/dist/components/aspect-ratio/AspectRatio.stories.tsx +1327 -0
- package/dist/components/aspect-ratio/index.tsx +10 -0
- package/dist/components/aspect-ratio/meta.ts +8 -0
- package/dist/components/avatar/Avatar.stories.tsx +645 -0
- package/dist/components/avatar/index.tsx +50 -0
- package/dist/components/avatar/meta.ts +8 -0
- package/dist/components/badge/Badge.stories.tsx +169 -0
- package/dist/components/badge/index.tsx +28 -0
- package/dist/components/badge/meta.ts +6 -0
- package/dist/components/banner/Banner.stories.tsx +475 -0
- package/dist/components/banner/index.tsx +256 -0
- package/dist/components/banner/meta.ts +36 -0
- package/dist/components/button/Button.stories.tsx +74 -0
- package/dist/components/button/index.tsx +158 -0
- package/dist/components/button/meta.ts +33 -0
- package/dist/components/card/Card.stories.tsx +377 -0
- package/dist/components/card/index.tsx +85 -0
- package/dist/components/card/meta.ts +14 -0
- package/dist/components/char-count/CharCount.stories.tsx +334 -0
- package/dist/components/char-count/index.tsx +51 -0
- package/dist/components/char-count/meta.ts +13 -0
- package/dist/components/checkbox/Checkbox.stories.tsx +209 -0
- package/dist/components/checkbox/index.tsx +34 -0
- package/dist/components/checkbox/meta.ts +19 -0
- package/dist/components/chip/Chip.stories.tsx +207 -0
- package/dist/components/chip/index.tsx +92 -0
- package/dist/components/chip/meta.ts +17 -0
- package/dist/components/circular-loader/CircularLoader.stories.tsx +741 -0
- package/dist/components/circular-loader/index.tsx +138 -0
- package/dist/components/circular-loader/meta.ts +11 -0
- package/dist/components/collapsible/Collapsible.stories.tsx +319 -0
- package/dist/components/collapsible/index.tsx +158 -0
- package/dist/components/collapsible/meta.ts +22 -0
- package/dist/components/command/Command.stories.tsx +996 -0
- package/dist/components/command/index.tsx +324 -0
- package/dist/components/command/meta.ts +18 -0
- package/dist/components/dialog/Dialog.stories.tsx +963 -0
- package/dist/components/dialog/index.tsx +250 -0
- package/dist/components/dialog/meta.ts +28 -0
- package/dist/components/divider/Divider.stories.tsx +633 -0
- package/dist/components/divider/index.tsx +181 -0
- package/dist/components/divider/meta.ts +12 -0
- package/dist/components/dot-loader/DotLoader.stories.tsx +352 -0
- package/dist/components/dot-loader/index.tsx +78 -0
- package/dist/components/dot-loader/meta.ts +14 -0
- package/dist/components/dropdown/Dropdown.stories.tsx +1210 -0
- package/dist/components/dropdown/index.tsx +479 -0
- package/dist/components/dropdown/meta.ts +21 -0
- package/dist/components/form/Form.stories.tsx +320 -0
- package/dist/components/form/index.tsx +183 -0
- package/dist/components/form/meta.ts +11 -0
- package/dist/components/helper-text/HelperText.stories.tsx +254 -0
- package/dist/components/helper-text/index.tsx +102 -0
- package/dist/components/helper-text/meta.ts +18 -0
- package/dist/components/hover-card/HoverCard.stories.tsx +1328 -0
- package/dist/components/hover-card/index.tsx +42 -0
- package/dist/components/hover-card/meta.ts +12 -0
- package/dist/components/icon-button/IconButton.stories.tsx +252 -0
- package/dist/components/icon-button/index.tsx +130 -0
- package/dist/components/icon-button/meta.ts +20 -0
- package/dist/components/if-else/if-else.stories.tsx +100 -0
- package/dist/components/if-else/index.tsx +56 -0
- package/dist/components/if-else/meta.ts +6 -0
- package/dist/components/index.ts +70 -0
- package/dist/components/input/Input.stories.tsx +431 -0
- package/dist/components/input/index.tsx +487 -0
- package/dist/components/input/meta.ts +28 -0
- package/dist/components/label/Label.stories.tsx +200 -0
- package/dist/components/label/index.tsx +43 -0
- package/dist/components/label/meta.ts +14 -0
- package/dist/components/list/List.stories.tsx +963 -0
- package/dist/components/list/index.tsx +567 -0
- package/dist/components/list/meta.ts +24 -0
- package/dist/components/marquee/Marquee.stories.tsx +819 -0
- package/dist/components/marquee/index.tsx +107 -0
- package/dist/components/marquee/meta.ts +6 -0
- package/dist/components/overlay/Overlay.stories.tsx +954 -0
- package/dist/components/overlay/index.tsx +58 -0
- package/dist/components/overlay/meta.ts +10 -0
- package/dist/components/pagination/Pagination.stories.tsx +354 -0
- package/dist/components/pagination/index.tsx +455 -0
- package/dist/components/pagination/meta.ts +29 -0
- package/dist/components/popover/Popover.stories.tsx +1037 -0
- package/dist/components/popover/index.tsx +67 -0
- package/dist/components/popover/meta.ts +12 -0
- package/dist/components/radio/Radio.stories.tsx +146 -0
- package/dist/components/radio/index.tsx +41 -0
- package/dist/components/radio/meta.ts +19 -0
- package/dist/components/resizable/Resizable.stories.tsx +866 -0
- package/dist/components/resizable/index.tsx +55 -0
- package/dist/components/resizable/meta.ts +12 -0
- package/dist/components/scroll-area/ScrollArea.stories.tsx +1104 -0
- package/dist/components/scroll-area/index.tsx +55 -0
- package/dist/components/scroll-area/meta.ts +8 -0
- package/dist/components/search/Search.stories.tsx +678 -0
- package/dist/components/search/index.tsx +141 -0
- package/dist/components/search/meta.ts +6 -0
- package/dist/components/select/Select.stories.tsx +962 -0
- package/dist/components/select/index.tsx +512 -0
- package/dist/components/select/meta.ts +40 -0
- package/dist/components/sheet/Sheet.stories.tsx +1060 -0
- package/dist/components/sheet/index.tsx +440 -0
- package/dist/components/sheet/meta.ts +38 -0
- package/dist/components/skelton/Skelton.stories.tsx +859 -0
- package/dist/components/skelton/index.tsx +17 -0
- package/dist/components/skelton/meta.ts +6 -0
- package/dist/components/slider/Slider.stories.tsx +876 -0
- package/dist/components/slider/index.tsx +156 -0
- package/dist/components/slider/meta.ts +29 -0
- package/dist/components/stepper/Stepper.stories.tsx +639 -0
- package/dist/components/stepper/index.tsx +650 -0
- package/dist/components/stepper/meta.ts +19 -0
- package/dist/components/switch/Switch.stories.tsx +85 -0
- package/dist/components/switch/index.tsx +37 -0
- package/dist/components/switch/meta.ts +24 -0
- package/dist/components/switch-case/SwitchCase.stories.tsx +209 -0
- package/dist/components/switch-case/index.tsx +89 -0
- package/dist/components/switch-case/meta.ts +6 -0
- package/dist/components/table/Table.stories.tsx +1095 -0
- package/dist/components/table/index.tsx +113 -0
- package/dist/components/table/meta.ts +20 -0
- package/dist/components/tabs/Tabs.stories.tsx +1379 -0
- package/dist/components/tabs/index.tsx +186 -0
- package/dist/components/tabs/meta.ts +25 -0
- package/dist/components/tag/Tag.stories.tsx +625 -0
- package/dist/components/tag/index.tsx +320 -0
- package/dist/components/tag/meta.ts +52 -0
- package/dist/components/textarea/TextArea.stories.tsx +723 -0
- package/dist/components/textarea/index.tsx +480 -0
- package/dist/components/textarea/meta.ts +23 -0
- package/dist/components/toast/Toast.stories.tsx +1427 -0
- package/dist/components/toast/index.tsx +26 -0
- package/dist/components/toast/meta.ts +19 -0
- package/dist/components/toggle/Toggle.stories.tsx +1093 -0
- package/dist/components/toggle/index.tsx +44 -0
- package/dist/components/toggle/meta.ts +19 -0
- package/dist/components/tooltip/Tooltip.stories.tsx +1548 -0
- package/dist/components/tooltip/index.tsx +304 -0
- package/dist/components/tooltip/meta.ts +21 -0
- package/dist/components/typography/Typography.stories.tsx +197 -0
- package/dist/components/typography/index.tsx +184 -0
- package/dist/components/typography/meta.ts +38 -0
- package/dist/fonts/LabGrotesque-Regular.ttf +0 -0
- package/dist/fonts/LabGrotesqueTRIAL-Bold.otf +0 -0
- package/dist/fonts/LabGrotesqueTRIAL-Light.otf +0 -0
- package/dist/fonts/LabGrotesqueTRIAL-Medium.otf +0 -0
- package/dist/fonts/LabGrotesqueTRIAL-Regular.otf +0 -0
- package/dist/fonts/PPSupplySans-Regular (1).otf +0 -0
- package/dist/fonts/PPSupplySans-Regular.otf +0 -0
- package/dist/fonts/PPSupplySans-Ultralight.otf +0 -0
- package/dist/hooks/index.ts +3 -0
- package/dist/hooks/use-previous/UsePrevious.stories.tsx +997 -0
- package/dist/hooks/use-previous/index.ts +15 -0
- package/dist/hooks/use-previous/meta.ts +6 -0
- package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +983 -0
- package/dist/hooks/use-standalone-pagination/index.ts +146 -0
- package/dist/hooks/use-standalone-pagination/meta.ts +6 -0
- package/dist/icons/Icons.stories.tsx +29 -0
- package/dist/icons/alert-icon/AlertIcon.stories.tsx +991 -0
- package/dist/icons/alert-icon/index.tsx +48 -0
- package/dist/icons/alert-icon/meta.ts +8 -0
- package/dist/icons/all-icons.tsx +738 -0
- package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +1031 -0
- package/dist/icons/angle-down-icon/index.tsx +25 -0
- package/dist/icons/angle-down-icon/meta.ts +8 -0
- package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +1080 -0
- package/dist/icons/arrow-box-left-icon/index.tsx +24 -0
- package/dist/icons/arrow-box-left-icon/meta.ts +8 -0
- package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +1151 -0
- package/dist/icons/arrow-right-icon/index.tsx +26 -0
- package/dist/icons/arrow-right-icon/meta.ts +8 -0
- package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +1273 -0
- package/dist/icons/arrow-right-up-icon/index.tsx +24 -0
- package/dist/icons/arrow-right-up-icon/meta.ts +8 -0
- package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +670 -0
- package/dist/icons/art-board-icon/index.tsx +24 -0
- package/dist/icons/art-board-icon/meta.ts +7 -0
- package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +1244 -0
- package/dist/icons/audio-bar-icon/index.tsx +19 -0
- package/dist/icons/audio-bar-icon/meta.ts +8 -0
- package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +1239 -0
- package/dist/icons/bubble-check-icon/index.tsx +24 -0
- package/dist/icons/bubble-check-icon/meta.ts +8 -0
- package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +1228 -0
- package/dist/icons/bubble-crossed-icon/index.tsx +24 -0
- package/dist/icons/bubble-crossed-icon/meta.ts +8 -0
- package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +912 -0
- package/dist/icons/bubble-sparkle-icon/index.tsx +26 -0
- package/dist/icons/bubble-sparkle-icon/meta.ts +8 -0
- package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +1021 -0
- package/dist/icons/chevron-double-left-icon/index.tsx +34 -0
- package/dist/icons/chevron-double-left-icon/meta.ts +8 -0
- package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +1021 -0
- package/dist/icons/chevron-double-right-icon/index.tsx +34 -0
- package/dist/icons/chevron-double-right-icon/meta.ts +8 -0
- package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +1001 -0
- package/dist/icons/chevron-down-icon/index.tsx +27 -0
- package/dist/icons/chevron-down-icon/meta.ts +8 -0
- package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +1029 -0
- package/dist/icons/chevron-left-icon/index.tsx +27 -0
- package/dist/icons/chevron-left-icon/meta.ts +8 -0
- package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +1021 -0
- package/dist/icons/chevron-right-icon/index.tsx +27 -0
- package/dist/icons/chevron-right-icon/meta.ts +8 -0
- package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +1036 -0
- package/dist/icons/chevron-up-icon/index.tsx +27 -0
- package/dist/icons/chevron-up-icon/meta.ts +8 -0
- package/dist/icons/command-icon/CommandIcon.stories.tsx +1098 -0
- package/dist/icons/command-icon/index.tsx +24 -0
- package/dist/icons/command-icon/meta.ts +8 -0
- package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +1061 -0
- package/dist/icons/cross-circle-icon/index.tsx +23 -0
- package/dist/icons/cross-circle-icon/meta.ts +8 -0
- package/dist/icons/cross-icon/CrossIcon.stories.tsx +1027 -0
- package/dist/icons/cross-icon/index.tsx +24 -0
- package/dist/icons/cross-icon/meta.ts +8 -0
- package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +1092 -0
- package/dist/icons/edit-big-icon/index.tsx +22 -0
- package/dist/icons/edit-big-icon/meta.ts +8 -0
- package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +1090 -0
- package/dist/icons/eye-close-icon/index.tsx +26 -0
- package/dist/icons/eye-close-icon/meta.ts +8 -0
- package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +1098 -0
- package/dist/icons/eye-open-icon/index.tsx +24 -0
- package/dist/icons/eye-open-icon/meta.ts +8 -0
- package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +1071 -0
- package/dist/icons/feature-shine-icon/index.tsx +29 -0
- package/dist/icons/feature-shine-icon/meta.ts +8 -0
- package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +1115 -0
- package/dist/icons/file-chart-icon/index.tsx +24 -0
- package/dist/icons/file-chart-icon/meta.ts +8 -0
- package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +668 -0
- package/dist/icons/file-text-icon/index.tsx +24 -0
- package/dist/icons/file-text-icon/meta.ts +8 -0
- package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +1239 -0
- package/dist/icons/grip-vertical-icon/index.tsx +28 -0
- package/dist/icons/grip-vertical-icon/meta.ts +8 -0
- package/dist/icons/image-icon/ImageIcon.stories.tsx +1181 -0
- package/dist/icons/image-icon/index.tsx +24 -0
- package/dist/icons/image-icon/meta.ts +8 -0
- package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +1248 -0
- package/dist/icons/import-folder-icon/index.tsx +22 -0
- package/dist/icons/import-folder-icon/meta.ts +8 -0
- package/dist/icons/index.ts +46 -0
- package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +1272 -0
- package/dist/icons/light-bulb-simple-icon/index.tsx +24 -0
- package/dist/icons/light-bulb-simple-icon/meta.ts +8 -0
- package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +1245 -0
- package/dist/icons/magic-book-icon/index.tsx +32 -0
- package/dist/icons/magic-book-icon/meta.ts +8 -0
- package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +1251 -0
- package/dist/icons/maintenance-icon/index.tsx +23 -0
- package/dist/icons/maintenance-icon/meta.ts +8 -0
- package/dist/icons/message-icon/MessageIcon.stories.tsx +595 -0
- package/dist/icons/message-icon/index.tsx +30 -0
- package/dist/icons/message-icon/meta.ts +8 -0
- package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +1245 -0
- package/dist/icons/move-horizontal-icon/index.tsx +23 -0
- package/dist/icons/move-horizontal-icon/meta.ts +8 -0
- package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +1196 -0
- package/dist/icons/move-vertical-icon/index.tsx +23 -0
- package/dist/icons/move-vertical-icon/meta.ts +8 -0
- package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +1167 -0
- package/dist/icons/page-search-icon/index.tsx +21 -0
- package/dist/icons/page-search-icon/meta.ts +8 -0
- package/dist/icons/pencil-icon/PencilIcon.stories.tsx +1131 -0
- package/dist/icons/pencil-icon/index.tsx +21 -0
- package/dist/icons/pencil-icon/meta.ts +8 -0
- package/dist/icons/plus-icon/PlusIcon.stories.tsx +1151 -0
- package/dist/icons/plus-icon/index.tsx +24 -0
- package/dist/icons/plus-icon/meta.ts +8 -0
- package/dist/icons/search-icon/SearchIcon.stories.tsx +1181 -0
- package/dist/icons/search-icon/index.tsx +24 -0
- package/dist/icons/search-icon/meta.ts +8 -0
- package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +1167 -0
- package/dist/icons/site-logo-icon/index.tsx +79 -0
- package/dist/icons/site-logo-icon/meta.ts +8 -0
- package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +637 -0
- package/dist/icons/spinner-gradient-icon/index.tsx +53 -0
- package/dist/icons/spinner-gradient-icon/meta.ts +8 -0
- package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +644 -0
- package/dist/icons/spinner-solid-icon/index.tsx +59 -0
- package/dist/icons/spinner-solid-icon/meta.ts +8 -0
- package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +736 -0
- package/dist/icons/spinner-solid-neutral-icon/index.tsx +53 -0
- package/dist/icons/spinner-solid-neutral-icon/meta.ts +8 -0
- package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +1204 -0
- package/dist/icons/tick-circle-icon/index.tsx +23 -0
- package/dist/icons/tick-circle-icon/meta.ts +8 -0
- package/dist/icons/tick-icon/TickIcon.stories.tsx +1340 -0
- package/dist/icons/tick-icon/index.tsx +24 -0
- package/dist/icons/tick-icon/meta.ts +8 -0
- package/dist/icons/trash-icon/TrashIcon.stories.tsx +996 -0
- package/dist/icons/trash-icon/index.tsx +24 -0
- package/dist/icons/trash-icon/meta.ts +8 -0
- package/dist/icons/upload-icon/UploadIcon.stories.tsx +947 -0
- package/dist/icons/upload-icon/index.tsx +24 -0
- package/dist/icons/upload-icon/meta.ts +8 -0
- package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +1045 -0
- package/dist/icons/vertical-menu-icon/index.tsx +27 -0
- package/dist/icons/vertical-menu-icon/meta.ts +8 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +206 -0
- package/dist/lib/utils.ts +6 -0
- package/dist/styles/aural-theme.css +1008 -0
- package/package.json +142 -0
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react"
|
|
3
|
+
|
|
4
|
+
import { ArtBoardIcon } from "."
|
|
5
|
+
import { ArrowRightUpIcon } from "../arrow-right-up-icon"
|
|
6
|
+
|
|
7
|
+
const meta: Meta<typeof ArtBoardIcon> = {
|
|
8
|
+
title: "Icons/ArtBoardIcon",
|
|
9
|
+
component: ArtBoardIcon,
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: "centered",
|
|
12
|
+
backgrounds: {
|
|
13
|
+
default: "dark",
|
|
14
|
+
values: [
|
|
15
|
+
{ name: "dark", value: "#0a0a0a" },
|
|
16
|
+
{ name: "darker", value: "#000000" },
|
|
17
|
+
{ name: "light", value: "#ffffff" },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
docs: {
|
|
21
|
+
description: {
|
|
22
|
+
component:
|
|
23
|
+
"A versatile art board icon for design and creative interfaces.",
|
|
24
|
+
},
|
|
25
|
+
canvas: {
|
|
26
|
+
sourceState: "shown",
|
|
27
|
+
},
|
|
28
|
+
page: () => (
|
|
29
|
+
<>
|
|
30
|
+
{/* Override default docs styling */}
|
|
31
|
+
<style>
|
|
32
|
+
{`
|
|
33
|
+
.sbdocs-wrapper {
|
|
34
|
+
padding: 0 !important;
|
|
35
|
+
max-width: none !important;
|
|
36
|
+
background: transparent !important;
|
|
37
|
+
}
|
|
38
|
+
.sbdocs-content {
|
|
39
|
+
max-width: none !important;
|
|
40
|
+
padding: 0 !important;
|
|
41
|
+
margin: 0 !important;
|
|
42
|
+
background: transparent !important;
|
|
43
|
+
}
|
|
44
|
+
.docs-story {
|
|
45
|
+
background: transparent !important;
|
|
46
|
+
}
|
|
47
|
+
.sbdocs {
|
|
48
|
+
background: transparent !important;
|
|
49
|
+
}
|
|
50
|
+
body {
|
|
51
|
+
background: #0a0a0a !important;
|
|
52
|
+
}
|
|
53
|
+
#storybook-docs {
|
|
54
|
+
background: #0a0a0a !important;
|
|
55
|
+
}
|
|
56
|
+
.sbdocs-preview {
|
|
57
|
+
background: transparent !important;
|
|
58
|
+
border: none !important;
|
|
59
|
+
}
|
|
60
|
+
.sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
|
|
61
|
+
color: white !important;
|
|
62
|
+
}
|
|
63
|
+
.sbdocs-p, .sbdocs-li {
|
|
64
|
+
color: rgba(255, 255, 255, 0.7) !important;
|
|
65
|
+
}
|
|
66
|
+
.sbdocs-code {
|
|
67
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
|
68
|
+
color: rgba(168, 85, 247, 1) !important;
|
|
69
|
+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
70
|
+
}
|
|
71
|
+
.sbdocs-pre {
|
|
72
|
+
background: rgba(0, 0, 0, 0.4) !important;
|
|
73
|
+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
74
|
+
}
|
|
75
|
+
.sbdocs-table {
|
|
76
|
+
background: rgba(255, 255, 255, 0.05) !important;
|
|
77
|
+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
78
|
+
}
|
|
79
|
+
.sbdocs-table th {
|
|
80
|
+
background: rgba(255, 255, 255, 0.05) !important;
|
|
81
|
+
color: white !important;
|
|
82
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
83
|
+
}
|
|
84
|
+
.sbdocs-table td {
|
|
85
|
+
color: rgba(255, 255, 255, 0.7) !important;
|
|
86
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
|
|
87
|
+
}
|
|
88
|
+
`}
|
|
89
|
+
</style>
|
|
90
|
+
|
|
91
|
+
<div className="min-h-screen bg-gradient-to-br from-gray-900 via-purple-900/20 to-gray-900">
|
|
92
|
+
{/* Header */}
|
|
93
|
+
<div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
|
|
94
|
+
<div className="absolute inset-0 bg-gradient-to-r from-purple-500/10 via-transparent to-blue-500/10" />
|
|
95
|
+
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
96
|
+
<div className="!space-y-6 text-center">
|
|
97
|
+
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-emerald-500/30 bg-gradient-to-br from-emerald-500/20 to-teal-500/20">
|
|
98
|
+
<ArtBoardIcon className="h-12 w-12 text-emerald-400" />
|
|
99
|
+
</div>
|
|
100
|
+
<h1 className="text-5xl font-bold !text-white">
|
|
101
|
+
ArtBoardIcon
|
|
102
|
+
</h1>
|
|
103
|
+
<p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
|
|
104
|
+
A versatile art board icon for design tools, creative
|
|
105
|
+
interfaces, and visual editing applications. Perfect for
|
|
106
|
+
canvas controls, design tools, and creative software
|
|
107
|
+
interfaces.
|
|
108
|
+
</p>
|
|
109
|
+
|
|
110
|
+
{/* Stats */}
|
|
111
|
+
<div className="mx-auto flex items-center justify-center gap-8">
|
|
112
|
+
<div className="text-center">
|
|
113
|
+
<div className="text-3xl font-bold text-emerald-300">
|
|
114
|
+
Design
|
|
115
|
+
</div>
|
|
116
|
+
<div className="text-sm text-white/80">
|
|
117
|
+
Creative tools
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
<div className="h-8 w-px bg-white/20" />
|
|
121
|
+
<div className="text-center">
|
|
122
|
+
<div className="text-3xl font-bold text-teal-300">
|
|
123
|
+
Canvas
|
|
124
|
+
</div>
|
|
125
|
+
<div className="text-sm text-white/80">
|
|
126
|
+
Visual editing
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
<div className="h-8 w-px bg-white/20" />
|
|
130
|
+
<div className="text-center">
|
|
131
|
+
<div className="text-3xl font-bold text-cyan-300">
|
|
132
|
+
Creative
|
|
133
|
+
</div>
|
|
134
|
+
<div className="text-sm text-white/80">Art & design</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
{/* Content */}
|
|
142
|
+
<div className="!mx-auto flex max-w-7xl flex-col gap-6 space-y-16 px-6 py-16">
|
|
143
|
+
{/* Features */}
|
|
144
|
+
<div className="!space-y-8">
|
|
145
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
146
|
+
Key Features
|
|
147
|
+
</h3>
|
|
148
|
+
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
|
|
149
|
+
<div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
150
|
+
<div className="text-3xl">🎨</div>
|
|
151
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
152
|
+
Design Tools
|
|
153
|
+
</h4>
|
|
154
|
+
<p className="text-sm !text-white/80">
|
|
155
|
+
Perfect for design software and creative applications
|
|
156
|
+
</p>
|
|
157
|
+
</div>
|
|
158
|
+
<div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
159
|
+
<div className="text-3xl">🖼️</div>
|
|
160
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
161
|
+
Canvas Controls
|
|
162
|
+
</h4>
|
|
163
|
+
<p className="text-sm !text-white/80">
|
|
164
|
+
Ideal for canvas manipulation and editing tools
|
|
165
|
+
</p>
|
|
166
|
+
</div>
|
|
167
|
+
<div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
168
|
+
<div className="text-3xl">✨</div>
|
|
169
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
170
|
+
Visual Editing
|
|
171
|
+
</h4>
|
|
172
|
+
<p className="text-sm !text-white/80">
|
|
173
|
+
Great for visual editing and creative interfaces
|
|
174
|
+
</p>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
{/* API Reference */}
|
|
180
|
+
<div className="!space-y-8">
|
|
181
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
182
|
+
API Reference
|
|
183
|
+
</h3>
|
|
184
|
+
<div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
|
|
185
|
+
<div className="bg-white/5 p-4">
|
|
186
|
+
<h4 className="text-lg font-semibold !text-white">Props</h4>
|
|
187
|
+
</div>
|
|
188
|
+
<table className="!my-0 w-full">
|
|
189
|
+
<thead className="bg-white/5">
|
|
190
|
+
<tr className="border-b border-white/10">
|
|
191
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
192
|
+
Prop
|
|
193
|
+
</th>
|
|
194
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
195
|
+
Type
|
|
196
|
+
</th>
|
|
197
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
198
|
+
Default
|
|
199
|
+
</th>
|
|
200
|
+
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
201
|
+
Description
|
|
202
|
+
</th>
|
|
203
|
+
</tr>
|
|
204
|
+
</thead>
|
|
205
|
+
<tbody>
|
|
206
|
+
<tr className="border-b border-white/5">
|
|
207
|
+
<td className="px-6 py-4 font-mono text-sm !text-emerald-300">
|
|
208
|
+
className
|
|
209
|
+
</td>
|
|
210
|
+
<td className="px-6 py-4 text-sm !text-white/80">
|
|
211
|
+
string
|
|
212
|
+
</td>
|
|
213
|
+
<td className="px-6 py-4 text-sm !text-white/60">-</td>
|
|
214
|
+
<td className="px-6 py-4 text-sm !text-white/80">
|
|
215
|
+
Additional CSS classes
|
|
216
|
+
</td>
|
|
217
|
+
</tr>
|
|
218
|
+
</tbody>
|
|
219
|
+
</table>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
{/* Usage Examples */}
|
|
224
|
+
<div className="!space-y-8">
|
|
225
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
226
|
+
Usage Examples
|
|
227
|
+
</h3>
|
|
228
|
+
|
|
229
|
+
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
230
|
+
<div className="space-y-4">
|
|
231
|
+
<h4 className="text-lg font-semibold !text-emerald-300">
|
|
232
|
+
Basic Usage
|
|
233
|
+
</h4>
|
|
234
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
235
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
236
|
+
{`import { ArtBoardIcon } from "@/components/ui/icons/art-board-icon"
|
|
237
|
+
|
|
238
|
+
function DesignTool() {
|
|
239
|
+
return (
|
|
240
|
+
<button className="flex items-center gap-2">
|
|
241
|
+
<ArtBoardIcon className="h-4 w-4 text-emerald-400" />
|
|
242
|
+
<span>New Canvas</span>
|
|
243
|
+
</button>
|
|
244
|
+
)
|
|
245
|
+
}`}
|
|
246
|
+
</pre>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
<div className="space-y-4">
|
|
251
|
+
<h4 className="text-lg font-semibold !text-emerald-300">
|
|
252
|
+
Live Preview
|
|
253
|
+
</h4>
|
|
254
|
+
<div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
|
|
255
|
+
<button className="flex items-center gap-2 rounded-lg border border-emerald-500/20 bg-emerald-500/10 px-4 py-2 text-white transition-colors hover:bg-emerald-500/20">
|
|
256
|
+
<ArtBoardIcon className="h-4 w-4 text-emerald-400" />
|
|
257
|
+
<span>New Canvas</span>
|
|
258
|
+
</button>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
</div>
|
|
263
|
+
|
|
264
|
+
{/* Size Examples */}
|
|
265
|
+
<div className="!space-y-8">
|
|
266
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
267
|
+
Size Examples
|
|
268
|
+
</h3>
|
|
269
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
270
|
+
<div className="!space-y-6">
|
|
271
|
+
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
272
|
+
<div className="!space-y-4">
|
|
273
|
+
<h3 className="text-lg font-semibold !text-emerald-300">
|
|
274
|
+
Standard Sizes
|
|
275
|
+
</h3>
|
|
276
|
+
<div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
|
|
277
|
+
<div className="text-center">
|
|
278
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-3 w-3 text-emerald-400" />
|
|
279
|
+
<span className="text-xs text-white/60">12px</span>
|
|
280
|
+
</div>
|
|
281
|
+
<div className="text-center">
|
|
282
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-4 w-4 text-emerald-400" />
|
|
283
|
+
<span className="text-xs text-white/60">16px</span>
|
|
284
|
+
</div>
|
|
285
|
+
<div className="text-center">
|
|
286
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-5 w-5 text-emerald-400" />
|
|
287
|
+
<span className="text-xs text-white/60">20px</span>
|
|
288
|
+
</div>
|
|
289
|
+
<div className="text-center">
|
|
290
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-emerald-400" />
|
|
291
|
+
<span className="text-xs text-white/60">24px</span>
|
|
292
|
+
</div>
|
|
293
|
+
<div className="text-center">
|
|
294
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-8 w-8 text-emerald-400" />
|
|
295
|
+
<span className="text-xs text-white/60">32px</span>
|
|
296
|
+
</div>
|
|
297
|
+
<div className="text-center">
|
|
298
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-12 w-12 text-emerald-400" />
|
|
299
|
+
<span className="text-xs text-white/60">48px</span>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
|
|
304
|
+
<div className="!space-y-4">
|
|
305
|
+
<h3 className="text-lg font-semibold !text-emerald-300">
|
|
306
|
+
Code Example
|
|
307
|
+
</h3>
|
|
308
|
+
<div className="rounded-lg bg-black/40 p-4">
|
|
309
|
+
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
310
|
+
{`// Small (16px)
|
|
311
|
+
<ArtBoardIcon className="h-4 w-4" />
|
|
312
|
+
|
|
313
|
+
// Medium (24px)
|
|
314
|
+
<ArtBoardIcon className="h-6 w-6" />
|
|
315
|
+
|
|
316
|
+
// Large (32px)
|
|
317
|
+
<ArtBoardIcon className="h-8 w-8" />
|
|
318
|
+
|
|
319
|
+
// Custom size
|
|
320
|
+
<ArtBoardIcon width={40} height={40} />`}
|
|
321
|
+
</pre>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
</div>
|
|
328
|
+
|
|
329
|
+
{/* Common Use Cases */}
|
|
330
|
+
<div className="!space-y-8">
|
|
331
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
332
|
+
Common Use Cases
|
|
333
|
+
</h3>
|
|
334
|
+
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
|
|
335
|
+
<div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
336
|
+
<div className="text-2xl">🎨</div>
|
|
337
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
338
|
+
Design Tools
|
|
339
|
+
</h4>
|
|
340
|
+
<p className="text-sm !text-white/80">
|
|
341
|
+
Icons for design software interfaces
|
|
342
|
+
</p>
|
|
343
|
+
</div>
|
|
344
|
+
<div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
345
|
+
<div className="text-2xl">🖼️</div>
|
|
346
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
347
|
+
Canvas Controls
|
|
348
|
+
</h4>
|
|
349
|
+
<p className="text-sm !text-white/80">
|
|
350
|
+
Canvas manipulation tools
|
|
351
|
+
</p>
|
|
352
|
+
</div>
|
|
353
|
+
<div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
354
|
+
<div className="text-2xl">✨</div>
|
|
355
|
+
<h4 className="text-lg font-semibold !text-white">
|
|
356
|
+
Creative Apps
|
|
357
|
+
</h4>
|
|
358
|
+
<p className="text-sm !text-white/80">
|
|
359
|
+
Visual editing applications
|
|
360
|
+
</p>
|
|
361
|
+
</div>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
{/* Best Practices */}
|
|
366
|
+
<div className="!space-y-8">
|
|
367
|
+
<h3 className="text-center text-2xl font-bold !text-white">
|
|
368
|
+
Best Practices
|
|
369
|
+
</h3>
|
|
370
|
+
<div className="grid grid-cols-1 gap-6 md:grid-cols-2">
|
|
371
|
+
<div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
372
|
+
<h4 className="text-lg font-semibold !text-emerald-300">
|
|
373
|
+
✅ Do
|
|
374
|
+
</h4>
|
|
375
|
+
<ul className="space-y-2 text-sm !text-white/80">
|
|
376
|
+
<li className="!text-white/80">
|
|
377
|
+
Use appropriate sizes for different contexts
|
|
378
|
+
</li>
|
|
379
|
+
<li className="!text-white/80">
|
|
380
|
+
Choose colors that match your UI theme
|
|
381
|
+
</li>
|
|
382
|
+
<li className="!text-white/80">
|
|
383
|
+
Provide clear labels for icon buttons
|
|
384
|
+
</li>
|
|
385
|
+
<li className="!text-white/80">
|
|
386
|
+
Use consistent styling across your app
|
|
387
|
+
</li>
|
|
388
|
+
<li className="!text-white/80">
|
|
389
|
+
Consider accessibility in all implementations
|
|
390
|
+
</li>
|
|
391
|
+
</ul>
|
|
392
|
+
</div>
|
|
393
|
+
<div className="space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
394
|
+
<h4 className="text-lg font-semibold !text-red-300">
|
|
395
|
+
❌ Don't
|
|
396
|
+
</h4>
|
|
397
|
+
<ul className="space-y-2 text-sm !text-white/80">
|
|
398
|
+
<li className="!text-white/80">
|
|
399
|
+
Use multiple icon styles in the same view
|
|
400
|
+
</li>
|
|
401
|
+
<li className="!text-white/80">
|
|
402
|
+
Overuse the icon in navigation
|
|
403
|
+
</li>
|
|
404
|
+
<li className="!text-white/80">
|
|
405
|
+
Use inappropriate sizes for the context
|
|
406
|
+
</li>
|
|
407
|
+
<li className="!text-white/80">
|
|
408
|
+
Forget to add hover states
|
|
409
|
+
</li>
|
|
410
|
+
<li className="!text-white/80">
|
|
411
|
+
Ignore accessibility requirements
|
|
412
|
+
</li>
|
|
413
|
+
</ul>
|
|
414
|
+
</div>
|
|
415
|
+
</div>
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
418
|
+
<div className="!space-y-8 p-7">
|
|
419
|
+
<h2 className="text-center text-3xl font-bold !text-white">
|
|
420
|
+
Related Icons
|
|
421
|
+
</h2>
|
|
422
|
+
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
423
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
424
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
|
|
425
|
+
<ArrowRightUpIcon className="h-6 w-6 rotate-90 text-blue-400" />
|
|
426
|
+
</div>
|
|
427
|
+
<div>
|
|
428
|
+
<div className="font-medium text-white">
|
|
429
|
+
ArrowRightDownIcon
|
|
430
|
+
</div>
|
|
431
|
+
<div className="text-xs text-white/60">
|
|
432
|
+
Download/decrease
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
437
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-cyan-500/20">
|
|
438
|
+
<ArrowRightUpIcon className="h-6 w-6 -rotate-90 text-cyan-400" />
|
|
439
|
+
</div>
|
|
440
|
+
<div>
|
|
441
|
+
<div className="font-medium text-white">
|
|
442
|
+
ArrowLeftUpIcon
|
|
443
|
+
</div>
|
|
444
|
+
<div className="text-xs text-white/60">Back and up</div>
|
|
445
|
+
</div>
|
|
446
|
+
</div>
|
|
447
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
448
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
|
|
449
|
+
<span className="text-2xl">↗️</span>
|
|
450
|
+
</div>
|
|
451
|
+
<div>
|
|
452
|
+
<div className="font-medium text-white">
|
|
453
|
+
ExternalLinkIcon
|
|
454
|
+
</div>
|
|
455
|
+
<div className="text-xs text-white/60">
|
|
456
|
+
Alternative style
|
|
457
|
+
</div>
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
461
|
+
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
462
|
+
<span className="text-2xl">📈</span>
|
|
463
|
+
</div>
|
|
464
|
+
<div>
|
|
465
|
+
<div className="font-medium text-white">TrendingUpIcon</div>
|
|
466
|
+
<div className="text-xs text-white/60">Growth metrics</div>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
{/* Footer */}
|
|
472
|
+
<div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
|
|
473
|
+
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
474
|
+
<div className="!space-y-4 text-center">
|
|
475
|
+
<p className="!text-white/60">
|
|
476
|
+
ArtBoardIcon is part of the Aural UI icon library, designed
|
|
477
|
+
for creative and design interfaces.
|
|
478
|
+
</p>
|
|
479
|
+
<p className="text-sm !text-white/40">
|
|
480
|
+
Perfect for design tools, canvas controls, creative
|
|
481
|
+
applications, and any interface requiring visual editing
|
|
482
|
+
capabilities.
|
|
483
|
+
</p>
|
|
484
|
+
</div>
|
|
485
|
+
</div>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
</>
|
|
489
|
+
),
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
tags: ["autodocs"],
|
|
493
|
+
argTypes: {
|
|
494
|
+
width: {
|
|
495
|
+
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
496
|
+
description: "Width of the icon in pixels",
|
|
497
|
+
},
|
|
498
|
+
height: {
|
|
499
|
+
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
500
|
+
description: "Height of the icon in pixels",
|
|
501
|
+
},
|
|
502
|
+
className: {
|
|
503
|
+
control: "text",
|
|
504
|
+
description: "CSS classes for styling",
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export default meta
|
|
510
|
+
type Story = StoryObj<typeof ArtBoardIcon>
|
|
511
|
+
|
|
512
|
+
// Story parameters for consistent dark theme
|
|
513
|
+
const storyParameters = {
|
|
514
|
+
backgrounds: {
|
|
515
|
+
default: "dark",
|
|
516
|
+
values: [
|
|
517
|
+
{ name: "dark", value: "#0a0a0a" },
|
|
518
|
+
{ name: "darker", value: "#000000" },
|
|
519
|
+
],
|
|
520
|
+
},
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export const Default: Story = {
|
|
524
|
+
args: {
|
|
525
|
+
width: 24,
|
|
526
|
+
height: 24,
|
|
527
|
+
className: "text-emerald-400",
|
|
528
|
+
},
|
|
529
|
+
parameters: storyParameters,
|
|
530
|
+
render: (args) => (
|
|
531
|
+
<div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
|
|
532
|
+
<ArtBoardIcon {...args} />
|
|
533
|
+
</div>
|
|
534
|
+
),
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export const SizeVariations: Story = {
|
|
538
|
+
parameters: {
|
|
539
|
+
...storyParameters,
|
|
540
|
+
docs: {
|
|
541
|
+
description: {
|
|
542
|
+
story:
|
|
543
|
+
"ArtBoardIcon in different sizes, from small inline buttons to large call-to-action elements.",
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
render: () => (
|
|
548
|
+
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
549
|
+
<div className="text-center">
|
|
550
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-3 w-3 text-emerald-400" />
|
|
551
|
+
<span className="text-xs text-white/60">12px</span>
|
|
552
|
+
</div>
|
|
553
|
+
<div className="text-center">
|
|
554
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-4 w-4 text-emerald-400" />
|
|
555
|
+
<span className="text-xs text-white/60">16px</span>
|
|
556
|
+
</div>
|
|
557
|
+
<div className="text-center">
|
|
558
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-5 w-5 text-emerald-400" />
|
|
559
|
+
<span className="text-xs text-white/60">20px</span>
|
|
560
|
+
</div>
|
|
561
|
+
<div className="text-center">
|
|
562
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-emerald-400" />
|
|
563
|
+
<span className="text-xs text-white/60">24px</span>
|
|
564
|
+
</div>
|
|
565
|
+
<div className="text-center">
|
|
566
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-8 w-8 text-emerald-400" />
|
|
567
|
+
<span className="text-xs text-white/60">32px</span>
|
|
568
|
+
</div>
|
|
569
|
+
<div className="text-center">
|
|
570
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-12 w-12 text-emerald-400" />
|
|
571
|
+
<span className="text-xs text-white/60">48px</span>
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
),
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export const ColorVariations: Story = {
|
|
578
|
+
parameters: {
|
|
579
|
+
...storyParameters,
|
|
580
|
+
docs: {
|
|
581
|
+
description: {
|
|
582
|
+
story:
|
|
583
|
+
"ArtBoardIcon with different color variations using Tailwind classes.",
|
|
584
|
+
},
|
|
585
|
+
},
|
|
586
|
+
},
|
|
587
|
+
render: () => (
|
|
588
|
+
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
589
|
+
<div className="text-center">
|
|
590
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-blue-400" />
|
|
591
|
+
<span className="text-xs text-white/60">Blue</span>
|
|
592
|
+
</div>
|
|
593
|
+
<div className="text-center">
|
|
594
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-purple-400" />
|
|
595
|
+
<span className="text-xs text-white/60">Purple</span>
|
|
596
|
+
</div>
|
|
597
|
+
<div className="text-center">
|
|
598
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-green-400" />
|
|
599
|
+
<span className="text-xs text-white/60">Green</span>
|
|
600
|
+
</div>
|
|
601
|
+
<div className="text-center">
|
|
602
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-red-400" />
|
|
603
|
+
<span className="text-xs text-white/60">Red</span>
|
|
604
|
+
</div>
|
|
605
|
+
<div className="text-center">
|
|
606
|
+
<ArtBoardIcon className="!mx-auto mb-2 h-6 w-6 text-yellow-400" />
|
|
607
|
+
<span className="text-xs text-white/60">Yellow</span>
|
|
608
|
+
</div>
|
|
609
|
+
</div>
|
|
610
|
+
),
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export const UsageExamples: Story = {
|
|
614
|
+
parameters: {
|
|
615
|
+
...storyParameters,
|
|
616
|
+
docs: {
|
|
617
|
+
description: {
|
|
618
|
+
story: "Common usage examples of ArtBoardIcon in different contexts.",
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
render: () => (
|
|
623
|
+
<div className="flex h-64 min-h-dvh flex-col items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
624
|
+
<div className="flex items-center gap-4">
|
|
625
|
+
<button className="flex items-center gap-2 rounded-lg border border-blue-500/20 bg-blue-500/10 px-4 py-2 text-white transition-colors hover:bg-blue-500/20">
|
|
626
|
+
<ArtBoardIcon className="h-4 w-4 text-blue-400" />
|
|
627
|
+
<span>New Artboard</span>
|
|
628
|
+
</button>
|
|
629
|
+
<button className="flex items-center gap-2 rounded-lg border border-purple-500/20 bg-purple-500/10 px-4 py-2 text-white transition-colors hover:bg-purple-500/20">
|
|
630
|
+
<ArtBoardIcon className="h-4 w-4 text-purple-400" />
|
|
631
|
+
<span>Edit Artboard</span>
|
|
632
|
+
</button>
|
|
633
|
+
</div>
|
|
634
|
+
<div className="flex items-center gap-4">
|
|
635
|
+
<div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
|
|
636
|
+
<ArtBoardIcon className="h-4 w-4 text-green-400" />
|
|
637
|
+
<span className="text-white/80">Artboard 1</span>
|
|
638
|
+
</div>
|
|
639
|
+
<div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 px-4 py-2">
|
|
640
|
+
<ArtBoardIcon className="h-4 w-4 text-blue-400" />
|
|
641
|
+
<span className="text-white/80">Artboard 2</span>
|
|
642
|
+
</div>
|
|
643
|
+
</div>
|
|
644
|
+
</div>
|
|
645
|
+
),
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export const Playground: Story = {
|
|
649
|
+
parameters: {
|
|
650
|
+
...storyParameters,
|
|
651
|
+
docs: {
|
|
652
|
+
description: {
|
|
653
|
+
story:
|
|
654
|
+
"Interactive playground to experiment with different ArtBoardIcon configurations.",
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
args: {
|
|
659
|
+
width: 32,
|
|
660
|
+
height: 32,
|
|
661
|
+
className: "text-emerald-400",
|
|
662
|
+
},
|
|
663
|
+
render: (args) => (
|
|
664
|
+
<div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
|
|
665
|
+
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
666
|
+
<ArtBoardIcon {...args} />
|
|
667
|
+
</div>
|
|
668
|
+
</div>
|
|
669
|
+
),
|
|
670
|
+
}
|