Skip to content

Commit

Permalink
feat: allow to pass a theme ARN or an overriding ThemeConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Jan 18, 2024
1 parent f135be2 commit 0d8f45a
Show file tree
Hide file tree
Showing 13 changed files with 1,336 additions and 36 deletions.
13 changes: 7 additions & 6 deletions docs/v-quicksight-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ All of the following properties are passed with their default values from the `a

**Additional and important properties**

| **property** | **type** | **required** | **default** | **description** |
|--------------|---------------|--------------|--------------------------------------------------------|---------------------------------------------------------------------------------------------|
| `container` | `string` | no | The default container created by the component itself. | The container where the `iframe` for embedding is created. |
| `dashboard` | `string` | no | - | The dashboard that should be displayed (it's watched and updated when the property changes) |
| `id` | `string` | no | `v-quicksight-dashboard-${nanoid(6)}` | The `id` for the created `iframe` container element (parent) |
| `parameters` | `Parameter[]` | no | `[]` | The parameters to be passed to the dashboard. |
| **property** | **type** | **required** | **default** | **description** |
|--------------|----------------------------------|--------------|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `container` | `string` | no | The default container created by the component itself. | The container where the `iframe` for embedding is created. |
| `dashboard` | `string` | no | - | The dashboard that should be displayed (it's watched and updated when the property changes) |
| `id` | `string` | no | `v-quicksight-dashboard-${nanoid(6)}` | The `id` for the created `iframe` container element (parent) |
| `parameters` | `Parameter[]` | no | `[]` | The parameters to be passed to the dashboard. |
| `theme` | `string` \| `ThemeConfiguration` | no | - | The Theme ARN to use or an overriding [`ThemeConfiguration`](https://docs.aws.amazon.com/de_de/quicksight/latest/APIReference/API_ThemeConfiguration.html) |


## Events
Expand Down
11 changes: 6 additions & 5 deletions docs/v-quicksight-visual.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ All of the following properties are passed with their default values from the `a

**Additional and important properties**

| **property** | **type** | **required** | **default** | **description** |
|--------------|---------------|--------------|--------------------------------------------------------|--------------------------------------------------------------|
| `container` | `string` | no | The default container created by the component itself. | The container where the `iframe` for embedding is created. |
| `id` | `string` | no | `v-quicksight-visual-${nanoid(6)}` | The `id` for the created `iframe` container element (parent) |
| `parameters` | `Parameter[]` | no | `[]` | The parameters to be passed to the visual. |
| **property** | **type** | **required** | **default** | **description** |
|--------------|----------------------------------|--------------|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `container` | `string` | no | The default container created by the component itself. | The container where the `iframe` for embedding is created. |
| `id` | `string` | no | `v-quicksight-visual-${nanoid(6)}` | The `id` for the created `iframe` container element (parent) |
| `parameters` | `Parameter[]` | no | `[]` | The parameters to be passed to the visual. |
| `theme` | `string` \| `ThemeConfiguration` | no | - | The Theme ARN to use or an overriding [`ThemeConfiguration`](https://docs.aws.amazon.com/de_de/quicksight/latest/APIReference/API_ThemeConfiguration.html) |

## Events

Expand Down
Loading

0 comments on commit 0d8f45a

Please sign in to comment.