@@ -83,7 +83,8 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
83
83
(' link' , ' A target URL to which the user should be taken when they click on the value.' , ' URL' , FALSE, TRUE),
84
84
(' icon' , ' An icon name (from tabler-icons.io) to display on the left side of the value.' , ' ICON' , FALSE, TRUE),
85
85
(' color' , ' If set to a color name, the value will be displayed in a pill of that color.' , ' COLOR' , FALSE, TRUE),
86
- (' active' , ' Whether this item in the grid is considered "active". Active items are displayed more prominently.' , ' BOOLEAN' , FALSE, TRUE)
86
+ (' active' , ' Whether this item in the grid is considered "active". Active items are displayed more prominently.' , ' BOOLEAN' , FALSE, TRUE),
87
+ (' tooltip' , ' A tooltip to display when the user passes their mouse over the value.' , ' TEXT' , FALSE, TRUE)
87
88
) x;
88
89
89
90
INSERT INTO example(component, description, properties) VALUES
@@ -92,8 +93,8 @@ INSERT INTO example(component, description, properties) VALUES
92
93
json(' [{"component":"datagrid", "title": "Ophir Lojkine", "image_url": "https://avatars.githubusercontent.com/u/552629", "description_md": "Member since **2021**"},
93
94
{"title": "Pseudo", "description": "lovasoa", "image_url": "https://avatars.githubusercontent.com/u/552629" },
94
95
{"title": "Status", "description": "Active", "color": "green"},
95
- {"title": "Email Status", "description": "Validated", "icon": "check", "active": true},
96
- {"title": "Personal page", "description": "ophir.dev", "link": "https://ophir.dev/"}
96
+ {"title": "Email Status", "description": "Validated", "icon": "check", "active": true, "tooltip": "Email address has been validated." },
97
+ {"title": "Personal page", "description": "ophir.dev", "link": "https://ophir.dev/", "tooltip": "About me" }
97
98
]' )),
98
99
(' datagrid' , ' Using a picture in the data grid card header.' , json(' [
99
100
{"component":"datagrid", "title": "Website Ideas", "icon": "bulb"},
0 commit comments