@lowdefy/blocks-antd 5.6.0 → 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/gallery.yaml +781 -0
- 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 +1 -1
- package/dist/blocks/Label/gallery.yaml +762 -0
- 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/gallery.yaml +816 -0
- 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,891 @@
|
|
|
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: Button Styles
|
|
16
|
+
blocks:
|
|
17
|
+
- id: style_solid
|
|
18
|
+
type: ButtonSelector
|
|
19
|
+
properties:
|
|
20
|
+
title: Solid Style (default)
|
|
21
|
+
variant: solid
|
|
22
|
+
options:
|
|
23
|
+
- label: Daily
|
|
24
|
+
value: daily
|
|
25
|
+
- label: Weekly
|
|
26
|
+
value: weekly
|
|
27
|
+
- label: Monthly
|
|
28
|
+
value: monthly
|
|
29
|
+
- id: style_outline
|
|
30
|
+
type: ButtonSelector
|
|
31
|
+
properties:
|
|
32
|
+
title: Outline Style
|
|
33
|
+
variant: outlined
|
|
34
|
+
options:
|
|
35
|
+
- label: Daily
|
|
36
|
+
value: daily
|
|
37
|
+
- label: Weekly
|
|
38
|
+
value: weekly
|
|
39
|
+
- label: Monthly
|
|
40
|
+
value: monthly
|
|
41
|
+
- id: solid_outline_alignment
|
|
42
|
+
type: ButtonSelector
|
|
43
|
+
properties:
|
|
44
|
+
title: Solid - filled background on selected
|
|
45
|
+
variant: solid
|
|
46
|
+
options:
|
|
47
|
+
- label: Left
|
|
48
|
+
value: left
|
|
49
|
+
- label: Center
|
|
50
|
+
value: center
|
|
51
|
+
- label: Right
|
|
52
|
+
value: right
|
|
53
|
+
- label: Justify
|
|
54
|
+
value: justify
|
|
55
|
+
|
|
56
|
+
- title: Options
|
|
57
|
+
blocks:
|
|
58
|
+
- id: string_options
|
|
59
|
+
type: ButtonSelector
|
|
60
|
+
properties:
|
|
61
|
+
title: Simple String Array
|
|
62
|
+
variant: solid
|
|
63
|
+
options:
|
|
64
|
+
- Red
|
|
65
|
+
- Green
|
|
66
|
+
- Blue
|
|
67
|
+
- id: status_options
|
|
68
|
+
type: ButtonSelector
|
|
69
|
+
properties:
|
|
70
|
+
title: Object Options with Labels
|
|
71
|
+
variant: solid
|
|
72
|
+
options:
|
|
73
|
+
- label: Active
|
|
74
|
+
value: active
|
|
75
|
+
- label: Pending
|
|
76
|
+
value: pending
|
|
77
|
+
- label: Archived
|
|
78
|
+
value: archived
|
|
79
|
+
- id: html_labels
|
|
80
|
+
type: ButtonSelector
|
|
81
|
+
properties:
|
|
82
|
+
title: HTML in Option Labels
|
|
83
|
+
variant: solid
|
|
84
|
+
options:
|
|
85
|
+
- label: '<b>Bold</b>'
|
|
86
|
+
value: bold
|
|
87
|
+
- label: '<i>Italic</i>'
|
|
88
|
+
value: italic
|
|
89
|
+
- label: '<u>Underline</u>'
|
|
90
|
+
value: underline
|
|
91
|
+
- id: html_emoji_labels
|
|
92
|
+
type: ButtonSelector
|
|
93
|
+
properties:
|
|
94
|
+
title: Emoji Labels
|
|
95
|
+
variant: solid
|
|
96
|
+
options:
|
|
97
|
+
- label: '✅ Approved'
|
|
98
|
+
value: approved
|
|
99
|
+
- label: '⏳ Pending'
|
|
100
|
+
value: pending
|
|
101
|
+
- label: '❌ Rejected'
|
|
102
|
+
value: rejected
|
|
103
|
+
|
|
104
|
+
- title: Sizes
|
|
105
|
+
blocks:
|
|
106
|
+
- id: size_small
|
|
107
|
+
type: ButtonSelector
|
|
108
|
+
properties:
|
|
109
|
+
title: Small
|
|
110
|
+
size: small
|
|
111
|
+
variant: solid
|
|
112
|
+
options:
|
|
113
|
+
- Small
|
|
114
|
+
- Medium
|
|
115
|
+
- Large
|
|
116
|
+
- id: size_default
|
|
117
|
+
type: ButtonSelector
|
|
118
|
+
properties:
|
|
119
|
+
title: Default
|
|
120
|
+
variant: solid
|
|
121
|
+
options:
|
|
122
|
+
- Small
|
|
123
|
+
- Medium
|
|
124
|
+
- Large
|
|
125
|
+
- id: size_large
|
|
126
|
+
type: ButtonSelector
|
|
127
|
+
properties:
|
|
128
|
+
title: Large
|
|
129
|
+
size: large
|
|
130
|
+
variant: solid
|
|
131
|
+
options:
|
|
132
|
+
- Small
|
|
133
|
+
- Medium
|
|
134
|
+
- Large
|
|
135
|
+
|
|
136
|
+
- title: Sizes with Outline
|
|
137
|
+
blocks:
|
|
138
|
+
- id: size_small_outline
|
|
139
|
+
type: ButtonSelector
|
|
140
|
+
properties:
|
|
141
|
+
title: Small Outline
|
|
142
|
+
size: small
|
|
143
|
+
variant: outlined
|
|
144
|
+
options:
|
|
145
|
+
- Option A
|
|
146
|
+
- Option B
|
|
147
|
+
- Option C
|
|
148
|
+
- id: size_default_outline
|
|
149
|
+
type: ButtonSelector
|
|
150
|
+
properties:
|
|
151
|
+
title: Default Outline
|
|
152
|
+
variant: outlined
|
|
153
|
+
options:
|
|
154
|
+
- Option A
|
|
155
|
+
- Option B
|
|
156
|
+
- Option C
|
|
157
|
+
- id: size_large_outline
|
|
158
|
+
type: ButtonSelector
|
|
159
|
+
properties:
|
|
160
|
+
title: Large Outline
|
|
161
|
+
size: large
|
|
162
|
+
variant: outlined
|
|
163
|
+
options:
|
|
164
|
+
- Option A
|
|
165
|
+
- Option B
|
|
166
|
+
- Option C
|
|
167
|
+
|
|
168
|
+
- title: Many Options
|
|
169
|
+
blocks:
|
|
170
|
+
- id: many_options
|
|
171
|
+
type: ButtonSelector
|
|
172
|
+
properties:
|
|
173
|
+
title: Day of the Week
|
|
174
|
+
variant: solid
|
|
175
|
+
size: small
|
|
176
|
+
options:
|
|
177
|
+
- label: Mon
|
|
178
|
+
value: monday
|
|
179
|
+
- label: Tue
|
|
180
|
+
value: tuesday
|
|
181
|
+
- label: Wed
|
|
182
|
+
value: wednesday
|
|
183
|
+
- label: Thu
|
|
184
|
+
value: thursday
|
|
185
|
+
- label: Fri
|
|
186
|
+
value: friday
|
|
187
|
+
- label: Sat
|
|
188
|
+
value: saturday
|
|
189
|
+
- label: Sun
|
|
190
|
+
value: sunday
|
|
191
|
+
- id: two_options
|
|
192
|
+
type: ButtonSelector
|
|
193
|
+
properties:
|
|
194
|
+
title: Toggle
|
|
195
|
+
variant: solid
|
|
196
|
+
options:
|
|
197
|
+
- label: 'Yes'
|
|
198
|
+
value: true
|
|
199
|
+
- label: 'No'
|
|
200
|
+
value: false
|
|
201
|
+
|
|
202
|
+
- title: Disabled
|
|
203
|
+
blocks:
|
|
204
|
+
- id: disabled_solid
|
|
205
|
+
type: ButtonSelector
|
|
206
|
+
properties:
|
|
207
|
+
title: Disabled (Solid)
|
|
208
|
+
disabled: true
|
|
209
|
+
variant: solid
|
|
210
|
+
options:
|
|
211
|
+
- label: Option A
|
|
212
|
+
value: a
|
|
213
|
+
- label: Option B
|
|
214
|
+
value: b
|
|
215
|
+
- label: Option C
|
|
216
|
+
value: c
|
|
217
|
+
- id: disabled_outline
|
|
218
|
+
type: ButtonSelector
|
|
219
|
+
properties:
|
|
220
|
+
title: Disabled (Outline)
|
|
221
|
+
disabled: true
|
|
222
|
+
variant: outlined
|
|
223
|
+
options:
|
|
224
|
+
- label: Option A
|
|
225
|
+
value: a
|
|
226
|
+
- label: Option B
|
|
227
|
+
value: b
|
|
228
|
+
- label: Option C
|
|
229
|
+
value: c
|
|
230
|
+
- id: disabled_option_solid
|
|
231
|
+
type: ButtonSelector
|
|
232
|
+
properties:
|
|
233
|
+
title: Disabled Individual Option (Solid)
|
|
234
|
+
variant: solid
|
|
235
|
+
options:
|
|
236
|
+
- label: Available
|
|
237
|
+
value: available
|
|
238
|
+
- label: Unavailable
|
|
239
|
+
value: unavailable
|
|
240
|
+
disabled: true
|
|
241
|
+
- label: In Stock
|
|
242
|
+
value: in_stock
|
|
243
|
+
- id: disabled_multiple_options
|
|
244
|
+
type: ButtonSelector
|
|
245
|
+
properties:
|
|
246
|
+
title: Multiple Disabled Options
|
|
247
|
+
variant: solid
|
|
248
|
+
options:
|
|
249
|
+
- label: Active
|
|
250
|
+
value: active
|
|
251
|
+
- label: Suspended
|
|
252
|
+
value: suspended
|
|
253
|
+
disabled: true
|
|
254
|
+
- label: Pending
|
|
255
|
+
value: pending
|
|
256
|
+
- label: Terminated
|
|
257
|
+
value: terminated
|
|
258
|
+
disabled: true
|
|
259
|
+
|
|
260
|
+
- title: Option Styles
|
|
261
|
+
blocks:
|
|
262
|
+
- id: option_styles
|
|
263
|
+
type: ButtonSelector
|
|
264
|
+
properties:
|
|
265
|
+
title: Custom Option Styles
|
|
266
|
+
variant: outlined
|
|
267
|
+
options:
|
|
268
|
+
- label: Normal
|
|
269
|
+
value: normal
|
|
270
|
+
- label: Highlighted
|
|
271
|
+
value: highlighted
|
|
272
|
+
style:
|
|
273
|
+
fontWeight: bold
|
|
274
|
+
- label: Subtle
|
|
275
|
+
value: subtle
|
|
276
|
+
style:
|
|
277
|
+
fontStyle: italic
|
|
278
|
+
- id: option_styles_solid
|
|
279
|
+
type: ButtonSelector
|
|
280
|
+
properties:
|
|
281
|
+
title: Styled Solid Options
|
|
282
|
+
variant: solid
|
|
283
|
+
options:
|
|
284
|
+
- label: Default
|
|
285
|
+
value: default
|
|
286
|
+
- label: Emphasized
|
|
287
|
+
value: emphasized
|
|
288
|
+
style:
|
|
289
|
+
fontWeight: bold
|
|
290
|
+
letterSpacing: 1
|
|
291
|
+
- label: Light
|
|
292
|
+
value: light
|
|
293
|
+
style:
|
|
294
|
+
fontStyle: italic
|
|
295
|
+
opacity: 0.8
|
|
296
|
+
- id: option_styles_mixed
|
|
297
|
+
type: ButtonSelector
|
|
298
|
+
properties:
|
|
299
|
+
title: Mixed Option Styling
|
|
300
|
+
variant: outlined
|
|
301
|
+
options:
|
|
302
|
+
- label: Regular
|
|
303
|
+
value: regular
|
|
304
|
+
- label: Important
|
|
305
|
+
value: important
|
|
306
|
+
style:
|
|
307
|
+
fontWeight: bold
|
|
308
|
+
textDecoration: underline
|
|
309
|
+
- label: Muted
|
|
310
|
+
value: muted
|
|
311
|
+
style:
|
|
312
|
+
opacity: 0.6
|
|
313
|
+
|
|
314
|
+
- title: Color
|
|
315
|
+
blocks:
|
|
316
|
+
- id: color_default
|
|
317
|
+
type: ButtonSelector
|
|
318
|
+
properties:
|
|
319
|
+
title: Default Color (primary)
|
|
320
|
+
variant: solid
|
|
321
|
+
options:
|
|
322
|
+
- label: Option A
|
|
323
|
+
value: a
|
|
324
|
+
- label: Option B
|
|
325
|
+
value: b
|
|
326
|
+
- label: Option C
|
|
327
|
+
value: c
|
|
328
|
+
- id: color_red
|
|
329
|
+
type: ButtonSelector
|
|
330
|
+
properties:
|
|
331
|
+
title: 'Color: red'
|
|
332
|
+
variant: solid
|
|
333
|
+
color: red
|
|
334
|
+
options:
|
|
335
|
+
- label: Option A
|
|
336
|
+
value: a
|
|
337
|
+
- label: Option B
|
|
338
|
+
value: b
|
|
339
|
+
- label: Option C
|
|
340
|
+
value: c
|
|
341
|
+
- id: color_green
|
|
342
|
+
type: ButtonSelector
|
|
343
|
+
properties:
|
|
344
|
+
title: 'Color: green'
|
|
345
|
+
variant: solid
|
|
346
|
+
color: green
|
|
347
|
+
options:
|
|
348
|
+
- label: Option A
|
|
349
|
+
value: a
|
|
350
|
+
- label: Option B
|
|
351
|
+
value: b
|
|
352
|
+
- label: Option C
|
|
353
|
+
value: c
|
|
354
|
+
- id: color_purple
|
|
355
|
+
type: ButtonSelector
|
|
356
|
+
properties:
|
|
357
|
+
title: 'Color: purple'
|
|
358
|
+
variant: solid
|
|
359
|
+
color: purple
|
|
360
|
+
options:
|
|
361
|
+
- label: Option A
|
|
362
|
+
value: a
|
|
363
|
+
- label: Option B
|
|
364
|
+
value: b
|
|
365
|
+
- label: Option C
|
|
366
|
+
value: c
|
|
367
|
+
|
|
368
|
+
- title: Custom Hex Colors
|
|
369
|
+
blocks:
|
|
370
|
+
- id: color_hex_coral
|
|
371
|
+
type: ButtonSelector
|
|
372
|
+
properties:
|
|
373
|
+
title: 'Coral (#ff6b6b)'
|
|
374
|
+
variant: solid
|
|
375
|
+
color: '#ff6b6b'
|
|
376
|
+
options:
|
|
377
|
+
- Low
|
|
378
|
+
- Medium
|
|
379
|
+
- High
|
|
380
|
+
- id: color_hex_teal
|
|
381
|
+
type: ButtonSelector
|
|
382
|
+
properties:
|
|
383
|
+
title: 'Teal (#20c997)'
|
|
384
|
+
variant: solid
|
|
385
|
+
color: '#20c997'
|
|
386
|
+
options:
|
|
387
|
+
- Low
|
|
388
|
+
- Medium
|
|
389
|
+
- High
|
|
390
|
+
- id: color_hex_indigo
|
|
391
|
+
type: ButtonSelector
|
|
392
|
+
properties:
|
|
393
|
+
title: 'Indigo (#4c6ef5)'
|
|
394
|
+
variant: solid
|
|
395
|
+
color: '#4c6ef5'
|
|
396
|
+
options:
|
|
397
|
+
- Low
|
|
398
|
+
- Medium
|
|
399
|
+
- High
|
|
400
|
+
- id: color_hex_light
|
|
401
|
+
type: ButtonSelector
|
|
402
|
+
properties:
|
|
403
|
+
title: 'Light color (#ffe58f) — text auto-contrasts to black'
|
|
404
|
+
variant: solid
|
|
405
|
+
color: '#ffe58f'
|
|
406
|
+
options:
|
|
407
|
+
- Low
|
|
408
|
+
- Medium
|
|
409
|
+
- High
|
|
410
|
+
|
|
411
|
+
- title: Color with Outline Style
|
|
412
|
+
blocks:
|
|
413
|
+
- id: color_outline_red
|
|
414
|
+
type: ButtonSelector
|
|
415
|
+
properties:
|
|
416
|
+
title: Red Outline
|
|
417
|
+
variant: outlined
|
|
418
|
+
color: red
|
|
419
|
+
options:
|
|
420
|
+
- Option A
|
|
421
|
+
- Option B
|
|
422
|
+
- Option C
|
|
423
|
+
- id: color_outline_green
|
|
424
|
+
type: ButtonSelector
|
|
425
|
+
properties:
|
|
426
|
+
title: Green Outline
|
|
427
|
+
variant: outlined
|
|
428
|
+
color: green
|
|
429
|
+
options:
|
|
430
|
+
- Option A
|
|
431
|
+
- Option B
|
|
432
|
+
- Option C
|
|
433
|
+
- id: color_outline_hex
|
|
434
|
+
type: ButtonSelector
|
|
435
|
+
properties:
|
|
436
|
+
title: 'Custom Hex Outline (#e64980)'
|
|
437
|
+
variant: outlined
|
|
438
|
+
color: '#e64980'
|
|
439
|
+
options:
|
|
440
|
+
- Option A
|
|
441
|
+
- Option B
|
|
442
|
+
- Option C
|
|
443
|
+
|
|
444
|
+
- title: Color in Dark Mode
|
|
445
|
+
blocks:
|
|
446
|
+
- id: dark_mode_box
|
|
447
|
+
type: Box
|
|
448
|
+
style:
|
|
449
|
+
background: '#141414'
|
|
450
|
+
padding: 24
|
|
451
|
+
borderRadius: 8
|
|
452
|
+
blocks:
|
|
453
|
+
- id: dark_mode_provider
|
|
454
|
+
type: ConfigProvider
|
|
455
|
+
properties:
|
|
456
|
+
algorithm: dark
|
|
457
|
+
blocks:
|
|
458
|
+
- id: dark_color_solid
|
|
459
|
+
type: ButtonSelector
|
|
460
|
+
properties:
|
|
461
|
+
title: Solid color (dark)
|
|
462
|
+
variant: solid
|
|
463
|
+
color: '#1677ff'
|
|
464
|
+
options:
|
|
465
|
+
- Option A
|
|
466
|
+
- Option B
|
|
467
|
+
- Option C
|
|
468
|
+
- id: dark_color_outline
|
|
469
|
+
type: ButtonSelector
|
|
470
|
+
properties:
|
|
471
|
+
title: Outline color with selected tint (dark)
|
|
472
|
+
variant: outlined
|
|
473
|
+
color: '#1677ff'
|
|
474
|
+
options:
|
|
475
|
+
- Option A
|
|
476
|
+
- Option B
|
|
477
|
+
- Option C
|
|
478
|
+
|
|
479
|
+
- title: Label Properties
|
|
480
|
+
blocks:
|
|
481
|
+
- id: label_title
|
|
482
|
+
type: ButtonSelector
|
|
483
|
+
properties:
|
|
484
|
+
title: Default Label
|
|
485
|
+
variant: solid
|
|
486
|
+
options:
|
|
487
|
+
- label: Option A
|
|
488
|
+
value: a
|
|
489
|
+
- label: Option B
|
|
490
|
+
value: b
|
|
491
|
+
- id: label_extra
|
|
492
|
+
type: ButtonSelector
|
|
493
|
+
properties:
|
|
494
|
+
title: With Extra Text
|
|
495
|
+
label:
|
|
496
|
+
extra: Choose your preferred view mode.
|
|
497
|
+
variant: solid
|
|
498
|
+
options:
|
|
499
|
+
- label: Grid
|
|
500
|
+
value: grid
|
|
501
|
+
- label: List
|
|
502
|
+
value: list
|
|
503
|
+
- label: Table
|
|
504
|
+
value: table
|
|
505
|
+
- id: label_no_colon
|
|
506
|
+
type: ButtonSelector
|
|
507
|
+
properties:
|
|
508
|
+
title: No Colon
|
|
509
|
+
label:
|
|
510
|
+
colon: false
|
|
511
|
+
variant: solid
|
|
512
|
+
options:
|
|
513
|
+
- label: Option A
|
|
514
|
+
value: a
|
|
515
|
+
- label: Option B
|
|
516
|
+
value: b
|
|
517
|
+
- id: label_inline
|
|
518
|
+
type: ButtonSelector
|
|
519
|
+
properties:
|
|
520
|
+
title: Inline Label
|
|
521
|
+
label:
|
|
522
|
+
inline: true
|
|
523
|
+
span: 6
|
|
524
|
+
variant: solid
|
|
525
|
+
options:
|
|
526
|
+
- label: Left
|
|
527
|
+
value: left
|
|
528
|
+
- label: Center
|
|
529
|
+
value: center
|
|
530
|
+
- label: Right
|
|
531
|
+
value: right
|
|
532
|
+
- id: no_label_solid
|
|
533
|
+
type: ButtonSelector
|
|
534
|
+
properties:
|
|
535
|
+
label:
|
|
536
|
+
disabled: true
|
|
537
|
+
variant: solid
|
|
538
|
+
options:
|
|
539
|
+
- label: Left
|
|
540
|
+
value: left
|
|
541
|
+
- label: Center
|
|
542
|
+
value: center
|
|
543
|
+
- label: Right
|
|
544
|
+
value: right
|
|
545
|
+
|
|
546
|
+
- title: HTML in Title
|
|
547
|
+
blocks:
|
|
548
|
+
- id: html_title
|
|
549
|
+
type: ButtonSelector
|
|
550
|
+
properties:
|
|
551
|
+
title: '<b>Bold Title</b>'
|
|
552
|
+
variant: solid
|
|
553
|
+
options:
|
|
554
|
+
- Option A
|
|
555
|
+
- Option B
|
|
556
|
+
- Option C
|
|
557
|
+
- id: html_title_colored
|
|
558
|
+
type: ButtonSelector
|
|
559
|
+
properties:
|
|
560
|
+
title: '<span style="color: #1677ff;">Colored Title</span>'
|
|
561
|
+
variant: solid
|
|
562
|
+
options:
|
|
563
|
+
- Option A
|
|
564
|
+
- Option B
|
|
565
|
+
- Option C
|
|
566
|
+
|
|
567
|
+
- title: Style
|
|
568
|
+
blocks:
|
|
569
|
+
- id: style_custom_width
|
|
570
|
+
type: ButtonSelector
|
|
571
|
+
properties:
|
|
572
|
+
title: Custom Width
|
|
573
|
+
variant: solid
|
|
574
|
+
options:
|
|
575
|
+
- Option A
|
|
576
|
+
- Option B
|
|
577
|
+
- Option C
|
|
578
|
+
style:
|
|
579
|
+
width: 400
|
|
580
|
+
|
|
581
|
+
- title: Class Overrides (Tailwind)
|
|
582
|
+
blocks:
|
|
583
|
+
- id: class_padding
|
|
584
|
+
type: ButtonSelector
|
|
585
|
+
properties:
|
|
586
|
+
title: Tailwind Padding
|
|
587
|
+
variant: solid
|
|
588
|
+
options:
|
|
589
|
+
- label: Option A
|
|
590
|
+
value: a
|
|
591
|
+
- label: Option B
|
|
592
|
+
value: b
|
|
593
|
+
- label: Option C
|
|
594
|
+
value: c
|
|
595
|
+
class: p-4
|
|
596
|
+
- id: class_shadow_rounded
|
|
597
|
+
type: ButtonSelector
|
|
598
|
+
properties:
|
|
599
|
+
title: Shadow and Rounded
|
|
600
|
+
variant: solid
|
|
601
|
+
options:
|
|
602
|
+
- label: Option A
|
|
603
|
+
value: a
|
|
604
|
+
- label: Option B
|
|
605
|
+
value: b
|
|
606
|
+
- label: Option C
|
|
607
|
+
value: c
|
|
608
|
+
class: shadow-md rounded-lg p-2
|
|
609
|
+
- id: class_background
|
|
610
|
+
type: ButtonSelector
|
|
611
|
+
properties:
|
|
612
|
+
title: Background Color
|
|
613
|
+
variant: solid
|
|
614
|
+
options:
|
|
615
|
+
- label: Option A
|
|
616
|
+
value: a
|
|
617
|
+
- label: Option B
|
|
618
|
+
value: b
|
|
619
|
+
- label: Option C
|
|
620
|
+
value: c
|
|
621
|
+
class: bg-bg-layout p-3 rounded
|
|
622
|
+
|
|
623
|
+
- title: Theme Token Overrides
|
|
624
|
+
blocks:
|
|
625
|
+
- id: theme_large_radius
|
|
626
|
+
type: ButtonSelector
|
|
627
|
+
properties:
|
|
628
|
+
title: Large Border Radius
|
|
629
|
+
variant: solid
|
|
630
|
+
options:
|
|
631
|
+
- label: Option A
|
|
632
|
+
value: a
|
|
633
|
+
- label: Option B
|
|
634
|
+
value: b
|
|
635
|
+
- label: Option C
|
|
636
|
+
value: c
|
|
637
|
+
theme:
|
|
638
|
+
borderRadius: 20
|
|
639
|
+
- id: theme_button_bg
|
|
640
|
+
type: ButtonSelector
|
|
641
|
+
properties:
|
|
642
|
+
title: Custom Button Background
|
|
643
|
+
variant: solid
|
|
644
|
+
options:
|
|
645
|
+
- label: Option A
|
|
646
|
+
value: a
|
|
647
|
+
- label: Option B
|
|
648
|
+
value: b
|
|
649
|
+
- label: Option C
|
|
650
|
+
value: c
|
|
651
|
+
theme:
|
|
652
|
+
buttonSolidCheckedBg: '#531dab'
|
|
653
|
+
buttonSolidCheckedHoverBg: '#722ed1'
|
|
654
|
+
buttonSolidCheckedActiveBg: '#391085'
|
|
655
|
+
- id: theme_button_color
|
|
656
|
+
type: ButtonSelector
|
|
657
|
+
properties:
|
|
658
|
+
title: Custom Button Text Color
|
|
659
|
+
variant: outlined
|
|
660
|
+
options:
|
|
661
|
+
- label: Option A
|
|
662
|
+
value: a
|
|
663
|
+
- label: Option B
|
|
664
|
+
value: b
|
|
665
|
+
- label: Option C
|
|
666
|
+
value: c
|
|
667
|
+
theme:
|
|
668
|
+
buttonColor: '#531dab'
|
|
669
|
+
- id: theme_pill_selector
|
|
670
|
+
type: ButtonSelector
|
|
671
|
+
properties:
|
|
672
|
+
title: Pill Style Selector
|
|
673
|
+
variant: solid
|
|
674
|
+
color: '#7c3aed'
|
|
675
|
+
options:
|
|
676
|
+
- label: Free
|
|
677
|
+
value: free
|
|
678
|
+
- label: Pro
|
|
679
|
+
value: pro
|
|
680
|
+
- label: Enterprise
|
|
681
|
+
value: enterprise
|
|
682
|
+
theme:
|
|
683
|
+
borderRadius: 20
|
|
684
|
+
controlHeight: 40
|
|
685
|
+
fontSize: 15
|
|
686
|
+
- id: theme_compact_selector
|
|
687
|
+
type: ButtonSelector
|
|
688
|
+
properties:
|
|
689
|
+
title: Compact Selector
|
|
690
|
+
variant: solid
|
|
691
|
+
size: small
|
|
692
|
+
options:
|
|
693
|
+
- label: XS
|
|
694
|
+
value: xs
|
|
695
|
+
- label: S
|
|
696
|
+
value: s
|
|
697
|
+
- label: M
|
|
698
|
+
value: m
|
|
699
|
+
- label: L
|
|
700
|
+
value: l
|
|
701
|
+
- label: XL
|
|
702
|
+
value: xl
|
|
703
|
+
theme:
|
|
704
|
+
buttonPaddingInline: 6
|
|
705
|
+
borderRadiusSM: 2
|
|
706
|
+
|
|
707
|
+
- title: ButtonSelector in Survey Form
|
|
708
|
+
blocks:
|
|
709
|
+
- id: applied_survey_card
|
|
710
|
+
type: Card
|
|
711
|
+
properties:
|
|
712
|
+
title: Customer Satisfaction Survey
|
|
713
|
+
blocks:
|
|
714
|
+
- id: applied_survey_name
|
|
715
|
+
type: TextInput
|
|
716
|
+
properties:
|
|
717
|
+
title: Your Name
|
|
718
|
+
placeholder: Enter your full name
|
|
719
|
+
- id: applied_survey_rating
|
|
720
|
+
type: ButtonSelector
|
|
721
|
+
properties:
|
|
722
|
+
title: How satisfied are you with our service?
|
|
723
|
+
variant: solid
|
|
724
|
+
color: '#1677ff'
|
|
725
|
+
options:
|
|
726
|
+
- label: Very Unsatisfied
|
|
727
|
+
value: 1
|
|
728
|
+
- label: Unsatisfied
|
|
729
|
+
value: 2
|
|
730
|
+
- label: Neutral
|
|
731
|
+
value: 3
|
|
732
|
+
- label: Satisfied
|
|
733
|
+
value: 4
|
|
734
|
+
- label: Very Satisfied
|
|
735
|
+
value: 5
|
|
736
|
+
- id: applied_survey_recommend
|
|
737
|
+
type: ButtonSelector
|
|
738
|
+
properties:
|
|
739
|
+
title: Would you recommend us to a friend?
|
|
740
|
+
variant: solid
|
|
741
|
+
options:
|
|
742
|
+
- label: Definitely
|
|
743
|
+
value: definitely
|
|
744
|
+
- label: Probably
|
|
745
|
+
value: probably
|
|
746
|
+
- label: Not Sure
|
|
747
|
+
value: not_sure
|
|
748
|
+
- label: Unlikely
|
|
749
|
+
value: unlikely
|
|
750
|
+
- id: applied_survey_comments
|
|
751
|
+
type: TextArea
|
|
752
|
+
properties:
|
|
753
|
+
title: Additional Comments
|
|
754
|
+
placeholder: Tell us more about your experience...
|
|
755
|
+
- id: applied_survey_submit
|
|
756
|
+
type: Button
|
|
757
|
+
properties:
|
|
758
|
+
title: Submit Survey
|
|
759
|
+
type: primary
|
|
760
|
+
icon: AiOutlineSend
|
|
761
|
+
events:
|
|
762
|
+
onClick:
|
|
763
|
+
- id: survey_submit_action
|
|
764
|
+
type: DisplayMessage
|
|
765
|
+
params:
|
|
766
|
+
content:
|
|
767
|
+
_string.concat:
|
|
768
|
+
- 'Thank you for your feedback! Rating: '
|
|
769
|
+
- _state: applied_survey_rating
|
|
770
|
+
status: success
|
|
771
|
+
|
|
772
|
+
- title: ButtonSelector in Settings Page
|
|
773
|
+
blocks:
|
|
774
|
+
- id: applied_settings_card
|
|
775
|
+
type: Card
|
|
776
|
+
properties:
|
|
777
|
+
title: Display Settings
|
|
778
|
+
blocks:
|
|
779
|
+
- id: applied_settings_theme
|
|
780
|
+
type: ButtonSelector
|
|
781
|
+
properties:
|
|
782
|
+
title: Theme
|
|
783
|
+
variant: solid
|
|
784
|
+
options:
|
|
785
|
+
- label: Light
|
|
786
|
+
value: light
|
|
787
|
+
- label: Dark
|
|
788
|
+
value: dark
|
|
789
|
+
- label: System
|
|
790
|
+
value: system
|
|
791
|
+
events:
|
|
792
|
+
onChange:
|
|
793
|
+
- id: theme_change_action
|
|
794
|
+
type: SetState
|
|
795
|
+
params:
|
|
796
|
+
selected_theme:
|
|
797
|
+
_state: applied_settings_theme
|
|
798
|
+
- id: applied_settings_language
|
|
799
|
+
type: ButtonSelector
|
|
800
|
+
properties:
|
|
801
|
+
title: Language
|
|
802
|
+
variant: outlined
|
|
803
|
+
options:
|
|
804
|
+
- label: English
|
|
805
|
+
value: en
|
|
806
|
+
- label: Spanish
|
|
807
|
+
value: es
|
|
808
|
+
- label: French
|
|
809
|
+
value: fr
|
|
810
|
+
- label: German
|
|
811
|
+
value: de
|
|
812
|
+
- id: applied_settings_font_size
|
|
813
|
+
type: ButtonSelector
|
|
814
|
+
properties:
|
|
815
|
+
title: Font Size
|
|
816
|
+
variant: solid
|
|
817
|
+
size: small
|
|
818
|
+
options:
|
|
819
|
+
- label: Small
|
|
820
|
+
value: small
|
|
821
|
+
- label: Medium
|
|
822
|
+
value: medium
|
|
823
|
+
- label: Large
|
|
824
|
+
value: large
|
|
825
|
+
- id: applied_settings_save
|
|
826
|
+
type: Button
|
|
827
|
+
properties:
|
|
828
|
+
title: Save Settings
|
|
829
|
+
type: primary
|
|
830
|
+
icon: AiOutlineSave
|
|
831
|
+
events:
|
|
832
|
+
onClick:
|
|
833
|
+
- id: settings_save_action
|
|
834
|
+
type: DisplayMessage
|
|
835
|
+
params:
|
|
836
|
+
content: Settings saved successfully
|
|
837
|
+
status: success
|
|
838
|
+
- id: settings_set_global
|
|
839
|
+
type: SetGlobal
|
|
840
|
+
params:
|
|
841
|
+
theme:
|
|
842
|
+
_state: applied_settings_theme
|
|
843
|
+
language:
|
|
844
|
+
_state: applied_settings_language
|
|
845
|
+
fontSize:
|
|
846
|
+
_state: applied_settings_font_size
|
|
847
|
+
|
|
848
|
+
- title: Per-option Color
|
|
849
|
+
blocks:
|
|
850
|
+
- id: per_option_color_outline
|
|
851
|
+
type: ButtonSelector
|
|
852
|
+
properties:
|
|
853
|
+
title: 'Outline — color per option'
|
|
854
|
+
variant: outlined
|
|
855
|
+
options:
|
|
856
|
+
- label: Low
|
|
857
|
+
value: low
|
|
858
|
+
color: '#16a34a'
|
|
859
|
+
- label: Medium
|
|
860
|
+
value: medium
|
|
861
|
+
color: '#d97706'
|
|
862
|
+
- label: High
|
|
863
|
+
value: high
|
|
864
|
+
color: '#dc2626'
|
|
865
|
+
- id: per_option_color_solid
|
|
866
|
+
type: ButtonSelector
|
|
867
|
+
properties:
|
|
868
|
+
title: 'Solid — color per option (selected fills in its own color)'
|
|
869
|
+
variant: solid
|
|
870
|
+
options:
|
|
871
|
+
- label: To do
|
|
872
|
+
value: todo
|
|
873
|
+
color: '#64748b'
|
|
874
|
+
- label: Doing
|
|
875
|
+
value: doing
|
|
876
|
+
color: '#2563eb'
|
|
877
|
+
- label: Done
|
|
878
|
+
value: done
|
|
879
|
+
color: '#16a34a'
|
|
880
|
+
- title: Data driven (valueKey)
|
|
881
|
+
blocks:
|
|
882
|
+
- id: data_button_selector
|
|
883
|
+
type: ButtonSelector
|
|
884
|
+
properties:
|
|
885
|
+
title: Priority
|
|
886
|
+
data:
|
|
887
|
+
- { id: 1, name: Low }
|
|
888
|
+
- { id: 2, name: Medium }
|
|
889
|
+
- { id: 3, name: High }
|
|
890
|
+
html: '{{ item.name }}'
|
|
891
|
+
valueKey: id
|