Skip to content

Commit

Permalink
Merge pull request #454 from Esri/share-action
Browse files Browse the repository at this point in the history
set share as action
  • Loading branch information
jmhauck authored Dec 6, 2023
2 parents 247f6fe + 2e0f6f1 commit 1359aa8
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 34 deletions.
72 changes: 43 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@esri/arcgis-rest-service-admin": "^3.4.2",
"@esri/calcite-components": "2.0.0",
"@esri/calcite-design-tokens": "2.0.0",
"@esri/instant-apps-components": "1.0.0-beta.157",
"@esri/instant-apps-components": "1.0.0-beta.163",
"@esri/hub-common": "^12.37.1",
"@esri/hub-initiatives": "^12.4.1",
"@esri/hub-sites": "^12.6.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/crowdsource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ graph TD;
instant-apps-social-share --> calcite-popover
instant-apps-social-share --> calcite-button
instant-apps-social-share --> calcite-icon
instant-apps-social-share --> calcite-action
calcite-modal --> calcite-scrim
calcite-modal --> calcite-icon
instant-apps-filter-list --> calcite-panel
Expand Down
5 changes: 1 addition & 4 deletions src/components/layer-table/layer-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ vaadin-grid-cell-content {
.share-action {
position: absolute;
right: 0;
margin-top: 4px;
margin-inline-end: 4px;
margin-bottom: 4px;
}

html[dir="rtl"] .share-action {
Expand All @@ -125,6 +122,6 @@ html[dir="rtl"] .share-action {
}

.instant-app-share {
height: 42px !important;
height: 50px !important;
display: inline-flex;
}
1 change: 1 addition & 0 deletions src/components/layer-table/layer-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,7 @@ export class LayerTable {
ref={el => this._shareNode = el}
scale="m"
shareButtonColor="neutral"
shareButtonType="action"
socialMedia={this.shareIncludeSocial}
view={this.mapView}
/>
Expand Down
1 change: 1 addition & 0 deletions src/components/layer-table/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ graph TD;
instant-apps-social-share --> calcite-popover
instant-apps-social-share --> calcite-button
instant-apps-social-share --> calcite-icon
instant-apps-social-share --> calcite-action
calcite-modal --> calcite-scrim
calcite-modal --> calcite-icon
instant-apps-filter-list --> calcite-panel
Expand Down

0 comments on commit 1359aa8

Please sign in to comment.