@nobak/design-system 1.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 +73 -0
- package/README.md +142 -0
- package/lib/assets/icons.js +67 -0
- package/lib/components/AccountOverview/AccountOverview.js +122 -0
- package/lib/components/AdminPanel.js +58 -0
- package/lib/components/AssetExchange/AssetExchange.js +189 -0
- package/lib/components/AuthenticationFlow.js +216 -0
- package/lib/components/ConversationInterface/ConversationInterface.js +232 -0
- package/lib/components/DevFooter.js +38 -0
- package/lib/components/DevMenu.js +35 -0
- package/lib/components/DevSidebar.js +28 -0
- package/lib/components/DigitalDisplay.js +83 -0
- package/lib/components/Footer.js +45 -0
- package/lib/components/HeroContainer.js +10 -0
- package/lib/components/IntentRecognition/IntentRecognition.js +174 -0
- package/lib/components/Logo.js +259 -0
- package/lib/components/MenuBar.js +56 -0
- package/lib/components/NetworkSettings.js +223 -0
- package/lib/components/RecoverySetup/RecoverySetup.js +354 -0
- package/lib/components/RisingSun.js +122 -0
- package/lib/components/Symbol.js +226 -0
- package/lib/components/TransactionComposer/TransactionComposer.js +258 -0
- package/lib/components/TransactionConfirmation.js +184 -0
- package/lib/components/WalletMenu.js +33 -0
- package/lib/components/console/code/CodeBlock.js +150 -0
- package/lib/components/console/code/index.js +9 -0
- package/lib/components/console/data/DataTable.js +245 -0
- package/lib/components/console/data/MetricCard.js +79 -0
- package/lib/components/console/data/index.js +11 -0
- package/lib/components/console/documentation/index.js +10 -0
- package/lib/components/console/forms/APIKeyGenerator.js +261 -0
- package/lib/components/console/forms/SearchBar.js +210 -0
- package/lib/components/console/forms/index.js +10 -0
- package/lib/components/console/index.js +29 -0
- package/lib/components/console/layout/ConsoleCard.js +82 -0
- package/lib/components/console/layout/ConsoleLayout.js +86 -0
- package/lib/components/console/layout/index.js +10 -0
- package/lib/components/console/monitoring/StatusIndicator.js +128 -0
- package/lib/components/console/monitoring/index.js +9 -0
- package/lib/components/console/navigation/DevFooter.js +38 -0
- package/lib/components/console/navigation/DevMenu.js +35 -0
- package/lib/components/console/navigation/DevSidebar.js +28 -0
- package/lib/components/console/navigation/index.js +11 -0
- package/lib/components/console/settings/index.js +10 -0
- package/lib/components/index.js +12 -0
- package/lib/design/ColorPicker.stories.js +9 -0
- package/lib/design/HSLTool-V1.js +345 -0
- package/lib/design/HSLTool-V2.js +475 -0
- package/lib/design/HSLTool-V3.js +543 -0
- package/lib/design/HSLTool-V4.js +1139 -0
- package/lib/design/HSLTool.js +374 -0
- package/lib/design/OKLCHColorPicker.stories.js +24 -0
- package/lib/design/OKLCHTool.js +1014 -0
- package/lib/index.js +4 -0
- package/lib/shared/components/Avatar/Avatar.js +18 -0
- package/lib/shared/components/Avatar/index.js +1 -0
- package/lib/shared/components/Badge/Badge.js +34 -0
- package/lib/shared/components/Badge/index.js +1 -0
- package/lib/shared/components/Breadcrumb/Breadcrumb.js +13 -0
- package/lib/shared/components/Breadcrumb/index.js +1 -0
- package/lib/shared/components/Button/Button.js +184 -0
- package/lib/shared/components/Button/index.js +1 -0
- package/lib/shared/components/Calendar/Calendar.js +155 -0
- package/lib/shared/components/Calendar/CalendarDay.js +251 -0
- package/lib/shared/components/Calendar/CalendarHeader.js +88 -0
- package/lib/shared/components/Calendar/CalendarMonth.js +106 -0
- package/lib/shared/components/Calendar/CalendarWeek.js +267 -0
- package/lib/shared/components/Calendar/constants.js +73 -0
- package/lib/shared/components/Calendar/index.js +3 -0
- package/lib/shared/components/Calendar/types.d.js +0 -0
- package/lib/shared/components/Cartel/Cartel.js +44 -0
- package/lib/shared/components/Cartel/index.js +1 -0
- package/lib/shared/components/Cell/Cell.js +105 -0
- package/lib/shared/components/Cell/index.js +1 -0
- package/lib/shared/components/Checkbox/Checkbox.js +27 -0
- package/lib/shared/components/Checkbox/index.js +1 -0
- package/lib/shared/components/Clock/Clock.js +6 -0
- package/lib/shared/components/Clock/index.js +1 -0
- package/lib/shared/components/ColorChecker/ColorChecker.js +89 -0
- package/lib/shared/components/ColorChecker/index.js +2 -0
- package/lib/shared/components/ColorChecker/utils.js +159 -0
- package/lib/shared/components/Command/Command.js +95 -0
- package/lib/shared/components/Command/index.js +1 -0
- package/lib/shared/components/Container/Container.js +18 -0
- package/lib/shared/components/Container/index.js +1 -0
- package/lib/shared/components/Cover/Cover.js +17 -0
- package/lib/shared/components/Cover/index.js +1 -0
- package/lib/shared/components/DatePicker/DatePicker.js +52 -0
- package/lib/shared/components/DatePicker/components/Calendar.js +125 -0
- package/lib/shared/components/DatePicker/components/CalendarDay.js +23 -0
- package/lib/shared/components/DatePicker/components/DateWrapper.js +15 -0
- package/lib/shared/components/DatePicker/components/index.js +2 -0
- package/lib/shared/components/DatePicker/index.js +1 -0
- package/lib/shared/components/DateTime/DateTime.js +51 -0
- package/lib/shared/components/DateTime/index.js +1 -0
- package/lib/shared/components/Debug/Debug.js +12 -0
- package/lib/shared/components/Debug/index.js +1 -0
- package/lib/shared/components/Disclosure/Disclosure.js +31 -0
- package/lib/shared/components/Disclosure/index.js +1 -0
- package/lib/shared/components/Dropdown/Dropdown.js +91 -0
- package/lib/shared/components/Dropdown/index.js +1 -0
- package/lib/shared/components/EmptyState/EmptyState.js +40 -0
- package/lib/shared/components/EmptyState/index.js +1 -0
- package/lib/shared/components/Form/Form.js +41 -0
- package/lib/shared/components/Form/components/DynamicForm.js +66 -0
- package/lib/shared/components/Form/components/StepperForm.js +266 -0
- package/lib/shared/components/Form/components/index.js +2 -0
- package/lib/shared/components/Form/context/Form.js +164 -0
- package/lib/shared/components/Form/context/index.js +1 -0
- package/lib/shared/components/Form/index.js +1 -0
- package/lib/shared/components/Form/types.d.js +1 -0
- package/lib/shared/components/Form/utils/index.js +31 -0
- package/lib/shared/components/GroupItems/GroupItems.js +17 -0
- package/lib/shared/components/GroupItems/index.js +1 -0
- package/lib/shared/components/Header/Header.js +26 -0
- package/lib/shared/components/Header/index.js +1 -0
- package/lib/shared/components/Heading/Heading.js +5 -0
- package/lib/shared/components/Heading/index.js +1 -0
- package/lib/shared/components/Icon/Icon.js +28 -0
- package/lib/shared/components/Icon/index.js +1 -0
- package/lib/shared/components/Identicons/Identicons.js +6 -0
- package/lib/shared/components/Identicons/index.d.js +0 -0
- package/lib/shared/components/Identicons/index.js +1 -0
- package/lib/shared/components/Image/Image.js +22 -0
- package/lib/shared/components/Image/index.js +1 -0
- package/lib/shared/components/Input/Input.js +201 -0
- package/lib/shared/components/Input/components/CheckBoxInput.js +81 -0
- package/lib/shared/components/Input/components/DateInput.js +89 -0
- package/lib/shared/components/Input/components/DefaultInput.js +102 -0
- package/lib/shared/components/Input/components/FileReaderInput.js +88 -0
- package/lib/shared/components/Input/components/NumberInput.js +141 -0
- package/lib/shared/components/Input/components/PickerInput.js +122 -0
- package/lib/shared/components/Input/components/RCInput.js +112 -0
- package/lib/shared/components/Input/components/Radiobox/RadioboxBasic.js +56 -0
- package/lib/shared/components/Input/components/Radiobox/RadioboxCard.js +27 -0
- package/lib/shared/components/Input/components/Radiobox/RadioboxFull.js +44 -0
- package/lib/shared/components/Input/components/Radiobox/index.js +3 -0
- package/lib/shared/components/Input/components/RadioboxInput.js +102 -0
- package/lib/shared/components/Input/components/SelectInput.js +70 -0
- package/lib/shared/components/Input/components/TextAreaInput.js +67 -0
- package/lib/shared/components/Input/components/TextInput.js +139 -0
- package/lib/shared/components/Input/components/TimeInput.js +37 -0
- package/lib/shared/components/Input/components/UploadFileInput.js +123 -0
- package/lib/shared/components/Input/components/index.js +13 -0
- package/lib/shared/components/Input/components/types.d.js +0 -0
- package/lib/shared/components/Input/index.js +1 -0
- package/lib/shared/components/Input/types.d.js +0 -0
- package/lib/shared/components/Layout/Layout.js +13 -0
- package/lib/shared/components/Layout/index.js +1 -0
- package/lib/shared/components/List/List.js +30 -0
- package/lib/shared/components/List/index.js +1 -0
- package/lib/shared/components/Loader/Loader.js +27 -0
- package/lib/shared/components/Loader/index.js +1 -0
- package/lib/shared/components/Modal/Modal.js +102 -0
- package/lib/shared/components/Modal/index.js +1 -0
- package/lib/shared/components/Notification/Notification.js +39 -0
- package/lib/shared/components/Notification/index.js +1 -0
- package/lib/shared/components/Person/Person.js +81 -0
- package/lib/shared/components/Person/index.js +1 -0
- package/lib/shared/components/Popover/Popover.js +39 -0
- package/lib/shared/components/Popover/index.js +1 -0
- package/lib/shared/components/QRCode/QRCode.js +329 -0
- package/lib/shared/components/QRCode/index.js +1 -0
- package/lib/shared/components/RadioGroup/RadioGroup.js +35 -0
- package/lib/shared/components/RadioGroup/components/DefaultGroup.js +71 -0
- package/lib/shared/components/RadioGroup/components/VerticalGroup.js +83 -0
- package/lib/shared/components/RadioGroup/components/index.js +2 -0
- package/lib/shared/components/RadioGroup/index.js +1 -0
- package/lib/shared/components/Search/Search.js +12 -0
- package/lib/shared/components/Search/index.js +1 -0
- package/lib/shared/components/Select/Select.js +90 -0
- package/lib/shared/components/Select/index.js +1 -0
- package/lib/shared/components/Sidebar/Sidebar.js +42 -0
- package/lib/shared/components/Sidebar/index.js +1 -0
- package/lib/shared/components/SlideOver/SlideOver.js +81 -0
- package/lib/shared/components/SlideOver/index.js +1 -0
- package/lib/shared/components/Slider/Slider.js +80 -0
- package/lib/shared/components/Slider/index.js +1 -0
- package/lib/shared/components/Stepper/Stepper.js +32 -0
- package/lib/shared/components/Stepper/index.js +1 -0
- package/lib/shared/components/Steps/Steps.js +53 -0
- package/lib/shared/components/Steps/index.js +1 -0
- package/lib/shared/components/Switch/Switch.js +26 -0
- package/lib/shared/components/Switch/index.js +1 -0
- package/lib/shared/components/Tab/Tab.js +59 -0
- package/lib/shared/components/Tab/index.js +1 -0
- package/lib/shared/components/Table/Table.js +47 -0
- package/lib/shared/components/Table/index.js +1 -0
- package/lib/shared/components/Text/Text.js +11 -0
- package/lib/shared/components/Text/index.js +1 -0
- package/lib/shared/components/TextList/TextList.js +15 -0
- package/lib/shared/components/TextList/index.js +1 -0
- package/lib/shared/components/TimePicker/TimePicker.js +161 -0
- package/lib/shared/components/TimePicker/index.js +1 -0
- package/lib/shared/components/Tooltip/Tooltip.js +13 -0
- package/lib/shared/components/Tooltip/index.js +1 -0
- package/lib/shared/components/Uploader/Uploader.js +63 -0
- package/lib/shared/components/Uploader/index.js +1 -0
- package/lib/shared/components/Video/Video.js +20 -0
- package/lib/shared/components/Video/index.js +1 -0
- package/lib/shared/components/index.d.js +0 -0
- package/lib/shared/components/index.js +50 -0
- package/lib/shared/elements/Color/ColorPallet.js +20 -0
- package/lib/shared/elements/Color/index.js +1 -0
- package/lib/shared/elements/Text.js +37 -0
- package/lib/shared/elements/index.js +1 -0
- package/lib/shared/helpers/FakeLink.js +8 -0
- package/lib/shared/helpers/constants.js +359 -0
- package/lib/shared/helpers/index.js +2 -0
- package/lib/shared/helpers/isEqual.js +56 -0
- package/lib/shared/index.d.js +0 -0
- package/lib/shared/index.js +1 -0
- package/lib/shared/stories/components/Avatar.stories.js +17 -0
- package/lib/shared/stories/components/Badge.stories.dev.js +37 -0
- package/lib/shared/stories/components/Button.stories.js +553 -0
- package/lib/shared/stories/components/Calendar.stories.js +62 -0
- package/lib/shared/stories/components/Cartel.stories.js +32 -0
- package/lib/shared/stories/components/Checkbox.stories.js +15 -0
- package/lib/shared/stories/components/ColorChecker.stories.dev.js +16 -0
- package/lib/shared/stories/components/DateTime.stories.js +27 -0
- package/lib/shared/stories/components/Disclosure.stories.js +30 -0
- package/lib/shared/stories/components/Dropdown.stories.js +39 -0
- package/lib/shared/stories/components/Form/Default.stories.js +201 -0
- package/lib/shared/stories/components/Form/DummyForm.stories.js +48 -0
- package/lib/shared/stories/components/Form/DynamicForm.stories.js +155 -0
- package/lib/shared/stories/components/Form/StepperForm.stories.js +138 -0
- package/lib/shared/stories/components/Form/ValidateForm.stories.js +70 -0
- package/lib/shared/stories/components/Form/Validation.stories.js +184 -0
- package/lib/shared/stories/components/GroupItems.stories.js +23 -0
- package/lib/shared/stories/components/Header.stories.js +29 -0
- package/lib/shared/stories/components/Heading.stories.js +27 -0
- package/lib/shared/stories/components/Icon.stories.js +22 -0
- package/lib/shared/stories/components/Image.stories.js +23 -0
- package/lib/shared/stories/components/Input/Checkbox.stories.js +45 -0
- package/lib/shared/stories/components/Input/DatePicker.stories.js +23 -0
- package/lib/shared/stories/components/Input/Defaut.stories.js +24 -0
- package/lib/shared/stories/components/Input/Number.stories.js +24 -0
- package/lib/shared/stories/components/Input/RCI.stories.js +59 -0
- package/lib/shared/stories/components/Input/Radiobox.stories.dev.js +28 -0
- package/lib/shared/stories/components/Input/Select.stories.dev.js +27 -0
- package/lib/shared/stories/components/Input/SelectMultiple.stories.dev.js +510 -0
- package/lib/shared/stories/components/Input/Textarea.stories.js +24 -0
- package/lib/shared/stories/components/List.stories.js +34 -0
- package/lib/shared/stories/components/Loader.stories.js +15 -0
- package/lib/shared/stories/components/Modal.stories.js +50 -0
- package/lib/shared/stories/components/Notification.stories.js +22 -0
- package/lib/shared/stories/components/Person.stories.js +41 -0
- package/lib/shared/stories/components/Picker.stories.js +15 -0
- package/lib/shared/stories/components/Popover.stories.js +36 -0
- package/lib/shared/stories/components/QRCode.stories.js +20 -0
- package/lib/shared/stories/components/RadioGroup.stories.js +56 -0
- package/lib/shared/stories/components/Select.stories.js +50 -0
- package/lib/shared/stories/components/Sidebar.stories.js +35 -0
- package/lib/shared/stories/components/Slider.stories.dev.js +48 -0
- package/lib/shared/stories/components/Stepper/Stepper.stories.js +38 -0
- package/lib/shared/stories/components/Steps.stories.js +15 -0
- package/lib/shared/stories/components/Switch.stories.js +15 -0
- package/lib/shared/stories/components/Tab.stories.js +15 -0
- package/lib/shared/stories/components/Table.stories.js +95 -0
- package/lib/shared/stories/components/TextList.stories.js +23 -0
- package/lib/shared/stories/components/Tooltip.stories.dev.js +40 -0
- package/lib/shared/stories/elements/Color.stories.js +269 -0
- package/lib/shared/stories/elements/Text.stories.js +45 -0
- package/lib/shared/types/index.js +1 -0
- package/lib/stories/Foundation/BrandIdentity.prod.stories.js +510 -0
- package/lib/stories/Foundation/Logo.stories.js +19 -0
- package/lib/stories/Foundation/RisingSun.stories.js +16 -0
- package/lib/stories/Foundation/Shadows.stories.js +601 -0
- package/lib/stories/Foundation/Symbol.stories.js +18 -0
- package/lib/stories/HeroContainer.stories.js +18 -0
- package/lib/styles/accessibilityTokens.js +72 -0
- package/lib/styles/borderWidth.js +10 -0
- package/lib/styles/colors.js +303 -0
- package/lib/styles/elevation.js +240 -0
- package/lib/styles/icons.js +218 -0
- package/lib/styles/index.js +29 -0
- package/lib/styles/motion.js +668 -0
- package/lib/styles/opacity.js +10 -0
- package/lib/styles/radius.js +11 -0
- package/lib/styles/sizing.js +35 -0
- package/lib/styles/space.js +24 -0
- package/lib/styles/theme/darkTheme.js +471 -0
- package/lib/styles/theme/index.js +44 -0
- package/lib/styles/theme/lightTheme.js +480 -0
- package/lib/styles/theme/themeTypes.js +1 -0
- package/lib/styles/theme/themeUtils.js +63 -0
- package/lib/styles/typography-advanced.js +510 -0
- package/lib/styles/typography.js +1419 -0
- package/lib/styles/zIndex.js +19 -0
- package/lib/tokens/borders.js +161 -0
- package/lib/tokens/colors.js +426 -0
- package/lib/tokens/components.js +499 -0
- package/lib/tokens/index.js +84 -0
- package/lib/tokens/lighting.js +384 -0
- package/lib/tokens/motion.js +284 -0
- package/lib/tokens/semantic.js +367 -0
- package/lib/tokens/shadows.js +114 -0
- package/lib/tokens/spacing.js +189 -0
- package/lib/tokens/typography.js +268 -0
- package/package.json +176 -0
- package/styles/generated-tokens.css +677 -0
- package/styles/index.css +2 -0
- package/styles/main.css +610 -0
- package/tailwind.config.js +64 -0
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
var meta = {
|
|
3
|
+
title: 'Foundation/Shadows & Depth',
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: 'padded',
|
|
6
|
+
docs: {
|
|
7
|
+
description: {
|
|
8
|
+
component: "\n# Shadows & Depth\n\nCreating professional depth through layered shadows. Each component uses multiple shadows to create ambient depth and visual hierarchy.\n\n**Key Technique:** Combining short, sharp shadows with longer, low-opacity ambient shadows.\n "
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
tags: ['autodocs']
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
/**
|
|
16
|
+
* Basic shadow levels from flat to highly elevated.
|
|
17
|
+
* Each card demonstrates a different elevation level using layered shadows.
|
|
18
|
+
*/
|
|
19
|
+
export var ShadowLevels = {
|
|
20
|
+
render: function render() {
|
|
21
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
22
|
+
style: {
|
|
23
|
+
display: 'grid',
|
|
24
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(240px, 1fr))',
|
|
25
|
+
gap: '48px',
|
|
26
|
+
padding: '48px',
|
|
27
|
+
background: '#F5F5F5'
|
|
28
|
+
}
|
|
29
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
style: {
|
|
31
|
+
background: 'white',
|
|
32
|
+
padding: '32px',
|
|
33
|
+
borderRadius: '8px',
|
|
34
|
+
border: '1px solid #E5E5E5'
|
|
35
|
+
}
|
|
36
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
37
|
+
style: {
|
|
38
|
+
margin: '0 0 8px 0',
|
|
39
|
+
fontSize: '14px',
|
|
40
|
+
fontWeight: 600
|
|
41
|
+
}
|
|
42
|
+
}, "Flat"), /*#__PURE__*/React.createElement("p", {
|
|
43
|
+
style: {
|
|
44
|
+
margin: 0,
|
|
45
|
+
fontSize: '12px',
|
|
46
|
+
color: '#666'
|
|
47
|
+
}
|
|
48
|
+
}, "No shadow, border only")), /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
style: {
|
|
50
|
+
background: 'white',
|
|
51
|
+
padding: '32px',
|
|
52
|
+
borderRadius: '8px',
|
|
53
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
|
|
54
|
+
}
|
|
55
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
56
|
+
style: {
|
|
57
|
+
margin: '0 0 8px 0',
|
|
58
|
+
fontSize: '14px',
|
|
59
|
+
fontWeight: 600
|
|
60
|
+
}
|
|
61
|
+
}, "Subtle"), /*#__PURE__*/React.createElement("p", {
|
|
62
|
+
style: {
|
|
63
|
+
margin: 0,
|
|
64
|
+
fontSize: '12px',
|
|
65
|
+
color: '#666'
|
|
66
|
+
}
|
|
67
|
+
}, "Minimal elevation")), /*#__PURE__*/React.createElement("div", {
|
|
68
|
+
style: {
|
|
69
|
+
background: 'white',
|
|
70
|
+
padding: '32px',
|
|
71
|
+
borderRadius: '8px',
|
|
72
|
+
boxShadow: '0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04)'
|
|
73
|
+
}
|
|
74
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
75
|
+
style: {
|
|
76
|
+
margin: '0 0 8px 0',
|
|
77
|
+
fontSize: '14px',
|
|
78
|
+
fontWeight: 600
|
|
79
|
+
}
|
|
80
|
+
}, "Low"), /*#__PURE__*/React.createElement("p", {
|
|
81
|
+
style: {
|
|
82
|
+
margin: 0,
|
|
83
|
+
fontSize: '12px',
|
|
84
|
+
color: '#666'
|
|
85
|
+
}
|
|
86
|
+
}, "Short + ambient shadow")), /*#__PURE__*/React.createElement("div", {
|
|
87
|
+
style: {
|
|
88
|
+
background: 'white',
|
|
89
|
+
padding: '32px',
|
|
90
|
+
borderRadius: '8px',
|
|
91
|
+
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06)'
|
|
92
|
+
}
|
|
93
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
94
|
+
style: {
|
|
95
|
+
margin: '0 0 8px 0',
|
|
96
|
+
fontSize: '14px',
|
|
97
|
+
fontWeight: 600
|
|
98
|
+
}
|
|
99
|
+
}, "Medium"), /*#__PURE__*/React.createElement("p", {
|
|
100
|
+
style: {
|
|
101
|
+
margin: 0,
|
|
102
|
+
fontSize: '12px',
|
|
103
|
+
color: '#666'
|
|
104
|
+
}
|
|
105
|
+
}, "Balanced elevation")), /*#__PURE__*/React.createElement("div", {
|
|
106
|
+
style: {
|
|
107
|
+
background: 'white',
|
|
108
|
+
padding: '32px',
|
|
109
|
+
borderRadius: '8px',
|
|
110
|
+
boxShadow: '0 4px 6px rgba(0, 0, 0, 0.12), 0 16px 24px rgba(0, 0, 0, 0.08)'
|
|
111
|
+
}
|
|
112
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
113
|
+
style: {
|
|
114
|
+
margin: '0 0 8px 0',
|
|
115
|
+
fontSize: '14px',
|
|
116
|
+
fontWeight: 600
|
|
117
|
+
}
|
|
118
|
+
}, "High"), /*#__PURE__*/React.createElement("p", {
|
|
119
|
+
style: {
|
|
120
|
+
margin: 0,
|
|
121
|
+
fontSize: '12px',
|
|
122
|
+
color: '#666'
|
|
123
|
+
}
|
|
124
|
+
}, "Prominent elevation")), /*#__PURE__*/React.createElement("div", {
|
|
125
|
+
style: {
|
|
126
|
+
background: 'white',
|
|
127
|
+
padding: '32px',
|
|
128
|
+
borderRadius: '8px',
|
|
129
|
+
boxShadow: '0 8px 12px rgba(0, 0, 0, 0.15), 0 24px 48px rgba(0, 0, 0, 0.1)'
|
|
130
|
+
}
|
|
131
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
132
|
+
style: {
|
|
133
|
+
margin: '0 0 8px 0',
|
|
134
|
+
fontSize: '14px',
|
|
135
|
+
fontWeight: 600
|
|
136
|
+
}
|
|
137
|
+
}, "Highest"), /*#__PURE__*/React.createElement("p", {
|
|
138
|
+
style: {
|
|
139
|
+
margin: 0,
|
|
140
|
+
fontSize: '12px',
|
|
141
|
+
color: '#666'
|
|
142
|
+
}
|
|
143
|
+
}, "Maximum elevation")));
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Cards demonstrating different surface treatments.
|
|
149
|
+
* Shows how shadows create visual hierarchy.
|
|
150
|
+
*/
|
|
151
|
+
export var CardVariations = {
|
|
152
|
+
render: function render() {
|
|
153
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
154
|
+
style: {
|
|
155
|
+
display: 'grid',
|
|
156
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))',
|
|
157
|
+
gap: '24px',
|
|
158
|
+
padding: '24px',
|
|
159
|
+
background: '#FAFAFA'
|
|
160
|
+
}
|
|
161
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
162
|
+
style: {
|
|
163
|
+
background: 'white',
|
|
164
|
+
border: '1px solid #E5E5E5',
|
|
165
|
+
borderRadius: '12px',
|
|
166
|
+
padding: '24px'
|
|
167
|
+
}
|
|
168
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
169
|
+
style: {
|
|
170
|
+
width: '48px',
|
|
171
|
+
height: '48px',
|
|
172
|
+
background: '#FF3B2D',
|
|
173
|
+
borderRadius: '8px',
|
|
174
|
+
marginBottom: '16px'
|
|
175
|
+
}
|
|
176
|
+
}), /*#__PURE__*/React.createElement("h3", {
|
|
177
|
+
style: {
|
|
178
|
+
margin: '0 0 8px 0',
|
|
179
|
+
fontSize: '16px',
|
|
180
|
+
fontWeight: 700
|
|
181
|
+
}
|
|
182
|
+
}, "Flat Surface"), /*#__PURE__*/React.createElement("p", {
|
|
183
|
+
style: {
|
|
184
|
+
margin: 0,
|
|
185
|
+
fontSize: '14px',
|
|
186
|
+
color: '#666',
|
|
187
|
+
lineHeight: 1.6
|
|
188
|
+
}
|
|
189
|
+
}, "Border only, no shadow. Clean and minimal appearance.")), /*#__PURE__*/React.createElement("div", {
|
|
190
|
+
style: {
|
|
191
|
+
background: 'white',
|
|
192
|
+
borderRadius: '12px',
|
|
193
|
+
padding: '24px',
|
|
194
|
+
boxShadow: '0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04)'
|
|
195
|
+
}
|
|
196
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
197
|
+
style: {
|
|
198
|
+
width: '48px',
|
|
199
|
+
height: '48px',
|
|
200
|
+
background: '#FF3B2D',
|
|
201
|
+
borderRadius: '8px',
|
|
202
|
+
marginBottom: '16px'
|
|
203
|
+
}
|
|
204
|
+
}), /*#__PURE__*/React.createElement("h3", {
|
|
205
|
+
style: {
|
|
206
|
+
margin: '0 0 8px 0',
|
|
207
|
+
fontSize: '16px',
|
|
208
|
+
fontWeight: 700
|
|
209
|
+
}
|
|
210
|
+
}, "Standard Card"), /*#__PURE__*/React.createElement("p", {
|
|
211
|
+
style: {
|
|
212
|
+
margin: 0,
|
|
213
|
+
fontSize: '14px',
|
|
214
|
+
color: '#666',
|
|
215
|
+
lineHeight: 1.6
|
|
216
|
+
}
|
|
217
|
+
}, "Layered shadows create subtle depth and separation from background.")), /*#__PURE__*/React.createElement("div", {
|
|
218
|
+
style: {
|
|
219
|
+
background: 'white',
|
|
220
|
+
borderRadius: '12px',
|
|
221
|
+
padding: '24px',
|
|
222
|
+
boxShadow: '0 4px 6px rgba(0, 0, 0, 0.12), 0 16px 24px rgba(0, 0, 0, 0.08)'
|
|
223
|
+
}
|
|
224
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
225
|
+
style: {
|
|
226
|
+
width: '48px',
|
|
227
|
+
height: '48px',
|
|
228
|
+
background: '#FF3B2D',
|
|
229
|
+
borderRadius: '8px',
|
|
230
|
+
marginBottom: '16px'
|
|
231
|
+
}
|
|
232
|
+
}), /*#__PURE__*/React.createElement("h3", {
|
|
233
|
+
style: {
|
|
234
|
+
margin: '0 0 8px 0',
|
|
235
|
+
fontSize: '16px',
|
|
236
|
+
fontWeight: 700
|
|
237
|
+
}
|
|
238
|
+
}, "Elevated Card"), /*#__PURE__*/React.createElement("p", {
|
|
239
|
+
style: {
|
|
240
|
+
margin: 0,
|
|
241
|
+
fontSize: '14px',
|
|
242
|
+
color: '#666',
|
|
243
|
+
lineHeight: 1.6
|
|
244
|
+
}
|
|
245
|
+
}, "Stronger shadows for prominent content that demands attention.")));
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Button states showing how shadows change with interaction.
|
|
251
|
+
*/
|
|
252
|
+
export var ButtonStates = {
|
|
253
|
+
render: function render() {
|
|
254
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
255
|
+
style: {
|
|
256
|
+
display: 'flex',
|
|
257
|
+
flexDirection: 'column',
|
|
258
|
+
gap: '32px',
|
|
259
|
+
padding: '48px',
|
|
260
|
+
maxWidth: '600px',
|
|
261
|
+
margin: '0 auto'
|
|
262
|
+
}
|
|
263
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", {
|
|
264
|
+
style: {
|
|
265
|
+
margin: '0 0 12px 0',
|
|
266
|
+
fontSize: '14px',
|
|
267
|
+
color: '#666'
|
|
268
|
+
}
|
|
269
|
+
}, "Default"), /*#__PURE__*/React.createElement("button", {
|
|
270
|
+
style: {
|
|
271
|
+
background: '#FF3B2D',
|
|
272
|
+
color: 'white',
|
|
273
|
+
border: 'none',
|
|
274
|
+
borderRadius: '8px',
|
|
275
|
+
padding: '14px 28px',
|
|
276
|
+
fontSize: '16px',
|
|
277
|
+
fontWeight: 600,
|
|
278
|
+
cursor: 'pointer',
|
|
279
|
+
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06)'
|
|
280
|
+
}
|
|
281
|
+
}, "Primary Action")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", {
|
|
282
|
+
style: {
|
|
283
|
+
margin: '0 0 12px 0',
|
|
284
|
+
fontSize: '14px',
|
|
285
|
+
color: '#666'
|
|
286
|
+
}
|
|
287
|
+
}, "Hover (Enhanced Shadow)"), /*#__PURE__*/React.createElement("button", {
|
|
288
|
+
style: {
|
|
289
|
+
background: '#E6251A',
|
|
290
|
+
color: 'white',
|
|
291
|
+
border: 'none',
|
|
292
|
+
borderRadius: '8px',
|
|
293
|
+
padding: '14px 28px',
|
|
294
|
+
fontSize: '16px',
|
|
295
|
+
fontWeight: 600,
|
|
296
|
+
cursor: 'pointer',
|
|
297
|
+
boxShadow: '0 4px 8px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08)',
|
|
298
|
+
transform: 'translateY(-1px)'
|
|
299
|
+
}
|
|
300
|
+
}, "Primary Action")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", {
|
|
301
|
+
style: {
|
|
302
|
+
margin: '0 0 12px 0',
|
|
303
|
+
fontSize: '14px',
|
|
304
|
+
color: '#666'
|
|
305
|
+
}
|
|
306
|
+
}, "Active (Reduced Shadow)"), /*#__PURE__*/React.createElement("button", {
|
|
307
|
+
style: {
|
|
308
|
+
background: '#CC1A0F',
|
|
309
|
+
color: 'white',
|
|
310
|
+
border: 'none',
|
|
311
|
+
borderRadius: '8px',
|
|
312
|
+
padding: '14px 28px',
|
|
313
|
+
fontSize: '16px',
|
|
314
|
+
fontWeight: 600,
|
|
315
|
+
cursor: 'pointer',
|
|
316
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.15)',
|
|
317
|
+
transform: 'translateY(1px)'
|
|
318
|
+
}
|
|
319
|
+
}, "Primary Action")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h4", {
|
|
320
|
+
style: {
|
|
321
|
+
margin: '0 0 12px 0',
|
|
322
|
+
fontSize: '14px',
|
|
323
|
+
color: '#666'
|
|
324
|
+
}
|
|
325
|
+
}, "Disabled (Minimal Shadow)"), /*#__PURE__*/React.createElement("button", {
|
|
326
|
+
disabled: true,
|
|
327
|
+
style: {
|
|
328
|
+
background: '#E5E5E5',
|
|
329
|
+
color: '#A3A3A3',
|
|
330
|
+
border: 'none',
|
|
331
|
+
borderRadius: '8px',
|
|
332
|
+
padding: '14px 28px',
|
|
333
|
+
fontSize: '16px',
|
|
334
|
+
fontWeight: 600,
|
|
335
|
+
cursor: 'not-allowed',
|
|
336
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
|
|
337
|
+
}
|
|
338
|
+
}, "Primary Action")));
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Layered interface showing depth through shadow hierarchy.
|
|
344
|
+
*/
|
|
345
|
+
export var LayeredInterface = {
|
|
346
|
+
render: function render() {
|
|
347
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
348
|
+
style: {
|
|
349
|
+
padding: '48px',
|
|
350
|
+
background: '#F5F5F5',
|
|
351
|
+
minHeight: '500px',
|
|
352
|
+
display: 'flex',
|
|
353
|
+
alignItems: 'center',
|
|
354
|
+
justifyContent: 'center'
|
|
355
|
+
}
|
|
356
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
357
|
+
style: {
|
|
358
|
+
background: 'white',
|
|
359
|
+
borderRadius: '16px',
|
|
360
|
+
padding: '32px',
|
|
361
|
+
maxWidth: '500px',
|
|
362
|
+
width: '100%',
|
|
363
|
+
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04)'
|
|
364
|
+
}
|
|
365
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
366
|
+
style: {
|
|
367
|
+
margin: '0 0 24px 0',
|
|
368
|
+
fontSize: '24px',
|
|
369
|
+
fontWeight: 700
|
|
370
|
+
}
|
|
371
|
+
}, "Account Overview"), /*#__PURE__*/React.createElement("div", {
|
|
372
|
+
style: {
|
|
373
|
+
display: 'flex',
|
|
374
|
+
flexDirection: 'column',
|
|
375
|
+
gap: '16px',
|
|
376
|
+
marginBottom: '24px'
|
|
377
|
+
}
|
|
378
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
379
|
+
style: {
|
|
380
|
+
background: '#FAFAFA',
|
|
381
|
+
borderRadius: '12px',
|
|
382
|
+
padding: '20px',
|
|
383
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
|
|
384
|
+
}
|
|
385
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
386
|
+
style: {
|
|
387
|
+
fontSize: '12px',
|
|
388
|
+
color: '#666',
|
|
389
|
+
marginBottom: '4px'
|
|
390
|
+
}
|
|
391
|
+
}, "Total Balance"), /*#__PURE__*/React.createElement("div", {
|
|
392
|
+
style: {
|
|
393
|
+
fontSize: '28px',
|
|
394
|
+
fontWeight: 700
|
|
395
|
+
}
|
|
396
|
+
}, "$24,586.00")), /*#__PURE__*/React.createElement("div", {
|
|
397
|
+
style: {
|
|
398
|
+
background: '#FAFAFA',
|
|
399
|
+
borderRadius: '12px',
|
|
400
|
+
padding: '20px',
|
|
401
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
|
|
402
|
+
}
|
|
403
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
404
|
+
style: {
|
|
405
|
+
fontSize: '12px',
|
|
406
|
+
color: '#666',
|
|
407
|
+
marginBottom: '4px'
|
|
408
|
+
}
|
|
409
|
+
}, "Monthly Change"), /*#__PURE__*/React.createElement("div", {
|
|
410
|
+
style: {
|
|
411
|
+
fontSize: '20px',
|
|
412
|
+
fontWeight: 700,
|
|
413
|
+
color: '#10B981'
|
|
414
|
+
}
|
|
415
|
+
}, "+12.5%"))), /*#__PURE__*/React.createElement("button", {
|
|
416
|
+
style: {
|
|
417
|
+
background: '#FF3B2D',
|
|
418
|
+
color: 'white',
|
|
419
|
+
border: 'none',
|
|
420
|
+
borderRadius: '10px',
|
|
421
|
+
padding: '16px',
|
|
422
|
+
fontSize: '16px',
|
|
423
|
+
fontWeight: 600,
|
|
424
|
+
width: '100%',
|
|
425
|
+
cursor: 'pointer',
|
|
426
|
+
boxShadow: '0 4px 6px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08)'
|
|
427
|
+
}
|
|
428
|
+
}, "View Details")));
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Modal overlay demonstrating maximum depth.
|
|
434
|
+
*/
|
|
435
|
+
export var ModalDepth = {
|
|
436
|
+
render: function render() {
|
|
437
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
438
|
+
style: {
|
|
439
|
+
position: 'relative',
|
|
440
|
+
padding: '48px',
|
|
441
|
+
background: '#E5E5E5',
|
|
442
|
+
minHeight: '600px',
|
|
443
|
+
display: 'flex',
|
|
444
|
+
alignItems: 'center',
|
|
445
|
+
justifyContent: 'center'
|
|
446
|
+
}
|
|
447
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
448
|
+
style: {
|
|
449
|
+
position: 'absolute',
|
|
450
|
+
top: '48px',
|
|
451
|
+
left: '48px',
|
|
452
|
+
right: '48px',
|
|
453
|
+
background: 'white',
|
|
454
|
+
borderRadius: '12px',
|
|
455
|
+
padding: '32px',
|
|
456
|
+
opacity: 0.4,
|
|
457
|
+
filter: 'blur(2px)'
|
|
458
|
+
}
|
|
459
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
460
|
+
style: {
|
|
461
|
+
fontSize: '24px',
|
|
462
|
+
marginBottom: '16px'
|
|
463
|
+
}
|
|
464
|
+
}, "Background Content"), /*#__PURE__*/React.createElement("p", null, "This content is dimmed and blurred to show it's behind the modal.")), /*#__PURE__*/React.createElement("div", {
|
|
465
|
+
style: {
|
|
466
|
+
position: 'relative',
|
|
467
|
+
zIndex: 10,
|
|
468
|
+
background: 'white',
|
|
469
|
+
borderRadius: '16px',
|
|
470
|
+
padding: '40px',
|
|
471
|
+
maxWidth: '450px',
|
|
472
|
+
width: '100%',
|
|
473
|
+
boxShadow: '0 8px 16px rgba(0, 0, 0, 0.15), 0 24px 48px rgba(0, 0, 0, 0.12)'
|
|
474
|
+
}
|
|
475
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
476
|
+
style: {
|
|
477
|
+
margin: '0 0 16px 0',
|
|
478
|
+
fontSize: '20px',
|
|
479
|
+
fontWeight: 700
|
|
480
|
+
}
|
|
481
|
+
}, "Confirm Action"), /*#__PURE__*/React.createElement("p", {
|
|
482
|
+
style: {
|
|
483
|
+
margin: '0 0 32px 0',
|
|
484
|
+
fontSize: '14px',
|
|
485
|
+
color: '#666',
|
|
486
|
+
lineHeight: 1.6
|
|
487
|
+
}
|
|
488
|
+
}, "This modal uses the highest shadow level to appear above all other content. Notice the combination of sharp and ambient shadows."), /*#__PURE__*/React.createElement("div", {
|
|
489
|
+
style: {
|
|
490
|
+
display: 'flex',
|
|
491
|
+
gap: '12px'
|
|
492
|
+
}
|
|
493
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
494
|
+
style: {
|
|
495
|
+
flex: 1,
|
|
496
|
+
background: 'white',
|
|
497
|
+
color: '#171717',
|
|
498
|
+
border: '1px solid #E5E5E5',
|
|
499
|
+
borderRadius: '8px',
|
|
500
|
+
padding: '12px',
|
|
501
|
+
fontSize: '14px',
|
|
502
|
+
fontWeight: 600,
|
|
503
|
+
cursor: 'pointer',
|
|
504
|
+
boxShadow: '0 1px 2px rgba(0, 0, 0, 0.05)'
|
|
505
|
+
}
|
|
506
|
+
}, "Cancel"), /*#__PURE__*/React.createElement("button", {
|
|
507
|
+
style: {
|
|
508
|
+
flex: 1,
|
|
509
|
+
background: '#FF3B2D',
|
|
510
|
+
color: 'white',
|
|
511
|
+
border: 'none',
|
|
512
|
+
borderRadius: '8px',
|
|
513
|
+
padding: '12px',
|
|
514
|
+
fontSize: '14px',
|
|
515
|
+
fontWeight: 600,
|
|
516
|
+
cursor: 'pointer',
|
|
517
|
+
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06)'
|
|
518
|
+
}
|
|
519
|
+
}, "Confirm"))));
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Input fields showing subtle depth.
|
|
525
|
+
*/
|
|
526
|
+
export var InputDepth = {
|
|
527
|
+
render: function render() {
|
|
528
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
529
|
+
style: {
|
|
530
|
+
maxWidth: '500px',
|
|
531
|
+
margin: '0 auto',
|
|
532
|
+
padding: '48px',
|
|
533
|
+
display: 'flex',
|
|
534
|
+
flexDirection: 'column',
|
|
535
|
+
gap: '24px'
|
|
536
|
+
}
|
|
537
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", {
|
|
538
|
+
style: {
|
|
539
|
+
display: 'block',
|
|
540
|
+
fontSize: '14px',
|
|
541
|
+
fontWeight: 600,
|
|
542
|
+
marginBottom: '8px',
|
|
543
|
+
color: '#171717'
|
|
544
|
+
}
|
|
545
|
+
}, "Email Address"), /*#__PURE__*/React.createElement("input", {
|
|
546
|
+
type: "email",
|
|
547
|
+
placeholder: "you@example.com",
|
|
548
|
+
style: {
|
|
549
|
+
width: '100%',
|
|
550
|
+
padding: '12px 16px',
|
|
551
|
+
fontSize: '16px',
|
|
552
|
+
border: '1px solid #E5E5E5',
|
|
553
|
+
borderRadius: '8px',
|
|
554
|
+
boxShadow: 'inset 0 1px 2px rgba(0, 0, 0, 0.04)',
|
|
555
|
+
outline: 'none'
|
|
556
|
+
}
|
|
557
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", {
|
|
558
|
+
style: {
|
|
559
|
+
display: 'block',
|
|
560
|
+
fontSize: '14px',
|
|
561
|
+
fontWeight: 600,
|
|
562
|
+
marginBottom: '8px',
|
|
563
|
+
color: '#171717'
|
|
564
|
+
}
|
|
565
|
+
}, "Password (Focused State)"), /*#__PURE__*/React.createElement("input", {
|
|
566
|
+
type: "password",
|
|
567
|
+
placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",
|
|
568
|
+
style: {
|
|
569
|
+
width: '100%',
|
|
570
|
+
padding: '12px 16px',
|
|
571
|
+
fontSize: '16px',
|
|
572
|
+
border: '2px solid #FF3B2D',
|
|
573
|
+
borderRadius: '8px',
|
|
574
|
+
boxShadow: 'inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 3px rgba(255, 59, 45, 0.1)',
|
|
575
|
+
outline: 'none'
|
|
576
|
+
}
|
|
577
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("label", {
|
|
578
|
+
style: {
|
|
579
|
+
display: 'block',
|
|
580
|
+
fontSize: '14px',
|
|
581
|
+
fontWeight: '600',
|
|
582
|
+
marginBottom: '8px',
|
|
583
|
+
color: '#171717'
|
|
584
|
+
}
|
|
585
|
+
}, "Message"), /*#__PURE__*/React.createElement("textarea", {
|
|
586
|
+
placeholder: "Enter your message...",
|
|
587
|
+
rows: 4,
|
|
588
|
+
style: {
|
|
589
|
+
width: '100%',
|
|
590
|
+
padding: '12px 16px',
|
|
591
|
+
fontSize: '16px',
|
|
592
|
+
border: '1px solid #E5E5E5',
|
|
593
|
+
borderRadius: '8px',
|
|
594
|
+
boxShadow: 'inset 0 1px 3px rgba(0, 0, 0, 0.05)',
|
|
595
|
+
outline: 'none',
|
|
596
|
+
fontFamily: 'inherit',
|
|
597
|
+
resize: 'vertical'
|
|
598
|
+
}
|
|
599
|
+
})));
|
|
600
|
+
}
|
|
601
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Symbol as _Symbol } from "../../components/Symbol";
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Foundation / Symbol',
|
|
5
|
+
component: _Symbol,
|
|
6
|
+
argTypes: {
|
|
7
|
+
// Define controls for your props here
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var Template = function Template(args) {
|
|
11
|
+
return /*#__PURE__*/React.createElement(_Symbol, {
|
|
12
|
+
type: "Star"
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
export var Default = Template.bind({});
|
|
16
|
+
Default.args = {
|
|
17
|
+
// Props for the default story
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RisingSun, HeroContainer } from "../components";
|
|
3
|
+
import "../../styles/index.css";
|
|
4
|
+
export default {
|
|
5
|
+
component: HeroContainer,
|
|
6
|
+
title: 'Patterns / HeroContainer'
|
|
7
|
+
};
|
|
8
|
+
export var Default = function Default(args) {
|
|
9
|
+
return /*#__PURE__*/React.createElement(HeroContainer, null, /*#__PURE__*/React.createElement(RisingSun, {
|
|
10
|
+
roundedClass: "rounded-[48px]"
|
|
11
|
+
}));
|
|
12
|
+
};
|
|
13
|
+
Default.parameters = {
|
|
14
|
+
design: {
|
|
15
|
+
type: 'figma',
|
|
16
|
+
url: 'https://www.figma.com/file/vkIFRuwbONhF3qrGI7bHvL/App?node-id=971%3A68'
|
|
17
|
+
}
|
|
18
|
+
};
|