Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
338 changes: 169 additions & 169 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-ui",
"version": "5.1.2-0",
"version": "5.1.2-1",
"description": "UI library for Solid applications",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -112,9 +112,9 @@
"escape-html": "^1.0.3",
"lit": "^3.3.3",
"mime-types": "^3.0.2",
"pane-registry": "5.1.3-0",
"pane-registry": "5.1.3-2",
"rdflib": "2.4.1",
"solid-logic": "6.2.2-0",
"solid-logic": "6.2.2-2",
"solid-namespace": "^0.5.4",
"uuid": "^14.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ export default class AccessControlAddAccess extends WebComponent {
}

private onPrincipalSelect (event: ComboboxChangeEvent) {
const option = event.detail.option as ComboboxOptionData & { targetKind?: 'origin' | 'trustedApp' }
const option = event.detail.option as ComboboxOptionData & {
subjectType?: PendingAccessGrant['subjectType']
targetKind?: 'origin' | 'trustedApp'
}
if (typeof option.value !== 'string') {
return
}
Expand All @@ -99,6 +102,7 @@ export default class AccessControlAddAccess extends WebComponent {
detail: {
value: option.value,
label: option.label,
subjectType: option.subjectType,
targetKind: option.targetKind
},
bubbles: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default class AccessControlGeneralAccess extends WebComponent {
})}
${this.renderGeneralShareRow({
title: 'Anyone with the Link',
description: 'Anyone on the internet with the link can view.',
description: 'The selected role applies to anyone on the internet with the link.',
variant: 'public'
})}
</section>
Expand Down
37 changes: 37 additions & 0 deletions src/components/access-control-modal/AccessControlModal.styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
:host {
.access-control-mode-confirmation {
box-sizing: border-box;
width: min(540px, calc(100vw - 32px));
max-height: calc(100dvh - 32px);
padding: 24px;
overflow: auto;
border: 1px solid var(--solid-ui-color-slate-200, #E2E8F0);
border-radius: 8px;
background: var(--solid-ui-color-white, #FFF);
color: var(--solid-ui-color-gray-600, #4A5565);

&::backdrop {
background: rgb(0 0 0 / 40%);
}

h2 {
margin: 0 0 12px;
font-size: var(--solid-ui-font-size-lg, 1.125rem);
}

p {
margin: 0;
line-height: 1.5;
}
}

.access-control-mode-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 20px;

solid-ui-button {
flex: 1 1 auto;
}
}

.access-control-sharing-state,
.access-control-contents-prompt {
box-sizing: border-box;
Expand Down
Loading
Loading