@lowdefy/blocks-antd 5.6.0 → 6.1.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/Button.js +11 -2
- package/dist/blocks/Button/gallery.yaml +718 -0
- package/dist/blocks/Button/meta.js +4 -0
- package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
- package/dist/blocks/Button/tests.yaml +109 -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,180 @@
|
|
|
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: title
|
|
16
|
+
type: Box
|
|
17
|
+
|
|
18
|
+
blocks:
|
|
19
|
+
# ============================================
|
|
20
|
+
# BASIC RENDERING
|
|
21
|
+
# ============================================
|
|
22
|
+
|
|
23
|
+
- id: title_basic
|
|
24
|
+
type: Title
|
|
25
|
+
properties:
|
|
26
|
+
content: Basic Title
|
|
27
|
+
|
|
28
|
+
- id: title_html
|
|
29
|
+
type: Title
|
|
30
|
+
properties:
|
|
31
|
+
content: '<strong>Bold</strong> and <em>italic</em>'
|
|
32
|
+
|
|
33
|
+
# ============================================
|
|
34
|
+
# LEVEL TESTS
|
|
35
|
+
# ============================================
|
|
36
|
+
|
|
37
|
+
- id: title_level1
|
|
38
|
+
type: Title
|
|
39
|
+
properties:
|
|
40
|
+
content: Level 1 Title
|
|
41
|
+
level: 1
|
|
42
|
+
|
|
43
|
+
- id: title_level2
|
|
44
|
+
type: Title
|
|
45
|
+
properties:
|
|
46
|
+
content: Level 2 Title
|
|
47
|
+
level: 2
|
|
48
|
+
|
|
49
|
+
- id: title_level3
|
|
50
|
+
type: Title
|
|
51
|
+
properties:
|
|
52
|
+
content: Level 3 Title
|
|
53
|
+
level: 3
|
|
54
|
+
|
|
55
|
+
- id: title_level4
|
|
56
|
+
type: Title
|
|
57
|
+
properties:
|
|
58
|
+
content: Level 4 Title
|
|
59
|
+
level: 4
|
|
60
|
+
|
|
61
|
+
- id: title_level5
|
|
62
|
+
type: Title
|
|
63
|
+
properties:
|
|
64
|
+
content: Level 5 Title
|
|
65
|
+
level: 5
|
|
66
|
+
|
|
67
|
+
# ============================================
|
|
68
|
+
# STYLE TESTS
|
|
69
|
+
# ============================================
|
|
70
|
+
|
|
71
|
+
- id: title_code
|
|
72
|
+
type: Title
|
|
73
|
+
properties:
|
|
74
|
+
content: Code Title
|
|
75
|
+
code: true
|
|
76
|
+
|
|
77
|
+
- id: title_italic
|
|
78
|
+
type: Title
|
|
79
|
+
properties:
|
|
80
|
+
content: Italic Title
|
|
81
|
+
italic: true
|
|
82
|
+
|
|
83
|
+
- id: title_underline
|
|
84
|
+
type: Title
|
|
85
|
+
properties:
|
|
86
|
+
content: Underline Title
|
|
87
|
+
underline: true
|
|
88
|
+
|
|
89
|
+
- id: title_delete
|
|
90
|
+
type: Title
|
|
91
|
+
properties:
|
|
92
|
+
content: Delete Title
|
|
93
|
+
delete: true
|
|
94
|
+
|
|
95
|
+
- id: title_mark
|
|
96
|
+
type: Title
|
|
97
|
+
properties:
|
|
98
|
+
content: Marked Title
|
|
99
|
+
mark: true
|
|
100
|
+
|
|
101
|
+
- id: title_disabled
|
|
102
|
+
type: Title
|
|
103
|
+
properties:
|
|
104
|
+
content: Disabled Title
|
|
105
|
+
disabled: true
|
|
106
|
+
|
|
107
|
+
# ============================================
|
|
108
|
+
# TYPE TESTS
|
|
109
|
+
# ============================================
|
|
110
|
+
|
|
111
|
+
- id: title_secondary
|
|
112
|
+
type: Title
|
|
113
|
+
properties:
|
|
114
|
+
content: Secondary Title
|
|
115
|
+
type: secondary
|
|
116
|
+
|
|
117
|
+
- id: title_success
|
|
118
|
+
type: Title
|
|
119
|
+
properties:
|
|
120
|
+
content: Success Title
|
|
121
|
+
type: success
|
|
122
|
+
|
|
123
|
+
- id: title_warning
|
|
124
|
+
type: Title
|
|
125
|
+
properties:
|
|
126
|
+
content: Warning Title
|
|
127
|
+
type: warning
|
|
128
|
+
|
|
129
|
+
- id: title_danger
|
|
130
|
+
type: Title
|
|
131
|
+
properties:
|
|
132
|
+
content: Danger Title
|
|
133
|
+
type: danger
|
|
134
|
+
|
|
135
|
+
# ============================================
|
|
136
|
+
# COPYABLE TESTS
|
|
137
|
+
# ============================================
|
|
138
|
+
|
|
139
|
+
- id: title_copyable
|
|
140
|
+
type: Title
|
|
141
|
+
properties:
|
|
142
|
+
content: Copy this title
|
|
143
|
+
copyable: true
|
|
144
|
+
|
|
145
|
+
- id: title_copyable_event
|
|
146
|
+
type: Title
|
|
147
|
+
properties:
|
|
148
|
+
content: Copy me
|
|
149
|
+
copyable:
|
|
150
|
+
text: Custom copy text
|
|
151
|
+
events:
|
|
152
|
+
onCopy:
|
|
153
|
+
- id: set_oncopy
|
|
154
|
+
type: SetState
|
|
155
|
+
params:
|
|
156
|
+
title_oncopy_fired: true
|
|
157
|
+
|
|
158
|
+
- id: oncopy_display
|
|
159
|
+
type: Span
|
|
160
|
+
properties:
|
|
161
|
+
content:
|
|
162
|
+
_if:
|
|
163
|
+
test:
|
|
164
|
+
_eq:
|
|
165
|
+
- _state: title_oncopy_fired
|
|
166
|
+
- true
|
|
167
|
+
then: Copy fired
|
|
168
|
+
else: ''
|
|
169
|
+
|
|
170
|
+
# ============================================
|
|
171
|
+
# ELLIPSIS TESTS
|
|
172
|
+
# ============================================
|
|
173
|
+
|
|
174
|
+
- id: title_ellipsis
|
|
175
|
+
type: Title
|
|
176
|
+
properties:
|
|
177
|
+
content: This is a very long title that should be truncated with ellipsis when it exceeds a certain width
|
|
178
|
+
ellipsis: true
|
|
179
|
+
style:
|
|
180
|
+
width: 200px
|
|
@@ -0,0 +1,175 @@
|
|
|
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: Title
|
|
17
|
+
- id: 'properties.title'
|
|
18
|
+
type: Title
|
|
19
|
+
properties:
|
|
20
|
+
content: Lorem ipsum dolor sit amet
|
|
21
|
+
- id: 'properties. code: true'
|
|
22
|
+
type: Title
|
|
23
|
+
properties:
|
|
24
|
+
code: true
|
|
25
|
+
content: Lorem ipsum dolor sit amet
|
|
26
|
+
- id: 'properties.color: '
|
|
27
|
+
type: Title
|
|
28
|
+
properties:
|
|
29
|
+
color: '#009688'
|
|
30
|
+
content: Lorem ipsum dolor sit amet
|
|
31
|
+
- id: 'properties.delete: true '
|
|
32
|
+
type: Title
|
|
33
|
+
properties:
|
|
34
|
+
delete: true
|
|
35
|
+
content: Lorem ipsum dolor sit amet
|
|
36
|
+
- id: 'properties.disabled: true '
|
|
37
|
+
type: Title
|
|
38
|
+
properties:
|
|
39
|
+
disabled: true
|
|
40
|
+
content: Lorem ipsum dolor sit amet
|
|
41
|
+
- id: 'properties.level: 2 '
|
|
42
|
+
type: Title
|
|
43
|
+
properties:
|
|
44
|
+
level: 2
|
|
45
|
+
content: Lorem ipsum dolor sit amet
|
|
46
|
+
- id: 'properties.level: 3 '
|
|
47
|
+
type: Title
|
|
48
|
+
properties:
|
|
49
|
+
level: 3
|
|
50
|
+
content: Lorem ipsum dolor sit amet
|
|
51
|
+
- id: 'properties.level: 4 '
|
|
52
|
+
type: Title
|
|
53
|
+
properties:
|
|
54
|
+
level: 4
|
|
55
|
+
content: Lorem ipsum dolor sit amet
|
|
56
|
+
- id: 'properties.level: 5'
|
|
57
|
+
type: Title
|
|
58
|
+
properties:
|
|
59
|
+
level: 5
|
|
60
|
+
content: Lorem ipsum dolor sit amet
|
|
61
|
+
- id: 'properties.italic: true'
|
|
62
|
+
type: Title
|
|
63
|
+
properties:
|
|
64
|
+
italic: true
|
|
65
|
+
content: Lorem ipsum dolor sit amet
|
|
66
|
+
- id: 'properties.mark: true '
|
|
67
|
+
type: Title
|
|
68
|
+
properties:
|
|
69
|
+
mark: true
|
|
70
|
+
content: Lorem ipsum dolor sit amet
|
|
71
|
+
- id: 'properties.underline: true '
|
|
72
|
+
type: Title
|
|
73
|
+
properties:
|
|
74
|
+
underline: true
|
|
75
|
+
content: Lorem ipsum dolor sit amet
|
|
76
|
+
- id: 'properties.type: secondary '
|
|
77
|
+
type: Title
|
|
78
|
+
properties:
|
|
79
|
+
type: secondary
|
|
80
|
+
content: Lorem ipsum dolor sit amet
|
|
81
|
+
- id: 'properties.type: warning '
|
|
82
|
+
type: Title
|
|
83
|
+
properties:
|
|
84
|
+
type: warning
|
|
85
|
+
content: Lorem ipsum dolor sit amet
|
|
86
|
+
- id: 'properties.type: danger '
|
|
87
|
+
type: Title
|
|
88
|
+
properties:
|
|
89
|
+
type: danger
|
|
90
|
+
content: Lorem ipsum dolor sit amet
|
|
91
|
+
|
|
92
|
+
- id: 'properties.copyable: true'
|
|
93
|
+
type: Title
|
|
94
|
+
properties:
|
|
95
|
+
copyable: true
|
|
96
|
+
content: Lorem ipsum dolor sit amet
|
|
97
|
+
- id: 'properties.copyable: text: one'
|
|
98
|
+
type: Title
|
|
99
|
+
properties:
|
|
100
|
+
copyable:
|
|
101
|
+
text: one
|
|
102
|
+
content: Lorem ipsum dolor sit amet
|
|
103
|
+
- id: 'properties.copyable: icon'
|
|
104
|
+
type: Title
|
|
105
|
+
properties:
|
|
106
|
+
copyable:
|
|
107
|
+
icon: AiOutlineWarning
|
|
108
|
+
content: Lorem ipsum dolor sit amet
|
|
109
|
+
- id: 'properties.copyable: icon: []'
|
|
110
|
+
type: Title
|
|
111
|
+
properties:
|
|
112
|
+
copyable:
|
|
113
|
+
icon:
|
|
114
|
+
- AiOutlineWarning
|
|
115
|
+
- AiOutlineRocket
|
|
116
|
+
content: Lorem ipsum dolor sit amet
|
|
117
|
+
- id: 'properties.copyable: tooltips: []'
|
|
118
|
+
type: Title
|
|
119
|
+
properties:
|
|
120
|
+
copyable:
|
|
121
|
+
tooltips:
|
|
122
|
+
- Click to copy
|
|
123
|
+
- Copy done
|
|
124
|
+
content: Lorem ipsum dolor sit amet
|
|
125
|
+
- id: 'properties.ellipsis: true'
|
|
126
|
+
type: Title
|
|
127
|
+
style:
|
|
128
|
+
width: 300
|
|
129
|
+
properties:
|
|
130
|
+
ellipsis: true
|
|
131
|
+
content: |
|
|
132
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
133
|
+
- id: 'properties.ellipsis: rows'
|
|
134
|
+
type: Title
|
|
135
|
+
style:
|
|
136
|
+
width: 300
|
|
137
|
+
properties:
|
|
138
|
+
ellipsis:
|
|
139
|
+
rows: 3
|
|
140
|
+
content: |
|
|
141
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
142
|
+
- id: 'properties.ellipsis: expandable, rows'
|
|
143
|
+
type: Title
|
|
144
|
+
style:
|
|
145
|
+
width: 300
|
|
146
|
+
properties:
|
|
147
|
+
ellipsis:
|
|
148
|
+
rows: 3
|
|
149
|
+
expandable: true
|
|
150
|
+
content: |
|
|
151
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
152
|
+
- id: 'properties.ellipsis: rows, suffix'
|
|
153
|
+
type: Title
|
|
154
|
+
style:
|
|
155
|
+
width: 300
|
|
156
|
+
properties:
|
|
157
|
+
ellipsis:
|
|
158
|
+
rows: 3
|
|
159
|
+
suffix: and other
|
|
160
|
+
content: |
|
|
161
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
162
|
+
# FIX: not working, might be and antd issue.
|
|
163
|
+
# - id: 'properties.ellipsis: rows, symbol'
|
|
164
|
+
# type: Title
|
|
165
|
+
# style:
|
|
166
|
+
# width: 300
|
|
167
|
+
# properties:
|
|
168
|
+
# ellipsis:
|
|
169
|
+
# symbol: '???'
|
|
170
|
+
# content: |
|
|
171
|
+
# Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
172
|
+
- id: 'properties.content with html'
|
|
173
|
+
type: Title
|
|
174
|
+
properties:
|
|
175
|
+
content: '<div style="background-color:blue;">Html Title</div>'
|