@dxos/shell 0.8.2-main.5ca3450 → 0.8.2-main.600d381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/shell.js +3771 -3730
- package/dist/bundle/shell.js.map +1 -1
- package/dist/bundle/shell.umd.cjs +28 -28
- package/dist/bundle/shell.umd.cjs.map +1 -1
- package/dist/bundle/style.css +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react.mjs +36 -33
- package/dist/lib/browser/react.mjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/react.cjs +32 -29
- package/dist/lib/node/react.cjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react.mjs +36 -33
- package/dist/lib/node-esm/react.mjs.map +3 -3
- package/dist/types/src/components/AgentConfig.d.ts.map +1 -1
- package/dist/types/src/components/AgentConfig.js +4 -9
- package/dist/types/src/components/AgentConfig.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.stories.js +1 -1
- package/dist/types/src/components/InvitationList/InvitationList.stories.js.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -1
- package/dist/types/src/components/InvitationList/InvitationListItem.js +8 -18
- package/dist/types/src/components/InvitationList/InvitationListItem.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.js +8 -18
- package/dist/types/src/panels/IdentityPanel/IdentityPanel.js.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -1
- package/dist/types/src/stories/Invitations.e2e-stories.js +1 -5
- package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -1
- package/dist/types/src/translations/locales/en-US.d.ts +2 -0
- package/dist/types/src/translations/locales/en-US.d.ts.map +1 -1
- package/dist/types/src/translations/locales/en-US.js +2 -0
- package/dist/types/src/translations/locales/en-US.js.map +1 -1
- package/package.json +26 -26
- package/src/components/AgentConfig.tsx +14 -18
- package/src/components/InvitationList/InvitationList.stories.tsx +1 -1
- package/src/components/InvitationList/InvitationListItem.tsx +30 -40
- package/src/panels/IdentityPanel/IdentityPanel.tsx +14 -32
- package/src/stories/Invitations.e2e-stories.tsx +1 -5
- package/src/translations/locales/en-US.ts +2 -0
|
@@ -125,40 +125,22 @@ const IdentityHeading = ({
|
|
|
125
125
|
value={identity.did}
|
|
126
126
|
/>
|
|
127
127
|
{onManageCredentials && (
|
|
128
|
-
<Tooltip.
|
|
129
|
-
<
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
<IdentificationCard className={getSize(5)} />
|
|
133
|
-
</Toolbar.Button>
|
|
134
|
-
</Tooltip.Trigger>
|
|
135
|
-
<Tooltip.Portal>
|
|
136
|
-
<Tooltip.Content side='bottom'>
|
|
137
|
-
{t('manage credentials label')}
|
|
138
|
-
<Tooltip.Arrow />
|
|
139
|
-
</Tooltip.Content>
|
|
140
|
-
</Tooltip.Portal>
|
|
141
|
-
</Tooltip.Root>
|
|
142
|
-
)}
|
|
143
|
-
<Tooltip.Root>
|
|
144
|
-
<Tooltip.Trigger asChild>
|
|
145
|
-
<Toolbar.Button
|
|
146
|
-
classNames={['bs-[--rail-action]', !isConnected && errorText]}
|
|
147
|
-
onClick={() =>
|
|
148
|
-
onChangeConnectionState?.(isConnected ? ConnectionState.OFFLINE : ConnectionState.ONLINE)
|
|
149
|
-
}
|
|
150
|
-
>
|
|
151
|
-
<span className='sr-only'>{t(isConnected ? 'disconnect label' : 'connect label')}</span>
|
|
152
|
-
{isConnected ? <PlugsConnected className={getSize(5)} /> : <Plugs className={getSize(5)} />}
|
|
128
|
+
<Tooltip.Trigger asChild content={t('manage credentials label')} side='bottom'>
|
|
129
|
+
<Toolbar.Button classNames='bs-[--rail-action]' onClick={onManageCredentials}>
|
|
130
|
+
<span className='sr-only'>{t('manage credentials label')}</span>
|
|
131
|
+
<IdentificationCard className={getSize(5)} />
|
|
153
132
|
</Toolbar.Button>
|
|
154
133
|
</Tooltip.Trigger>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
134
|
+
)}
|
|
135
|
+
<Tooltip.Trigger asChild content={t(isConnected ? 'disconnect label' : 'connect label')} side='bottom'>
|
|
136
|
+
<Toolbar.Button
|
|
137
|
+
classNames={['bs-[--rail-action]', !isConnected && errorText]}
|
|
138
|
+
onClick={() => onChangeConnectionState?.(isConnected ? ConnectionState.OFFLINE : ConnectionState.ONLINE)}
|
|
139
|
+
>
|
|
140
|
+
<span className='sr-only'>{t(isConnected ? 'disconnect label' : 'connect label')}</span>
|
|
141
|
+
{isConnected ? <PlugsConnected className={getSize(5)} /> : <Plugs className={getSize(5)} />}
|
|
142
|
+
</Toolbar.Button>
|
|
143
|
+
</Tooltip.Trigger>
|
|
162
144
|
</Toolbar.Root>
|
|
163
145
|
</Avatar.Root>
|
|
164
146
|
</Heading>
|
|
@@ -228,11 +228,7 @@ export const Default = {
|
|
|
228
228
|
</Clipboard.Provider>
|
|
229
229
|
);
|
|
230
230
|
},
|
|
231
|
-
decorators: [
|
|
232
|
-
withMultiClientProvider({ numClients: 3 }),
|
|
233
|
-
withLayout({ tooltips: true, classNames: 'grid grid-cols-3' }),
|
|
234
|
-
withTheme,
|
|
235
|
-
],
|
|
231
|
+
decorators: [withMultiClientProvider({ numClients: 3 }), withLayout({ classNames: 'grid grid-cols-3' }), withTheme],
|
|
236
232
|
parameters: {
|
|
237
233
|
chromatic: { disableSnapshot: true },
|
|
238
234
|
translations: [osTranslations],
|
|
@@ -119,6 +119,8 @@ export const os = {
|
|
|
119
119
|
'select emoji label': 'Avatar emoji',
|
|
120
120
|
'select hue label': 'Avatar background color',
|
|
121
121
|
'resetting message': 'One moment while the device is reset…',
|
|
122
|
+
'expires label': 'Expires {{timeLeft}}',
|
|
123
|
+
'no expiration label': 'Doesn’t expire',
|
|
122
124
|
|
|
123
125
|
// TODO(burdon): Factor out.
|
|
124
126
|
'red label': 'Red',
|