@lowdefy/blocks-antd 5.5.1 → 6.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/dist/TagPillRow.js +88 -0
- package/dist/blocks/Affix/gallery.yaml +399 -0
- package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
- package/dist/blocks/Affix/tests.yaml +29 -0
- package/dist/blocks/Alert/gallery.yaml +701 -0
- package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
- package/dist/blocks/Alert/tests.yaml +261 -0
- package/dist/blocks/AutoComplete/gallery.yaml +713 -0
- package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
- package/dist/blocks/AutoComplete/tests.yaml +178 -0
- package/dist/blocks/Avatar/gallery.yaml +1037 -0
- package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
- package/dist/blocks/Avatar/tests.yaml +76 -0
- package/dist/blocks/Badge/gallery.yaml +1090 -0
- package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
- package/dist/blocks/Badge/tests.yaml +91 -0
- package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
- package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
- package/dist/blocks/Breadcrumb/tests.yaml +106 -0
- package/dist/blocks/Button/gallery.yaml +718 -0
- package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
- package/dist/blocks/Button/tests.yaml +104 -0
- package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
- package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
- package/dist/blocks/ButtonSelector/tests.yaml +167 -0
- package/dist/blocks/Calendar/gallery.yaml +128 -0
- package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
- package/dist/blocks/Calendar/tests.yaml +50 -0
- package/dist/blocks/Card/gallery.yaml +1035 -0
- package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
- package/dist/blocks/Card/tests.yaml +75 -0
- package/dist/blocks/Carousel/gallery.yaml +1971 -0
- package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
- package/dist/blocks/Carousel/tests.yaml +117 -0
- package/dist/blocks/CheckboxSelector/CheckboxSelector.js +54 -29
- package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
- package/dist/blocks/CheckboxSelector/meta.js +24 -4
- package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
- package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
- package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
- package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
- package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
- package/dist/blocks/Collapse/gallery.yaml +1079 -0
- package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
- package/dist/blocks/Collapse/tests.yaml +265 -0
- package/dist/blocks/ColorSelector/gallery.yaml +807 -0
- package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
- package/dist/blocks/ColorSelector/tests.yaml +84 -0
- package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
- package/dist/blocks/ConfigProvider/tests.yaml +62 -0
- package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
- package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
- package/dist/blocks/ConfirmModal/tests.yaml +95 -0
- package/dist/blocks/Content/gallery.yaml +528 -0
- package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
- package/dist/blocks/Content/tests.yaml +42 -0
- package/dist/blocks/ControlledList/ControlledList.js +1 -1
- package/dist/blocks/ControlledList/gallery.yaml +481 -0
- package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
- package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
- package/dist/blocks/ControlledList/tests.yaml +57 -0
- package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
- package/dist/blocks/DateRangeSelector/e2e.js +28 -2
- package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
- package/dist/blocks/DateRangeSelector/meta.js +2 -0
- package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
- package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
- package/dist/blocks/DateSelector/DateSelector.js +6 -0
- package/dist/blocks/DateSelector/e2e.js +28 -2
- package/dist/blocks/DateSelector/gallery.yaml +691 -0
- package/dist/blocks/DateSelector/meta.js +6 -0
- package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
- package/dist/blocks/DateSelector/tests.yaml +117 -0
- package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
- package/dist/blocks/DateTimeSelector/e2e.js +26 -2
- package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
- package/dist/blocks/DateTimeSelector/meta.js +2 -0
- package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
- package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
- package/dist/blocks/Descriptions/gallery.yaml +839 -0
- package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
- package/dist/blocks/Descriptions/tests.yaml +256 -0
- package/dist/blocks/Divider/gallery.yaml +375 -0
- package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
- package/dist/blocks/Divider/tests.yaml +58 -0
- package/dist/blocks/Drawer/gallery.yaml +1257 -0
- package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
- package/dist/blocks/Drawer/tests.yaml +80 -0
- package/dist/blocks/DropdownButton/gallery.yaml +606 -0
- package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
- package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
- package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
- package/dist/blocks/Flex/gallery.yaml +1416 -0
- package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
- package/dist/blocks/Flex/tests.yaml +92 -0
- package/dist/blocks/FloatButton/gallery.yaml +518 -0
- package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
- package/dist/blocks/FloatButton/tests.yaml +59 -0
- package/dist/blocks/Footer/gallery.yaml +355 -0
- package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
- package/dist/blocks/Footer/tests.yaml +28 -0
- package/dist/blocks/Header/gallery.yaml +249 -0
- package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
- package/dist/blocks/Header/tests.yaml +36 -0
- package/dist/blocks/Label/Label.js +4 -4
- package/dist/blocks/Label/gallery.yaml +762 -0
- package/dist/blocks/Label/labelLogic.js +4 -1
- package/dist/blocks/Label/{style.module.css → style.css} +28 -28
- package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
- package/dist/blocks/Label/tests.yaml +212 -0
- package/dist/blocks/Layout/gallery.yaml +548 -0
- package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
- package/dist/blocks/Layout/tests.yaml +28 -0
- package/dist/blocks/ListSelector/gallery.yaml +223 -0
- package/dist/blocks/Masonry/gallery.yaml +989 -0
- package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
- package/dist/blocks/Masonry/tests.yaml +42 -0
- package/dist/blocks/MasonryList/gallery.yaml +224 -0
- package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
- package/dist/blocks/MasonryList/tests.yaml +42 -0
- package/dist/blocks/Menu/gallery.yaml +974 -0
- package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
- package/dist/blocks/Menu/tests.yaml +1053 -0
- package/dist/blocks/Message/gallery.yaml +860 -0
- package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
- package/dist/blocks/Message/tests.yaml +54 -0
- package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
- package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
- package/dist/blocks/MobileMenu/tests.yaml +359 -0
- package/dist/blocks/Modal/gallery.yaml +1039 -0
- package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
- package/dist/blocks/Modal/tests.yaml +75 -0
- package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
- package/dist/blocks/MonthSelector/e2e.js +26 -2
- package/dist/blocks/MonthSelector/gallery.yaml +687 -0
- package/dist/blocks/MonthSelector/meta.js +6 -0
- package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
- package/dist/blocks/MonthSelector/tests.yaml +124 -0
- package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
- package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
- package/dist/blocks/MultipleSelector/tests.yaml +201 -0
- package/dist/blocks/Notification/gallery.yaml +1376 -0
- package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
- package/dist/blocks/Notification/tests.yaml +97 -0
- package/dist/blocks/NumberInput/gallery.yaml +753 -0
- package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
- package/dist/blocks/NumberInput/tests.yaml +116 -0
- package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
- package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
- package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
- package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
- package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
- package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
- package/dist/blocks/PageSidebarLayout/meta.js +1 -0
- package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
- package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
- package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
- package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
- package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
- package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
- package/dist/blocks/Pagination/gallery.yaml +503 -0
- package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
- package/dist/blocks/Pagination/tests.yaml +80 -0
- package/dist/blocks/Paragraph/gallery.yaml +458 -0
- package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
- package/dist/blocks/Paragraph/tests.yaml +176 -0
- package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
- package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
- package/dist/blocks/ParagraphInput/tests.yaml +163 -0
- package/dist/blocks/PasswordInput/gallery.yaml +420 -0
- package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
- package/dist/blocks/PasswordInput/tests.yaml +78 -0
- package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
- package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
- package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
- package/dist/blocks/Popover/gallery.yaml +1301 -0
- package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
- package/dist/blocks/Popover/tests.yaml +105 -0
- package/dist/blocks/Progress/gallery.yaml +772 -0
- package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
- package/dist/blocks/Progress/tests.yaml +114 -0
- package/dist/blocks/QRCode/gallery.yaml +492 -0
- package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
- package/dist/blocks/QRCode/tests.yaml +113 -0
- package/dist/blocks/RadioSelector/RadioSelector.js +50 -25
- package/dist/blocks/RadioSelector/gallery.yaml +816 -0
- package/dist/blocks/RadioSelector/meta.js +23 -3
- package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
- package/dist/blocks/RadioSelector/tests.yaml +339 -0
- package/dist/blocks/RatingSlider/gallery.yaml +627 -0
- package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
- package/dist/blocks/RatingSlider/tests.yaml +116 -0
- package/dist/blocks/Result/gallery.yaml +925 -0
- package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
- package/dist/blocks/Result/tests.yaml +75 -0
- package/dist/blocks/Search/Search.js +1 -1
- package/dist/blocks/Search/SearchModal.js +18 -9
- package/dist/blocks/Search/gallery.yaml +170 -0
- package/dist/blocks/Search/meta.js +2 -1
- package/dist/blocks/Search/{style.module.css → style.css} +19 -12
- package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
- package/dist/blocks/Search/useSearchIndex.js +24 -2
- package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
- package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
- package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
- package/dist/blocks/Selector/gallery.yaml +1055 -0
- package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
- package/dist/blocks/Selector/tests.yaml +196 -0
- package/dist/blocks/Sider/gallery.yaml +994 -0
- package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
- package/dist/blocks/Sider/tests.yaml +20 -0
- package/dist/blocks/Slider/gallery.yaml +600 -0
- package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
- package/dist/blocks/Slider/tests.yaml +68 -0
- package/dist/blocks/Splitter/gallery.yaml +1511 -0
- package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
- package/dist/blocks/Splitter/tests.yaml +79 -0
- package/dist/blocks/Statistic/gallery.yaml +460 -0
- package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
- package/dist/blocks/Statistic/tests.yaml +77 -0
- package/dist/blocks/Steps/gallery.yaml +550 -0
- package/dist/blocks/Switch/gallery.yaml +502 -0
- package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
- package/dist/blocks/Switch/tests.yaml +87 -0
- package/dist/blocks/Tabs/gallery.yaml +1353 -0
- package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
- package/dist/blocks/Tabs/tests.yaml +349 -0
- package/dist/blocks/Tag/gallery.yaml +598 -0
- package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
- package/dist/blocks/Tag/tests.yaml +51 -0
- package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
- package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
- package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
- package/dist/blocks/TagMultipleSelector/meta.js +91 -0
- package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
- package/dist/blocks/TagSelector/TagSelector.js +49 -0
- package/dist/blocks/TagSelector/e2e.js +36 -0
- package/dist/blocks/TagSelector/gallery.yaml +70 -0
- package/dist/blocks/TagSelector/meta.js +91 -0
- package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
- package/dist/blocks/TextArea/gallery.yaml +618 -0
- package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
- package/dist/blocks/TextArea/tests.yaml +100 -0
- package/dist/blocks/TextInput/gallery.yaml +560 -0
- package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
- package/dist/blocks/TextInput/tests.yaml +114 -0
- package/dist/blocks/TimelineList/gallery.yaml +431 -0
- package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
- package/dist/blocks/TimelineList/tests.yaml +251 -0
- package/dist/blocks/Title/gallery.yaml +483 -0
- package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
- package/dist/blocks/Title/tests.yaml +175 -0
- package/dist/blocks/TitleInput/gallery.yaml +1006 -0
- package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
- package/dist/blocks/TitleInput/tests.yaml +181 -0
- package/dist/blocks/Tooltip/gallery.yaml +1214 -0
- package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
- package/dist/blocks/Tooltip/tests.yaml +92 -0
- package/dist/blocks/Tour/gallery.yaml +2305 -0
- package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
- package/dist/blocks/Tour/tests.yaml +151 -0
- package/dist/blocks/TreeInput/gallery.yaml +78 -0
- package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
- package/dist/blocks/TreeInput/tests.yaml +140 -0
- package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
- package/dist/blocks/TreeSelector/gallery.yaml +81 -0
- package/dist/blocks/Watermark/gallery.yaml +479 -0
- package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
- package/dist/blocks/Watermark/tests.yaml +86 -0
- package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
- package/dist/blocks/WeekSelector/e2e.js +26 -2
- package/dist/blocks/WeekSelector/gallery.yaml +589 -0
- package/dist/blocks/WeekSelector/meta.js +6 -0
- package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
- package/dist/blocks/WeekSelector/tests.yaml +122 -0
- package/dist/blocks.js +2 -0
- package/dist/disabledDate.js +91 -19
- package/dist/e2e.js +2 -0
- package/dist/getPresets.js +151 -0
- package/dist/getTagColor.js +44 -0
- package/dist/getTagSelectorOptions.js +30 -0
- package/dist/metas.js +2 -0
- package/dist/pickerPresetsStyle.css +26 -0
- package/dist/schemas/disabledDates.js +6 -2
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/presets.js +111 -0
- package/dist/tagSelectorStyle.css +68 -0
- package/package.json +13 -13
|
@@ -0,0 +1,994 @@
|
|
|
1
|
+
# Copyright 2020-2026 Lowdefy, Inc
|
|
2
|
+
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
- title: Basic Sider
|
|
16
|
+
fullWidth: true
|
|
17
|
+
blocks:
|
|
18
|
+
- id: basic_layout
|
|
19
|
+
type: Layout
|
|
20
|
+
style:
|
|
21
|
+
minHeight: 300px
|
|
22
|
+
blocks:
|
|
23
|
+
- id: basic_sider
|
|
24
|
+
type: Sider
|
|
25
|
+
properties:
|
|
26
|
+
theme: light
|
|
27
|
+
width: 200
|
|
28
|
+
blocks:
|
|
29
|
+
- id: basic_menu
|
|
30
|
+
type: Menu
|
|
31
|
+
properties:
|
|
32
|
+
mode: inline
|
|
33
|
+
theme: light
|
|
34
|
+
links:
|
|
35
|
+
- id: basic_home
|
|
36
|
+
type: MenuLink
|
|
37
|
+
properties:
|
|
38
|
+
title: Home
|
|
39
|
+
icon: AiOutlineHome
|
|
40
|
+
- id: basic_users
|
|
41
|
+
type: MenuLink
|
|
42
|
+
properties:
|
|
43
|
+
title: Users
|
|
44
|
+
icon: AiOutlineUser
|
|
45
|
+
- id: basic_settings
|
|
46
|
+
type: MenuLink
|
|
47
|
+
properties:
|
|
48
|
+
title: Settings
|
|
49
|
+
icon: AiOutlineSetting
|
|
50
|
+
- id: basic_content
|
|
51
|
+
type: Content
|
|
52
|
+
style:
|
|
53
|
+
padding: 24px
|
|
54
|
+
background: var(--ant-color-bg-container)
|
|
55
|
+
blocks:
|
|
56
|
+
- id: basic_content_text
|
|
57
|
+
type: Paragraph
|
|
58
|
+
properties:
|
|
59
|
+
content: The Sider block provides a sidebar within a Layout. It supports collapsing, themes, breakpoints, and custom widths. Place navigation menus or supplementary content inside the sider.
|
|
60
|
+
|
|
61
|
+
- title: Dark Theme
|
|
62
|
+
fullWidth: true
|
|
63
|
+
blocks:
|
|
64
|
+
- id: dark_layout
|
|
65
|
+
type: Layout
|
|
66
|
+
style:
|
|
67
|
+
minHeight: 300px
|
|
68
|
+
blocks:
|
|
69
|
+
- id: dark_sider
|
|
70
|
+
type: Sider
|
|
71
|
+
properties:
|
|
72
|
+
theme: dark
|
|
73
|
+
width: 200
|
|
74
|
+
blocks:
|
|
75
|
+
- id: dark_menu
|
|
76
|
+
type: Menu
|
|
77
|
+
properties:
|
|
78
|
+
mode: inline
|
|
79
|
+
theme: dark
|
|
80
|
+
links:
|
|
81
|
+
- id: dark_dashboard
|
|
82
|
+
type: MenuLink
|
|
83
|
+
properties:
|
|
84
|
+
title: Dashboard
|
|
85
|
+
icon: AiOutlineDashboard
|
|
86
|
+
- id: dark_analytics
|
|
87
|
+
type: MenuLink
|
|
88
|
+
properties:
|
|
89
|
+
title: Analytics
|
|
90
|
+
icon: AiOutlineBarChart
|
|
91
|
+
- id: dark_files
|
|
92
|
+
type: MenuLink
|
|
93
|
+
properties:
|
|
94
|
+
title: Files
|
|
95
|
+
icon: AiOutlineFile
|
|
96
|
+
- id: dark_content
|
|
97
|
+
type: Content
|
|
98
|
+
style:
|
|
99
|
+
padding: 24px
|
|
100
|
+
background: var(--ant-color-bg-container)
|
|
101
|
+
blocks:
|
|
102
|
+
- id: dark_content_text
|
|
103
|
+
type: Paragraph
|
|
104
|
+
properties:
|
|
105
|
+
content: Setting theme to "dark" gives the sider a dark background with light text. Match the Menu theme to the sider theme for a consistent appearance.
|
|
106
|
+
|
|
107
|
+
- title: Collapsible Sider
|
|
108
|
+
fullWidth: true
|
|
109
|
+
blocks:
|
|
110
|
+
- id: collapsible_layout
|
|
111
|
+
type: Layout
|
|
112
|
+
style:
|
|
113
|
+
minHeight: 300px
|
|
114
|
+
blocks:
|
|
115
|
+
- id: collapsible_sider
|
|
116
|
+
type: Sider
|
|
117
|
+
properties:
|
|
118
|
+
theme: light
|
|
119
|
+
width: 220
|
|
120
|
+
collapsible: true
|
|
121
|
+
initialCollapsed: false
|
|
122
|
+
blocks:
|
|
123
|
+
- id: collapsible_menu
|
|
124
|
+
type: Menu
|
|
125
|
+
properties:
|
|
126
|
+
mode: inline
|
|
127
|
+
theme: light
|
|
128
|
+
links:
|
|
129
|
+
- id: col_inbox
|
|
130
|
+
type: MenuLink
|
|
131
|
+
properties:
|
|
132
|
+
title: Inbox
|
|
133
|
+
icon: AiOutlineInbox
|
|
134
|
+
- id: col_starred
|
|
135
|
+
type: MenuLink
|
|
136
|
+
properties:
|
|
137
|
+
title: Starred
|
|
138
|
+
icon: AiOutlineStar
|
|
139
|
+
- id: col_sent
|
|
140
|
+
type: MenuLink
|
|
141
|
+
properties:
|
|
142
|
+
title: Sent
|
|
143
|
+
icon: AiOutlineSend
|
|
144
|
+
- id: collapsible_content
|
|
145
|
+
type: Content
|
|
146
|
+
style:
|
|
147
|
+
padding: 24px
|
|
148
|
+
background: var(--ant-color-bg-container)
|
|
149
|
+
blocks:
|
|
150
|
+
- id: collapsible_content_text
|
|
151
|
+
type: Paragraph
|
|
152
|
+
properties:
|
|
153
|
+
content: With collapsible set to true a collapse trigger appears at the bottom. Toggle between expanded and collapsed states. Menu icons remain visible when collapsed.
|
|
154
|
+
|
|
155
|
+
- title: Initially Collapsed
|
|
156
|
+
fullWidth: true
|
|
157
|
+
blocks:
|
|
158
|
+
- id: init_collapsed_layout
|
|
159
|
+
type: Layout
|
|
160
|
+
style:
|
|
161
|
+
minHeight: 300px
|
|
162
|
+
blocks:
|
|
163
|
+
- id: init_collapsed_sider
|
|
164
|
+
type: Sider
|
|
165
|
+
properties:
|
|
166
|
+
theme: light
|
|
167
|
+
width: 200
|
|
168
|
+
collapsible: true
|
|
169
|
+
initialCollapsed: true
|
|
170
|
+
blocks:
|
|
171
|
+
- id: init_collapsed_menu
|
|
172
|
+
type: Menu
|
|
173
|
+
properties:
|
|
174
|
+
mode: inline
|
|
175
|
+
theme: light
|
|
176
|
+
links:
|
|
177
|
+
- id: ic_overview
|
|
178
|
+
type: MenuLink
|
|
179
|
+
properties:
|
|
180
|
+
title: Overview
|
|
181
|
+
icon: AiOutlineAppstore
|
|
182
|
+
- id: ic_reports
|
|
183
|
+
type: MenuLink
|
|
184
|
+
properties:
|
|
185
|
+
title: Reports
|
|
186
|
+
icon: AiOutlineFileText
|
|
187
|
+
- id: ic_config
|
|
188
|
+
type: MenuLink
|
|
189
|
+
properties:
|
|
190
|
+
title: Configuration
|
|
191
|
+
icon: AiOutlineTool
|
|
192
|
+
- id: init_collapsed_content
|
|
193
|
+
type: Content
|
|
194
|
+
style:
|
|
195
|
+
padding: 24px
|
|
196
|
+
background: var(--ant-color-bg-container)
|
|
197
|
+
blocks:
|
|
198
|
+
- id: init_collapsed_content_text
|
|
199
|
+
type: Paragraph
|
|
200
|
+
properties:
|
|
201
|
+
content: This sider starts collapsed with initialCollapsed set to true. Click the collapse trigger to expand it.
|
|
202
|
+
|
|
203
|
+
- title: Custom Collapsed Width
|
|
204
|
+
fullWidth: true
|
|
205
|
+
blocks:
|
|
206
|
+
- id: cw_layout
|
|
207
|
+
type: Layout
|
|
208
|
+
style:
|
|
209
|
+
minHeight: 300px
|
|
210
|
+
blocks:
|
|
211
|
+
- id: cw_sider
|
|
212
|
+
type: Sider
|
|
213
|
+
properties:
|
|
214
|
+
theme: dark
|
|
215
|
+
width: 240
|
|
216
|
+
collapsedWidth: 0
|
|
217
|
+
collapsible: true
|
|
218
|
+
initialCollapsed: true
|
|
219
|
+
blocks:
|
|
220
|
+
- id: cw_menu
|
|
221
|
+
type: Menu
|
|
222
|
+
properties:
|
|
223
|
+
mode: inline
|
|
224
|
+
theme: dark
|
|
225
|
+
links:
|
|
226
|
+
- id: cw_projects
|
|
227
|
+
type: MenuLink
|
|
228
|
+
properties:
|
|
229
|
+
title: Projects
|
|
230
|
+
icon: AiOutlineProject
|
|
231
|
+
- id: cw_tasks
|
|
232
|
+
type: MenuLink
|
|
233
|
+
properties:
|
|
234
|
+
title: Tasks
|
|
235
|
+
icon: AiOutlineCheckSquare
|
|
236
|
+
- id: cw_content
|
|
237
|
+
type: Content
|
|
238
|
+
style:
|
|
239
|
+
padding: 24px
|
|
240
|
+
background: var(--ant-color-bg-container)
|
|
241
|
+
blocks:
|
|
242
|
+
- id: cw_content_text
|
|
243
|
+
type: Paragraph
|
|
244
|
+
properties:
|
|
245
|
+
content: Setting collapsedWidth to 0 completely hides the sider when collapsed and shows a special floating trigger. Useful for mobile-friendly layouts where sidebar space needs to be fully reclaimed.
|
|
246
|
+
|
|
247
|
+
- title: Reverse Arrow (Right-Side Sider)
|
|
248
|
+
fullWidth: true
|
|
249
|
+
blocks:
|
|
250
|
+
- id: reverse_layout
|
|
251
|
+
type: Layout
|
|
252
|
+
style:
|
|
253
|
+
minHeight: 300px
|
|
254
|
+
blocks:
|
|
255
|
+
- id: reverse_content
|
|
256
|
+
type: Content
|
|
257
|
+
style:
|
|
258
|
+
padding: 24px
|
|
259
|
+
background: var(--ant-color-bg-container)
|
|
260
|
+
blocks:
|
|
261
|
+
- id: reverse_content_text
|
|
262
|
+
type: Paragraph
|
|
263
|
+
properties:
|
|
264
|
+
content: The Sider is placed on the right side of the layout with reverseArrow set to true. This flips the collapse arrow direction to match the right-side placement.
|
|
265
|
+
- id: reverse_sider
|
|
266
|
+
type: Sider
|
|
267
|
+
properties:
|
|
268
|
+
theme: light
|
|
269
|
+
width: 200
|
|
270
|
+
collapsible: true
|
|
271
|
+
initialCollapsed: false
|
|
272
|
+
reverseArrow: true
|
|
273
|
+
style:
|
|
274
|
+
borderLeft: 1px solid #f0f0f0
|
|
275
|
+
blocks:
|
|
276
|
+
- id: reverse_menu
|
|
277
|
+
type: Menu
|
|
278
|
+
properties:
|
|
279
|
+
mode: inline
|
|
280
|
+
theme: light
|
|
281
|
+
links:
|
|
282
|
+
- id: rev_details
|
|
283
|
+
type: MenuLink
|
|
284
|
+
properties:
|
|
285
|
+
title: Details
|
|
286
|
+
icon: AiOutlineInfoCircle
|
|
287
|
+
- id: rev_history
|
|
288
|
+
type: MenuLink
|
|
289
|
+
properties:
|
|
290
|
+
title: History
|
|
291
|
+
icon: AiOutlineHistory
|
|
292
|
+
|
|
293
|
+
- title: Breakpoint Responsive
|
|
294
|
+
fullWidth: true
|
|
295
|
+
blocks:
|
|
296
|
+
- id: bp_layout
|
|
297
|
+
type: Layout
|
|
298
|
+
style:
|
|
299
|
+
minHeight: 300px
|
|
300
|
+
blocks:
|
|
301
|
+
- id: bp_sider
|
|
302
|
+
type: Sider
|
|
303
|
+
properties:
|
|
304
|
+
theme: light
|
|
305
|
+
width: 200
|
|
306
|
+
collapsible: true
|
|
307
|
+
initialCollapsed: false
|
|
308
|
+
breakpoint: lg
|
|
309
|
+
events:
|
|
310
|
+
onBreakpoint:
|
|
311
|
+
- id: bp_sider_set_state
|
|
312
|
+
type: SetState
|
|
313
|
+
params:
|
|
314
|
+
breakpointTriggered: true
|
|
315
|
+
blocks:
|
|
316
|
+
- id: bp_menu
|
|
317
|
+
type: Menu
|
|
318
|
+
properties:
|
|
319
|
+
mode: inline
|
|
320
|
+
theme: light
|
|
321
|
+
links:
|
|
322
|
+
- id: bp_home
|
|
323
|
+
type: MenuLink
|
|
324
|
+
properties:
|
|
325
|
+
title: Home
|
|
326
|
+
icon: AiOutlineHome
|
|
327
|
+
- id: bp_search
|
|
328
|
+
type: MenuLink
|
|
329
|
+
properties:
|
|
330
|
+
title: Search
|
|
331
|
+
icon: AiOutlineSearch
|
|
332
|
+
- id: bp_content
|
|
333
|
+
type: Content
|
|
334
|
+
style:
|
|
335
|
+
padding: 24px
|
|
336
|
+
background: var(--ant-color-bg-container)
|
|
337
|
+
blocks:
|
|
338
|
+
- id: bp_content_text
|
|
339
|
+
type: Paragraph
|
|
340
|
+
properties:
|
|
341
|
+
content: The breakpoint property controls when the sider automatically collapses on smaller screens. Set to "lg" here, so the sider collapses when the viewport is below the large breakpoint. Supported values are xs, sm, md, lg, xl, and xxl.
|
|
342
|
+
|
|
343
|
+
- title: Custom Width
|
|
344
|
+
fullWidth: true
|
|
345
|
+
blocks:
|
|
346
|
+
- id: width_layout
|
|
347
|
+
type: Layout
|
|
348
|
+
style:
|
|
349
|
+
minHeight: 300px
|
|
350
|
+
blocks:
|
|
351
|
+
- id: width_sider
|
|
352
|
+
type: Sider
|
|
353
|
+
properties:
|
|
354
|
+
theme: light
|
|
355
|
+
width: 300
|
|
356
|
+
collapsible: false
|
|
357
|
+
initialCollapsed: false
|
|
358
|
+
blocks:
|
|
359
|
+
- id: width_menu
|
|
360
|
+
type: Menu
|
|
361
|
+
properties:
|
|
362
|
+
mode: inline
|
|
363
|
+
theme: light
|
|
364
|
+
links:
|
|
365
|
+
- id: width_nav1
|
|
366
|
+
type: MenuLink
|
|
367
|
+
properties:
|
|
368
|
+
title: Getting Started
|
|
369
|
+
icon: AiOutlineRocket
|
|
370
|
+
- id: width_nav2
|
|
371
|
+
type: MenuLink
|
|
372
|
+
properties:
|
|
373
|
+
title: Documentation
|
|
374
|
+
icon: AiOutlineBook
|
|
375
|
+
- id: width_nav3
|
|
376
|
+
type: MenuLink
|
|
377
|
+
properties:
|
|
378
|
+
title: API Reference
|
|
379
|
+
icon: AiOutlineCode
|
|
380
|
+
- id: width_content
|
|
381
|
+
type: Content
|
|
382
|
+
style:
|
|
383
|
+
padding: 24px
|
|
384
|
+
background: var(--ant-color-bg-container)
|
|
385
|
+
blocks:
|
|
386
|
+
- id: width_content_text
|
|
387
|
+
type: Paragraph
|
|
388
|
+
properties:
|
|
389
|
+
content: The width property accepts a number (pixels) or string value. Here the sider is set to 300px wide, providing more room for longer menu labels or nested navigation.
|
|
390
|
+
|
|
391
|
+
- title: Events and Actions
|
|
392
|
+
fullWidth: true
|
|
393
|
+
blocks:
|
|
394
|
+
- id: events_layout
|
|
395
|
+
type: Layout
|
|
396
|
+
style:
|
|
397
|
+
minHeight: 300px
|
|
398
|
+
blocks:
|
|
399
|
+
- id: events_sider
|
|
400
|
+
type: Sider
|
|
401
|
+
properties:
|
|
402
|
+
theme: light
|
|
403
|
+
width: 200
|
|
404
|
+
collapsible: true
|
|
405
|
+
initialCollapsed: false
|
|
406
|
+
events:
|
|
407
|
+
onOpen:
|
|
408
|
+
- id: events_on_open_action
|
|
409
|
+
type: SetState
|
|
410
|
+
params:
|
|
411
|
+
siderState: open
|
|
412
|
+
onClose:
|
|
413
|
+
- id: events_on_close_action
|
|
414
|
+
type: SetState
|
|
415
|
+
params:
|
|
416
|
+
siderState: closed
|
|
417
|
+
blocks:
|
|
418
|
+
- id: events_menu
|
|
419
|
+
type: Menu
|
|
420
|
+
properties:
|
|
421
|
+
mode: inline
|
|
422
|
+
theme: light
|
|
423
|
+
links:
|
|
424
|
+
- id: events_nav_home
|
|
425
|
+
type: MenuLink
|
|
426
|
+
properties:
|
|
427
|
+
title: Home
|
|
428
|
+
icon: AiOutlineHome
|
|
429
|
+
- id: events_nav_alerts
|
|
430
|
+
type: MenuLink
|
|
431
|
+
properties:
|
|
432
|
+
title: Alerts
|
|
433
|
+
icon: AiOutlineBell
|
|
434
|
+
- id: events_content
|
|
435
|
+
type: Content
|
|
436
|
+
style:
|
|
437
|
+
padding: 24px
|
|
438
|
+
background: var(--ant-color-bg-container)
|
|
439
|
+
blocks:
|
|
440
|
+
- id: events_state_label
|
|
441
|
+
type: Paragraph
|
|
442
|
+
properties:
|
|
443
|
+
content:
|
|
444
|
+
_nunjucks:
|
|
445
|
+
template: 'Sider state: {{ siderState }}'
|
|
446
|
+
on:
|
|
447
|
+
_state: true
|
|
448
|
+
- id: events_content_text
|
|
449
|
+
type: Paragraph
|
|
450
|
+
properties:
|
|
451
|
+
content: The Sider fires onOpen and onClose events when it expands or collapses. Use these events with SetState or other actions to react to sider state changes. Toggle the sider to see the state update above.
|
|
452
|
+
|
|
453
|
+
- title: Theme Token Overrides
|
|
454
|
+
fullWidth: true
|
|
455
|
+
blocks:
|
|
456
|
+
- id: token_layout
|
|
457
|
+
type: Layout
|
|
458
|
+
style:
|
|
459
|
+
minHeight: 300px
|
|
460
|
+
blocks:
|
|
461
|
+
- id: token_sider
|
|
462
|
+
type: Sider
|
|
463
|
+
properties:
|
|
464
|
+
theme: light
|
|
465
|
+
width: 220
|
|
466
|
+
collapsible: true
|
|
467
|
+
initialCollapsed: false
|
|
468
|
+
designTokens:
|
|
469
|
+
colorPrimary: '#722ed1'
|
|
470
|
+
colorText: '#531dab'
|
|
471
|
+
blocks:
|
|
472
|
+
- id: token_menu
|
|
473
|
+
type: Menu
|
|
474
|
+
properties:
|
|
475
|
+
mode: inline
|
|
476
|
+
theme: light
|
|
477
|
+
links:
|
|
478
|
+
- id: token_nav_explore
|
|
479
|
+
type: MenuLink
|
|
480
|
+
properties:
|
|
481
|
+
title: Explore
|
|
482
|
+
icon: AiOutlineCompass
|
|
483
|
+
- id: token_nav_favorites
|
|
484
|
+
type: MenuLink
|
|
485
|
+
properties:
|
|
486
|
+
title: Favorites
|
|
487
|
+
icon: AiOutlineHeart
|
|
488
|
+
- id: token_nav_settings
|
|
489
|
+
type: MenuLink
|
|
490
|
+
properties:
|
|
491
|
+
title: Settings
|
|
492
|
+
icon: AiOutlineSetting
|
|
493
|
+
- id: token_content
|
|
494
|
+
type: Content
|
|
495
|
+
style:
|
|
496
|
+
padding: 24px
|
|
497
|
+
background: var(--ant-color-bg-container)
|
|
498
|
+
blocks:
|
|
499
|
+
- id: token_content_text
|
|
500
|
+
type: Paragraph
|
|
501
|
+
properties:
|
|
502
|
+
content: Use designTokens to override antd theme tokens on the Sider. Here colorBgContainer changes the sidebar background, colorPrimary affects the selected item highlight, and colorText changes the menu text color.
|
|
503
|
+
|
|
504
|
+
- id: token_dark_layout
|
|
505
|
+
type: Layout
|
|
506
|
+
style:
|
|
507
|
+
minHeight: 300px
|
|
508
|
+
blocks:
|
|
509
|
+
- id: token_dark_sider
|
|
510
|
+
type: Sider
|
|
511
|
+
properties:
|
|
512
|
+
theme: dark
|
|
513
|
+
width: 220
|
|
514
|
+
collapsible: true
|
|
515
|
+
initialCollapsed: false
|
|
516
|
+
designTokens:
|
|
517
|
+
colorPrimary: '#52c41a'
|
|
518
|
+
colorBgContainer: '#1a1a2e'
|
|
519
|
+
blocks:
|
|
520
|
+
- id: token_dark_menu
|
|
521
|
+
type: Menu
|
|
522
|
+
properties:
|
|
523
|
+
mode: inline
|
|
524
|
+
theme: dark
|
|
525
|
+
links:
|
|
526
|
+
- id: token_dark_nav_status
|
|
527
|
+
type: MenuLink
|
|
528
|
+
properties:
|
|
529
|
+
title: Status
|
|
530
|
+
icon: AiOutlineCheckCircle
|
|
531
|
+
- id: token_dark_nav_logs
|
|
532
|
+
type: MenuLink
|
|
533
|
+
properties:
|
|
534
|
+
title: Logs
|
|
535
|
+
icon: AiOutlineFileText
|
|
536
|
+
- id: token_dark_nav_deploy
|
|
537
|
+
type: MenuLink
|
|
538
|
+
properties:
|
|
539
|
+
title: Deploy
|
|
540
|
+
icon: AiOutlineCloudUpload
|
|
541
|
+
- id: token_dark_content
|
|
542
|
+
type: Content
|
|
543
|
+
style:
|
|
544
|
+
padding: 24px
|
|
545
|
+
background: var(--ant-color-bg-container)
|
|
546
|
+
blocks:
|
|
547
|
+
- id: token_dark_content_text
|
|
548
|
+
type: Paragraph
|
|
549
|
+
properties:
|
|
550
|
+
content: Token overrides work with both light and dark themes. This dark sider uses a custom navy background and green primary color for the active menu item highlight.
|
|
551
|
+
|
|
552
|
+
- title: Styled Sider (Tailwind CSS)
|
|
553
|
+
fullWidth: true
|
|
554
|
+
blocks:
|
|
555
|
+
- id: css_layout
|
|
556
|
+
type: Layout
|
|
557
|
+
style:
|
|
558
|
+
minHeight: 300px
|
|
559
|
+
blocks:
|
|
560
|
+
- id: css_sider
|
|
561
|
+
type: Sider
|
|
562
|
+
properties:
|
|
563
|
+
theme: light
|
|
564
|
+
width: 220
|
|
565
|
+
collapsible: false
|
|
566
|
+
initialCollapsed: false
|
|
567
|
+
class:
|
|
568
|
+
element: bg-gradient-to-b from-primary/10 to-bg-container border-r border-border
|
|
569
|
+
blocks:
|
|
570
|
+
- id: css_menu
|
|
571
|
+
type: Menu
|
|
572
|
+
properties:
|
|
573
|
+
mode: inline
|
|
574
|
+
theme: light
|
|
575
|
+
links:
|
|
576
|
+
- id: css_nav_workspace
|
|
577
|
+
type: MenuLink
|
|
578
|
+
properties:
|
|
579
|
+
title: Workspace
|
|
580
|
+
icon: AiOutlineAppstore
|
|
581
|
+
- id: css_nav_members
|
|
582
|
+
type: MenuLink
|
|
583
|
+
properties:
|
|
584
|
+
title: Members
|
|
585
|
+
icon: AiOutlineTeam
|
|
586
|
+
- id: css_nav_billing
|
|
587
|
+
type: MenuLink
|
|
588
|
+
properties:
|
|
589
|
+
title: Billing
|
|
590
|
+
icon: AiOutlineCreditCard
|
|
591
|
+
- id: css_content
|
|
592
|
+
type: Content
|
|
593
|
+
style:
|
|
594
|
+
padding: 24px
|
|
595
|
+
background: var(--ant-color-bg-container)
|
|
596
|
+
blocks:
|
|
597
|
+
- id: css_content_text
|
|
598
|
+
type: Paragraph
|
|
599
|
+
properties:
|
|
600
|
+
content: The Sider has a single CSS key called "element" which targets the entire sider container. Use it with Tailwind classes for gradients, borders, shadows, and other visual effects.
|
|
601
|
+
|
|
602
|
+
- id: css_shadow_layout
|
|
603
|
+
type: Layout
|
|
604
|
+
style:
|
|
605
|
+
minHeight: 300px
|
|
606
|
+
blocks:
|
|
607
|
+
- id: css_shadow_sider
|
|
608
|
+
type: Sider
|
|
609
|
+
properties:
|
|
610
|
+
theme: light
|
|
611
|
+
width: 200
|
|
612
|
+
collapsible: false
|
|
613
|
+
initialCollapsed: false
|
|
614
|
+
class:
|
|
615
|
+
element: shadow-lg bg-bg-container
|
|
616
|
+
blocks:
|
|
617
|
+
- id: css_shadow_menu
|
|
618
|
+
type: Menu
|
|
619
|
+
properties:
|
|
620
|
+
mode: inline
|
|
621
|
+
theme: light
|
|
622
|
+
links:
|
|
623
|
+
- id: css_sh_dashboard
|
|
624
|
+
type: MenuLink
|
|
625
|
+
properties:
|
|
626
|
+
title: Dashboard
|
|
627
|
+
icon: AiOutlineDashboard
|
|
628
|
+
- id: css_sh_analytics
|
|
629
|
+
type: MenuLink
|
|
630
|
+
properties:
|
|
631
|
+
title: Analytics
|
|
632
|
+
icon: AiOutlineLineChart
|
|
633
|
+
- id: css_shadow_content
|
|
634
|
+
type: Content
|
|
635
|
+
style:
|
|
636
|
+
padding: 24px
|
|
637
|
+
background: var(--ant-color-bg-container)
|
|
638
|
+
blocks:
|
|
639
|
+
- id: css_shadow_content_text
|
|
640
|
+
type: Paragraph
|
|
641
|
+
properties:
|
|
642
|
+
content: A shadow-lg class on the element CSS key gives the sider an elevated appearance that visually separates it from the main content area.
|
|
643
|
+
|
|
644
|
+
- title: Sider in Admin Panel
|
|
645
|
+
fullWidth: true
|
|
646
|
+
blocks:
|
|
647
|
+
- id: admin_layout
|
|
648
|
+
type: Layout
|
|
649
|
+
style:
|
|
650
|
+
minHeight: 400px
|
|
651
|
+
blocks:
|
|
652
|
+
- id: admin_sider
|
|
653
|
+
type: Sider
|
|
654
|
+
properties:
|
|
655
|
+
theme: dark
|
|
656
|
+
width: 240
|
|
657
|
+
collapsible: true
|
|
658
|
+
initialCollapsed: false
|
|
659
|
+
events:
|
|
660
|
+
onClose:
|
|
661
|
+
- id: admin_on_close
|
|
662
|
+
type: SetState
|
|
663
|
+
params:
|
|
664
|
+
adminSiderOpen: false
|
|
665
|
+
onOpen:
|
|
666
|
+
- id: admin_on_open
|
|
667
|
+
type: SetState
|
|
668
|
+
params:
|
|
669
|
+
adminSiderOpen: true
|
|
670
|
+
blocks:
|
|
671
|
+
- id: admin_logo_box
|
|
672
|
+
type: Box
|
|
673
|
+
style:
|
|
674
|
+
padding: 16px
|
|
675
|
+
textAlign: center
|
|
676
|
+
blocks:
|
|
677
|
+
- id: admin_logo_title
|
|
678
|
+
type: Title
|
|
679
|
+
class: text-white
|
|
680
|
+
properties:
|
|
681
|
+
content: Admin
|
|
682
|
+
level: 4
|
|
683
|
+
- id: admin_menu
|
|
684
|
+
type: Menu
|
|
685
|
+
properties:
|
|
686
|
+
mode: inline
|
|
687
|
+
theme: dark
|
|
688
|
+
links:
|
|
689
|
+
- id: admin_nav_dashboard
|
|
690
|
+
type: MenuLink
|
|
691
|
+
properties:
|
|
692
|
+
title: Dashboard
|
|
693
|
+
icon: AiOutlineDashboard
|
|
694
|
+
- id: admin_nav_users
|
|
695
|
+
type: MenuGroup
|
|
696
|
+
properties:
|
|
697
|
+
title: User Management
|
|
698
|
+
icon: AiOutlineTeam
|
|
699
|
+
links:
|
|
700
|
+
- id: admin_nav_all_users
|
|
701
|
+
type: MenuLink
|
|
702
|
+
properties:
|
|
703
|
+
title: All Users
|
|
704
|
+
- id: admin_nav_roles
|
|
705
|
+
type: MenuLink
|
|
706
|
+
properties:
|
|
707
|
+
title: Roles
|
|
708
|
+
- id: admin_nav_content
|
|
709
|
+
type: MenuGroup
|
|
710
|
+
properties:
|
|
711
|
+
title: Content
|
|
712
|
+
icon: AiOutlineFileText
|
|
713
|
+
links:
|
|
714
|
+
- id: admin_nav_pages
|
|
715
|
+
type: MenuLink
|
|
716
|
+
properties:
|
|
717
|
+
title: Pages
|
|
718
|
+
- id: admin_nav_media
|
|
719
|
+
type: MenuLink
|
|
720
|
+
properties:
|
|
721
|
+
title: Media
|
|
722
|
+
- id: admin_nav_settings
|
|
723
|
+
type: MenuLink
|
|
724
|
+
properties:
|
|
725
|
+
title: Settings
|
|
726
|
+
icon: AiOutlineSetting
|
|
727
|
+
- id: admin_content
|
|
728
|
+
type: Content
|
|
729
|
+
style:
|
|
730
|
+
padding: 24px
|
|
731
|
+
background: var(--ant-color-bg-layout)
|
|
732
|
+
blocks:
|
|
733
|
+
- id: admin_header_row
|
|
734
|
+
type: Box
|
|
735
|
+
layout:
|
|
736
|
+
gap: 16
|
|
737
|
+
justify: space-between
|
|
738
|
+
align: center
|
|
739
|
+
blocks:
|
|
740
|
+
- id: admin_page_title
|
|
741
|
+
type: Title
|
|
742
|
+
layout:
|
|
743
|
+
flex: 0 0 auto
|
|
744
|
+
properties:
|
|
745
|
+
content: Dashboard
|
|
746
|
+
level: 3
|
|
747
|
+
- id: admin_header_actions
|
|
748
|
+
type: Box
|
|
749
|
+
layout:
|
|
750
|
+
flex: 0 0 auto
|
|
751
|
+
gap: 8
|
|
752
|
+
blocks:
|
|
753
|
+
- id: admin_notif_btn
|
|
754
|
+
type: Button
|
|
755
|
+
layout:
|
|
756
|
+
flex: 0 0 auto
|
|
757
|
+
properties:
|
|
758
|
+
icon: AiOutlineBell
|
|
759
|
+
color: default
|
|
760
|
+
variant: text
|
|
761
|
+
hideTitle: true
|
|
762
|
+
- id: admin_profile_btn
|
|
763
|
+
type: Button
|
|
764
|
+
layout:
|
|
765
|
+
flex: 0 0 auto
|
|
766
|
+
properties:
|
|
767
|
+
icon: AiOutlineUser
|
|
768
|
+
color: default
|
|
769
|
+
variant: text
|
|
770
|
+
hideTitle: true
|
|
771
|
+
- id: admin_stats_row
|
|
772
|
+
type: Box
|
|
773
|
+
layout:
|
|
774
|
+
gap: 16
|
|
775
|
+
blocks:
|
|
776
|
+
- id: admin_stat_users
|
|
777
|
+
type: Card
|
|
778
|
+
layout:
|
|
779
|
+
flex: 1 1 0
|
|
780
|
+
properties:
|
|
781
|
+
size: small
|
|
782
|
+
blocks:
|
|
783
|
+
- id: admin_stat_users_val
|
|
784
|
+
type: Statistic
|
|
785
|
+
properties:
|
|
786
|
+
title: Total Users
|
|
787
|
+
value: 2847
|
|
788
|
+
- id: admin_stat_revenue
|
|
789
|
+
type: Card
|
|
790
|
+
layout:
|
|
791
|
+
flex: 1 1 0
|
|
792
|
+
properties:
|
|
793
|
+
size: small
|
|
794
|
+
blocks:
|
|
795
|
+
- id: admin_stat_revenue_val
|
|
796
|
+
type: Statistic
|
|
797
|
+
properties:
|
|
798
|
+
title: Revenue
|
|
799
|
+
value: 48200
|
|
800
|
+
prefix: $
|
|
801
|
+
- id: admin_stat_orders
|
|
802
|
+
type: Card
|
|
803
|
+
layout:
|
|
804
|
+
flex: 1 1 0
|
|
805
|
+
properties:
|
|
806
|
+
size: small
|
|
807
|
+
blocks:
|
|
808
|
+
- id: admin_stat_orders_val
|
|
809
|
+
type: Statistic
|
|
810
|
+
properties:
|
|
811
|
+
title: Orders
|
|
812
|
+
value: 384
|
|
813
|
+
|
|
814
|
+
- title: Sider in Settings Page
|
|
815
|
+
fullWidth: true
|
|
816
|
+
blocks:
|
|
817
|
+
- id: settings_layout
|
|
818
|
+
type: Layout
|
|
819
|
+
style:
|
|
820
|
+
minHeight: 400px
|
|
821
|
+
blocks:
|
|
822
|
+
- id: settings_sider
|
|
823
|
+
type: Sider
|
|
824
|
+
properties:
|
|
825
|
+
theme: light
|
|
826
|
+
width: 220
|
|
827
|
+
collapsible: false
|
|
828
|
+
initialCollapsed: false
|
|
829
|
+
style:
|
|
830
|
+
borderRight: 1px solid #f0f0f0
|
|
831
|
+
blocks:
|
|
832
|
+
- id: settings_heading
|
|
833
|
+
type: Title
|
|
834
|
+
style:
|
|
835
|
+
padding: 16px 16px 8px
|
|
836
|
+
properties:
|
|
837
|
+
content: Settings
|
|
838
|
+
level: 5
|
|
839
|
+
- id: settings_menu
|
|
840
|
+
type: Menu
|
|
841
|
+
properties:
|
|
842
|
+
mode: inline
|
|
843
|
+
theme: light
|
|
844
|
+
links:
|
|
845
|
+
- id: settings_nav_profile
|
|
846
|
+
type: MenuLink
|
|
847
|
+
properties:
|
|
848
|
+
title: Profile
|
|
849
|
+
icon: AiOutlineUser
|
|
850
|
+
- id: settings_nav_account
|
|
851
|
+
type: MenuLink
|
|
852
|
+
properties:
|
|
853
|
+
title: Account
|
|
854
|
+
icon: AiOutlineSafety
|
|
855
|
+
- id: settings_nav_notifications
|
|
856
|
+
type: MenuLink
|
|
857
|
+
properties:
|
|
858
|
+
title: Notifications
|
|
859
|
+
icon: AiOutlineBell
|
|
860
|
+
- id: settings_nav_appearance
|
|
861
|
+
type: MenuLink
|
|
862
|
+
properties:
|
|
863
|
+
title: Appearance
|
|
864
|
+
icon: AiOutlineBgColors
|
|
865
|
+
- id: settings_nav_integrations
|
|
866
|
+
type: MenuLink
|
|
867
|
+
properties:
|
|
868
|
+
title: Integrations
|
|
869
|
+
icon: AiOutlineApi
|
|
870
|
+
- id: settings_content
|
|
871
|
+
type: Content
|
|
872
|
+
style:
|
|
873
|
+
padding: 24px
|
|
874
|
+
background: var(--ant-color-bg-container)
|
|
875
|
+
blocks:
|
|
876
|
+
- id: settings_content_title
|
|
877
|
+
type: Title
|
|
878
|
+
properties:
|
|
879
|
+
content: Profile Settings
|
|
880
|
+
level: 4
|
|
881
|
+
- id: settings_content_desc
|
|
882
|
+
type: Paragraph
|
|
883
|
+
properties:
|
|
884
|
+
content: Manage your personal information and preferences.
|
|
885
|
+
- id: settings_divider
|
|
886
|
+
type: Divider
|
|
887
|
+
- id: settings_form_name
|
|
888
|
+
type: TextInput
|
|
889
|
+
properties:
|
|
890
|
+
title: Display Name
|
|
891
|
+
placeholder: Enter your name
|
|
892
|
+
- id: settings_form_email
|
|
893
|
+
type: TextInput
|
|
894
|
+
properties:
|
|
895
|
+
title: Email Address
|
|
896
|
+
placeholder: you@example.com
|
|
897
|
+
- id: settings_form_bio
|
|
898
|
+
type: TextArea
|
|
899
|
+
properties:
|
|
900
|
+
title: Bio
|
|
901
|
+
placeholder: Tell us about yourself
|
|
902
|
+
- id: settings_form_save
|
|
903
|
+
type: Button
|
|
904
|
+
properties:
|
|
905
|
+
title: Save Changes
|
|
906
|
+
color: primary
|
|
907
|
+
variant: solid
|
|
908
|
+
icon: AiOutlineSave
|
|
909
|
+
|
|
910
|
+
- title: Sider in Documentation Browser
|
|
911
|
+
fullWidth: true
|
|
912
|
+
blocks:
|
|
913
|
+
- id: docs_layout
|
|
914
|
+
type: Layout
|
|
915
|
+
style:
|
|
916
|
+
minHeight: 400px
|
|
917
|
+
blocks:
|
|
918
|
+
- id: docs_sider
|
|
919
|
+
type: Sider
|
|
920
|
+
properties:
|
|
921
|
+
theme: light
|
|
922
|
+
width: 260
|
|
923
|
+
collapsible: true
|
|
924
|
+
initialCollapsed: false
|
|
925
|
+
breakpoint: md
|
|
926
|
+
class:
|
|
927
|
+
element: border-r border-border
|
|
928
|
+
blocks:
|
|
929
|
+
- id: docs_search
|
|
930
|
+
type: TextInput
|
|
931
|
+
style:
|
|
932
|
+
padding: 12px 16px
|
|
933
|
+
properties:
|
|
934
|
+
placeholder: Search docs...
|
|
935
|
+
prefixIcon: AiOutlineSearch
|
|
936
|
+
- id: docs_menu
|
|
937
|
+
type: Menu
|
|
938
|
+
properties:
|
|
939
|
+
mode: inline
|
|
940
|
+
theme: light
|
|
941
|
+
links:
|
|
942
|
+
- id: docs_nav_getting_started
|
|
943
|
+
type: MenuGroup
|
|
944
|
+
properties:
|
|
945
|
+
title: Getting Started
|
|
946
|
+
links:
|
|
947
|
+
- id: docs_nav_intro
|
|
948
|
+
type: MenuLink
|
|
949
|
+
properties:
|
|
950
|
+
title: Introduction
|
|
951
|
+
- id: docs_nav_install
|
|
952
|
+
type: MenuLink
|
|
953
|
+
properties:
|
|
954
|
+
title: Installation
|
|
955
|
+
- id: docs_nav_quickstart
|
|
956
|
+
type: MenuLink
|
|
957
|
+
properties:
|
|
958
|
+
title: Quick Start
|
|
959
|
+
- id: docs_nav_guides
|
|
960
|
+
type: MenuGroup
|
|
961
|
+
properties:
|
|
962
|
+
title: Guides
|
|
963
|
+
links:
|
|
964
|
+
- id: docs_nav_blocks
|
|
965
|
+
type: MenuLink
|
|
966
|
+
properties:
|
|
967
|
+
title: Blocks
|
|
968
|
+
- id: docs_nav_operators
|
|
969
|
+
type: MenuLink
|
|
970
|
+
properties:
|
|
971
|
+
title: Operators
|
|
972
|
+
- id: docs_nav_actions
|
|
973
|
+
type: MenuLink
|
|
974
|
+
properties:
|
|
975
|
+
title: Actions
|
|
976
|
+
- id: docs_content
|
|
977
|
+
type: Content
|
|
978
|
+
style:
|
|
979
|
+
padding: 32px
|
|
980
|
+
background: var(--ant-color-bg-container)
|
|
981
|
+
blocks:
|
|
982
|
+
- id: docs_content_title
|
|
983
|
+
type: Title
|
|
984
|
+
properties:
|
|
985
|
+
content: Introduction
|
|
986
|
+
level: 3
|
|
987
|
+
- id: docs_content_p1
|
|
988
|
+
type: Paragraph
|
|
989
|
+
properties:
|
|
990
|
+
content: Welcome to the documentation. This page gives an overview of the framework and how to get started building your first application.
|
|
991
|
+
- id: docs_content_p2
|
|
992
|
+
type: Paragraph
|
|
993
|
+
properties:
|
|
994
|
+
content: Use the sidebar on the left to browse through different sections. On smaller screens the sidebar collapses automatically thanks to the breakpoint property set to "md".
|