@verdocs/web-sdk 1.0.12 → 1.0.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.
Files changed (160) hide show
  1. package/dist/cjs/{Content-e6f81563.js → Content-986f7a13.js} +15 -2
  2. package/dist/cjs/document-status-indicator.cjs.entry.js +2 -2
  3. package/dist/cjs/dropdown-menu.cjs.entry.js +2 -2
  4. package/dist/cjs/{index-2293949e.js → index-e2fb537e.js} +359 -8
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/org-popup.cjs.entry.js +2 -2
  7. package/dist/cjs/pdf-viewer.cjs.entry.js +6 -2
  8. package/dist/cjs/search-box.cjs.entry.js +22 -3
  9. package/dist/cjs/search-embed.cjs.entry.js +1 -1
  10. package/dist/cjs/search-quick-functions.cjs.entry.js +2 -2
  11. package/dist/cjs/search-recent.cjs.entry.js +3 -3
  12. package/dist/cjs/search-saved.cjs.entry.js +3 -3
  13. package/dist/cjs/search-starred.cjs.entry.js +6 -5
  14. package/dist/cjs/search-tabs.cjs.entry.js +2 -1
  15. package/dist/cjs/tags-indicator.cjs.entry.js +2 -2
  16. package/dist/cjs/template-card.cjs.entry.js +2 -2
  17. package/dist/cjs/toggle-icon-buttons.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-web-sdk.cjs.js +2 -2
  19. package/dist/collection/api/endpoint.js +1 -0
  20. package/dist/collection/collection-manifest.json +1 -1
  21. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css +10 -4
  22. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js +1 -2
  23. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.css +23 -19
  24. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.js +1 -2
  25. package/dist/collection/components/controls/tags-indicator/tags-indicator.css +8 -2
  26. package/dist/collection/components/controls/tags-indicator/tags-indicator.js +1 -2
  27. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.css +18 -12
  28. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.js +1 -2
  29. package/dist/collection/components/elements/org-popup/org-popup.css +17 -17
  30. package/dist/collection/components/elements/org-popup/org-popup.js +1 -2
  31. package/dist/collection/components/elements/search-box/close.svg +3 -0
  32. package/dist/collection/components/elements/search-box/search-box.css +70 -2
  33. package/dist/collection/components/elements/search-box/search-box.js +70 -4
  34. package/dist/collection/components/elements/search-box/search-box.stories.js +7 -9
  35. package/dist/collection/components/elements/search-box/search.svg +3 -0
  36. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.css +10 -12
  37. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.js +1 -2
  38. package/dist/collection/components/elements/search-recent/search-recent.css +15 -22
  39. package/dist/collection/components/elements/search-recent/search-recent.js +1 -2
  40. package/dist/collection/components/elements/search-saved/search-saved.css +14 -20
  41. package/dist/collection/components/elements/search-saved/search-saved.js +1 -2
  42. package/dist/collection/components/elements/search-starred/search-starred.css +22 -40
  43. package/dist/collection/components/elements/search-starred/search-starred.js +31 -8
  44. package/dist/collection/components/elements/search-starred/search-starred.stories.js +13 -15
  45. package/dist/collection/components/elements/search-tabs/search-tabs.css +1 -1
  46. package/dist/collection/components/elements/search-tabs/search-tabs.js +8 -3
  47. package/dist/collection/components/elements/template-card/template-card.css +21 -13
  48. package/dist/collection/components/elements/template-card/template-card.js +2 -3
  49. package/dist/collection/components/embeds/search-embed/search-embed.css +1 -1
  50. package/dist/collection/components/embeds/search-embed/search-embed.js +1 -1
  51. package/dist/collection/components/pdf-viewer/pdf-viewer.css +7 -4
  52. package/dist/collection/components/pdf-viewer/pdf-viewer.js +2 -3
  53. package/dist/custom-elements/index.js +70 -45
  54. package/dist/custom-elements.json +266 -0
  55. package/dist/docs.json +69 -18
  56. package/dist/esm/{Content-0acef73b.js → Content-386637c8.js} +15 -2
  57. package/dist/esm/document-status-indicator.entry.js +2 -2
  58. package/dist/esm/dropdown-menu.entry.js +2 -2
  59. package/dist/esm/{index-69a4b693.js → index-183a8995.js} +359 -8
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/org-popup.entry.js +2 -2
  62. package/dist/esm/pdf-viewer.entry.js +6 -2
  63. package/dist/esm/search-box.entry.js +22 -3
  64. package/dist/esm/search-embed.entry.js +1 -1
  65. package/dist/esm/search-quick-functions.entry.js +2 -2
  66. package/dist/esm/search-recent.entry.js +3 -3
  67. package/dist/esm/search-saved.entry.js +3 -3
  68. package/dist/esm/search-starred.entry.js +6 -5
  69. package/dist/esm/search-tabs.entry.js +2 -1
  70. package/dist/esm/tags-indicator.entry.js +2 -2
  71. package/dist/esm/template-card.entry.js +2 -2
  72. package/dist/esm/toggle-icon-buttons.entry.js +2 -2
  73. package/dist/esm/verdocs-web-sdk.js +2 -2
  74. package/dist/esm-es5/{Content-0acef73b.js → Content-386637c8.js} +1 -1
  75. package/dist/esm-es5/document-status-indicator.entry.js +1 -1
  76. package/dist/esm-es5/dropdown-menu.entry.js +1 -1
  77. package/dist/esm-es5/index-183a8995.js +1 -0
  78. package/dist/esm-es5/loader.js +1 -1
  79. package/dist/esm-es5/org-popup.entry.js +1 -1
  80. package/dist/esm-es5/pdf-viewer.entry.js +2 -2
  81. package/dist/esm-es5/search-box.entry.js +1 -1
  82. package/dist/esm-es5/search-embed.entry.js +1 -1
  83. package/dist/esm-es5/search-quick-functions.entry.js +1 -1
  84. package/dist/esm-es5/search-recent.entry.js +1 -1
  85. package/dist/esm-es5/search-saved.entry.js +1 -1
  86. package/dist/esm-es5/search-starred.entry.js +1 -1
  87. package/dist/esm-es5/search-tabs.entry.js +1 -1
  88. package/dist/esm-es5/tags-indicator.entry.js +1 -1
  89. package/dist/esm-es5/template-card.entry.js +1 -1
  90. package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
  91. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  92. package/dist/types/api/endpoint.d.ts +1 -0
  93. package/dist/types/components/elements/search-box/search-box.d.ts +14 -0
  94. package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -2
  95. package/dist/types/components/elements/search-starred/search-starred.d.ts +10 -1
  96. package/dist/types/components/elements/search-starred/search-starred.stories.d.ts +2 -1
  97. package/dist/types/components/elements/search-tabs/search-tabs.d.ts +2 -0
  98. package/dist/types/components/elements/template-card/template-card.d.ts +1 -1
  99. package/dist/types/components.d.ts +13 -2
  100. package/dist/verdocs-web-sdk/p-153879ad.entry.js +1 -0
  101. package/dist/verdocs-web-sdk/{p-299c2e14.system.entry.js → p-1d1bc463.system.entry.js} +1 -1
  102. package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +1 -0
  103. package/dist/verdocs-web-sdk/{p-f6bd3c28.entry.js → p-2cec77cf.entry.js} +1 -1
  104. package/dist/verdocs-web-sdk/{p-79141dc5.entry.js → p-32a5788a.entry.js} +1 -1
  105. package/dist/verdocs-web-sdk/{p-23d40cb1.system.js → p-33f73371.system.js} +1 -1
  106. package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +1 -0
  107. package/dist/verdocs-web-sdk/{p-4ffe65f0.entry.js → p-36082c90.entry.js} +1 -1
  108. package/dist/verdocs-web-sdk/p-3a032151.entry.js +1 -0
  109. package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +1 -0
  110. package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +1 -0
  111. package/dist/verdocs-web-sdk/{p-d498562e.system.entry.js → p-4d4e090f.system.entry.js} +1 -1
  112. package/dist/verdocs-web-sdk/p-55660c24.entry.js +1 -0
  113. package/dist/verdocs-web-sdk/p-63107dd5.system.entry.js +1 -0
  114. package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +1 -0
  115. package/dist/verdocs-web-sdk/{p-4b97efc0.system.entry.js → p-6e033b90.system.entry.js} +1 -1
  116. package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +1 -0
  117. package/dist/verdocs-web-sdk/p-7ab216be.system.entry.js +1 -0
  118. package/dist/verdocs-web-sdk/{p-ea92818e.system.entry.js → p-7d10b067.system.entry.js} +2 -2
  119. package/dist/verdocs-web-sdk/p-89be87e5.js +1 -0
  120. package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +1 -0
  121. package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +1 -0
  122. package/dist/verdocs-web-sdk/p-9af63b8a.system.js +1 -0
  123. package/dist/verdocs-web-sdk/p-9da35744.entry.js +1 -0
  124. package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +1 -0
  125. package/dist/verdocs-web-sdk/p-b466e003.entry.js +1 -0
  126. package/dist/verdocs-web-sdk/p-bb99a203.entry.js +1 -0
  127. package/dist/verdocs-web-sdk/p-cbc784a6.system.js +1 -0
  128. package/dist/verdocs-web-sdk/{p-3b38a704.js → p-cf030985.js} +1 -1
  129. package/dist/verdocs-web-sdk/{p-f8532ba9.entry.js → p-d73f486f.entry.js} +2 -2
  130. package/dist/verdocs-web-sdk/p-dea09611.entry.js +1 -0
  131. package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +1 -0
  132. package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +1 -0
  133. package/dist/verdocs-web-sdk/verdocs-web-sdk.css +1 -0
  134. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  135. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  136. package/package.json +4 -2
  137. package/dist/esm-es5/index-69a4b693.js +0 -1
  138. package/dist/verdocs-web-sdk/p-0851fc9a.entry.js +0 -1
  139. package/dist/verdocs-web-sdk/p-09a2b37a.system.entry.js +0 -1
  140. package/dist/verdocs-web-sdk/p-0c7f99e4.system.entry.js +0 -1
  141. package/dist/verdocs-web-sdk/p-10b8a992.system.entry.js +0 -1
  142. package/dist/verdocs-web-sdk/p-16920169.js +0 -1
  143. package/dist/verdocs-web-sdk/p-1d99fd7e.entry.js +0 -1
  144. package/dist/verdocs-web-sdk/p-20def3b4.system.entry.js +0 -1
  145. package/dist/verdocs-web-sdk/p-3120e567.system.entry.js +0 -1
  146. package/dist/verdocs-web-sdk/p-496ff0a9.entry.js +0 -1
  147. package/dist/verdocs-web-sdk/p-52695ad1.system.entry.js +0 -1
  148. package/dist/verdocs-web-sdk/p-58183d59.system.entry.js +0 -1
  149. package/dist/verdocs-web-sdk/p-64b6c2b3.entry.js +0 -1
  150. package/dist/verdocs-web-sdk/p-7427f970.entry.js +0 -1
  151. package/dist/verdocs-web-sdk/p-7b071b76.system.js +0 -1
  152. package/dist/verdocs-web-sdk/p-83fe27d7.entry.js +0 -1
  153. package/dist/verdocs-web-sdk/p-918d1153.system.js +0 -1
  154. package/dist/verdocs-web-sdk/p-943c181c.entry.js +0 -1
  155. package/dist/verdocs-web-sdk/p-a10f4a2a.system.entry.js +0 -1
  156. package/dist/verdocs-web-sdk/p-acbc9fd7.system.entry.js +0 -1
  157. package/dist/verdocs-web-sdk/p-ad52e615.entry.js +0 -1
  158. package/dist/verdocs-web-sdk/p-af8bde91.entry.js +0 -1
  159. package/dist/verdocs-web-sdk/p-c9c2393e.entry.js +0 -1
  160. package/dist/verdocs-web-sdk/p-eaee7c4a.system.entry.js +0 -1
@@ -1,8 +1,10 @@
1
- :host {
2
- display: block;
1
+ org-popup {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
4
6
 
5
- .container {
7
+ org-popup .container {
6
8
  width: 242px;
7
9
  height: 64px;
8
10
  background-color: #33364b;
@@ -13,35 +15,35 @@
13
15
  justify-content: center;
14
16
  }
15
17
 
16
- .container:hover > .popup {
18
+ org-popup .container:hover > .popup {
17
19
  display: flex;
18
20
  background: #ffffff;
19
21
  color: #33364b;
20
22
  }
21
23
 
22
- .icon {
24
+ org-popup .icon {
23
25
  flex: 1;
24
26
  margin-left: 15px;
25
27
  margin-right: 0px;
26
28
  }
27
29
 
28
- .icon svg {
30
+ org-popup .icon svg {
29
31
  width: 24px;
30
32
  margin-bottom: -5px;
31
33
  }
32
34
 
33
- .content {
35
+ org-popup .content {
34
36
  color: #fff;
35
37
  flex: 4;
36
38
  font-family: sans-serif;
37
39
  }
38
40
 
39
- .popup {
41
+ org-popup .popup {
40
42
  position: absolute;
41
43
  top: -1px;
42
44
  left: -4px;
43
45
  display: none;
44
- border: 1px solid #1e2031;
46
+ border: 1px solid var(--verdocs-background-dark);
45
47
  border-radius: 10px;
46
48
  width: 326px;
47
49
  height: 220px;
@@ -52,7 +54,7 @@
52
54
  font-family: sans-serif;
53
55
  }
54
56
 
55
- .popup-header {
57
+ org-popup .popup-header {
56
58
  display: flex;
57
59
  flex-direction: row;
58
60
  align-items: center;
@@ -63,7 +65,7 @@
63
65
  color: #4c56cb;
64
66
  }
65
67
 
66
- .popup-body {
68
+ org-popup .popup-body {
67
69
  display: flex;
68
70
  flex-direction: row;
69
71
  flex-wrap: wrap;
@@ -74,21 +76,19 @@
74
76
  text-transform: uppercase;
75
77
  }
76
78
 
77
- .popup-body span {
79
+ org-popup .popup-body span {
78
80
  display: block;
79
81
  flex: 2 80px;
80
82
  margin-left: 7px;
81
83
  }
82
84
 
83
- .popup-body span:last-child {
85
+ org-popup .popup-body span:last-child {
84
86
  margin-top: 5px;
85
87
  }
86
88
 
87
- .status {
89
+ org-popup .status {
88
90
  width: 29px;
89
91
  height: 29px;
90
92
  background-color: #aeb4bf;
91
93
  border-radius: 50%;
92
- }
93
-
94
-
94
+ }
@@ -35,9 +35,8 @@ export class OrgPopup {
35
35
  h("span", null, (_f = this.organization) === null || _f === void 0 ? void 0 : _f.website)))));
36
36
  }
37
37
  static get is() { return "org-popup"; }
38
- static get encapsulation() { return "shadow"; }
39
38
  static get originalStyleUrls() { return {
40
- "$": ["org-popup.css"]
39
+ "$": ["org-popup.scss"]
41
40
  }; }
42
41
  static get styleUrls() { return {
43
42
  "$": ["org-popup.css"]
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.0739 11.7565L19.7127 6.23228C20.0875 5.85692 20.0875 5.25309 19.7127 4.87773L19.0213 4.20046C18.6382 3.82511 18.0219 3.82511 17.6387 4.20046L12 9.72472L6.36127 4.20046C5.97814 3.82511 5.36179 3.82511 4.97866 4.20046L4.28735 4.87773C3.90422 5.25309 3.90422 5.85692 4.28735 6.23228L9.92608 11.7565L4.28735 17.2808C3.90422 17.6561 3.90422 18.26 4.28735 18.6353L4.97866 19.3126C5.36179 19.688 5.97814 19.688 6.36127 19.3126L12 13.7883L17.6387 19.3126C18.0219 19.688 18.6382 19.688 19.0213 19.3126L19.7127 18.6353C20.0958 18.26 20.0958 17.6561 19.7127 17.2808L14.0739 11.7565Z" fill="white"/>
3
+ </svg>
@@ -1,3 +1,71 @@
1
- :host {
2
- display: block;
1
+ search-box {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
6
+ search-box form {
7
+ display: flex;
8
+ flex-direction: row;
9
+ height: 45px;
10
+ box-sizing: border-box;
11
+ margin: 5px 0 0;
12
+ border-radius: 5px;
13
+ align-items: center;
14
+ background-color: #fff;
15
+ padding: 0 8px;
16
+ border-width: 1px;
17
+ border-style: solid;
18
+ border-color: var(--verdocs-container-border-color);
19
+ }
20
+ search-box form input {
21
+ box-sizing: border-box;
22
+ height: 43px;
23
+ width: 100%;
24
+ font-size: 18px;
25
+ border: none;
26
+ }
27
+ search-box form button.search {
28
+ display: inline-flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ box-sizing: border-box;
32
+ border-radius: 4px;
33
+ border: none;
34
+ width: 100px;
35
+ height: 28px;
36
+ font-weight: 700;
37
+ font-size: 10px;
38
+ letter-spacing: 1px;
39
+ background-color: #50be80;
40
+ text-transform: uppercase;
41
+ color: #fff;
42
+ }
43
+ search-box form .type {
44
+ background-color: #707ae5;
45
+ height: 30px;
46
+ display: inline-flex;
47
+ padding: 1px 0 2px 10px;
48
+ font-size: 13px;
49
+ line-height: 16px;
50
+ border-radius: 4px;
51
+ justify-content: center;
52
+ text-transform: uppercase;
53
+ align-items: center;
54
+ flex-direction: row;
55
+ color: #fff;
56
+ margin-right: 10px;
57
+ }
58
+ search-box form .type button {
59
+ border: none;
60
+ color: #fff;
61
+ margin: 5px 0 0 8px;
62
+ background: transparent;
63
+ }
64
+ search-box form svg {
65
+ width: 12px;
66
+ height: 12px;
67
+ margin-right: 6px;
68
+ }
69
+ search-box ::placeholder {
70
+ color: #aeb4bf;
71
+ }
@@ -1,15 +1,81 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, Host, h, State, Event, Prop } from '@stencil/core';
2
+ import SearchIcon from './search.svg';
3
+ import CloseIcon from './close.svg';
2
4
  export class SearchBox {
5
+ constructor() {
6
+ this.type = 'all';
7
+ }
8
+ handleSubmit(e) {
9
+ e.preventDefault();
10
+ this.search.emit({ type: this.type, q: this.q });
11
+ }
12
+ handleChange(event) {
13
+ this.q = event.target.value;
14
+ }
3
15
  render() {
4
16
  return (h(Host, null,
5
- h("slot", null)));
17
+ h("form", { onSubmit: e => this.handleSubmit(e) },
18
+ this.type !== undefined && this.type !== 'all' && (h("span", { class: "type" },
19
+ this.type,
20
+ "s ",
21
+ h("button", { class: "remove", innerHTML: CloseIcon }))),
22
+ h("input", { type: "text", placeholder: "search documents, templates, people...", value: this.q, onInput: e => this.handleChange(e) }),
23
+ h("button", { onClick: e => this.handleSubmit(e), class: "search" },
24
+ h("span", { innerHTML: SearchIcon }),
25
+ "Search"))));
6
26
  }
7
27
  static get is() { return "search-box"; }
8
- static get encapsulation() { return "shadow"; }
9
28
  static get originalStyleUrls() { return {
10
- "$": ["search-box.css"]
29
+ "$": ["search-box.scss"]
11
30
  }; }
12
31
  static get styleUrls() { return {
13
32
  "$": ["search-box.css"]
14
33
  }; }
34
+ static get properties() { return {
35
+ "type": {
36
+ "type": "string",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "TContentType",
40
+ "resolved": "\"all\" | \"document\" | \"organization\" | \"template\"",
41
+ "references": {
42
+ "TContentType": {
43
+ "location": "local"
44
+ }
45
+ }
46
+ },
47
+ "required": false,
48
+ "optional": false,
49
+ "docs": {
50
+ "tags": [],
51
+ "text": ""
52
+ },
53
+ "attribute": "type",
54
+ "reflect": false,
55
+ "defaultValue": "'all'"
56
+ }
57
+ }; }
58
+ static get states() { return {
59
+ "q": {}
60
+ }; }
61
+ static get events() { return [{
62
+ "method": "search",
63
+ "name": "search",
64
+ "bubbles": true,
65
+ "cancelable": true,
66
+ "composed": true,
67
+ "docs": {
68
+ "tags": [],
69
+ "text": "Event fired when the query value has changed."
70
+ },
71
+ "complexType": {
72
+ "original": "ISearchEvent",
73
+ "resolved": "ISearchEvent",
74
+ "references": {
75
+ "ISearchEvent": {
76
+ "location": "local"
77
+ }
78
+ }
79
+ }
80
+ }]; }
15
81
  }
@@ -1,15 +1,13 @@
1
1
  import { html } from 'lit-html';
2
- import { action } from '@storybook/addon-actions';
3
2
  export default {
4
3
  title: 'Elements/Search/Search Box',
5
4
  component: 'search-box',
6
- args: {},
7
- argTypes: {},
8
- };
9
- const listener = {
10
- handleEvent(e) {
11
- action('selected', e);
5
+ args: {
6
+ type: 'all',
7
+ },
8
+ argTypes: {
9
+ search: { action: 'search' },
10
+ type: { type: 'string', control: 'radio', options: ['all', 'document', 'template', 'organization'] },
12
11
  },
13
- capture: true,
14
12
  };
15
- export const Default = ({ options }) => html `<search-box .options=${options} @optionSelected=${listener} tall />`;
13
+ export const Default = ({ type, search }) => html `<search-box .type=${type} @search=${search} />`;
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M23.4809 20.7176L17.9111 15.2536C19.0961 13.6368 19.727 11.6926 19.7128 9.70131C19.7201 7.53345 18.9846 5.42606 17.6244 3.71753C16.2642 2.009 14.3581 0.798456 12.2123 0.280282C10.0665 -0.237892 7.80552 -0.0336342 5.79227 0.86026C3.77902 1.75415 2.13038 3.28582 1.1111 5.20931C0.0918114 7.1328 -0.238985 9.33652 0.171813 11.4666C0.582612 13.5967 1.71117 15.5296 3.37628 16.9548C5.0414 18.3801 7.14646 19.2151 9.35344 19.3257C11.5604 19.4364 13.7413 18.8162 15.5458 17.5649L21.1372 23.05L21.1563 23.0663C21.4841 23.3487 21.9039 23.507 22.3401 23.5128C22.7823 23.5125 23.2063 23.3402 23.5191 23.0337V23.0337C23.6749 22.8812 23.7979 22.6995 23.8804 22.4993C23.963 22.2991 24.0036 22.0847 23.9997 21.8688C23.9959 21.6529 23.9477 21.44 23.858 21.2428C23.7683 21.0456 23.639 20.8682 23.4778 20.7212L23.4809 20.7176ZM14.5167 14.1975C13.4564 15.2349 12.0623 15.8797 10.5719 16.022C9.08145 16.1644 7.58681 15.7955 6.34249 14.9781C5.09816 14.1608 4.18109 12.9456 3.74751 11.5395C3.31393 10.1334 3.39064 8.6233 3.96455 7.26643C4.53846 5.90955 5.57409 4.7898 6.89507 4.09787C8.21606 3.40594 9.74071 3.18461 11.2093 3.4716C12.678 3.75858 13.9998 4.53612 14.9497 5.6718C15.8996 6.80748 16.4188 8.23105 16.4189 9.7001C16.4196 10.5357 16.2519 11.3632 15.9254 12.135C15.599 12.9069 15.1202 13.6078 14.5167 14.1975V14.1975Z" fill="white"/>
3
+ </svg>
@@ -1,27 +1,26 @@
1
- :host {
2
- display: block;
1
+ search-quick-functions {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
4
-
5
- .container {
6
+ search-quick-functions .container {
6
7
  display: flex;
7
8
  flex-direction: column;
8
9
  flex-wrap: nowrap;
9
10
  width: 240px;
10
- background-color: #1e2031;
11
+ background-color: var(--verdocs-background-dark);
11
12
  text-transform: uppercase;
12
13
  padding: 10px 10px 20px 10px;
13
14
  font-family: sans-serif;
14
15
  color: #ffffff;
15
16
  }
16
-
17
- .title {
17
+ search-quick-functions .title {
18
18
  font-size: 22px;
19
19
  font-weight: 700;
20
20
  line-height: 30px;
21
21
  margin: 1em 0 40px 0;
22
22
  }
23
-
24
- button {
23
+ search-quick-functions button {
25
24
  width: 140px;
26
25
  height: 40px;
27
26
  border: none;
@@ -38,7 +37,6 @@ button {
38
37
  justify-content: space-evenly;
39
38
  background-color: #50be50;
40
39
  }
41
-
42
- button svg {
40
+ search-quick-functions button svg {
43
41
  fill: #ffffff;
44
- }
42
+ }
@@ -19,9 +19,8 @@ export class SearchQuickFunctions {
19
19
  h("button", { onClick: () => this.handleCreateDocument(), innerHTML: DocumentIcon }, "Document"))));
20
20
  }
21
21
  static get is() { return "search-quick-functions"; }
22
- static get encapsulation() { return "shadow"; }
23
22
  static get originalStyleUrls() { return {
24
- "$": ["search-quick-functions.css"]
23
+ "$": ["search-quick-functions.scss"]
25
24
  }; }
26
25
  static get styleUrls() { return {
27
26
  "$": ["search-quick-functions.css"]
@@ -1,34 +1,32 @@
1
- :host {
2
- display: block;
1
+ search-recent {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
4
-
5
- .container {
6
+ search-recent .container {
6
7
  display: flex;
7
8
  flex-direction: column;
8
9
  flex-wrap: nowrap;
9
10
  width: 240px;
10
- background-color: #1e2031;
11
+ background-color: var(--verdocs-background-dark);
11
12
  text-transform: uppercase;
12
13
  padding: 10px 10px 20px 10px;
13
14
  font-family: sans-serif;
14
15
  color: #ffffff;
15
16
  }
16
-
17
- .title {
17
+ search-recent .title {
18
18
  font-size: 22px;
19
19
  font-weight: 700;
20
20
  line-height: 30px;
21
21
  }
22
-
23
- .items {
22
+ search-recent .items {
24
23
  display: flex;
25
24
  flex-direction: column;
26
25
  flex-wrap: nowrap;
27
26
  align-items: flex-start;
28
27
  margin-top: 20px;
29
28
  }
30
-
31
- .button {
29
+ search-recent .button {
32
30
  background: transparent;
33
31
  border: none;
34
32
  height: 20px;
@@ -39,23 +37,19 @@
39
37
  display: flex;
40
38
  align-items: center;
41
39
  }
42
-
43
- .button:hover {
40
+ search-recent .button:hover {
44
41
  cursor: pointer;
45
42
  }
46
-
47
- .button:not(:last-child) {
43
+ search-recent .button:not(:last-child) {
48
44
  margin-bottom: 36px;
49
45
  }
50
-
51
- .button svg {
46
+ search-recent .button svg {
52
47
  fill: #707ae5;
53
48
  width: 28px;
54
49
  height: 28px;
55
50
  margin-right: 26px;
56
51
  }
57
-
58
- .pill {
52
+ search-recent .pill {
59
53
  font-size: 14px;
60
54
  display: inline-flex;
61
55
  padding: 3px 8px;
@@ -64,9 +58,8 @@
64
58
  background-color: #999999;
65
59
  color: #333;
66
60
  }
67
-
68
- .empty {
61
+ search-recent .empty {
69
62
  text-transform: none;
70
63
  line-height: 22px;
71
64
  color: #ccc;
72
- }
65
+ }
@@ -37,9 +37,8 @@ export class SearchRecent {
37
37
  this.recent.length < 1 && h("div", { class: "empty" }, "You do not have any recent searches.")))));
38
38
  }
39
39
  static get is() { return "search-recent"; }
40
- static get encapsulation() { return "shadow"; }
41
40
  static get originalStyleUrls() { return {
42
- "$": ["search-recent.css"]
41
+ "$": ["search-recent.scss"]
43
42
  }; }
44
43
  static get styleUrls() { return {
45
44
  "$": ["search-recent.css"]
@@ -1,34 +1,32 @@
1
- :host {
2
- display: block;
1
+ search-saved {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
4
-
5
- .container {
6
+ search-saved .container {
6
7
  display: flex;
7
8
  flex-direction: column;
8
9
  flex-wrap: nowrap;
9
10
  width: 240px;
10
- background-color: #1e2031;
11
+ background-color: var(--verdocs-background-dark);
11
12
  text-transform: uppercase;
12
13
  padding: 10px 10px 20px 10px;
13
14
  font-family: sans-serif;
14
15
  color: #ffffff;
15
16
  }
16
-
17
- .title {
17
+ search-saved .title {
18
18
  font-size: 22px;
19
19
  font-weight: 700;
20
20
  line-height: 30px;
21
21
  }
22
-
23
- .items {
22
+ search-saved .items {
24
23
  display: flex;
25
24
  flex-direction: column;
26
25
  flex-wrap: nowrap;
27
26
  align-items: flex-start;
28
27
  margin-top: 20px;
29
28
  }
30
-
31
- .button {
29
+ search-saved .button {
32
30
  background: transparent;
33
31
  border: none;
34
32
  height: 20px;
@@ -39,24 +37,20 @@
39
37
  display: flex;
40
38
  align-items: center;
41
39
  }
42
-
43
- .button:hover {
40
+ search-saved .button:hover {
44
41
  cursor: pointer;
45
42
  }
46
-
47
- .button:not(:last-child) {
43
+ search-saved .button:not(:last-child) {
48
44
  margin-bottom: 36px;
49
45
  }
50
-
51
- .button svg {
46
+ search-saved .button svg {
52
47
  fill: #707ae5;
53
48
  width: 28px;
54
49
  height: 28px;
55
50
  margin-right: 26px;
56
51
  }
57
-
58
- .empty {
52
+ search-saved .empty {
59
53
  text-transform: none;
60
54
  line-height: 22px;
61
55
  color: #ccc;
62
- }
56
+ }
@@ -33,9 +33,8 @@ export class SearchSaved {
33
33
  this.saved.length < 1 && h("div", { class: "empty" }, "You do not have any saved searches.")))));
34
34
  }
35
35
  static get is() { return "search-saved"; }
36
- static get encapsulation() { return "shadow"; }
37
36
  static get originalStyleUrls() { return {
38
- "$": ["search-saved.css"]
37
+ "$": ["search-saved.scss"]
39
38
  }; }
40
39
  static get styleUrls() { return {
41
40
  "$": ["search-saved.css"]
@@ -1,33 +1,28 @@
1
- :host {
2
- display: block;
1
+ search-starred {
2
+ /* Fallback font for old browsers */
3
+ font-family: sans-serif;
4
+ font-family: var(--verdocs-font);
3
5
  }
4
-
5
- .container {
6
+ search-starred .container {
6
7
  display: flex;
7
- flex-direction: column;
8
- flex-wrap: nowrap;
9
8
  width: 240px;
10
- background-color: #1e2031;
9
+ color: #ffffff;
10
+ flex-direction: column;
11
11
  text-transform: uppercase;
12
12
  padding: 10px 10px 20px 10px;
13
- font-family: sans-serif;
14
- color: #ffffff;
13
+ background-color: var(--verdocs-background-dark);
15
14
  }
16
-
17
- .title {
15
+ search-starred .title {
18
16
  font-size: 22px;
19
17
  font-weight: 700;
20
18
  line-height: 30px;
21
19
  }
22
-
23
- .items {
20
+ search-starred .items {
24
21
  display: flex;
25
- flex-direction: column;
26
- flex-wrap: nowrap;
27
22
  margin-top: 20px;
23
+ flex-direction: column;
28
24
  }
29
-
30
- .item {
25
+ search-starred .item {
31
26
  border: none;
32
27
  display: flex;
33
28
  text-align: left;
@@ -35,52 +30,39 @@
35
30
  flex-direction: row;
36
31
  background: transparent;
37
32
  }
38
-
39
- .item:hover {
33
+ search-starred .item:hover {
40
34
  cursor: pointer;
41
35
  }
42
-
43
- .icon {
44
- flex: 0;
36
+ search-starred .icon {
37
+ flex: 0 0 22px;
45
38
  margin-right: 14px;
46
39
  }
47
-
48
- .icon svg {
40
+ search-starred .icon svg {
49
41
  fill: #707ae5;
50
42
  width: 22px;
51
43
  height: 22px;
52
44
  }
53
-
54
- .details {
45
+ search-starred .details {
55
46
  display: flex;
47
+ overflow: hidden;
56
48
  flex-direction: column;
57
- justify-content: flex-start;
58
49
  }
59
-
60
- .item-title {
50
+ search-starred .item-title {
61
51
  font-size: 16px;
62
- font-family: sans-serif;
63
52
  font-weight: 400;
64
- /*line-height: 33px;*/
65
53
  color: #ffffff;
66
- width: 100%;
67
54
  white-space: nowrap;
68
55
  overflow: hidden;
69
56
  text-overflow: ellipsis;
70
57
  }
71
-
72
- .info {
58
+ search-starred .info {
73
59
  font-size: 14px;
74
- font-family: sans-serif;
75
60
  font-weight: 500;
76
61
  line-height: 23px;
77
62
  color: #aeb4bf;
78
- grid-column: 2/10;
79
- grid-row: 2;
80
63
  }
81
-
82
- .empty {
64
+ search-starred .empty {
83
65
  text-transform: none;
84
66
  line-height: 22px;
85
67
  color: #ccc;
86
- }
68
+ }