@social.io/catalog 1.0.93
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/bundle.js +5949 -0
- package/dist_bundle/bundle.js.map +7 -0
- package/dist_ts_web/00_commitinfo_data.d.ts +8 -0
- package/dist_ts_web/00_commitinfo_data.js +9 -0
- package/dist_ts_web/elements/index.d.ts +4 -0
- package/dist_ts_web/elements/index.js +5 -0
- package/dist_ts_web/elements/sio-combox.d.ts +13 -0
- package/dist_ts_web/elements/sio-combox.js +194 -0
- package/dist_ts_web/elements/sio-fab.d.ts +17 -0
- package/dist_ts_web/elements/sio-fab.js +180 -0
- package/dist_ts_web/elements/sio-subwidget-conversations.d.ts +7 -0
- package/dist_ts_web/elements/sio-subwidget-conversations.js +165 -0
- package/dist_ts_web/elements/sio-subwidget-onboardme.d.ts +7 -0
- package/dist_ts_web/elements/sio-subwidget-onboardme.js +76 -0
- package/dist_ts_web/index.d.ts +1 -0
- package/dist_ts_web/index.js +2 -0
- package/dist_ts_web/pages/firstpage.d.ts +1 -0
- package/dist_ts_web/pages/firstpage.js +5 -0
- package/dist_ts_web/pages/index.d.ts +2 -0
- package/dist_ts_web/pages/index.js +3 -0
- package/dist_ts_web/pages/mainpage.d.ts +1 -0
- package/dist_ts_web/pages/mainpage.js +3 -0
- package/dist_watch/bundle.js +120817 -0
- package/dist_watch/bundle.js.map +7 -0
- package/dist_watch/index.html +28 -0
- package/license +19 -0
- package/npmextra.json +19 -0
- package/package.json +51 -0
- package/readme.hints.md +0 -0
- package/readme.md +31 -0
- package/ts_web/00_commitinfo_data.ts +8 -0
- package/ts_web/elements/index.ts +4 -0
- package/ts_web/elements/sio-combox.ts +199 -0
- package/ts_web/elements/sio-fab.ts +185 -0
- package/ts_web/elements/sio-subwidget-conversations.ts +156 -0
- package/ts_web/elements/sio-subwidget-onboardme.ts +64 -0
- package/ts_web/index.ts +1 -0
- package/ts_web/pages/firstpage.ts +5 -0
- package/ts_web/pages/index.ts +2 -0
- package/ts_web/pages/mainpage.ts +3 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { DeesElement, property, html, customElement, type TemplateResult } from '@design.estate/dees-element';
|
|
2
|
+
import * as domtools from '@design.estate/dees-domtools';
|
|
3
|
+
|
|
4
|
+
import * as sioInterfaces from '@social.io/interfaces';
|
|
5
|
+
|
|
6
|
+
@customElement('sio-subwidget-conversations')
|
|
7
|
+
export class SioSubwidgetConversations extends DeesElement {
|
|
8
|
+
// STATIC
|
|
9
|
+
|
|
10
|
+
// INSTANCE
|
|
11
|
+
public conversations: sioInterfaces.ISioConversation[] = [
|
|
12
|
+
{
|
|
13
|
+
subject: 'Pricing page',
|
|
14
|
+
parties: [
|
|
15
|
+
{
|
|
16
|
+
id: '1',
|
|
17
|
+
description: 'Lossless Support',
|
|
18
|
+
name: 'Lossless Support',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: '2',
|
|
22
|
+
description: 'you',
|
|
23
|
+
name: 'you',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
conversationBlocks: [
|
|
27
|
+
{
|
|
28
|
+
partyId: '1',
|
|
29
|
+
text: 'Hello there :) How can we help you?',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
partyId: '2',
|
|
33
|
+
text: 'Hi! Where is your pricing page?',
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},{
|
|
37
|
+
subject: 'Pricing page',
|
|
38
|
+
parties: [
|
|
39
|
+
{
|
|
40
|
+
id: '1',
|
|
41
|
+
description: 'Lossless Support',
|
|
42
|
+
name: 'Lossless Support',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: '2',
|
|
46
|
+
description: 'you',
|
|
47
|
+
name: 'you',
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
conversationBlocks: [
|
|
51
|
+
{
|
|
52
|
+
partyId: '1',
|
|
53
|
+
text: 'Hello there :) How can we help you?',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
partyId: '2',
|
|
57
|
+
text: 'Hi! Where is your pricing page?',
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
public static demo = () => html`<sio-subwidget-conversations></sio-subwidget-conversations>`;
|
|
64
|
+
public render(): TemplateResult {
|
|
65
|
+
return html`
|
|
66
|
+
${domtools.elementBasic.styles}
|
|
67
|
+
<style>
|
|
68
|
+
:host {
|
|
69
|
+
color: ${this.goBright ? '#666' : '#ccc'};
|
|
70
|
+
font-family: 'Dees Sans';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.conversationbox {
|
|
74
|
+
padding: 20px;
|
|
75
|
+
transition: all 0.1s;
|
|
76
|
+
min-height: 200px;
|
|
77
|
+
margin: 20px;
|
|
78
|
+
background: ${this.goBright ? '#fff' : '#111111'};
|
|
79
|
+
border-radius: 16px;
|
|
80
|
+
border-top: 1px solid rgba(250, 250, 250, 0.1);
|
|
81
|
+
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
|
|
82
|
+
margin-bottom: 20px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.conversationbox .text {
|
|
86
|
+
font-family: 'Dees Sans';
|
|
87
|
+
margin-bottom: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.conversation {
|
|
91
|
+
display: block;
|
|
92
|
+
transition: all 0.1s;
|
|
93
|
+
padding: 8px 0px 8px 0px;
|
|
94
|
+
border-bottom: 1px solid;
|
|
95
|
+
border-image: radial-gradient(rgba(136, 136, 136, 0.44), rgba(136, 136, 136, 0)) 1 / 1 / 0 stretch;
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.conversation:last-of-type {
|
|
100
|
+
border-bottom: none;
|
|
101
|
+
margin-bottom: 8px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.conversation:hover {
|
|
105
|
+
cursor: default;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.conversation:hover .gridcontainer {
|
|
109
|
+
transform: translateX(2px)
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.conversation .gridcontainer {
|
|
113
|
+
display: grid;
|
|
114
|
+
grid-template-columns: 50px auto;
|
|
115
|
+
transition: transform 0.2s;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.conversation .gridcontainer .profilePicture {
|
|
119
|
+
height: 40px;
|
|
120
|
+
width: 40px;
|
|
121
|
+
border-radius: 50px;
|
|
122
|
+
background: ${this.goBright ? '#EEE' : '#222'};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.conversation .gridcontainer .text .topLine {
|
|
126
|
+
font-family: 'Dees Sans';
|
|
127
|
+
padding-top: 3px;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.gridcontainer .gridcontainer .text .bottomLine {
|
|
132
|
+
font-family: 'Dees Sans';
|
|
133
|
+
font-size: 14px;
|
|
134
|
+
}
|
|
135
|
+
</style>
|
|
136
|
+
<div class="conversationbox">
|
|
137
|
+
<div class="text">Your conversations:</div>
|
|
138
|
+
|
|
139
|
+
${this.conversations.map((conversationArg) => {
|
|
140
|
+
return html`
|
|
141
|
+
<div class="conversation">
|
|
142
|
+
<div class="gridcontainer">
|
|
143
|
+
<div class="profilePicture"></div>
|
|
144
|
+
<div class="text">
|
|
145
|
+
<div class="topLine">Today at 8:01</div>
|
|
146
|
+
<div class="bottomLine">${conversationArg.subject}</div>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
`;
|
|
151
|
+
})}
|
|
152
|
+
<dees-button>View more</dees-button>
|
|
153
|
+
</div>
|
|
154
|
+
`;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { DeesElement, property, html, customElement, type TemplateResult } from '@design.estate/dees-element';
|
|
2
|
+
import * as domtools from '@design.estate/dees-domtools';
|
|
3
|
+
|
|
4
|
+
import * as deesCatalog from '@design.estate/dees-catalog';
|
|
5
|
+
deesCatalog;
|
|
6
|
+
|
|
7
|
+
@customElement('sio-subwidget-onboardme')
|
|
8
|
+
export class SioSubwidgetOnboardme extends DeesElement {
|
|
9
|
+
@property()
|
|
10
|
+
public showCombox = false;
|
|
11
|
+
|
|
12
|
+
public static demo = () => html`
|
|
13
|
+
<sio-subwidget-onboardme></sio-subwidget-onboardme>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
domtools.DomTools.setupDomTools();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public render(): TemplateResult {
|
|
22
|
+
return html`
|
|
23
|
+
${domtools.elementBasic.styles}
|
|
24
|
+
<style>
|
|
25
|
+
|
|
26
|
+
:host {
|
|
27
|
+
display: block;
|
|
28
|
+
position: relative;
|
|
29
|
+
transition: all 0.1s;
|
|
30
|
+
min-height: 200px;
|
|
31
|
+
margin: 20px 20px 40px 20px;
|
|
32
|
+
background: ${this.goBright ? '#fafafa' : '#111111'};
|
|
33
|
+
border-radius: 16px;
|
|
34
|
+
border-top: 1px solid rgba(250,250,250,0.1);
|
|
35
|
+
box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
|
|
36
|
+
padding: 24px 24px 32px 24px;
|
|
37
|
+
color: #CCC;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host(:hover) {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.brandingbox {
|
|
45
|
+
text-align: center;
|
|
46
|
+
position: absolute;
|
|
47
|
+
width: 100%;
|
|
48
|
+
bottom: 0px;
|
|
49
|
+
left: 0px;
|
|
50
|
+
font-size: 10px;
|
|
51
|
+
padding: 3px;
|
|
52
|
+
border-top: 1px solid rgba(250,250,250, 0.1);
|
|
53
|
+
font-family: 'Dees Code';
|
|
54
|
+
background: ${this.goBright ? '#eee' : '#111111'};
|
|
55
|
+
color: #666;
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
Or search through our documentation
|
|
59
|
+
<dees-input-text key="searchTerm" label="Search Term:"></dees-input-text>
|
|
60
|
+
<dees-button>Search</dees-button>
|
|
61
|
+
<div class="brandingbox">last updated: ${new Date().toISOString()}</div>
|
|
62
|
+
`;
|
|
63
|
+
}
|
|
64
|
+
}
|
package/ts_web/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './elements/index.js';
|