@jini-ai/admin 0.4.11 → 0.4.13
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/CHANGELOG.md +9 -0
- package/dist/agent-plugins/controllers/agent-plugin-files.controller.js +14 -9
- package/dist/agent-plugins/controllers/agent-plugins.controller.js +12 -9
- package/dist/agent-plugins/package-file-tree.js +54 -51
- package/dist/agent-plugins/react/components/AgentPluginRow.d.ts +1 -1
- package/dist/agent-plugins/react/components/AgentPluginRow.js +9 -2
- package/dist/agent-plugins/react/hooks/AgentPluginInspector.hooks.d.ts +5 -5
- package/dist/agent-plugins/react/hooks/AgentPluginInspector.hooks.js +14 -5
- package/dist/agent-plugins/react/hooks/AgentPluginPanel.hooks.d.ts +15 -13
- package/dist/agent-plugins/react/hooks/AgentPluginPanel.hooks.js +54 -40
- package/dist/agent-plugins/react/hooks/AgentPluginsPage.hooks.d.ts +13 -13
- package/dist/agent-plugins/react/hooks/AgentPluginsPage.hooks.js +23 -11
- package/dist/browser/navigation.js +44 -27
- package/dist/comments/adapters/memory.js +30 -12
- package/dist/comments/conformance/comments-api.conformance.js +55 -33
- package/dist/comments/controllers/comment-queue.controller.js +13 -4
- package/dist/comments/react/hooks/use-comment-queue.hooks.d.ts +17 -2
- package/dist/comments/react/hooks/use-comment-queue.hooks.js +79 -30
- package/dist/comments/react/hooks/use-comment-settings.hooks.js +9 -5
- package/dist/comments/react/index.d.ts +2 -1
- package/dist/comments/react/index.js +1 -1
- package/dist/consent/react/ConsentFields.d.ts +35 -0
- package/dist/consent/react/ConsentFields.js +74 -0
- package/dist/consent/react/ConsentPreviewFrame.d.ts +14 -0
- package/dist/consent/react/ConsentPreviewFrame.js +14 -0
- package/dist/consent/react/ConsentSettingsPanel.d.ts +27 -4
- package/dist/consent/react/ConsentSettingsPanel.js +6 -17
- package/dist/consent/react/index.d.ts +6 -1
- package/dist/consent/react/index.js +2 -0
- package/dist/consent/react/settings-panel.hooks.d.ts +28 -1
- package/dist/consent/react/settings-panel.hooks.js +26 -0
- package/dist/core/entities/rules.js +126 -81
- package/dist/core/manifest/rules.js +10 -10
- package/dist/core/module/create-admin.js +195 -117
- package/dist/core/ports/redirects.d.ts +8 -6
- package/dist/core/ports/redirects.js +8 -6
- package/dist/core/ports/seo.d.ts +20 -0
- package/dist/core/routing/rules.js +9 -4
- package/dist/core/transport/http.js +37 -20
- package/dist/forms/adapters/memory.js +22 -11
- package/dist/forms/conformance/forms-api.conformance.d.ts +6 -4
- package/dist/forms/conformance/forms-api.conformance.js +42 -46
- package/dist/forms/field-settings.js +150 -115
- package/dist/forms/html-rules.js +45 -28
- package/dist/forms/react/components/FieldSettingsRows.d.ts +22 -0
- package/dist/forms/react/components/FieldSettingsRows.js +29 -0
- package/dist/forms/react/components/FieldSettingsSection.d.ts +1 -1
- package/dist/forms/react/components/FieldSettingsSection.js +5 -6
- package/dist/forms/react/components/FormEditorFieldsBody.d.ts +1 -1
- package/dist/forms/react/components/FormEditorFieldsBody.js +4 -15
- package/dist/forms/react/components/FormEditorFieldsBodyParts.d.ts +18 -0
- package/dist/forms/react/components/FormEditorFieldsBodyParts.js +32 -0
- package/dist/forms/react/components/FormSubmissions.d.ts +1 -1
- package/dist/forms/react/components/FormSubmissions.js +4 -20
- package/dist/forms/react/components/FormSubmissionsTable.d.ts +19 -0
- package/dist/forms/react/components/FormSubmissionsTable.js +22 -0
- package/dist/media/adapters/memory.js +31 -26
- package/dist/media/controllers/edit-media.controller.js +2 -1
- package/dist/media/controllers/library.controller.js +48 -35
- package/dist/media/controllers/providers.controller.js +2 -1
- package/dist/media/html-attributes.js +29 -15
- package/dist/media/index.d.ts +1 -1
- package/dist/media/index.js +1 -1
- package/dist/media/react/components/MediaIcons.d.ts +0 -3
- package/dist/media/react/components/MediaIcons.js +0 -9
- package/dist/media/react/components/MediaLightbox.d.ts +2 -1
- package/dist/media/react/components/MediaLightbox.js +11 -5
- package/dist/media/react/hooks/LibraryTab.hooks.d.ts +55 -45
- package/dist/media/react/hooks/LibraryTab.hooks.js +107 -70
- package/dist/media/react/hooks/MediaCard.hooks.d.ts +27 -31
- package/dist/media/react/hooks/MediaCard.hooks.js +52 -26
- package/dist/media/react/hooks/MediaGrid.hooks.d.ts +1 -1
- package/dist/media/react/hooks/MediaLightbox.hooks.d.ts +10 -14
- package/dist/media/react/hooks/MediaLightbox.hooks.js +9 -56
- package/dist/media/react/hooks/MediaPage.hooks.d.ts +6 -0
- package/dist/media/react/hooks/MediaPage.hooks.js +29 -12
- package/dist/media/react/hooks/ProvidersTab.hooks.d.ts +33 -33
- package/dist/media/react/hooks/ProvidersTab.hooks.js +119 -79
- package/dist/media/react/hooks/UploadButton.hooks.d.ts +7 -5
- package/dist/media/react/hooks/UploadButton.hooks.js +36 -24
- package/dist/media/react/index.js +4 -0
- package/dist/media/react/tabs/LibraryTab.d.ts +1 -1
- package/dist/media/react/tabs/LibraryTab.js +2 -2
- package/dist/media/rules.d.ts +7 -0
- package/dist/media/rules.js +25 -2
- package/dist/react/components/ConfirmDialog/ConfirmDialog.js +5 -8
- package/dist/react/components/ConfirmDialog/confirm-dialog-attrs.d.ts +20 -0
- package/dist/react/components/ConfirmDialog/confirm-dialog-attrs.js +24 -0
- package/dist/react/components/InteractiveHtmlEditor/InteractiveHtmlEditor.js +16 -7
- package/dist/react/components/RowMenu/RowMenu.js +16 -10
- package/dist/react/components/Sidebar.js +32 -26
- package/dist/react/entities/EntityEdit.js +17 -14
- package/dist/react/entities/EntityField.d.ts +5 -2
- package/dist/react/entities/EntityField.js +38 -23
- package/dist/react/entities/EntityList.js +6 -5
- package/dist/react/entities/RelationTruncationNotice.d.ts +9 -0
- package/dist/react/entities/RelationTruncationNotice.js +9 -0
- package/dist/react/entities/use-entity-edit.d.ts +4 -2
- package/dist/react/entities/use-entity-edit.js +52 -33
- package/dist/react/shell/AdminShell.js +40 -23
- package/dist/react/shell/model.d.ts +4 -1
- package/dist/react/shell/model.js +3 -2
- package/dist/react/shell/use-admin-shell-session.js +25 -26
- package/dist/redirects/adapters/memory.js +9 -2
- package/dist/redirects/conformance/redirects-api.conformance.js +66 -36
- package/dist/redirects/react/hooks/use-import-redirects-form.hooks.d.ts +1 -1
- package/dist/redirects/react/hooks/use-import-redirects-form.hooks.js +10 -3
- package/dist/redirects/react/hooks/wired.hooks.d.ts +1 -1
- package/dist/security/adapters/http.js +25 -10
- package/dist/security/adapters/memory.js +19 -5
- package/dist/security/controllers/access-tokens.controller.js +27 -26
- package/dist/security/controllers/other-credentials.controller.js +4 -2
- package/dist/security/controllers/root-key.controller.js +17 -9
- package/dist/security/react/hooks/AccessTokensTab.hooks.d.ts +40 -38
- package/dist/security/react/hooks/AccessTokensTab.hooks.js +36 -9
- package/dist/security/react/hooks/RootKeyTab.hooks.d.ts +14 -14
- package/dist/security/react/hooks/RootKeyTab.hooks.js +12 -3
- package/dist/security/react/tabs/RootKeyTab.d.ts +1 -1
- package/dist/security/react/tabs/RootKeyTab.js +12 -3
- package/dist/security/rules.js +45 -25
- package/dist/seo/adapters/http.js +5 -0
- package/dist/seo/controllers/seo.controller.js +4 -2
- package/dist/seo/messages.en.d.ts +15 -10
- package/dist/seo/messages.en.js +15 -10
- package/dist/seo/models.d.ts +11 -0
- package/dist/seo/react/components/MediaRefField.d.ts +17 -5
- package/dist/seo/react/components/MediaRefField.js +31 -4
- package/dist/seo/react/hooks/MediaRefField.hooks.js +12 -2
- package/dist/seo/react/hooks/SeoPage.hooks.d.ts +1 -0
- package/dist/seo/react/hooks/SeoPage.hooks.js +2 -2
- package/dist/seo/react/hooks/SeoQuery.hooks.d.ts +1 -0
- package/dist/seo/react/hooks/SeoQuery.hooks.js +1 -0
- package/dist/seo/react/hooks/use-entry-picker.hooks.js +7 -2
- package/dist/seo/react/hooks/use-seo-entry-panel.hooks.js +13 -2
- package/dist/seo/react/hooks/use-share-image-warning.hooks.d.ts +4 -1
- package/dist/seo/react/hooks/use-share-image-warning.hooks.js +48 -33
- package/dist/seo/react/index.d.ts +45 -30
- package/dist/seo/react/pages/SeoPage.d.ts +6 -4
- package/dist/seo/react/pages/SeoPage.js +51 -29
- package/dist/seo/rules.d.ts +91 -0
- package/dist/seo/rules.js +161 -6
- package/dist/seo/seo.module.d.ts +15 -10
- package/dist/source-control/conformance/source-control-api.conformance.js +68 -38
- package/dist/source-control/controllers/source-control.controller.js +20 -8
- package/dist/source-control/react/hooks/ProvidersTab.hooks.d.ts +2 -1
- package/dist/source-control/react/hooks/ProvidersTab.hooks.js +18 -11
- package/dist/widgets/conformance/widgets-api.conformance.js +15 -1
- package/dist/widgets/controllers/instance-editor.controller.js +33 -24
- package/dist/widgets/controllers/library.controller.js +18 -12
- package/dist/widgets/controllers/region-editor.controller.js +6 -5
- package/dist/widgets/react/hooks/page-views.hooks.d.ts +1 -0
- package/dist/widgets/react/hooks/page-views.hooks.js +3 -2
- package/dist/widgets/react/hooks/use-widget-regions.hooks.d.ts +1 -1
- package/dist/widgets/react/hooks/use-widget-regions.hooks.js +9 -3
- package/dist/widgets/react/hooks/use-widgets-library.hooks.js +9 -2
- package/dist/widgets/react/pages/WidgetInstanceEditor.d.ts +1 -1
- package/dist/widgets/react/pages/WidgetInstanceEditor.js +7 -8
- package/dist/widgets/rules.d.ts +14 -2
- package/dist/widgets/rules.js +9 -6
- package/package.json +19 -10
- package/src/themes/default/admin.css +51 -0
- package/src/themes/default/chat.css +21 -0
- package/src/themes/default/manifest.json +29 -0
- package/dist/media/styles.d.ts +0 -4
- package/dist/media/styles.js +0 -5
package/dist/widgets/rules.d.ts
CHANGED
|
@@ -79,14 +79,26 @@ export type WidgetInstanceGuard = {
|
|
|
79
79
|
widgetType: string;
|
|
80
80
|
};
|
|
81
81
|
/** Catch a garbage ?type= before a live create editor can save it; existing types are server-validated. */
|
|
82
|
-
export declare function widgetInstanceGuard(
|
|
82
|
+
export declare function widgetInstanceGuard(required: WidgetInstanceGuardInput, _optional?: Record<string, never>): WidgetInstanceGuard | null;
|
|
83
|
+
export interface WidgetInstanceGuardInput {
|
|
83
84
|
error: string | null;
|
|
84
85
|
isNew: boolean;
|
|
85
86
|
widget: AdminWidget | null;
|
|
86
87
|
loading: boolean;
|
|
87
88
|
widgetType: string | null | undefined;
|
|
88
89
|
types: readonly WidgetTypeOption[];
|
|
89
|
-
}
|
|
90
|
+
}
|
|
91
|
+
/** The editor's gate: either the guard to render, or the widget type the live editor needs. Once no
|
|
92
|
+
* guard applies the "no-type" case has already ruled out a missing type, and returning it here
|
|
93
|
+
* carries that narrowing to the page, which otherwise needed its own never-taken null check. */
|
|
94
|
+
export type WidgetEditorGate = {
|
|
95
|
+
guard: WidgetInstanceGuard;
|
|
96
|
+
widgetType?: undefined;
|
|
97
|
+
} | {
|
|
98
|
+
guard: null;
|
|
99
|
+
widgetType: string;
|
|
100
|
+
};
|
|
101
|
+
export declare function widgetEditorGate({ error, isNew, widget, loading, widgetType, types }: WidgetInstanceGuardInput, _optional?: Record<string, never>): WidgetEditorGate;
|
|
90
102
|
/** Match the original save identity, including the query type on /new. */
|
|
91
103
|
export declare function widgetEntityKey({ params }: {
|
|
92
104
|
params: WidgetEditorParams;
|
package/dist/widgets/rules.js
CHANGED
|
@@ -65,16 +65,19 @@ export function widgetSlugRedirectPath({ requestedId, widget }, { slugRedirectPa
|
|
|
65
65
|
return slugRedirectPath?.('/widgets', requestedId, widget) ?? null;
|
|
66
66
|
}
|
|
67
67
|
/** Catch a garbage ?type= before a live create editor can save it; existing types are server-validated. */
|
|
68
|
-
export function widgetInstanceGuard(
|
|
68
|
+
export function widgetInstanceGuard(required, _optional = {}) {
|
|
69
|
+
return widgetEditorGate(required).guard;
|
|
70
|
+
}
|
|
71
|
+
export function widgetEditorGate({ error, isNew, widget, loading, widgetType, types }, _optional = {}) {
|
|
69
72
|
if (error && !isNew && !widget)
|
|
70
|
-
return { kind: 'fetch-error', message: error };
|
|
73
|
+
return { guard: { kind: 'fetch-error', message: error } };
|
|
71
74
|
if (loading)
|
|
72
|
-
return { kind: 'loading' };
|
|
75
|
+
return { guard: { kind: 'loading' } };
|
|
73
76
|
if (!widgetType)
|
|
74
|
-
return { kind: 'no-type' };
|
|
77
|
+
return { guard: { kind: 'no-type' } };
|
|
75
78
|
if (isNew && !isKnownWidgetType({ widgetType, types }))
|
|
76
|
-
return { kind: 'unknown-type', widgetType };
|
|
77
|
-
return null;
|
|
79
|
+
return { guard: { kind: 'unknown-type', widgetType } };
|
|
80
|
+
return { guard: null, widgetType };
|
|
78
81
|
}
|
|
79
82
|
/** Match the original save identity, including the query type on /new. */
|
|
80
83
|
export function widgetEntityKey({ params }, _optional = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/admin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13",
|
|
4
4
|
"description": "Composable admin surface for Jini-hosted products: framework-free contracts, panel registry, and route model in `/core`; React shell and panels in `/react`. Import only the layers you need.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"kind": "state",
|
|
14
14
|
"runtime": "universal",
|
|
15
15
|
"entries": {
|
|
16
|
+
"./themes/default/admin.css": "browser",
|
|
17
|
+
"./themes/default/chat.css": "browser",
|
|
18
|
+
"./themes/default/manifest.json": "universal",
|
|
16
19
|
".": "universal",
|
|
17
20
|
"./core": "universal",
|
|
18
21
|
"./browser": "browser",
|
|
@@ -95,10 +98,15 @@
|
|
|
95
98
|
}
|
|
96
99
|
},
|
|
97
100
|
"type": "module",
|
|
98
|
-
"sideEffects":
|
|
101
|
+
"sideEffects": [
|
|
102
|
+
"./src/themes/**/*.css"
|
|
103
|
+
],
|
|
99
104
|
"main": "./dist/core/index.js",
|
|
100
105
|
"types": "./dist/core/index.d.ts",
|
|
101
106
|
"exports": {
|
|
107
|
+
"./themes/default/admin.css": "./src/themes/default/admin.css",
|
|
108
|
+
"./themes/default/chat.css": "./src/themes/default/chat.css",
|
|
109
|
+
"./themes/default/manifest.json": "./src/themes/default/manifest.json",
|
|
102
110
|
".": {
|
|
103
111
|
"types": "./dist/core/index.d.ts",
|
|
104
112
|
"import": "./dist/core/index.js",
|
|
@@ -421,6 +429,7 @@
|
|
|
421
429
|
}
|
|
422
430
|
},
|
|
423
431
|
"files": [
|
|
432
|
+
"src/themes",
|
|
424
433
|
"dist",
|
|
425
434
|
"README.md",
|
|
426
435
|
"CHANGELOG.md",
|
|
@@ -440,10 +449,10 @@
|
|
|
440
449
|
"react": "^18.3.0 || ^19.0.0",
|
|
441
450
|
"react-dom": "^18.3.0 || ^19.0.0",
|
|
442
451
|
"@jini-ai/agentic": "^0.4.4",
|
|
443
|
-
"@jini-ai/ui": "^0.5.
|
|
452
|
+
"@jini-ai/ui": "^0.5.5",
|
|
444
453
|
"@jini-ai/ui-kit": "^0.1.3",
|
|
445
454
|
"@jini-ai/agent-plugins": "^0.4.3",
|
|
446
|
-
"@jini-ai/cms": "^0.5.
|
|
455
|
+
"@jini-ai/cms": "^0.5.13",
|
|
447
456
|
"@jini-ai/core": "^0.4.3"
|
|
448
457
|
},
|
|
449
458
|
"peerDependenciesMeta": {
|
|
@@ -482,12 +491,12 @@
|
|
|
482
491
|
"react": "^19.2.0",
|
|
483
492
|
"react-dom": "^19.2.0",
|
|
484
493
|
"@testing-library/user-event": "^14.6.1",
|
|
485
|
-
"@jini-ai/
|
|
486
|
-
"@jini-ai/
|
|
487
|
-
"@jini-ai/
|
|
488
|
-
"@jini-ai/
|
|
489
|
-
"@jini-ai/
|
|
490
|
-
"@jini-ai/ui": "^0.5.
|
|
494
|
+
"@jini-ai/ui-kit": "^0.1.5",
|
|
495
|
+
"@jini-ai/cms": "^0.5.14",
|
|
496
|
+
"@jini-ai/core": "^0.4.9",
|
|
497
|
+
"@jini-ai/agent-plugins": "^0.4.8",
|
|
498
|
+
"@jini-ai/agentic": "^0.4.5",
|
|
499
|
+
"@jini-ai/ui": "^0.5.6"
|
|
491
500
|
},
|
|
492
501
|
"typesVersions": {
|
|
493
502
|
"*": {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* Default theme values, owned by @jini-ai/admin. Load after @jini-ai/ui structural CSS.
|
|
2
|
+
The UI contract keeps its legacy fallbacks during migration; these inputs equal them. */
|
|
3
|
+
:root {
|
|
4
|
+
--jini-theme-light-bg: #ffffff;
|
|
5
|
+
--jini-theme-light-surface: #f5f5f5;
|
|
6
|
+
--jini-theme-light-text: #202020;
|
|
7
|
+
--jini-theme-light-muted: #666666;
|
|
8
|
+
--jini-theme-light-border: #d9d9d9;
|
|
9
|
+
--jini-theme-light-primary: #363636;
|
|
10
|
+
--jini-theme-light-primary-ink: #ffffff;
|
|
11
|
+
--jini-theme-light-danger: #b42318;
|
|
12
|
+
--jini-theme-light-success: #18763b;
|
|
13
|
+
--jini-theme-light-warning: #845800;
|
|
14
|
+
--jini-theme-dark-bg: #171717;
|
|
15
|
+
--jini-theme-dark-surface: #242424;
|
|
16
|
+
--jini-theme-dark-text: #f0f0f0;
|
|
17
|
+
--jini-theme-dark-muted: #b3b3b3;
|
|
18
|
+
--jini-theme-dark-border: #454545;
|
|
19
|
+
--jini-theme-dark-primary: #e0e0e0;
|
|
20
|
+
--jini-theme-dark-primary-ink: #202020;
|
|
21
|
+
--jini-theme-dark-danger: #ff8b80;
|
|
22
|
+
--jini-theme-dark-success: #79d69b;
|
|
23
|
+
--jini-theme-dark-warning: #ebc36b;
|
|
24
|
+
--jini-font-body: system-ui, sans-serif;
|
|
25
|
+
--jini-font-heading: system-ui, sans-serif;
|
|
26
|
+
--jini-font-mono: ui-monospace, monospace;
|
|
27
|
+
--jini-radius: 8px;
|
|
28
|
+
--jini-density: 1;
|
|
29
|
+
|
|
30
|
+
--jini-theme-panel-backdrop: none;
|
|
31
|
+
--jini-theme-panel-texture: none;
|
|
32
|
+
--jini-theme-overlay-backdrop: blur(4px);
|
|
33
|
+
--jini-theme-control-shadow: none;
|
|
34
|
+
--jini-theme-control-shadow-hover: none;
|
|
35
|
+
--jini-theme-control-shadow-pressed: none;
|
|
36
|
+
--jini-theme-control-shadow-inset: none;
|
|
37
|
+
--jini-theme-border-width: 1px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Match existing neutral panels, tabbed-dialog scrims and controls. Role wiring is deferred. */
|
|
41
|
+
/* Re-resolve scheme defaults here without shadowing inherited host --jini-theme-* inputs. */
|
|
42
|
+
:root, [data-admin-theme], [data-color-scheme] {
|
|
43
|
+
--jini-default-app-bg: var(--jini-bg);
|
|
44
|
+
--jini-default-panel-bg: var(--jini-bg-panel);
|
|
45
|
+
--jini-default-panel-border: var(--jini-border);
|
|
46
|
+
--jini-default-panel-shadow: var(--jini-shadow-sm);
|
|
47
|
+
--jini-default-overlay-bg: var(--jini-backdrop);
|
|
48
|
+
--jini-default-overlay-shadow: var(--jini-shadow-lg);
|
|
49
|
+
--jini-default-control-bg: var(--jini-bg-elevated);
|
|
50
|
+
--jini-default-control-border: var(--jini-border-strong);
|
|
51
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* Standalone default chat palette: exactly ChatPane's existing injected values, including
|
|
2
|
+
its scheme-independent sent bubbles. Component defaults are migrated in a later step. */
|
|
3
|
+
:root {
|
|
4
|
+
--jini-theme-chat-bg: #faf9f7;
|
|
5
|
+
--jini-theme-chat-panel: #fdfcfa;
|
|
6
|
+
--jini-theme-chat-text: #1a1916;
|
|
7
|
+
--jini-theme-chat-text-strong: #0d0c0a;
|
|
8
|
+
--jini-theme-chat-muted: #74716b;
|
|
9
|
+
--jini-theme-chat-faint: #b3b0a8;
|
|
10
|
+
--jini-theme-chat-border: #e1e5eb;
|
|
11
|
+
--jini-theme-chat-border-strong: #c9d0da;
|
|
12
|
+
--jini-theme-chat-border-soft: #edf0f4;
|
|
13
|
+
--jini-theme-chat-subtle: #f4f5f7;
|
|
14
|
+
--jini-theme-chat-accent: #c96442;
|
|
15
|
+
--jini-theme-chat-accent-soft: #fbeee5;
|
|
16
|
+
--jini-theme-chat-danger: #e5484d;
|
|
17
|
+
--jini-theme-chat-radius: 8px;
|
|
18
|
+
--jini-theme-chat-radius-lg: 12px;
|
|
19
|
+
--jini-theme-chat-user-bubble: #1a1b1c;
|
|
20
|
+
--jini-theme-chat-user-bubble-ink: #fff;
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "default",
|
|
3
|
+
"name": "Jini Default",
|
|
4
|
+
"schemes": [
|
|
5
|
+
"light",
|
|
6
|
+
"dark"
|
|
7
|
+
],
|
|
8
|
+
"stylesheets": {
|
|
9
|
+
"admin": "./admin.css",
|
|
10
|
+
"chat": "./chat.css"
|
|
11
|
+
},
|
|
12
|
+
"fonts": [],
|
|
13
|
+
"preview": {
|
|
14
|
+
"light": {
|
|
15
|
+
"bg": "#ffffff",
|
|
16
|
+
"surface": "#f5f5f5",
|
|
17
|
+
"text": "#202020",
|
|
18
|
+
"accent": "#363636",
|
|
19
|
+
"border": "#d9d9d9"
|
|
20
|
+
},
|
|
21
|
+
"dark": {
|
|
22
|
+
"bg": "#171717",
|
|
23
|
+
"surface": "#242424",
|
|
24
|
+
"text": "#f0f0f0",
|
|
25
|
+
"accent": "#e0e0e0",
|
|
26
|
+
"border": "#454545"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/dist/media/styles.d.ts
DELETED
package/dist/media/styles.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Scoped feature presentation travels with compiled JS. It also overrides host dialog
|
|
2
|
-
* CSS that can accidentally display a closed dialog or shrink a large media preview. */
|
|
3
|
-
// Host CSS now supplies presentation and the closed-dialog safeguards on jini- classes.
|
|
4
|
-
export const mediaStyles = '';
|
|
5
|
-
//# sourceMappingURL=styles.js.map
|