Skip to content

Commit

Permalink
Merge pull request #8355 from ballerina-platform/automate-bbes-38aff8…
Browse files Browse the repository at this point in the history
…6ad746435029a0737dcee42a5b9259520f

[Automated] Update Ballerina By Example(BBEs) pages
  • Loading branch information
sm1990 authored Nov 27, 2023
2 parents 38aff86 + fff6e2f commit fa1bd77
Show file tree
Hide file tree
Showing 276 changed files with 285 additions and 285 deletions.
2 changes: 1 addition & 1 deletion swan-lake/by-example/access-json-elements/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function AccessJsonElements({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/access-json-elements",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/access-optional-json-elements",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/aggregation/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function Aggregation({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/aggregation",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/alternate-wait/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function AlternateWait({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/alternate-wait",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/annotations/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function Annotations({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/annotations",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anonymous-function/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function AnonymousFunction({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/anonymous-function",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/any-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function AnyType({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/any-type",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anydata-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function AnydataType({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/anydata-type",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/array-map-symmetry/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function ArrayMapSymmetry({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/array-map-symmetry",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/arrays/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function Arrays({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/arrays",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/asynchronize-message-passing",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/asynchronous-function-calls",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/backtick-templates/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function BacktickTemplates({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/backtick-templates",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/binary-data/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function BinaryData({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/binary-data",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/binding-patterns-in-match-statement",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/binding-patterns/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function BindingPatterns({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/binding-patterns",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/boolean/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function Boolean({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/boolean",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/break-statement/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function BreakStatement({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/break-statement",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/built-in-integer-subtypes/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/built-in-integer-subtypes",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/built-in-string-subtype/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function BuiltInStringSubtype({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/built-in-string-subtype",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/cache-basics/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function CacheBasics({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/cache-basics",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/cache-invalidation/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function CacheInvalidation({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/cache-invalidation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/casting-json-to-user-defined-type",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/check-expression/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function CheckExpression({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/check-expression",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/check-semantics/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function CheckSemantics({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/check-semantics",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function CombiningIsolatedFunctionsAndLock({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/combining-isolated-functions-and-lock",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/commit-rollback-handlers/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function CommitRollbackHandlers({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/commit-rollback-handlers",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/computed-field-key/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function ComputedFieldKey({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/computed-field-key",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/const-and-final/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function ConstAndFinal({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/const-and-final",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/constraint-validations/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function ConstraintValidations({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/constraint-validations",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/consuming-services/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function ConsumingServices({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/consuming-services",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/continue-statement/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function ContinueStatement({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/continue-statement",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/controlling-openness/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function ControllingOpenness({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/controlling-openness",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function ConvertFromJsonToUserDefinedType({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/convert-from-json-to-user-defined-type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function ConvertingFromTableAndXmlToJson({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/converting-from-table-and-xml-to-json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function ConvertingFromUserDefinedTypeToJson({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/converting-from-user-defined-type-to-json",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/covariance/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function Covariance({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/covariance",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/create-maps-with-query/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function CreateMapsWithQuery({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/create-maps-with-query",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/create-streams-with-query/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function CreateStreamsWithQuery({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/create-streams-with-query",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/create-tables-with-query/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function CreateTablesWithQuery({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/create-tables-with-query",
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/decimal-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function DecimalType({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/decimal-type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function DefaultValuesForFunctionParameters({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/default-values-for-function-parameters",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function DefaultValuesForRecordFields({ codeSnippets }) {
>
<Col className="d-flex align-items-start" sm={12}>
<button
className="bg-transparent border-0 m-0 p-2"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.3/examples/default-values-for-record-fields",
Expand Down
Loading

0 comments on commit fa1bd77

Please sign in to comment.