From 71f181b544ad84bea4086d4921d946517e658b48 Mon Sep 17 00:00:00 2001 From: Ophir Lojkine Date: Sat, 28 Nov 2026 23:46:33 +0000 Subject: [PATCH] Move navigation and status references to Markdown --- .../content/components/breadcrumb.md | 26 ++++ .../breadcrumb/examples/01-basic.md | 12 ++ .../breadcrumb/examples/02-selected-page.md | 15 ++ .../content/components/status_bar.md | 37 +++++ .../status_bar/examples/01-query-workspace.md | 16 +++ .../official-site/content/components/steps.md | 40 ++++++ .../components/steps/examples/01-checkout.md | 11 ++ .../steps/examples/02-progress-indicator.md | 27 ++++ .../official-site/content/components/tab.md | 43 ++++++ .../components/tab/examples/01-basic.md | 35 +++++ .../tab/examples/02-centered-icons.md | 18 +++ .../sqlpage/migrations/01_documentation.sql | 27 ---- .../sqlpage/migrations/13_tab.sql | 130 ------------------ .../migrations/30_breadcrumb_component.sql | 76 ---------- .../sqlpage/migrations/80_status_bar.sql | 23 ---- .../migrations/82_reference_catalog.sql | 4 - .../99_shared_id_class_attributes.sql | 15 -- 17 files changed, 280 insertions(+), 275 deletions(-) create mode 100644 examples/official-site/content/components/breadcrumb.md create mode 100644 examples/official-site/content/components/breadcrumb/examples/01-basic.md create mode 100644 examples/official-site/content/components/breadcrumb/examples/02-selected-page.md create mode 100644 examples/official-site/content/components/status_bar.md create mode 100644 examples/official-site/content/components/status_bar/examples/01-query-workspace.md create mode 100644 examples/official-site/content/components/steps.md create mode 100644 examples/official-site/content/components/steps/examples/01-checkout.md create mode 100644 examples/official-site/content/components/steps/examples/02-progress-indicator.md create mode 100644 examples/official-site/content/components/tab.md create mode 100644 examples/official-site/content/components/tab/examples/01-basic.md create mode 100644 examples/official-site/content/components/tab/examples/02-centered-icons.md delete mode 100644 examples/official-site/sqlpage/migrations/13_tab.sql delete mode 100644 examples/official-site/sqlpage/migrations/30_breadcrumb_component.sql delete mode 100644 examples/official-site/sqlpage/migrations/80_status_bar.sql diff --git a/examples/official-site/content/components/breadcrumb.md b/examples/official-site/content/components/breadcrumb.md new file mode 100644 index 000000000..4f7630508 --- /dev/null +++ b/examples/official-site/content/components/breadcrumb.md @@ -0,0 +1,26 @@ +--- +icon: dots +since: 0.18.0 +category: navigation +summary: Link the current page to its parent pages. +top: + - class + - id +row: + - name: active + type: TEXT + description: Whether the link is active or not. Defaults to false. + - name: description + type: TEXT + description: Description of the link. This is displayed when the user hovers over the link. + - name: link + type: TEXT + description: Link to the page to display when the link is clicked. By default, the link refers to the current + page, with a 'link' parameter set to the link's title. + - name: title + type: TEXT + required: true + description: Hyperlink text to display. +--- + +A secondary navigation aid that helps users understand their location on a website or mobile application. diff --git a/examples/official-site/content/components/breadcrumb/examples/01-basic.md b/examples/official-site/content/components/breadcrumb/examples/01-basic.md new file mode 100644 index 000000000..4de79d141 --- /dev/null +++ b/examples/official-site/content/components/breadcrumb/examples/01-basic.md @@ -0,0 +1,12 @@ +--- +rows: + - component: breadcrumb + - title: Home + link: / + - title: Components + link: /documentation.sql + - title: Breadcrumb + link: ?component=breadcrumb +--- + +Basic usage of the breadcrumb component diff --git a/examples/official-site/content/components/breadcrumb/examples/02-selected-page.md b/examples/official-site/content/components/breadcrumb/examples/02-selected-page.md new file mode 100644 index 000000000..5a87fe176 --- /dev/null +++ b/examples/official-site/content/components/breadcrumb/examples/02-selected-page.md @@ -0,0 +1,15 @@ +--- +rows: + - component: breadcrumb + - title: Home + link: / + active: true + - title: Articles + link: /blog.sql + description: Stay informed with the latest news + - title: JSON in SQL + link: /blog.sql?post=JSON%20in%20SQL%3A%20A%20Comprehensive%20Guide + description: Learn advanced json functions for MySQL, SQLite, PostgreSQL, and SQL Server +--- + +Description of a link and selection of the current page. diff --git a/examples/official-site/content/components/status_bar.md b/examples/official-site/content/components/status_bar.md new file mode 100644 index 000000000..e51cbf03a --- /dev/null +++ b/examples/official-site/content/components/status_bar.md @@ -0,0 +1,37 @@ +--- +icon: layout-bottombar +since: 0.49.0 +category: navigation +summary: Show status messages and links in a horizontal bar. +top: + - class + - name: fixed + type: BOOLEAN + description: Keep the bar at the bottom of the screen while the page scrolls. Defaults to true. A fixed + bar overlays page content, so leave space below your last item if needed. Set to false to place the bar + in the page where the SQL appears. + - id + - name: label + type: TEXT + description: Accessible name for the bar. Defaults to "Status bar". +row: + - class + - name: color + type: COLOR + description: Color of the segment text and icon. + - name: icon + type: ICON + description: Icon displayed before the text. + - name: link + type: URL + description: URL to open when the segment is clicked. + - name: title + type: TEXT + description: Text displayed in the segment. + - name: tooltip + type: TEXT + description: Text shown when hovering over the segment or focusing its link. For an icon without a title, + supply a tooltip to give the segment an accessible name. +--- + +Display short status messages and links in a single horizontal bar. Each row adds one segment. When there are several segments, the last one aligns to the far edge. If the segments do not all fit, scroll the bar horizontally to see the rest. diff --git a/examples/official-site/content/components/status_bar/examples/01-query-workspace.md b/examples/official-site/content/components/status_bar/examples/01-query-workspace.md new file mode 100644 index 000000000..c414aa8e7 --- /dev/null +++ b/examples/official-site/content/components/status_bar/examples/01-query-workspace.md @@ -0,0 +1,16 @@ +--- +rows: + - component: status_bar + label: Query status + fixed: false + - title: Connected + icon: database + color: green + tooltip: Connected to the reporting database + - title: 24 rows + - title: SQL functions + icon: book + link: /functions.sql +--- + +A query workspace shows the database connection, row count, and a link to the function reference. Omit `fixed` to pin this bar to the bottom of the screen. diff --git a/examples/official-site/content/components/steps.md b/examples/official-site/content/components/steps.md new file mode 100644 index 000000000..3a62986ad --- /dev/null +++ b/examples/official-site/content/components/steps.md @@ -0,0 +1,40 @@ +--- +icon: dots-circle-horizontal +category: navigation +summary: Mark progress through the stages of a task. +top: + - name: color + type: COLOR + description: Color of the bars displayed between steps. + - name: counter + type: TEXT + description: Display the number of the step on top of its name. + - name: description + type: TEXT + description: Description of the section. + - name: id + type: TEXT + description: id attribute injected as an anchor in HTML. It can be used for scrolling to this item through + links (use "#id" in link url). Added in v0.18.0. + - name: title + type: TEXT + description: Title of the section. +row: + - name: active + type: BOOLEAN + description: Whether this item in the grid is considered "active". Active items are displayed more prominently. + - name: description + type: TEXT + description: Tooltip to display when the user passes their mouse over the step's name. + - name: icon + type: ICON + description: An icon name (from tabler-icons.io) to display on the left side of the step name. + - name: link + type: URL + description: A target URL to which the user should be taken when they click on the step. + - name: title + type: TEXT + description: Name of the step. +--- + +Guide users through multi-stage processes, displaying a clear list of previous and future steps. diff --git a/examples/official-site/content/components/steps/examples/01-checkout.md b/examples/official-site/content/components/steps/examples/01-checkout.md new file mode 100644 index 000000000..454d71979 --- /dev/null +++ b/examples/official-site/content/components/steps/examples/01-checkout.md @@ -0,0 +1,11 @@ +--- +rows: + - component: steps + - title: Shopping + - title: Store pickup + - title: Payment + active: true + - title: Review & Order +--- + +Online store checkout steps. diff --git a/examples/official-site/content/components/steps/examples/02-progress-indicator.md b/examples/official-site/content/components/steps/examples/02-progress-indicator.md new file mode 100644 index 000000000..e448c2a2c --- /dev/null +++ b/examples/official-site/content/components/steps/examples/02-progress-indicator.md @@ -0,0 +1,27 @@ +--- +rows: + - component: steps + counter: true + color: purple + - title: Registration form + icon: forms + link: https://github.com/sqlpage/SQLPage + description: Initial account data creation. + - title: Email confirmation + icon: mail + link: https://sql-page.com + description: Confirm your email by clicking on a link in a validation email. + - title: ID verification + description: Checking personal information + icon: user + link: '#' + - title: Final account approval + description: ophir.dev + link: https://ophir.dev/ + icon: eye-check + active: true + - title: Account creation + icon: check +--- + +A progress indicator with custom color, auto-generated step numbers, icons, and description tooltips. diff --git a/examples/official-site/content/components/tab.md b/examples/official-site/content/components/tab.md new file mode 100644 index 000000000..a08986583 --- /dev/null +++ b/examples/official-site/content/components/tab.md @@ -0,0 +1,43 @@ +--- +icon: row-insert-bottom +since: 0.9.5 +category: navigation +summary: Switch between related pages using labeled tabs. +top: + - name: center + type: BOOLEAN + description: Whether the tabs should be centered or not. Defaults to false. + - class + - id +row: + - name: active + type: BOOLEAN + description: Whether the tab is active or not. Defaults to false. + - name: center + type: BOOLEAN + description: Whether this individual tab's label should be centered inside the tab. Defaults to false. + - class + - name: color + type: TEXT + description: Color of the tab's text, and of its underline when it is active. See preview.tabler.io/colors.html + for a list of available colors. + - name: description + type: TEXT + description: Description of the tab. This is displayed when the user hovers over the tab. + - name: icon + type: TEXT + description: Name of the icon to display on the tab. See tabler-icons.io for a list of available icons. + - id + - name: link + type: TEXT + description: Link to the page to display when the tab is clicked. By default, the link refers to the current + page, with a 'tab' parameter set to the tab's title and hash set to the id (if passed) - this brings + us back to the location of the tab after submission. + - name: title + type: TEXT + required: true + description: Text to display on the tab. If link is not set, the link will be the current page with a '$tab' + parameter set to the tab's title. If 'id' is set, the page will be scrolled to the tab. +--- + +Build a tabbed interface, with each tab being a link to a page. Each tab can be in two states: active or inactive. diff --git a/examples/official-site/content/components/tab/examples/01-basic.md b/examples/official-site/content/components/tab/examples/01-basic.md new file mode 100644 index 000000000..0eefb19ff --- /dev/null +++ b/examples/official-site/content/components/tab/examples/01-basic.md @@ -0,0 +1,35 @@ +--- +rows: + - component: tab + - title: This tab does not exist + active: true + link: ?component=tab&tab=tab_1 + - title: I am not a true tab + link: ?component=tab&tab=tab_2 + - title: Do not click here + link: ?component=tab&tab=tab_3 +--- + +This example shows a very basic set of three tabs. The first tab is active. You could use this at the top of a page for easy navigation. + +To implement contents that change based on the active tab, use the `tab` parameter in the page query string. +For example, if the page is `/my-page.sql`, then the first tab will have a link of `/my-page.sql?tab=My+First+tab`. + +You could then for instance display contents coming from the database based on the value of the `tab` parameter. +For instance: `SELECT 'text' AS component, contents_md FROM my_page_contents WHERE tab = $tab`. +Or you could write different queries for different tabs and use the `$tab` parameter with a static value in a where clause to switch between tabs: + +```sql +set tab = coalesce($tab, 'Projects'); +select 'tab' as component; +select 'Projects' as title, $tab = 'Projects' as active; +select 'Tasks' as title, $tab = 'Tasks' as active; + +select 'table' as component; + +select * from my_projects where $tab = 'Projects'; +select * from my_tasks where $tab = 'Tasks'; +``` + +Note that the example below is completely static, and does not use the `tab` parameter to actually switch between tabs. +The query above defaults to Projects on the first visit; the links then select either `?tab=Projects` or `?tab=Tasks`. diff --git a/examples/official-site/content/components/tab/examples/02-centered-icons.md b/examples/official-site/content/components/tab/examples/02-centered-icons.md new file mode 100644 index 000000000..6e3c3b83b --- /dev/null +++ b/examples/official-site/content/components/tab/examples/02-centered-icons.md @@ -0,0 +1,18 @@ +--- +rows: + - component: tab + center: true + - title: Hero + link: ?component=hero#component + icon: home + description: The hero component is a full-width banner with a title and an image. + - title: Tab + link: ?component=tab#component + icon: user + color: purple + - title: Card + link: ?component=card#component + icon: credit-card +--- + +This example shows a more sophisticated set of tabs. The tabs are centered, the active tab has a different color, and all the tabs have a custom link and icon. diff --git a/examples/official-site/sqlpage/migrations/01_documentation.sql b/examples/official-site/sqlpage/migrations/01_documentation.sql index b4e9aec4b..d925b1654 100644 --- a/examples/official-site/sqlpage/migrations/01_documentation.sql +++ b/examples/official-site/sqlpage/migrations/01_documentation.sql @@ -138,33 +138,6 @@ INSERT INTO example(component, description, properties) VALUES {"title": "Encyclopedia", "link":"https://wikipedia.org", "description": "Wikipedia", "color": "blue", "icon":"world", "footer": "Owned by the Wikimedia Foundation"} ]')); - -INSERT INTO component(name, icon, description) VALUES - ('steps', 'dots-circle-horizontal', 'Guide users through multi-stage processes, displaying a clear list of previous and future steps.'); -INSERT INTO parameter(component, name, description, type, top_level, optional) SELECT 'steps', * FROM (VALUES - -- top level - ('color', 'Color of the bars displayed between steps.', 'COLOR', TRUE, TRUE), - ('counter', 'Display the number of the step on top of its name.', 'TEXT', TRUE, TRUE), - ('title', 'Title of the section.', 'TEXT', TRUE, TRUE), - ('description', 'Description of the section.', 'TEXT', TRUE, TRUE), - -- item level - ('title', 'Name of the step.', 'TEXT', FALSE, TRUE), - ('description', 'Tooltip to display when the user passes their mouse over the step''s name.', 'TEXT', FALSE, TRUE), - ('link', 'A target URL to which the user should be taken when they click on the step.', 'URL', FALSE, TRUE), - ('icon', 'An icon name (from tabler-icons.io) to display on the left side of the step name.', 'ICON', FALSE, TRUE), - ('active', 'Whether this item in the grid is considered "active". Active items are displayed more prominently.', 'BOOLEAN', FALSE, TRUE) -) x; - -INSERT INTO example(component, description, properties) VALUES - ('steps', 'Online store checkout steps.', json('[{"component":"steps"},{"title":"Shopping"},{"title":"Store pickup"}, {"title":"Payment","active":true},{"title":"Review & Order"}]')), - ('steps', 'A progress indicator with custom color, auto-generated step numbers, icons, and description tooltips.', - json('[{"component":"steps", "counter": true, "color":"purple"}, '|| - '{"title": "Registration form", "icon":"forms", "link": "https://github.com/sqlpage/SQLPage", "description": "Initial account data creation."},' || - '{"title": "Email confirmation", "icon": "mail", "link": "https://sql-page.com", "description": "Confirm your email by clicking on a link in a validation email."},' || - '{"title": "ID verification", "description": "Checking personal information", "icon": "user", "link": "#"},' || - '{"title": "Final account approval", "description": "ophir.dev", "link": "https://ophir.dev/", "icon":"eye-check", "active": true},' || - '{"title":"Account creation", "icon":"check"}]')); - INSERT INTO component(name, icon, description) VALUES ('chart', 'timeline', 'A component that plots data. Line, area, bar, and pie charts are all supported. Each item in the component is a data point in the graph.'); diff --git a/examples/official-site/sqlpage/migrations/13_tab.sql b/examples/official-site/sqlpage/migrations/13_tab.sql deleted file mode 100644 index 1fd5ad472..000000000 --- a/examples/official-site/sqlpage/migrations/13_tab.sql +++ /dev/null @@ -1,130 +0,0 @@ -INSERT INTO component (name, description, icon, introduced_in_version) -VALUES ( - 'tab', - 'Build a tabbed interface, with each tab being a link to a page. Each tab can be in two states: active or inactive.', - 'row-insert-bottom', - '0.9.5' - ); -INSERT INTO parameter ( - component, - name, - description, - type, - top_level, - optional - ) -VALUES ( - 'tab', - 'title', - 'Text to display on the tab. If link is not set, the link will be the current page with a ''$tab'' parameter set to the tab''s title. If ''id'' is set, the page will be scrolled to the tab.', - 'TEXT', - FALSE, - FALSE - ), - ( - 'tab', - 'link', - 'Link to the page to display when the tab is clicked. By default, the link refers to the current page, with a ''tab'' parameter set to the tab''s title and hash set to the id (if passed) - this brings us back to the location of the tab after submission.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'tab', - 'active', - 'Whether the tab is active or not. Defaults to false.', - 'BOOLEAN', - FALSE, - TRUE - ), - ( - 'tab', - 'icon', - 'Name of the icon to display on the tab. See tabler-icons.io for a list of available icons.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'tab', - 'color', - 'Color of the tab''s text, and of its underline when it is active. See preview.tabler.io/colors.html for a list of available colors.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'tab', - 'description', - 'Description of the tab. This is displayed when the user hovers over the tab.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'tab', - 'center', - 'Whether the tabs should be centered or not. Defaults to false.', - 'BOOLEAN', - TRUE, - TRUE - ), - ( - 'tab', - 'center', - 'Whether this individual tab''s label should be centered inside the tab. Defaults to false.', - 'BOOLEAN', - FALSE, - TRUE - ) - ; - -INSERT INTO example (component, description, properties) -VALUES ( - 'tab', - 'This example shows a very basic set of three tabs. The first tab is active. You could use this at the top of a page for easy navigation. - -To implement contents that change based on the active tab, use the `tab` parameter in the page query string. -For example, if the page is `/my-page.sql`, then the first tab will have a link of `/my-page.sql?tab=My+First+tab`. - -You could then for instance display contents coming from the database based on the value of the `tab` parameter. -For instance: `SELECT ''text'' AS component, contents_md FROM my_page_contents WHERE tab = $tab`. -Or you could write different queries for different tabs and use the `$tab` parameter with a static value in a where clause to switch between tabs: - -```sql -set tab = coalesce($tab, ''Projects''); -select ''tab'' as component; -select ''Projects'' as title, $tab = ''Projects'' as active; -select ''Tasks'' as title, $tab = ''Tasks'' as active; - -select ''table'' as component; - -select * from my_projects where $tab = ''Projects''; -select * from my_tasks where $tab = ''Tasks''; -``` - -Note that the example below is completely static, and does not use the `tab` parameter to actually switch between tabs. -The query above defaults to Projects on the first visit; the links then select either `?tab=Projects` or `?tab=Tasks`. -', - JSON( - '[ - { "component": "tab" }, - { "title": "This tab does not exist", "active": true, "link": "?component=tab&tab=tab_1" }, - { "title": "I am not a true tab", "link": "?component=tab&tab=tab_2" }, - { "title": "Do not click here", "link": "?component=tab&tab=tab_3" } - ]' - ) - ), - ( - 'tab', - 'This example shows a more sophisticated set of tabs. The tabs are centered, the active tab has a different color, and all the tabs have a custom link and icon.', - JSON( - '[ - { "component": "tab", "center": true }, - { "title": "Hero", "link": "?component=hero#component", "icon": "home", "description": "The hero component is a full-width banner with a title and an image." }, - { "title": "Tab", "link": "?component=tab#component", "icon": "user", "color": "purple" }, - { "title": "Card", "link": "?component=card#component", "icon": "credit-card" } - ]' - ) - ) - ; diff --git a/examples/official-site/sqlpage/migrations/30_breadcrumb_component.sql b/examples/official-site/sqlpage/migrations/30_breadcrumb_component.sql deleted file mode 100644 index 6ec48379a..000000000 --- a/examples/official-site/sqlpage/migrations/30_breadcrumb_component.sql +++ /dev/null @@ -1,76 +0,0 @@ -INSERT INTO component (name, description, icon, introduced_in_version) -VALUES ( - 'breadcrumb', - 'A secondary navigation aid that helps users understand their location on a website or mobile application.', - 'dots', - '0.18.0' - ); - -INSERT INTO parameter ( - component, - name, - description, - type, - top_level, - optional - ) - VALUES ( - 'breadcrumb', - 'title', - 'Hyperlink text to display.', - 'TEXT', - FALSE, - FALSE - ), - ( - 'breadcrumb', - 'link', - 'Link to the page to display when the link is clicked. By default, the link refers to the current page, with a ''link'' parameter set to the link''s title.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'breadcrumb', - 'active', - 'Whether the link is active or not. Defaults to false.', - 'TEXT', - FALSE, - TRUE - ), - ( - 'breadcrumb', - 'description', - 'Description of the link. This is displayed when the user hovers over the link.', - 'TEXT', - FALSE, - TRUE - ); - --- Insert example(s) for the component -INSERT INTO example(component, description, properties) -VALUES - ( - 'breadcrumb', - 'Basic usage of the breadcrumb component', - JSON( - '[ - {"component":"breadcrumb"}, - {"title":"Home","link":"/"}, - {"title":"Components", "link":"/documentation.sql"}, - {"title":"Breadcrumb", "link":"?component=breadcrumb"} - ]' - ) - ), - ( - 'breadcrumb', - 'Description of a link and selection of the current page.', - JSON( - '[ - {"component":"breadcrumb"}, - {"title":"Home","link":"/","active": true}, - {"title":"Articles","link":"/blog.sql","description":"Stay informed with the latest news"}, - {"title":"JSON in SQL","link":"/blog.sql?post=JSON%20in%20SQL%3A%20A%20Comprehensive%20Guide", "description": "Learn advanced json functions for MySQL, SQLite, PostgreSQL, and SQL Server" } - ]' - ) - ); diff --git a/examples/official-site/sqlpage/migrations/80_status_bar.sql b/examples/official-site/sqlpage/migrations/80_status_bar.sql deleted file mode 100644 index 9a4ce68d6..000000000 --- a/examples/official-site/sqlpage/migrations/80_status_bar.sql +++ /dev/null @@ -1,23 +0,0 @@ -INSERT INTO component(name, icon, description, introduced_in_version) VALUES - ('status_bar', 'layout-bottombar', - 'Display short status messages and links in a single horizontal bar. Each row adds one segment. When there are several segments, the last one aligns to the far edge. If the segments do not all fit, scroll the bar horizontally to see the rest.', - '0.49.0'); - -INSERT INTO parameter(component, name, description, type, top_level, optional) -SELECT 'status_bar', * FROM (VALUES - ('fixed', 'Keep the bar at the bottom of the screen while the page scrolls. Defaults to true. A fixed bar overlays page content, so leave space below your last item if needed. Set to false to place the bar in the page where the SQL appears.', 'BOOLEAN', TRUE, TRUE), - ('label', 'Accessible name for the bar. Defaults to "Status bar".', 'TEXT', TRUE, TRUE), - ('title', 'Text displayed in the segment.', 'TEXT', FALSE, TRUE), - ('icon', 'Icon displayed before the text.', 'ICON', FALSE, TRUE), - ('color', 'Color of the segment text and icon.', 'COLOR', FALSE, TRUE), - ('tooltip', 'Text shown when hovering over the segment or focusing its link. For an icon without a title, supply a tooltip to give the segment an accessible name.', 'TEXT', FALSE, TRUE), - ('link', 'URL to open when the segment is clicked.', 'URL', FALSE, TRUE) -) p; - -INSERT INTO example(component, description, properties) VALUES - ('status_bar', 'A query workspace shows the database connection, row count, and a link to the function reference. Omit `fixed` to pin this bar to the bottom of the screen.', json('[ - {"component":"status_bar","label":"Query status","fixed":false}, - {"title":"Connected","icon":"database","color":"green","tooltip":"Connected to the reporting database"}, - {"title":"24 rows"}, - {"title":"SQL functions","icon":"book","link":"/functions.sql"} - ]')); diff --git a/examples/official-site/sqlpage/migrations/82_reference_catalog.sql b/examples/official-site/sqlpage/migrations/82_reference_catalog.sql index bd93b715f..4125006fe 100644 --- a/examples/official-site/sqlpage/migrations/82_reference_catalog.sql +++ b/examples/official-site/sqlpage/migrations/82_reference_catalog.sql @@ -38,12 +38,8 @@ WITH copy(name, category, summary) AS (VALUES ('tracking', 'display-data', 'Show a sequence of activity or status changes as colored segments.'), - ('breadcrumb', 'navigation', 'Link the current page to its parent pages.'), ('facet', 'navigation', 'Let readers choose filters for a dataset.'), ('pagination', 'navigation', 'Link to other pages of a query result.'), - ('status_bar', 'navigation', 'Show status messages and links in a horizontal bar.'), - ('steps', 'navigation', 'Mark progress through the stages of a task.'), - ('tab', 'navigation', 'Switch between related pages using labeled tabs.'), ('hero', 'page-layout', 'Introduce a page with a headline, media, and a call to action.'), diff --git a/examples/official-site/sqlpage/migrations/99_shared_id_class_attributes.sql b/examples/official-site/sqlpage/migrations/99_shared_id_class_attributes.sql index 4bfaba4fe..106b7b905 100644 --- a/examples/official-site/sqlpage/migrations/99_shared_id_class_attributes.sql +++ b/examples/official-site/sqlpage/migrations/99_shared_id_class_attributes.sql @@ -15,7 +15,6 @@ SELECT *, 'id', 'id attribute added to the container in HTML. It can be used to FROM (VALUES ('big_number', TRUE), ('big_number', FALSE), - ('breadcrumb', TRUE), ('card', FALSE), ('chart', TRUE), ('csv', TRUE), @@ -25,9 +24,6 @@ FROM (VALUES ('list', TRUE), ('list', FALSE), ('map', TRUE), - ('status_bar', TRUE), - ('tab', TRUE), - ('tab', FALSE), ('table', TRUE), ('timeline', TRUE), ('timeline', FALSE), @@ -37,18 +33,11 @@ FROM (VALUES ('facet', TRUE) ); -INSERT INTO parameter(component, top_level, name, description, type, optional) -SELECT *, 'id', 'id attribute injected as an anchor in HTML. It can be used for scrolling to this item through links (use "#id" in link url). Added in v0.18.0.', 'TEXT', TRUE -FROM (VALUES - ('steps', TRUE) -); - INSERT INTO parameter(component, top_level, name, description, type, optional) SELECT *, 'class', 'class attribute added to the container in HTML. It can be used to apply custom styling to this item through css. Added in v0.18.0.', 'TEXT', TRUE FROM (VALUES ('big_number', TRUE), ('big_number', FALSE), - ('breadcrumb', TRUE), ('card', TRUE), ('card', FALSE), ('chart', TRUE), @@ -57,10 +46,6 @@ FROM (VALUES ('list', TRUE), ('list', FALSE), ('map', TRUE), - ('status_bar', TRUE), - ('status_bar', FALSE), - ('tab', TRUE), - ('tab', FALSE), ('table', TRUE), ('timeline', TRUE), ('timeline', FALSE),