-
-
-
- Default
- Success
- Warning
- Error
- Contrast
- Custom colours
-
-
-
-
-
-
- Default primary
- Success primary
- Warning primary
- Error primary
- Contrast primary
- Custom colours
-
-
-
-
-
-
- Default pill
- Success pill
- Warning pill
- Error pill
- Contrast pill
- Custom colours
-
-
-
-
-
-
-
- Default icon
-
-
- Success icon
-
-
- Warning icon
-
-
- Error icon
-
-
- Contrast icon
-
-
- Custom colours
-
-
-
-
-
-
-
-
-
-
- this._info()}>Default
- this._success()}>Success
- this._warning()}>Warning
- this._error()}>Error
- this._contrast()}>Contrast
- this._info()}>Custom colours
-
-
-
+
+
Tiny
+
+ Default
+ Success
+ Warning
+ Error
+ Contrast
+ Custom colors
+
+
+
Small
+
+ Default
+ Success
+ Warning
+ Error
+ Contrast
+ Custom colors
+
+
Primary
+
+ Default primary
+ Success primary
+ Warning primary
+ Error primary
+ Contrast primary
+ Custom colors
+
+
+
Pill
+
+ Default pill
+ Success pill
+ Warning pill
+ Error pill
+ Contrast pill
+ Custom colors
+
+
+
With Icon
+
+
+ Default icon
+
+
+ Success icon
+
+
+ Warning icon
+
+
+ Error icon
+
+
+ Contrast icon
+
+
+ Custom colors
+
+
+
+
Icon only
+
+
+
+
+
+
+
+
+
+
Clickable
+
+ Default
+ Success
+ Warning
+ Error
+ Contrast
+ Custom colors
+
+
----
-https://github.com/phillip-kruger/quarkus-jokes/blob/f572ed6f949de0c0b8cbfa99d7389ab5168fea65/deployment/src/main/resources/dev-ui/qwc-jokes-vaadin.js#L214[Example code]
-
====== Alert
Alerts are modeled around the Bootstrap alerts. Click https://getbootstrap.com/docs/4.0/components/alerts[here] for more info.
@@ -612,69 +601,62 @@ image::dev-ui-qui-alert-v2.png[alt=Dev UI Alert,role="center"]
[source,javascript]
----
-import 'qui-alert';
+import '@qomponent/qui-alert';
----
[source,html]
----
-
-
-
Info alert
-
Success alert
-
Warning alert
-
Error alert
-
-
Permanent Info alert
-
Permanent Success alert
-
Permanent Warning alert
-
Permanent Error alert
-
-
Center Info alert
-
Center Success alert
-
Center Warning alert
-
Center Error alert
-
-
Info alert with icon
-
Success alert with icon
-
Warning alert with icon
-
Error alert with icon
-
-
Info alert with custom icon
-
Success alert with custom icon
-
Warning alert with custom icon
-
Error alert with custom icon
-
-
Small Info alert with icon
-
Small Success alert with icon
-
Small Warning alert with icon
-
Small Error alert with icon
-
-
Info alert
with markup
quarkus.io
-
Success alert
with markup
quarkus.io
-
Warning alert
with markup
quarkus.io
-
Error alert
with markup
quarkus.io
-
-
Primary Info alert with icon
-
Primary Success alert with icon
-
Primary Warning alert with icon
-
Primary Error alert with icon
-
-
Info alert with title
-
Success alert with title
-
Warning alert with title
-
Error alert with title
-
-
Info alert with title and icon
-
Success alert with title and icon
-
Warning alert with title and icon
-
Error alert with title and icon
-
-
+
Info alert
+
Success alert
+
Warning alert
+
Error alert
+
+
Permanent Info alert
+
Permanent Success alert
+
Permanent Warning alert
+
Permanent Error alert
+
+
Center Info alert
+
Center Success alert
+
Center Warning alert
+
Center Error alert
+
+
Info alert with icon
+
Success alert with icon
+
Warning alert with icon
+
Error alert with icon
+
+
Info alert with custom icon
+
Success alert with custom icon
+
Warning alert with custom icon
+
Error alert with custom icon
+
+
Small Info alert with icon
+
Small Success alert with icon
+
Small Warning alert with icon
+
Small Error alert with icon
+
+
Info alert
with markup
quarkus.io
+
Success alert
with markup
quarkus.io
+
Warning alert
with markup
quarkus.io
+
Error alert
with markup
quarkus.io
+
+
Primary Info alert with icon
+
Primary Success alert with icon
+
Primary Warning alert with icon
+
Primary Error alert with icon
+
+
Info alert with title
+
Success alert with title
+
Warning alert with title
+
Error alert with title
+
+
Info alert with title and icon
+
Success alert with title and icon
+
Warning alert with title and icon
+
Error alert with title and icon
----
-https://github.com/phillip-kruger/quarkus-jokes/blob/f572ed6f949de0c0b8cbfa99d7389ab5168fea65/deployment/src/main/resources/dev-ui/qwc-jokes-vaadin.js#L316[Example code]
-
-
====== Code block
Display a code block. This component is aware of the theme and will use the correct codemirror theme to match the light/dark mode.
@@ -684,21 +666,18 @@ image::dev-ui-qui-code-block-v2.png[alt=Dev UI Code Block,role="center"]
[source,javascript]
----
-import '@quarkus-webcomponents/codeblock';
+import '@qomponent/qui-code-block';
----
[source,html]
----
-
-
-
-
;
+
+
+ foo = bar
+
+
----
-https://github.com/quarkusio/quarkus/blob/05800d2a74601247a465f91f50d18c4075fb7fe6/extensions/kubernetes/vanilla/deployment/src/main/resources/dev-ui/qwc-kubernetes-manifest.js#L102[Example code]
-
Or fetching the contents from a URL:
[source,html]
@@ -711,8 +690,6 @@ Or fetching the contents from a URL:
----
-https://github.com/quarkusio/quarkus/blob/05800d2a74601247a465f91f50d18c4075fb7fe6/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-external-page.js#L118[Example code]
-
To make sure that the code block adopt the correct code-mirror theme (based on the current one in Dev UI), you can do the following:
[source,javascript]
@@ -741,6 +718,21 @@ Now you can get the current theme, so add the `theme` property to your code bloc