chore: import upstream snapshot with attribution
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / hurl (${{ matrix.example }}) (push) Has been skipped
CI / docker_push (duckdb) (push) Has been cancelled
CI / docker_push (minimal) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / hurl (${{ matrix.example }}) (push) Has been skipped
CI / docker_push (duckdb) (push) Has been cancelled
CI / docker_push (minimal) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
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" }
|
||||
]'
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user