@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,95 @@
|
|
|
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
|
+
id: flex_block
|
|
16
|
+
type: Box
|
|
17
|
+
|
|
18
|
+
blocks:
|
|
19
|
+
# ============================================
|
|
20
|
+
# HORIZONTAL (DEFAULT)
|
|
21
|
+
# ============================================
|
|
22
|
+
|
|
23
|
+
- id: flex_horizontal
|
|
24
|
+
type: Flex
|
|
25
|
+
blocks:
|
|
26
|
+
- id: flex_h_btn_1
|
|
27
|
+
type: Button
|
|
28
|
+
properties:
|
|
29
|
+
title: Button 1
|
|
30
|
+
- id: flex_h_btn_2
|
|
31
|
+
type: Button
|
|
32
|
+
properties:
|
|
33
|
+
title: Button 2
|
|
34
|
+
- id: flex_h_btn_3
|
|
35
|
+
type: Button
|
|
36
|
+
properties:
|
|
37
|
+
title: Button 3
|
|
38
|
+
|
|
39
|
+
# ============================================
|
|
40
|
+
# VERTICAL
|
|
41
|
+
# ============================================
|
|
42
|
+
|
|
43
|
+
- id: flex_vertical
|
|
44
|
+
type: Flex
|
|
45
|
+
properties:
|
|
46
|
+
vertical: true
|
|
47
|
+
blocks:
|
|
48
|
+
- id: flex_v_btn_1
|
|
49
|
+
type: Button
|
|
50
|
+
properties:
|
|
51
|
+
title: Button A
|
|
52
|
+
- id: flex_v_btn_2
|
|
53
|
+
type: Button
|
|
54
|
+
properties:
|
|
55
|
+
title: Button B
|
|
56
|
+
- id: flex_v_btn_3
|
|
57
|
+
type: Button
|
|
58
|
+
properties:
|
|
59
|
+
title: Button C
|
|
60
|
+
|
|
61
|
+
# ============================================
|
|
62
|
+
# GAP
|
|
63
|
+
# ============================================
|
|
64
|
+
|
|
65
|
+
- id: flex_gap
|
|
66
|
+
type: Flex
|
|
67
|
+
properties:
|
|
68
|
+
gap: 24
|
|
69
|
+
blocks:
|
|
70
|
+
- id: flex_gap_btn_1
|
|
71
|
+
type: Button
|
|
72
|
+
properties:
|
|
73
|
+
title: Gap 1
|
|
74
|
+
- id: flex_gap_btn_2
|
|
75
|
+
type: Button
|
|
76
|
+
properties:
|
|
77
|
+
title: Gap 2
|
|
78
|
+
|
|
79
|
+
# ============================================
|
|
80
|
+
# JUSTIFY
|
|
81
|
+
# ============================================
|
|
82
|
+
|
|
83
|
+
- id: flex_justify
|
|
84
|
+
type: Flex
|
|
85
|
+
properties:
|
|
86
|
+
justify: space-between
|
|
87
|
+
blocks:
|
|
88
|
+
- id: flex_j_btn_1
|
|
89
|
+
type: Button
|
|
90
|
+
properties:
|
|
91
|
+
title: Left
|
|
92
|
+
- id: flex_j_btn_2
|
|
93
|
+
type: Button
|
|
94
|
+
properties:
|
|
95
|
+
title: Right
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
- id: default
|
|
16
|
+
type: Flex
|
|
17
|
+
- id: 'properties.vertical: true'
|
|
18
|
+
type: Flex
|
|
19
|
+
properties:
|
|
20
|
+
vertical: true
|
|
21
|
+
- id: 'properties.wrap: true'
|
|
22
|
+
type: Flex
|
|
23
|
+
properties:
|
|
24
|
+
wrap: true
|
|
25
|
+
- id: 'properties.justify: flex-start'
|
|
26
|
+
type: Flex
|
|
27
|
+
properties:
|
|
28
|
+
justify: flex-start
|
|
29
|
+
- id: 'properties.justify: center'
|
|
30
|
+
type: Flex
|
|
31
|
+
properties:
|
|
32
|
+
justify: center
|
|
33
|
+
- id: 'properties.justify: flex-end'
|
|
34
|
+
type: Flex
|
|
35
|
+
properties:
|
|
36
|
+
justify: flex-end
|
|
37
|
+
- id: 'properties.justify: space-between'
|
|
38
|
+
type: Flex
|
|
39
|
+
properties:
|
|
40
|
+
justify: space-between
|
|
41
|
+
- id: 'properties.justify: space-around'
|
|
42
|
+
type: Flex
|
|
43
|
+
properties:
|
|
44
|
+
justify: space-around
|
|
45
|
+
- id: 'properties.justify: space-evenly'
|
|
46
|
+
type: Flex
|
|
47
|
+
properties:
|
|
48
|
+
justify: space-evenly
|
|
49
|
+
- id: 'properties.align: flex-start'
|
|
50
|
+
type: Flex
|
|
51
|
+
properties:
|
|
52
|
+
align: flex-start
|
|
53
|
+
- id: 'properties.align: center'
|
|
54
|
+
type: Flex
|
|
55
|
+
properties:
|
|
56
|
+
align: center
|
|
57
|
+
- id: 'properties.align: flex-end'
|
|
58
|
+
type: Flex
|
|
59
|
+
properties:
|
|
60
|
+
align: flex-end
|
|
61
|
+
- id: 'properties.align: stretch'
|
|
62
|
+
type: Flex
|
|
63
|
+
properties:
|
|
64
|
+
align: stretch
|
|
65
|
+
- id: 'properties.align: baseline'
|
|
66
|
+
type: Flex
|
|
67
|
+
properties:
|
|
68
|
+
align: baseline
|
|
69
|
+
- id: 'properties.gap: small'
|
|
70
|
+
type: Flex
|
|
71
|
+
properties:
|
|
72
|
+
gap: small
|
|
73
|
+
- id: 'properties.gap: middle'
|
|
74
|
+
type: Flex
|
|
75
|
+
properties:
|
|
76
|
+
gap: middle
|
|
77
|
+
- id: 'properties.gap: large'
|
|
78
|
+
type: Flex
|
|
79
|
+
properties:
|
|
80
|
+
gap: large
|
|
81
|
+
- id: 'properties.gap: 16'
|
|
82
|
+
type: Flex
|
|
83
|
+
properties:
|
|
84
|
+
gap: 16
|
|
85
|
+
- id: properties.flex
|
|
86
|
+
type: Flex
|
|
87
|
+
properties:
|
|
88
|
+
flex: 1
|
|
89
|
+
- id: properties.component
|
|
90
|
+
type: Flex
|
|
91
|
+
properties:
|
|
92
|
+
component: section
|
|
@@ -0,0 +1,518 @@
|
|
|
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: Type
|
|
16
|
+
blocks:
|
|
17
|
+
- id: float_demo
|
|
18
|
+
type: FloatButton
|
|
19
|
+
visible:
|
|
20
|
+
_state: float_active
|
|
21
|
+
properties:
|
|
22
|
+
type:
|
|
23
|
+
_state: float_props.type
|
|
24
|
+
shape:
|
|
25
|
+
_state: float_props.shape
|
|
26
|
+
icon:
|
|
27
|
+
_state: float_props.icon
|
|
28
|
+
tooltip:
|
|
29
|
+
_state: float_props.tooltip
|
|
30
|
+
description:
|
|
31
|
+
_state: float_props.description
|
|
32
|
+
badge:
|
|
33
|
+
_state: float_props.badge
|
|
34
|
+
href:
|
|
35
|
+
_state: float_props.href
|
|
36
|
+
target:
|
|
37
|
+
_state: float_props.target
|
|
38
|
+
theme:
|
|
39
|
+
_state: float_props.theme
|
|
40
|
+
events:
|
|
41
|
+
onClick:
|
|
42
|
+
- id: float_click_msg
|
|
43
|
+
type: DisplayMessage
|
|
44
|
+
params:
|
|
45
|
+
content: FloatButton clicked!
|
|
46
|
+
status: info
|
|
47
|
+
- id: btn_type_default
|
|
48
|
+
type: Button
|
|
49
|
+
layout:
|
|
50
|
+
flex: 0 0 auto
|
|
51
|
+
properties:
|
|
52
|
+
title: Default
|
|
53
|
+
color: default
|
|
54
|
+
variant: outlined
|
|
55
|
+
icon: AiOutlineQuestionCircle
|
|
56
|
+
events:
|
|
57
|
+
onClick:
|
|
58
|
+
- id: set_type_default
|
|
59
|
+
type: SetState
|
|
60
|
+
params:
|
|
61
|
+
float_active: true
|
|
62
|
+
float_props:
|
|
63
|
+
type: default
|
|
64
|
+
icon: AiOutlineQuestionCircle
|
|
65
|
+
tooltip: Default type
|
|
66
|
+
- id: btn_type_primary
|
|
67
|
+
type: Button
|
|
68
|
+
layout:
|
|
69
|
+
flex: 0 0 auto
|
|
70
|
+
properties:
|
|
71
|
+
title: Primary
|
|
72
|
+
color: primary
|
|
73
|
+
variant: outlined
|
|
74
|
+
icon: AiOutlineQuestionCircle
|
|
75
|
+
events:
|
|
76
|
+
onClick:
|
|
77
|
+
- id: set_type_primary
|
|
78
|
+
type: SetState
|
|
79
|
+
params:
|
|
80
|
+
float_active: true
|
|
81
|
+
float_props:
|
|
82
|
+
type: primary
|
|
83
|
+
icon: AiOutlineQuestionCircle
|
|
84
|
+
tooltip: Primary type
|
|
85
|
+
- id: btn_type_support
|
|
86
|
+
type: Button
|
|
87
|
+
layout:
|
|
88
|
+
flex: 0 0 auto
|
|
89
|
+
properties:
|
|
90
|
+
title: Support
|
|
91
|
+
color: primary
|
|
92
|
+
variant: outlined
|
|
93
|
+
icon: AiOutlineCustomerService
|
|
94
|
+
events:
|
|
95
|
+
onClick:
|
|
96
|
+
- id: set_type_support
|
|
97
|
+
type: SetState
|
|
98
|
+
params:
|
|
99
|
+
float_active: true
|
|
100
|
+
float_props:
|
|
101
|
+
type: primary
|
|
102
|
+
icon: AiOutlineCustomerService
|
|
103
|
+
tooltip: Contact support
|
|
104
|
+
|
|
105
|
+
- title: Shape
|
|
106
|
+
blocks:
|
|
107
|
+
- id: btn_shape_circle
|
|
108
|
+
type: Button
|
|
109
|
+
layout:
|
|
110
|
+
flex: 0 0 auto
|
|
111
|
+
properties:
|
|
112
|
+
title: Circle
|
|
113
|
+
color: default
|
|
114
|
+
variant: outlined
|
|
115
|
+
events:
|
|
116
|
+
onClick:
|
|
117
|
+
- id: set_shape_circle
|
|
118
|
+
type: SetState
|
|
119
|
+
params:
|
|
120
|
+
float_active: true
|
|
121
|
+
float_props:
|
|
122
|
+
shape: circle
|
|
123
|
+
icon: AiOutlinePlus
|
|
124
|
+
tooltip: Circle (default)
|
|
125
|
+
- id: btn_shape_square
|
|
126
|
+
type: Button
|
|
127
|
+
layout:
|
|
128
|
+
flex: 0 0 auto
|
|
129
|
+
properties:
|
|
130
|
+
title: Square
|
|
131
|
+
color: default
|
|
132
|
+
variant: outlined
|
|
133
|
+
events:
|
|
134
|
+
onClick:
|
|
135
|
+
- id: set_shape_square
|
|
136
|
+
type: SetState
|
|
137
|
+
params:
|
|
138
|
+
float_active: true
|
|
139
|
+
float_props:
|
|
140
|
+
shape: square
|
|
141
|
+
icon: AiOutlineSetting
|
|
142
|
+
tooltip: Square shape
|
|
143
|
+
- id: btn_shape_square_primary
|
|
144
|
+
type: Button
|
|
145
|
+
layout:
|
|
146
|
+
flex: 0 0 auto
|
|
147
|
+
properties:
|
|
148
|
+
title: Square Primary
|
|
149
|
+
color: primary
|
|
150
|
+
variant: outlined
|
|
151
|
+
events:
|
|
152
|
+
onClick:
|
|
153
|
+
- id: set_shape_square_primary
|
|
154
|
+
type: SetState
|
|
155
|
+
params:
|
|
156
|
+
float_active: true
|
|
157
|
+
float_props:
|
|
158
|
+
shape: square
|
|
159
|
+
type: primary
|
|
160
|
+
icon: AiOutlineEdit
|
|
161
|
+
tooltip: Square primary
|
|
162
|
+
|
|
163
|
+
- title: Icon
|
|
164
|
+
blocks:
|
|
165
|
+
- id: btn_icon_string
|
|
166
|
+
type: Button
|
|
167
|
+
layout:
|
|
168
|
+
flex: 0 0 auto
|
|
169
|
+
properties:
|
|
170
|
+
title: String
|
|
171
|
+
color: default
|
|
172
|
+
variant: outlined
|
|
173
|
+
icon: AiOutlineQuestionCircle
|
|
174
|
+
events:
|
|
175
|
+
onClick:
|
|
176
|
+
- id: set_icon_string
|
|
177
|
+
type: SetState
|
|
178
|
+
params:
|
|
179
|
+
float_active: true
|
|
180
|
+
float_props:
|
|
181
|
+
icon: AiOutlineQuestionCircle
|
|
182
|
+
tooltip: String icon
|
|
183
|
+
- id: btn_icon_object
|
|
184
|
+
type: Button
|
|
185
|
+
layout:
|
|
186
|
+
flex: 0 0 auto
|
|
187
|
+
properties:
|
|
188
|
+
title: Object
|
|
189
|
+
color: default
|
|
190
|
+
variant: outlined
|
|
191
|
+
icon: AiOutlineRocket
|
|
192
|
+
events:
|
|
193
|
+
onClick:
|
|
194
|
+
- id: set_icon_object
|
|
195
|
+
type: SetState
|
|
196
|
+
params:
|
|
197
|
+
float_active: true
|
|
198
|
+
float_props:
|
|
199
|
+
icon:
|
|
200
|
+
name: AiOutlineRocket
|
|
201
|
+
tooltip: Object icon
|
|
202
|
+
- id: btn_icon_colored
|
|
203
|
+
type: Button
|
|
204
|
+
layout:
|
|
205
|
+
flex: 0 0 auto
|
|
206
|
+
properties:
|
|
207
|
+
title: Colored
|
|
208
|
+
color: default
|
|
209
|
+
variant: outlined
|
|
210
|
+
icon: AiOutlineHeart
|
|
211
|
+
events:
|
|
212
|
+
onClick:
|
|
213
|
+
- id: set_icon_colored
|
|
214
|
+
type: SetState
|
|
215
|
+
params:
|
|
216
|
+
float_active: true
|
|
217
|
+
float_props:
|
|
218
|
+
icon:
|
|
219
|
+
name: AiOutlineHeart
|
|
220
|
+
color: '#eb2f96'
|
|
221
|
+
tooltip: Colored icon
|
|
222
|
+
|
|
223
|
+
- title: Tooltip
|
|
224
|
+
blocks:
|
|
225
|
+
- id: btn_tooltip_short
|
|
226
|
+
type: Button
|
|
227
|
+
layout:
|
|
228
|
+
flex: 0 0 auto
|
|
229
|
+
properties:
|
|
230
|
+
title: Short
|
|
231
|
+
color: default
|
|
232
|
+
variant: outlined
|
|
233
|
+
events:
|
|
234
|
+
onClick:
|
|
235
|
+
- id: set_tooltip_short
|
|
236
|
+
type: SetState
|
|
237
|
+
params:
|
|
238
|
+
float_active: true
|
|
239
|
+
float_props:
|
|
240
|
+
icon: AiOutlineQuestionCircle
|
|
241
|
+
tooltip: Help
|
|
242
|
+
- id: btn_tooltip_long
|
|
243
|
+
type: Button
|
|
244
|
+
layout:
|
|
245
|
+
flex: 0 0 auto
|
|
246
|
+
properties:
|
|
247
|
+
title: Long
|
|
248
|
+
color: default
|
|
249
|
+
variant: outlined
|
|
250
|
+
events:
|
|
251
|
+
onClick:
|
|
252
|
+
- id: set_tooltip_long
|
|
253
|
+
type: SetState
|
|
254
|
+
params:
|
|
255
|
+
float_active: true
|
|
256
|
+
float_props:
|
|
257
|
+
icon: AiOutlineCustomerService
|
|
258
|
+
tooltip: Click here to get help from our support team
|
|
259
|
+
|
|
260
|
+
- title: Description
|
|
261
|
+
blocks:
|
|
262
|
+
- id: btn_desc_icon
|
|
263
|
+
type: Button
|
|
264
|
+
layout:
|
|
265
|
+
flex: 0 0 auto
|
|
266
|
+
properties:
|
|
267
|
+
title: With Icon
|
|
268
|
+
color: primary
|
|
269
|
+
variant: outlined
|
|
270
|
+
icon: AiOutlineQuestionCircle
|
|
271
|
+
events:
|
|
272
|
+
onClick:
|
|
273
|
+
- id: set_desc_icon
|
|
274
|
+
type: SetState
|
|
275
|
+
params:
|
|
276
|
+
float_active: true
|
|
277
|
+
float_props:
|
|
278
|
+
shape: square
|
|
279
|
+
type: primary
|
|
280
|
+
icon: AiOutlineQuestionCircle
|
|
281
|
+
description: Help
|
|
282
|
+
- id: btn_desc_docs
|
|
283
|
+
type: Button
|
|
284
|
+
layout:
|
|
285
|
+
flex: 0 0 auto
|
|
286
|
+
properties:
|
|
287
|
+
title: Docs
|
|
288
|
+
color: primary
|
|
289
|
+
variant: outlined
|
|
290
|
+
icon: AiOutlineFileText
|
|
291
|
+
events:
|
|
292
|
+
onClick:
|
|
293
|
+
- id: set_desc_docs
|
|
294
|
+
type: SetState
|
|
295
|
+
params:
|
|
296
|
+
float_active: true
|
|
297
|
+
float_props:
|
|
298
|
+
shape: square
|
|
299
|
+
type: primary
|
|
300
|
+
icon: AiOutlineFileText
|
|
301
|
+
description: Docs
|
|
302
|
+
- id: btn_desc_text
|
|
303
|
+
type: Button
|
|
304
|
+
layout:
|
|
305
|
+
flex: 0 0 auto
|
|
306
|
+
properties:
|
|
307
|
+
title: Text Only
|
|
308
|
+
color: primary
|
|
309
|
+
variant: outlined
|
|
310
|
+
events:
|
|
311
|
+
onClick:
|
|
312
|
+
- id: set_desc_text
|
|
313
|
+
type: SetState
|
|
314
|
+
params:
|
|
315
|
+
float_active: true
|
|
316
|
+
float_props:
|
|
317
|
+
shape: square
|
|
318
|
+
type: primary
|
|
319
|
+
description: Chat
|
|
320
|
+
|
|
321
|
+
- title: Badge
|
|
322
|
+
blocks:
|
|
323
|
+
- id: btn_badge_count
|
|
324
|
+
type: Button
|
|
325
|
+
layout:
|
|
326
|
+
flex: 0 0 auto
|
|
327
|
+
properties:
|
|
328
|
+
title: Count
|
|
329
|
+
color: default
|
|
330
|
+
variant: outlined
|
|
331
|
+
icon: AiOutlineBell
|
|
332
|
+
events:
|
|
333
|
+
onClick:
|
|
334
|
+
- id: set_badge_count
|
|
335
|
+
type: SetState
|
|
336
|
+
params:
|
|
337
|
+
float_active: true
|
|
338
|
+
float_props:
|
|
339
|
+
icon: AiOutlineBell
|
|
340
|
+
tooltip: Notifications
|
|
341
|
+
badge:
|
|
342
|
+
count: 5
|
|
343
|
+
- id: btn_badge_dot
|
|
344
|
+
type: Button
|
|
345
|
+
layout:
|
|
346
|
+
flex: 0 0 auto
|
|
347
|
+
properties:
|
|
348
|
+
title: Dot
|
|
349
|
+
color: default
|
|
350
|
+
variant: outlined
|
|
351
|
+
icon: AiOutlineMail
|
|
352
|
+
events:
|
|
353
|
+
onClick:
|
|
354
|
+
- id: set_badge_dot
|
|
355
|
+
type: SetState
|
|
356
|
+
params:
|
|
357
|
+
float_active: true
|
|
358
|
+
float_props:
|
|
359
|
+
icon: AiOutlineMail
|
|
360
|
+
tooltip: Messages
|
|
361
|
+
badge:
|
|
362
|
+
dot: true
|
|
363
|
+
- id: btn_badge_overflow
|
|
364
|
+
type: Button
|
|
365
|
+
layout:
|
|
366
|
+
flex: 0 0 auto
|
|
367
|
+
properties:
|
|
368
|
+
title: Overflow
|
|
369
|
+
color: default
|
|
370
|
+
variant: outlined
|
|
371
|
+
icon: AiOutlineInbox
|
|
372
|
+
events:
|
|
373
|
+
onClick:
|
|
374
|
+
- id: set_badge_overflow
|
|
375
|
+
type: SetState
|
|
376
|
+
params:
|
|
377
|
+
float_active: true
|
|
378
|
+
float_props:
|
|
379
|
+
icon: AiOutlineInbox
|
|
380
|
+
tooltip: Inbox
|
|
381
|
+
badge:
|
|
382
|
+
count: 99
|
|
383
|
+
overflowCount: 50
|
|
384
|
+
|
|
385
|
+
- title: Href
|
|
386
|
+
blocks:
|
|
387
|
+
- id: btn_href_link
|
|
388
|
+
type: Button
|
|
389
|
+
layout:
|
|
390
|
+
flex: 0 0 auto
|
|
391
|
+
properties:
|
|
392
|
+
title: Link
|
|
393
|
+
color: default
|
|
394
|
+
variant: outlined
|
|
395
|
+
icon: AiOutlineLink
|
|
396
|
+
events:
|
|
397
|
+
onClick:
|
|
398
|
+
- id: set_href_link
|
|
399
|
+
type: SetState
|
|
400
|
+
params:
|
|
401
|
+
float_active: true
|
|
402
|
+
float_props:
|
|
403
|
+
icon: AiOutlineLink
|
|
404
|
+
tooltip: Open Lowdefy (new tab)
|
|
405
|
+
href: https://lowdefy.com
|
|
406
|
+
target: _blank
|
|
407
|
+
- id: btn_href_docs
|
|
408
|
+
type: Button
|
|
409
|
+
layout:
|
|
410
|
+
flex: 0 0 auto
|
|
411
|
+
properties:
|
|
412
|
+
title: Docs Link
|
|
413
|
+
color: primary
|
|
414
|
+
variant: outlined
|
|
415
|
+
icon: AiOutlineFileText
|
|
416
|
+
events:
|
|
417
|
+
onClick:
|
|
418
|
+
- id: set_href_docs
|
|
419
|
+
type: SetState
|
|
420
|
+
params:
|
|
421
|
+
float_active: true
|
|
422
|
+
float_props:
|
|
423
|
+
type: primary
|
|
424
|
+
icon: AiOutlineFileText
|
|
425
|
+
tooltip: View documentation (new tab)
|
|
426
|
+
href: https://docs.lowdefy.com
|
|
427
|
+
target: _blank
|
|
428
|
+
|
|
429
|
+
- title: Theme Token Overrides
|
|
430
|
+
blocks:
|
|
431
|
+
- id: btn_theme_green
|
|
432
|
+
type: Button
|
|
433
|
+
layout:
|
|
434
|
+
flex: 0 0 auto
|
|
435
|
+
properties:
|
|
436
|
+
title: Green
|
|
437
|
+
color: primary
|
|
438
|
+
variant: outlined
|
|
439
|
+
icon: AiOutlineCheck
|
|
440
|
+
events:
|
|
441
|
+
onClick:
|
|
442
|
+
- id: set_theme_green
|
|
443
|
+
type: SetState
|
|
444
|
+
params:
|
|
445
|
+
float_active: true
|
|
446
|
+
float_props:
|
|
447
|
+
type: primary
|
|
448
|
+
icon: AiOutlineCheck
|
|
449
|
+
tooltip: Green primary
|
|
450
|
+
theme:
|
|
451
|
+
colorPrimary: '#52c41a'
|
|
452
|
+
colorPrimaryHover: '#73d13d'
|
|
453
|
+
- id: btn_theme_dark
|
|
454
|
+
type: Button
|
|
455
|
+
layout:
|
|
456
|
+
flex: 0 0 auto
|
|
457
|
+
properties:
|
|
458
|
+
title: Dark
|
|
459
|
+
color: default
|
|
460
|
+
variant: outlined
|
|
461
|
+
icon: AiOutlineSetting
|
|
462
|
+
events:
|
|
463
|
+
onClick:
|
|
464
|
+
- id: set_theme_dark
|
|
465
|
+
type: SetState
|
|
466
|
+
params:
|
|
467
|
+
float_active: true
|
|
468
|
+
float_props:
|
|
469
|
+
icon: AiOutlineSetting
|
|
470
|
+
tooltip: Dark background
|
|
471
|
+
theme:
|
|
472
|
+
colorBgElevated: '#1f1f1f'
|
|
473
|
+
colorText: '#ffffff'
|
|
474
|
+
- id: btn_theme_large
|
|
475
|
+
type: Button
|
|
476
|
+
layout:
|
|
477
|
+
flex: 0 0 auto
|
|
478
|
+
properties:
|
|
479
|
+
title: Large
|
|
480
|
+
color: primary
|
|
481
|
+
variant: outlined
|
|
482
|
+
icon: AiOutlinePlus
|
|
483
|
+
events:
|
|
484
|
+
onClick:
|
|
485
|
+
- id: set_theme_large
|
|
486
|
+
type: SetState
|
|
487
|
+
params:
|
|
488
|
+
float_active: true
|
|
489
|
+
float_props:
|
|
490
|
+
type: primary
|
|
491
|
+
icon: AiOutlinePlus
|
|
492
|
+
tooltip: Large button
|
|
493
|
+
theme:
|
|
494
|
+
controlHeightLG: 56
|
|
495
|
+
fontSizeIcon: 24
|
|
496
|
+
- id: btn_theme_badge
|
|
497
|
+
type: Button
|
|
498
|
+
layout:
|
|
499
|
+
flex: 0 0 auto
|
|
500
|
+
properties:
|
|
501
|
+
title: Custom Badge
|
|
502
|
+
color: default
|
|
503
|
+
variant: outlined
|
|
504
|
+
icon: AiOutlineBell
|
|
505
|
+
events:
|
|
506
|
+
onClick:
|
|
507
|
+
- id: set_theme_badge
|
|
508
|
+
type: SetState
|
|
509
|
+
params:
|
|
510
|
+
float_active: true
|
|
511
|
+
float_props:
|
|
512
|
+
icon: AiOutlineBell
|
|
513
|
+
tooltip: Custom badge color
|
|
514
|
+
badge:
|
|
515
|
+
count: 3
|
|
516
|
+
theme:
|
|
517
|
+
badgeColor: '#722ed1'
|
|
518
|
+
dotSize: 12
|