Skip to content

Commit

Permalink
Logos - cleaning up and version release
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarParra committed Oct 8, 2023
1 parent dfe0b5a commit d474ab6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 11 deletions.
38 changes: 34 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1183,19 +1183,19 @@ by the `Expression` language.

### Unlocked Package (`expression` namespace)

[![Install Unlocked Package in a Sandbox](assets/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04tDm0000011MfyIAE)
[![Install Unlocked Package in Production](assets/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04tDm0000011MfyIAE)
[![Install Unlocked Package in a Sandbox](assets/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04tDm0000011Mg8IAE)
[![Install Unlocked Package in Production](assets/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04tDm0000011Mg8IAE)

Install with SF CLI:

```shell
sf package install --apex-compile package --wait 20 --package 04tDm0000011MfyIAE
sf package install --apex-compile package --wait 20 --package 04tDm0000011Mg8IAE
```

Install with SFDX CLI:

```shell
sfdx force:package:install --apexcompile package --wait 20 --package 04tDm0000011MfyIAE
sfdx force:package:install --apexcompile package --wait 20 --package 04tDm0000011Mg8IAE
```

## Components
Expand Down Expand Up @@ -1324,6 +1324,36 @@ in a community page.
}
```

### Logos

The `Logos` component allows you to display a list of logos. It can be used
to display a list of sponsors, partners, clients, etc.

Supports being placed in a community page.

#### Properties

- `Formula Expression` - The expression to evaluate. This expression should evaluate to a map with the following format:

##### Map Format

- `title` - The title to display.
- `logos` - List of logos to display. Each logo should be a map with the following format:
- `name` - The name of the logo.
- `src` - The URL of the image to display.

```json
{
"title": <<String value or expression>>,
"logos": [
{
"name": <<String value or expression>>,
"src": <<String value or expression>>
}
]
}
```

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.
Expand Down
3 changes: 0 additions & 3 deletions expression-components/main/ui/lwc/logos/logos.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<div class="bg-dxp-bg-root py-24 sm:py-32">
<div class="mx-auto max-w-7xl px-6 lg:px-8">
<h2 class="text-center text-lg font-semibold leading-8 text-gray-900">{computed.title}</h2>
<!-- <div-->
<!-- class="mx-auto mt-10 grid max-w-lg grid-cols-4 items-center place-content-center-->
<!-- gap-x-8 gap-y-10 sm:max-w-xl sm:grid-cols-6 sm:gap-x-10 lg:mx-0 lg:max-w-none lg:grid-cols-5">-->
<div
class="mx-auto mt-10 grid max-w-lg auto-cols-max grid-flow-row place-content-center items-center gap-x-8
gap-y-10 sm:max-w-xl sm:gap-x-10 md:grid-flow-col md:auto-cols-auto lg:mx-0 lg:max-w-none">
Expand Down
8 changes: 4 additions & 4 deletions sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"path": "expression-components",
"package": "Expression Components",
"versionName": "Version 0.2",
"versionNumber": "0.2.0.NEXT",
"versionName": "Version 0.3",
"versionNumber": "0.3.0.NEXT",
"default": false,
"dependencies": [
{
Expand All @@ -33,7 +33,7 @@
"Expression (Unlocked)": "0HoDm000000XZKSKA4",
"Expression Components": "0HoDm000000XZKhKAO",
"Expression (Unlocked)@1.11.0-1": "04tDm0000011MfoIAE",
"Expression Components@0.1.0-2": "04tDm0000011MftIAE",
"Expression Components@0.2.0-1": "04tDm0000011MfyIAE"
"Expression Components@0.2.0-1": "04tDm0000011MfyIAE",
"Expression Components@0.3.0-1": "04tDm0000011Mg8IAE"
}
}

0 comments on commit d474ab6

Please sign in to comment.