jvetrau-ds 0.2.13 → 0.2.15
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/components/attach/attach.cjs +32 -14
- package/components/attach/attach.cjs.map +1 -1
- package/components/attach/attach.css +65 -35
- package/components/attach/attach.js +28 -14
- package/components/attach/attach.js.map +1 -1
- package/components/attach/index.d.ts +1 -1
- package/components/embed-viewer/embed-viewer.cjs +44 -0
- package/components/embed-viewer/embed-viewer.cjs.map +1 -0
- package/components/embed-viewer/embed-viewer.css +115 -0
- package/components/embed-viewer/embed-viewer.d.ts +10 -0
- package/components/embed-viewer/embed-viewer.js +42 -0
- package/components/embed-viewer/embed-viewer.js.map +1 -0
- package/components/embed-viewer/embed-viewer.meta.d.ts +2 -0
- package/components/embed-viewer/index.cjs +22 -0
- package/components/embed-viewer/index.cjs.map +1 -0
- package/components/embed-viewer/index.d.ts +3 -0
- package/components/embed-viewer/index.js +3 -0
- package/components/embed-viewer/index.js.map +1 -0
- package/components/index.cjs +6 -0
- package/components/index.d.ts +3 -1
- package/components/index.js +1 -0
- package/index.cjs +6 -0
- package/index.d.ts +3 -1
- package/index.js +1 -0
- package/package.json +1 -1
- package/styles.css +182 -35
- package/themes/base/desktop.css +1 -0
- package/themes/base/desktop.md +1 -0
- package/themes/base/desktop.scoped.css +1 -0
- package/themes/base/diagram.css +1 -0
- package/themes/base/diagram.md +1 -0
- package/themes/base/diagram.scoped.css +1 -0
- package/themes/base/mobile.css +1 -0
- package/themes/base/mobile.md +1 -0
- package/themes/base/mobile.scoped.css +1 -0
- package/themes/brandcopilot/desktop.css +1 -0
- package/themes/brandcopilot/desktop.md +1 -0
- package/themes/brandcopilot/desktop.scoped.css +1 -0
- package/themes/brandcopilot/diagram.css +1 -0
- package/themes/brandcopilot/diagram.md +1 -0
- package/themes/brandcopilot/diagram.scoped.css +1 -0
- package/themes/brandcopilot/mobile.css +1 -0
- package/themes/brandcopilot/mobile.md +1 -0
- package/themes/brandcopilot/mobile.scoped.css +1 -0
- package/themes/dmpatterns/desktop.css +1 -0
- package/themes/dmpatterns/desktop.md +1 -0
- package/themes/dmpatterns/desktop.scoped.css +1 -0
- package/themes/dmpatterns/diagram.css +1 -0
- package/themes/dmpatterns/diagram.md +1 -0
- package/themes/dmpatterns/diagram.scoped.css +1 -0
- package/themes/dmpatterns/mobile.css +1 -0
- package/themes/dmpatterns/mobile.md +1 -0
- package/themes/dmpatterns/mobile.scoped.css +1 -0
- package/themes/pdigest/desktop.css +1 -0
- package/themes/pdigest/desktop.md +1 -0
- package/themes/pdigest/desktop.scoped.css +1 -0
- package/themes/pdigest/diagram.css +1 -0
- package/themes/pdigest/diagram.md +1 -0
- package/themes/pdigest/diagram.scoped.css +1 -0
- package/themes/pdigest/mobile.css +1 -0
- package/themes/pdigest/mobile.md +1 -0
- package/themes/pdigest/mobile.scoped.css +1 -0
- package/themes/redesigntrack/desktop.css +1 -0
- package/themes/redesigntrack/desktop.md +1 -0
- package/themes/redesigntrack/desktop.scoped.css +1 -0
- package/themes/redesigntrack/diagram.css +1 -0
- package/themes/redesigntrack/diagram.md +1 -0
- package/themes/redesigntrack/diagram.scoped.css +1 -0
- package/themes/redesigntrack/mobile.css +1 -0
- package/themes/redesigntrack/mobile.md +1 -0
- package/themes/redesigntrack/mobile.scoped.css +1 -0
- package/tokens/runtime/tokens.base.desktop.runtime.cjs +1 -0
- package/tokens/runtime/tokens.base.desktop.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.base.desktop.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.base.desktop.runtime.js +1 -0
- package/tokens/runtime/tokens.base.desktop.runtime.js.map +1 -1
- package/tokens/runtime/tokens.base.diagram.runtime.cjs +1 -0
- package/tokens/runtime/tokens.base.diagram.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.base.diagram.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.base.diagram.runtime.js +1 -0
- package/tokens/runtime/tokens.base.diagram.runtime.js.map +1 -1
- package/tokens/runtime/tokens.base.mobile.runtime.cjs +1 -0
- package/tokens/runtime/tokens.base.mobile.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.base.mobile.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.base.mobile.runtime.js +1 -0
- package/tokens/runtime/tokens.base.mobile.runtime.js.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.desktop.runtime.cjs +1 -0
- package/tokens/runtime/tokens.brandcopilot.desktop.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.desktop.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.brandcopilot.desktop.runtime.js +1 -0
- package/tokens/runtime/tokens.brandcopilot.desktop.runtime.js.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.diagram.runtime.cjs +1 -0
- package/tokens/runtime/tokens.brandcopilot.diagram.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.diagram.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.brandcopilot.diagram.runtime.js +1 -0
- package/tokens/runtime/tokens.brandcopilot.diagram.runtime.js.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.mobile.runtime.cjs +1 -0
- package/tokens/runtime/tokens.brandcopilot.mobile.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.brandcopilot.mobile.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.brandcopilot.mobile.runtime.js +1 -0
- package/tokens/runtime/tokens.brandcopilot.mobile.runtime.js.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.desktop.runtime.cjs +1 -0
- package/tokens/runtime/tokens.dmpatterns.desktop.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.desktop.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.dmpatterns.desktop.runtime.js +1 -0
- package/tokens/runtime/tokens.dmpatterns.desktop.runtime.js.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.diagram.runtime.cjs +1 -0
- package/tokens/runtime/tokens.dmpatterns.diagram.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.diagram.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.dmpatterns.diagram.runtime.js +1 -0
- package/tokens/runtime/tokens.dmpatterns.diagram.runtime.js.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.mobile.runtime.cjs +1 -0
- package/tokens/runtime/tokens.dmpatterns.mobile.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.dmpatterns.mobile.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.dmpatterns.mobile.runtime.js +1 -0
- package/tokens/runtime/tokens.dmpatterns.mobile.runtime.js.map +1 -1
- package/tokens/runtime/tokens.pdigest.desktop.runtime.cjs +1 -0
- package/tokens/runtime/tokens.pdigest.desktop.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.pdigest.desktop.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.pdigest.desktop.runtime.js +1 -0
- package/tokens/runtime/tokens.pdigest.desktop.runtime.js.map +1 -1
- package/tokens/runtime/tokens.pdigest.diagram.runtime.cjs +1 -0
- package/tokens/runtime/tokens.pdigest.diagram.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.pdigest.diagram.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.pdigest.diagram.runtime.js +1 -0
- package/tokens/runtime/tokens.pdigest.diagram.runtime.js.map +1 -1
- package/tokens/runtime/tokens.pdigest.mobile.runtime.cjs +1 -0
- package/tokens/runtime/tokens.pdigest.mobile.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.pdigest.mobile.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.pdigest.mobile.runtime.js +1 -0
- package/tokens/runtime/tokens.pdigest.mobile.runtime.js.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.desktop.runtime.cjs +1 -0
- package/tokens/runtime/tokens.redesigntrack.desktop.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.desktop.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.redesigntrack.desktop.runtime.js +1 -0
- package/tokens/runtime/tokens.redesigntrack.desktop.runtime.js.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.diagram.runtime.cjs +1 -0
- package/tokens/runtime/tokens.redesigntrack.diagram.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.diagram.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.redesigntrack.diagram.runtime.js +1 -0
- package/tokens/runtime/tokens.redesigntrack.diagram.runtime.js.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.mobile.runtime.cjs +1 -0
- package/tokens/runtime/tokens.redesigntrack.mobile.runtime.cjs.map +1 -1
- package/tokens/runtime/tokens.redesigntrack.mobile.runtime.d.ts +1 -0
- package/tokens/runtime/tokens.redesigntrack.mobile.runtime.js +1 -0
- package/tokens/runtime/tokens.redesigntrack.mobile.runtime.js.map +1 -1
- package/tokens/themes/base/dist/desktop.json +8 -0
- package/tokens/themes/base/dist/diagram.json +8 -0
- package/tokens/themes/base/dist/mobile.json +8 -0
- package/tokens/themes/brandcopilot/dist/desktop.json +8 -0
- package/tokens/themes/brandcopilot/dist/diagram.json +8 -0
- package/tokens/themes/brandcopilot/dist/mobile.json +8 -0
- package/tokens/themes/dmpatterns/dist/desktop.json +8 -0
- package/tokens/themes/dmpatterns/dist/diagram.json +8 -0
- package/tokens/themes/dmpatterns/dist/mobile.json +8 -0
- package/tokens/themes/pdigest/dist/desktop.json +8 -0
- package/tokens/themes/pdigest/dist/diagram.json +8 -0
- package/tokens/themes/pdigest/dist/mobile.json +8 -0
- package/tokens/themes/redesigntrack/dist/desktop.json +8 -0
- package/tokens/themes/redesigntrack/dist/diagram.json +8 -0
- package/tokens/themes/redesigntrack/dist/mobile.json +8 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var embedViewer = require('./embed-viewer');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var embedViewer__default = /*#__PURE__*/_interopDefault(embedViewer);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "EmbedViewer", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return embedViewer__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "default", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return embedViewer__default.default; }
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=index.cjs.map
|
|
22
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/components/index.cjs
CHANGED
|
@@ -17,6 +17,7 @@ var progressbar = require('./progressbar/progressbar');
|
|
|
17
17
|
var card = require('./card/card');
|
|
18
18
|
var panel = require('./panel/panel');
|
|
19
19
|
var video = require('./video/video');
|
|
20
|
+
var embedViewer = require('./embed-viewer');
|
|
20
21
|
var logo = require('./logo/logo');
|
|
21
22
|
var avatar = require('./avatar/avatar');
|
|
22
23
|
var attach = require('./attach/attach');
|
|
@@ -49,6 +50,7 @@ var progressbar__default = /*#__PURE__*/_interopDefault(progressbar);
|
|
|
49
50
|
var card__default = /*#__PURE__*/_interopDefault(card);
|
|
50
51
|
var panel__default = /*#__PURE__*/_interopDefault(panel);
|
|
51
52
|
var video__default = /*#__PURE__*/_interopDefault(video);
|
|
53
|
+
var embedViewer__default = /*#__PURE__*/_interopDefault(embedViewer);
|
|
52
54
|
var logo__default = /*#__PURE__*/_interopDefault(logo);
|
|
53
55
|
var avatar__default = /*#__PURE__*/_interopDefault(avatar);
|
|
54
56
|
var attach__default = /*#__PURE__*/_interopDefault(attach);
|
|
@@ -135,6 +137,10 @@ Object.defineProperty(exports, "Video", {
|
|
|
135
137
|
enumerable: true,
|
|
136
138
|
get: function () { return video__default.default; }
|
|
137
139
|
});
|
|
140
|
+
Object.defineProperty(exports, "EmbedViewer", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return embedViewer__default.default; }
|
|
143
|
+
});
|
|
138
144
|
Object.defineProperty(exports, "Logo", {
|
|
139
145
|
enumerable: true,
|
|
140
146
|
get: function () { return logo__default.default; }
|
package/components/index.d.ts
CHANGED
|
@@ -33,12 +33,14 @@ export { default as Panel } from './panel/panel';
|
|
|
33
33
|
export type { PanelProps } from './panel/panel';
|
|
34
34
|
export { default as Video } from './video/video';
|
|
35
35
|
export type { VideoProps, VideoQuality, } from './video/video';
|
|
36
|
+
export { default as EmbedViewer } from './embed-viewer';
|
|
37
|
+
export type { EmbedViewerProps } from './embed-viewer';
|
|
36
38
|
export { default as Logo } from './logo/logo';
|
|
37
39
|
export type { LogoProps } from './logo/logo';
|
|
38
40
|
export { default as Avatar } from './avatar/avatar';
|
|
39
41
|
export type { AvatarProps } from './avatar/avatar';
|
|
40
42
|
export { default as Attach } from './attach/attach';
|
|
41
|
-
export type { AttachItem, AttachProps, } from './attach/attach';
|
|
43
|
+
export type { AttachItem, AttachItemKind, AttachProps, } from './attach/attach';
|
|
42
44
|
export { default as ActionGroup } from './action-group/action-group';
|
|
43
45
|
export type { ActionGroupProps } from './action-group/action-group';
|
|
44
46
|
export { default as CardGroup } from './card-group/card-group';
|
package/components/index.js
CHANGED
|
@@ -15,6 +15,7 @@ export { default as ProgressBar } from './progressbar/progressbar';
|
|
|
15
15
|
export { default as Card } from './card/card';
|
|
16
16
|
export { default as Panel } from './panel/panel';
|
|
17
17
|
export { default as Video } from './video/video';
|
|
18
|
+
export { default as EmbedViewer } from './embed-viewer';
|
|
18
19
|
export { default as Logo } from './logo/logo';
|
|
19
20
|
export { default as Avatar } from './avatar/avatar';
|
|
20
21
|
export { default as Attach } from './attach/attach';
|
package/index.cjs
CHANGED
|
@@ -13,6 +13,7 @@ var formMessage = require('./components/form-message');
|
|
|
13
13
|
var menu = require('./components/menu');
|
|
14
14
|
var tabs = require('./components/tabs');
|
|
15
15
|
var video = require('./components/video');
|
|
16
|
+
var embedViewer = require('./components/embed-viewer');
|
|
16
17
|
var search = require('./components/search');
|
|
17
18
|
var richedit = require('./components/richedit');
|
|
18
19
|
var tag = require('./components/tag');
|
|
@@ -57,6 +58,7 @@ var formMessage__default = /*#__PURE__*/_interopDefault(formMessage);
|
|
|
57
58
|
var menu__default = /*#__PURE__*/_interopDefault(menu);
|
|
58
59
|
var tabs__default = /*#__PURE__*/_interopDefault(tabs);
|
|
59
60
|
var video__default = /*#__PURE__*/_interopDefault(video);
|
|
61
|
+
var embedViewer__default = /*#__PURE__*/_interopDefault(embedViewer);
|
|
60
62
|
var search__default = /*#__PURE__*/_interopDefault(search);
|
|
61
63
|
var richedit__default = /*#__PURE__*/_interopDefault(richedit);
|
|
62
64
|
var tag__default = /*#__PURE__*/_interopDefault(tag);
|
|
@@ -143,6 +145,10 @@ Object.defineProperty(exports, "Video", {
|
|
|
143
145
|
enumerable: true,
|
|
144
146
|
get: function () { return video__default.default; }
|
|
145
147
|
});
|
|
148
|
+
Object.defineProperty(exports, "EmbedViewer", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return embedViewer__default.default; }
|
|
151
|
+
});
|
|
146
152
|
Object.defineProperty(exports, "Search", {
|
|
147
153
|
enumerable: true,
|
|
148
154
|
get: function () { return search__default.default; }
|
package/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export { default as Tabs } from './components/tabs';
|
|
|
28
28
|
export type { TabItem, TabsProps, } from './components/tabs';
|
|
29
29
|
export { default as Video } from './components/video';
|
|
30
30
|
export type { VideoProps, VideoQuality, } from './components/video';
|
|
31
|
+
export { default as EmbedViewer } from './components/embed-viewer';
|
|
32
|
+
export type { EmbedViewerProps } from './components/embed-viewer';
|
|
31
33
|
export { default as Search } from './components/search';
|
|
32
34
|
export type { SearchProps } from './components/search';
|
|
33
35
|
export { default as RichEdit } from './components/richedit';
|
|
@@ -45,7 +47,7 @@ export type { LogoProps } from './components/logo';
|
|
|
45
47
|
export { default as Avatar } from './components/avatar';
|
|
46
48
|
export type { AvatarProps } from './components/avatar';
|
|
47
49
|
export { default as Attach } from './components/attach';
|
|
48
|
-
export type { AttachItem, AttachProps, } from './components/attach';
|
|
50
|
+
export type { AttachItem, AttachItemKind, AttachProps, } from './components/attach';
|
|
49
51
|
export { default as ActionGroup } from './components/action-group';
|
|
50
52
|
export type { ActionGroupProps } from './components/action-group';
|
|
51
53
|
export { default as CardGroup } from './components/card-group';
|
package/index.js
CHANGED
|
@@ -11,6 +11,7 @@ export { default as FormMessage } from './components/form-message';
|
|
|
11
11
|
export { default as Menu } from './components/menu';
|
|
12
12
|
export { default as Tabs } from './components/tabs';
|
|
13
13
|
export { default as Video } from './components/video';
|
|
14
|
+
export { default as EmbedViewer } from './components/embed-viewer';
|
|
14
15
|
export { default as Search } from './components/search';
|
|
15
16
|
export { default as RichEdit } from './components/richedit';
|
|
16
17
|
export { default as Tag } from './components/tag';
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
.attach {
|
|
31
31
|
/* color */
|
|
32
32
|
--attachment-color: var(--color-text);
|
|
33
|
-
--attachment-item-bg: var(--color-
|
|
34
|
-
--attachment-item-color: var(--color-text
|
|
35
|
-
--attachment-
|
|
36
|
-
--attachment-item-meta-color: var(--color-text-note);
|
|
33
|
+
--attachment-item-bg: var(--color-bg-media);
|
|
34
|
+
--attachment-item-color: var(--color-text);
|
|
35
|
+
--attachment-item-meta-color: var(--color-text);
|
|
37
36
|
|
|
38
37
|
color: var(--attachment-color);
|
|
39
38
|
|
|
@@ -51,15 +50,16 @@
|
|
|
51
50
|
letter-spacing: var(--attachment-letter-spacing);
|
|
52
51
|
|
|
53
52
|
/* size */
|
|
54
|
-
--attachment-gap: var(--margin-
|
|
55
|
-
--attachment-item-
|
|
56
|
-
--attachment-
|
|
57
|
-
--attachment-
|
|
58
|
-
|
|
53
|
+
--attachment-gap: var(--margin-container);
|
|
54
|
+
--attachment-item-padding: var(--padding-container);
|
|
55
|
+
--attachment-remove-offset: var(--margin-container);
|
|
56
|
+
--attachment-aspect-ratio: 9 / 6;
|
|
57
|
+
|
|
58
|
+
width: 100%;
|
|
59
|
+
min-width: 0;
|
|
59
60
|
|
|
60
61
|
/* border */
|
|
61
|
-
--attachment-radius: var(--radius-
|
|
62
|
-
--attachment-border-width: var(--size-border-width-base);
|
|
62
|
+
--attachment-radius: var(--radius-container);
|
|
63
63
|
|
|
64
64
|
/* depth */
|
|
65
65
|
|
|
@@ -72,9 +72,13 @@
|
|
|
72
72
|
/* typography */
|
|
73
73
|
|
|
74
74
|
/* size */
|
|
75
|
-
display:
|
|
76
|
-
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-template-columns:
|
|
77
|
+
repeat(3, minmax(0, 1fr));
|
|
77
78
|
gap: var(--attachment-gap);
|
|
79
|
+
|
|
80
|
+
width: 100%;
|
|
81
|
+
min-width: 0;
|
|
78
82
|
margin: 0;
|
|
79
83
|
padding: 0;
|
|
80
84
|
|
|
@@ -94,17 +98,14 @@
|
|
|
94
98
|
/* typography */
|
|
95
99
|
|
|
96
100
|
/* size */
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
position: relative;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
aspect-ratio:
|
|
104
|
+
var(--attachment-aspect-ratio);
|
|
105
|
+
|
|
106
|
+
overflow: hidden;
|
|
102
107
|
|
|
103
108
|
/* border */
|
|
104
|
-
border:
|
|
105
|
-
var(--attachment-border-width)
|
|
106
|
-
solid
|
|
107
|
-
var(--attachment-border-color);
|
|
108
109
|
border-radius: var(--attachment-radius);
|
|
109
110
|
|
|
110
111
|
/* depth */
|
|
@@ -120,6 +121,9 @@
|
|
|
120
121
|
text-decoration: none;
|
|
121
122
|
|
|
122
123
|
/* size */
|
|
124
|
+
display: block;
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
123
127
|
min-width: 0;
|
|
124
128
|
|
|
125
129
|
/* border */
|
|
@@ -129,6 +133,25 @@
|
|
|
129
133
|
/* motion */
|
|
130
134
|
}
|
|
131
135
|
|
|
136
|
+
.attach__item--file .attach__link,
|
|
137
|
+
.attach__item--link .attach__link {
|
|
138
|
+
/* color */
|
|
139
|
+
|
|
140
|
+
/* typography */
|
|
141
|
+
|
|
142
|
+
/* size */
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: flex-end;
|
|
145
|
+
|
|
146
|
+
padding: var(--attachment-item-padding);
|
|
147
|
+
|
|
148
|
+
/* border */
|
|
149
|
+
|
|
150
|
+
/* depth */
|
|
151
|
+
|
|
152
|
+
/* motion */
|
|
153
|
+
}
|
|
154
|
+
|
|
132
155
|
.attach__link:hover .attach__name {
|
|
133
156
|
/* color */
|
|
134
157
|
|
|
@@ -151,12 +174,13 @@
|
|
|
151
174
|
|
|
152
175
|
/* size */
|
|
153
176
|
display: block;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
177
|
+
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 100%;
|
|
180
|
+
|
|
181
|
+
object-fit: cover;
|
|
157
182
|
|
|
158
183
|
/* border */
|
|
159
|
-
border-radius: var(--attachment-radius);
|
|
160
184
|
|
|
161
185
|
/* depth */
|
|
162
186
|
|
|
@@ -171,6 +195,8 @@
|
|
|
171
195
|
/* size */
|
|
172
196
|
display: flex;
|
|
173
197
|
flex-direction: column;
|
|
198
|
+
|
|
199
|
+
width: 100%;
|
|
174
200
|
min-width: 0;
|
|
175
201
|
|
|
176
202
|
/* border */
|
|
@@ -188,6 +214,8 @@
|
|
|
188
214
|
white-space: nowrap;
|
|
189
215
|
|
|
190
216
|
/* size */
|
|
217
|
+
min-width: 0;
|
|
218
|
+
|
|
191
219
|
overflow: hidden;
|
|
192
220
|
|
|
193
221
|
/* border */
|
|
@@ -202,7 +230,11 @@
|
|
|
202
230
|
color: var(--attachment-item-meta-color);
|
|
203
231
|
|
|
204
232
|
/* typography */
|
|
205
|
-
font-
|
|
233
|
+
font-family: var(--font-body-family);
|
|
234
|
+
font-size: var(--font-body);
|
|
235
|
+
font-weight: var(--font-body-weight);
|
|
236
|
+
line-height: var(--font-body-line);
|
|
237
|
+
letter-spacing: var(--font-body-letter-spacing);
|
|
206
238
|
|
|
207
239
|
/* size */
|
|
208
240
|
|
|
@@ -215,30 +247,28 @@
|
|
|
215
247
|
|
|
216
248
|
.attach__remove {
|
|
217
249
|
/* color */
|
|
218
|
-
background: transparent;
|
|
219
250
|
color: inherit;
|
|
220
251
|
|
|
221
252
|
/* typography */
|
|
222
|
-
font: inherit;
|
|
223
253
|
|
|
224
254
|
/* size */
|
|
225
|
-
|
|
226
|
-
|
|
255
|
+
position: absolute;
|
|
256
|
+
top: var(--attachment-remove-offset);
|
|
257
|
+
right: var(--attachment-remove-offset);
|
|
258
|
+
z-index: 1;
|
|
227
259
|
|
|
228
260
|
/* border */
|
|
229
|
-
border: 0;
|
|
230
261
|
|
|
231
262
|
/* depth */
|
|
232
263
|
|
|
233
264
|
/* motion */
|
|
234
|
-
cursor: pointer;
|
|
235
265
|
}
|
|
236
266
|
|
|
237
|
-
.attach__remove
|
|
267
|
+
.attach__item--image .attach__remove {
|
|
238
268
|
/* color */
|
|
269
|
+
color: var(--color-contrast);
|
|
239
270
|
|
|
240
271
|
/* typography */
|
|
241
|
-
text-decoration: underline;
|
|
242
272
|
|
|
243
273
|
/* size */
|
|
244
274
|
|
|
@@ -2554,6 +2584,123 @@
|
|
|
2554
2584
|
/* motion */
|
|
2555
2585
|
}
|
|
2556
2586
|
|
|
2587
|
+
/* src/components/embed-viewer/embed-viewer.css */
|
|
2588
|
+
.embed-viewer {
|
|
2589
|
+
/* color */
|
|
2590
|
+
--embed-viewer-color:
|
|
2591
|
+
var(--color-text);
|
|
2592
|
+
--embed-viewer-frame-bg:
|
|
2593
|
+
var(--color-bg-media);
|
|
2594
|
+
|
|
2595
|
+
color: var(--embed-viewer-color);
|
|
2596
|
+
|
|
2597
|
+
/* typography */
|
|
2598
|
+
--embed-viewer-description-font-family:
|
|
2599
|
+
var(--font-body-family);
|
|
2600
|
+
--embed-viewer-description-font-size:
|
|
2601
|
+
var(--font-body);
|
|
2602
|
+
--embed-viewer-description-font-weight:
|
|
2603
|
+
var(--font-body-weight);
|
|
2604
|
+
--embed-viewer-description-line-height:
|
|
2605
|
+
var(--font-body-line);
|
|
2606
|
+
--embed-viewer-description-letter-spacing:
|
|
2607
|
+
var(--font-body-letter-spacing);
|
|
2608
|
+
|
|
2609
|
+
/* size */
|
|
2610
|
+
--embed-viewer-gap:
|
|
2611
|
+
var(--margin-item);
|
|
2612
|
+
--embed-viewer-frame-aspect-ratio:
|
|
2613
|
+
16 / 9;
|
|
2614
|
+
|
|
2615
|
+
display: flex;
|
|
2616
|
+
flex-direction: column;
|
|
2617
|
+
gap: var(--embed-viewer-gap);
|
|
2618
|
+
|
|
2619
|
+
width: 100%;
|
|
2620
|
+
min-width: 0;
|
|
2621
|
+
|
|
2622
|
+
/* border */
|
|
2623
|
+
--embed-viewer-frame-radius:
|
|
2624
|
+
var(--radius-container);
|
|
2625
|
+
|
|
2626
|
+
/* depth */
|
|
2627
|
+
|
|
2628
|
+
/* motion */
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
.embed-viewer__description {
|
|
2632
|
+
/* color */
|
|
2633
|
+
color: inherit;
|
|
2634
|
+
|
|
2635
|
+
/* typography */
|
|
2636
|
+
font-family:
|
|
2637
|
+
var(--embed-viewer-description-font-family);
|
|
2638
|
+
font-size:
|
|
2639
|
+
var(--embed-viewer-description-font-size);
|
|
2640
|
+
font-weight:
|
|
2641
|
+
var(--embed-viewer-description-font-weight);
|
|
2642
|
+
line-height:
|
|
2643
|
+
var(--embed-viewer-description-line-height);
|
|
2644
|
+
letter-spacing:
|
|
2645
|
+
var(--embed-viewer-description-letter-spacing);
|
|
2646
|
+
|
|
2647
|
+
/* size */
|
|
2648
|
+
min-width: 0;
|
|
2649
|
+
max-width: 100%;
|
|
2650
|
+
|
|
2651
|
+
overflow-wrap: anywhere;
|
|
2652
|
+
|
|
2653
|
+
/* border */
|
|
2654
|
+
|
|
2655
|
+
/* depth */
|
|
2656
|
+
|
|
2657
|
+
/* motion */
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
.embed-viewer__frame {
|
|
2661
|
+
/* color */
|
|
2662
|
+
background:
|
|
2663
|
+
var(--embed-viewer-frame-bg);
|
|
2664
|
+
|
|
2665
|
+
/* typography */
|
|
2666
|
+
|
|
2667
|
+
/* size */
|
|
2668
|
+
display: block;
|
|
2669
|
+
|
|
2670
|
+
width: 100%;
|
|
2671
|
+
min-width: 0;
|
|
2672
|
+
aspect-ratio:
|
|
2673
|
+
var(--embed-viewer-frame-aspect-ratio);
|
|
2674
|
+
|
|
2675
|
+
/* border */
|
|
2676
|
+
border: 0;
|
|
2677
|
+
border-radius:
|
|
2678
|
+
var(--embed-viewer-frame-radius);
|
|
2679
|
+
|
|
2680
|
+
/* depth */
|
|
2681
|
+
|
|
2682
|
+
/* motion */
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
.embed-viewer__actions {
|
|
2686
|
+
/* color */
|
|
2687
|
+
|
|
2688
|
+
/* typography */
|
|
2689
|
+
|
|
2690
|
+
/* size */
|
|
2691
|
+
display: flex;
|
|
2692
|
+
align-items: center;
|
|
2693
|
+
|
|
2694
|
+
width: 100%;
|
|
2695
|
+
min-width: 0;
|
|
2696
|
+
|
|
2697
|
+
/* border */
|
|
2698
|
+
|
|
2699
|
+
/* depth */
|
|
2700
|
+
|
|
2701
|
+
/* motion */
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2557
2704
|
/* src/components/field/field.css */
|
|
2558
2705
|
.field {
|
|
2559
2706
|
/* color */
|
package/themes/base/desktop.css
CHANGED
package/themes/base/desktop.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
package/themes/base/diagram.css
CHANGED
package/themes/base/diagram.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
package/themes/base/mobile.css
CHANGED
package/themes/base/mobile.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `color/bg/contrast` | `color` | `#FFFFFF` |
|
|
12
12
|
| `color/bg/dark` | `color` | `#0D0D0D` |
|
|
13
13
|
| `color/bg/disabled` | `color` | `#B2B2B2` |
|
|
14
|
+
| `color/bg/media` | `color` | `#4B4C4D` |
|
|
14
15
|
| `color/bg/placeholder` | `color` | `#EBEFF2` |
|
|
15
16
|
| `color/bg/true-black` | `color` | `#000000` |
|
|
16
17
|
| `color/contrast` | `color` | `#FFFFFF` |
|