@procore/core-react 10.20.0-rc.73 → 10.20.0-rc.78

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 (81) hide show
  1. package/dist/esm/components/Avatar/Avatar.types.d.ts +2 -2
  2. package/dist/esm/components/Banner/Banner.types.d.ts +1 -1
  3. package/dist/esm/components/TextEditor/TextEditor.d.ts +1 -1
  4. package/dist/esm/components/TextEditor/TextEditor.js +1 -1
  5. package/dist/esm/layouts/LegacyDetailPage/LegacyDetailPage.d.ts +42 -0
  6. package/dist/esm/layouts/LegacyDetailPage/LegacyDetailPage.js +45 -0
  7. package/dist/esm/layouts/LegacyDetailPage/LegacyDetailPage.js.map +1 -1
  8. package/dist/props/Avatar.json +1 -1
  9. package/dist/props/Banner.json +1 -1
  10. package/dist/props/Card.json +1 -1
  11. package/dist/props/Dropdown.json +1 -1
  12. package/dist/props/Form.json +1 -1
  13. package/dist/props/GridSource.json +1 -1
  14. package/dist/props/Input.json +1 -1
  15. package/dist/props/ListPage.json +1 -1
  16. package/dist/props/Menu.json +1 -1
  17. package/dist/props/Pagination.json +1 -1
  18. package/dist/props/Search.json +1 -1
  19. package/dist/props/SegmentedController.json +1 -1
  20. package/dist/props/Spinner.json +1 -1
  21. package/dist/props/Table.json +1 -1
  22. package/dist/props/Tabs.json +1 -1
  23. package/dist/props/TextArea.json +1 -1
  24. package/dist/props/TextEditor.json +1 -1
  25. package/dist/props/Token.json +1 -1
  26. package/dist/props/ToolHeader.json +1 -1
  27. package/dist/props/TreeSource.json +1 -1
  28. package/dist/props/allProps.json +3 -3
  29. package/package.json +7 -7
  30. package/storybook-static/0.908f4b9f.iframe.bundle.js +3 -0
  31. package/storybook-static/{4.6491b5f4.iframe.bundle.js.LICENSE.txt → 0.908f4b9f.iframe.bundle.js.LICENSE.txt} +0 -0
  32. package/storybook-static/0.908f4b9f.iframe.bundle.js.map +1 -0
  33. package/storybook-static/0.f317b2b1aa22ca35d526.manager.bundle.js +1 -0
  34. package/storybook-static/1.03c14768.iframe.bundle.js +1 -0
  35. package/storybook-static/2.c72159e3.iframe.bundle.js +1 -0
  36. package/storybook-static/4.c2d719b9516b3e7b9270.manager.bundle.js +2 -0
  37. package/storybook-static/{4.dba45d0ec467a07ec391.manager.bundle.js.LICENSE.txt → 4.c2d719b9516b3e7b9270.manager.bundle.js.LICENSE.txt} +0 -0
  38. package/storybook-static/5.3dc4ee7e2812b52f7b3b.manager.bundle.js +1 -0
  39. package/storybook-static/6.20114a54.iframe.bundle.js +1 -0
  40. package/storybook-static/{6.d3c92fcde841babec94b.manager.bundle.js → 6.c36979cf45b19f90ac82.manager.bundle.js} +2 -2
  41. package/storybook-static/{6.5a91849d.iframe.bundle.js.LICENSE.txt → 6.c36979cf45b19f90ac82.manager.bundle.js.LICENSE.txt} +0 -0
  42. package/storybook-static/{7.d4fae2502add4edac9c0.manager.bundle.js → 7.17b3d57a0c53a98555b6.manager.bundle.js} +1 -1
  43. package/storybook-static/7.8214fc76.iframe.bundle.js +3 -0
  44. package/storybook-static/{6.d3c92fcde841babec94b.manager.bundle.js.LICENSE.txt → 7.8214fc76.iframe.bundle.js.LICENSE.txt} +0 -0
  45. package/storybook-static/7.8214fc76.iframe.bundle.js.map +1 -0
  46. package/storybook-static/{8.7605581e3a5a6b73695e.manager.bundle.js → 8.0d3a51cc94a99c8fb018.manager.bundle.js} +1 -1
  47. package/storybook-static/8.31bbc211.iframe.bundle.js +1 -0
  48. package/storybook-static/iframe.html +223 -13
  49. package/storybook-static/index.html +17 -13
  50. package/storybook-static/main.1bec0bd6a3b35e087442.manager.bundle.js +1 -0
  51. package/storybook-static/main.923fa96f.iframe.bundle.js +1 -0
  52. package/storybook-static/runtime~main.06b0e942.iframe.bundle.js +1 -0
  53. package/storybook-static/{runtime~main.32eb6a7b06c6555f4158.manager.bundle.js → runtime~main.db01be243cf7788d54a6.manager.bundle.js} +1 -1
  54. package/storybook-static/vendors~main.244af15edeb1139c0c43.manager.bundle.js +2 -0
  55. package/storybook-static/{vendors~main.e7eaf8e22c8fa908767a.manager.bundle.js.LICENSE.txt → vendors~main.244af15edeb1139c0c43.manager.bundle.js.LICENSE.txt} +22 -0
  56. package/storybook-static/vendors~main.b95daf77.iframe.bundle.js +3 -0
  57. package/storybook-static/{vendors~main.ab534357.iframe.bundle.js.LICENSE.txt → vendors~main.b95daf77.iframe.bundle.js.LICENSE.txt} +0 -0
  58. package/storybook-static/vendors~main.b95daf77.iframe.bundle.js.map +1 -0
  59. package/typedoc.js +10 -0
  60. package/dist/esm/components/Header.d.ts +0 -20
  61. package/dist/esm/components/Header.js +0 -56
  62. package/dist/esm/components/Header.js.map +0 -1
  63. package/dist/esm/layouts/WXPDetailPage.d.ts +0 -47
  64. package/dist/esm/layouts/WXPDetailPage.js +0 -217
  65. package/dist/esm/layouts/WXPDetailPage.js.map +0 -1
  66. package/storybook-static/0.644ebad2.iframe.bundle.js +0 -1
  67. package/storybook-static/0.af45bde5577658633a6d.manager.bundle.js +0 -1
  68. package/storybook-static/4.6491b5f4.iframe.bundle.js +0 -3
  69. package/storybook-static/4.6491b5f4.iframe.bundle.js.map +0 -1
  70. package/storybook-static/4.dba45d0ec467a07ec391.manager.bundle.js +0 -2
  71. package/storybook-static/5.2214486c3e7d9232af22.manager.bundle.js +0 -1
  72. package/storybook-static/5.4e8baaf8.iframe.bundle.js +0 -1
  73. package/storybook-static/6.5a91849d.iframe.bundle.js +0 -3
  74. package/storybook-static/6.5a91849d.iframe.bundle.js.map +0 -1
  75. package/storybook-static/7.e0c7b743.iframe.bundle.js +0 -1
  76. package/storybook-static/main.59eab8f1b254aadacda2.manager.bundle.js +0 -1
  77. package/storybook-static/main.e7adb15f.iframe.bundle.js +0 -1
  78. package/storybook-static/runtime~main.b2dd57a7.iframe.bundle.js +0 -1
  79. package/storybook-static/vendors~main.ab534357.iframe.bundle.js +0 -3
  80. package/storybook-static/vendors~main.ab534357.iframe.bundle.js.map +0 -1
  81. package/storybook-static/vendors~main.e7eaf8e22c8fa908767a.manager.bundle.js +0 -2
@@ -1,4 +1,5 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"><base target="_parent"><style>:not(.sb-show-main) > .sb-main,
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"><base target="_parent"><style>:not(.sb-show-preparing-story) > .sb-preparing-story,
2
+ :not(.sb-show-preparing-docs) > .sb-preparing-docs,
2
3
  :not(.sb-show-nopreview) > .sb-nopreview,
3
4
  :not(.sb-show-errordisplay) > .sb-errordisplay {
4
5
  display: none;
@@ -47,7 +48,8 @@
47
48
  left: 0;
48
49
  right: 0;
49
50
  padding: 20px;
50
- font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
51
+ font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
52
+ BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
51
53
  -webkit-font-smoothing: antialiased;
52
54
  overflow: auto;
53
55
  }
@@ -70,7 +72,7 @@
70
72
  margin: auto;
71
73
  padding: 30px;
72
74
  border-radius: 10px;
73
- background: rgba(0,0,0,0.03);
75
+ background: rgba(0, 0, 0, 0.03);
74
76
  }
75
77
 
76
78
  .sb-nopreview_heading {
@@ -88,11 +90,209 @@
88
90
  padding: 10px;
89
91
  background: #000;
90
92
  color: #eee;
91
- font-family: "Operator Mono", "Fira Code Retina", "Fira Code", "FiraCode-Retina", "Andale Mono", "Lucida Console", Consolas, Monaco, monospace;
93
+ font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
94
+ 'Lucida Console', Consolas, Monaco, monospace;
92
95
  }
93
96
 
94
97
  .sb-errordisplay pre {
95
98
  white-space: pre-wrap;
99
+ }
100
+
101
+ @-webkit-keyframes sb-rotate360 {
102
+ from {
103
+ transform: rotate(0deg);
104
+ }
105
+ to {
106
+ transform: rotate(360deg);
107
+ }
108
+ }
109
+ @keyframes sb-rotate360 {
110
+ from {
111
+ transform: rotate(0deg);
112
+ }
113
+ to {
114
+ transform: rotate(360deg);
115
+ }
116
+ }
117
+ @-webkit-keyframes sb-glow {
118
+ 0%,
119
+ 100% {
120
+ opacity: 1;
121
+ }
122
+ 50% {
123
+ opacity: 0.4;
124
+ }
125
+ }
126
+ @keyframes sb-glow {
127
+ 0%,
128
+ 100% {
129
+ opacity: 1;
130
+ }
131
+ 50% {
132
+ opacity: 0.4;
133
+ }
134
+ }
135
+
136
+ /* We display the preparing loaders *over* the rendering story */
137
+ .sb-preparing-story,
138
+ .sb-preparing-docs {
139
+ background-color: white;
140
+ }
141
+
142
+ .sb-loader {
143
+ -webkit-animation: sb-rotate360 0.7s linear infinite;
144
+ animation: sb-rotate360 0.7s linear infinite;
145
+ border-color: rgba(97, 97, 97, 0.29);
146
+ border-radius: 50%;
147
+ border-style: solid;
148
+ border-top-color: #646464;
149
+ border-width: 2px;
150
+ display: inline-block;
151
+ height: 32px;
152
+ left: 50%;
153
+ margin-left: -16px;
154
+ margin-top: -16px;
155
+ mix-blend-mode: difference;
156
+ overflow: hidden;
157
+ position: absolute;
158
+ top: 50%;
159
+ transition: all 200ms ease-out;
160
+ vertical-align: top;
161
+ width: 32px;
162
+ z-index: 4;
163
+ }
164
+
165
+ .sb-previewBlock {
166
+ background: #fff;
167
+ border: 1px solid rgba(0, 0, 0, 0.1);
168
+ border-radius: 4px;
169
+ box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
170
+ margin: 25px auto 40px;
171
+ max-width: 600px;
172
+ }
173
+
174
+ .sb-previewBlock_header {
175
+ align-items: center;
176
+ box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
177
+ display: flex;
178
+ gap: 14px;
179
+ height: 40px;
180
+ padding: 0 12px;
181
+ }
182
+
183
+ .sb-previewBlock_icon {
184
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
185
+ animation: sb-glow 1.5s ease-in-out infinite;
186
+ background: #e6e6e6;
187
+ height: 14px;
188
+ width: 14px;
189
+ }
190
+ .sb-previewBlock_icon:last-child {
191
+ margin-left: auto;
192
+ }
193
+
194
+ .sb-previewBlock_body {
195
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
196
+ animation: sb-glow 1.5s ease-in-out infinite;
197
+ height: 182px;
198
+ position: relative;
199
+ }
200
+
201
+ .sb-argstableBlock {
202
+ border-collapse: collapse;
203
+ border-spacing: 0;
204
+ font-size: 13px;
205
+ line-height: 20px;
206
+ margin: 25px auto 40px;
207
+ max-width: 600px;
208
+ text-align: left;
209
+ width: 100%;
210
+ }
211
+ .sb-argstableBlock th:first-of-type,
212
+ .sb-argstableBlock td:first-of-type {
213
+ padding-left: 20px;
214
+ }
215
+ .sb-argstableBlock th:nth-of-type(2),
216
+ .sb-argstableBlock td:nth-of-type(2) {
217
+ width: 35%;
218
+ }
219
+ .sb-argstableBlock th:nth-of-type(3),
220
+ .sb-argstableBlock td:nth-of-type(3) {
221
+ width: 15%;
222
+ }
223
+ .sb-argstableBlock th:laste-of-type,
224
+ .sb-argstableBlock td:laste-of-type {
225
+ width: 25%;
226
+ padding-right: 20px;
227
+ }
228
+ .sb-argstableBlock th span,
229
+ .sb-argstableBlock td span {
230
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
231
+ animation: sb-glow 1.5s ease-in-out infinite;
232
+ background-color: rgba(0, 0, 0, 0.1);
233
+ border-radius: 0;
234
+ box-shadow: none;
235
+ color: transparent;
236
+ }
237
+ .sb-argstableBlock th {
238
+ padding: 10px 15px;
239
+ }
240
+
241
+ .sb-argstableBlock-body {
242
+ border-radius: 4px;
243
+ box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
244
+ }
245
+ .sb-argstableBlock-body tr {
246
+ background: transparent;
247
+ overflow: hidden;
248
+ }
249
+ .sb-argstableBlock-body tr:not(:first-child) {
250
+ border-top: 1px solid #e6e6e6;
251
+ }
252
+ .sb-argstableBlock-body tr:first-child td:first-child {
253
+ border-top-left-radius: 4px;
254
+ }
255
+ .sb-argstableBlock-body tr:first-child td:last-child {
256
+ border-top-right-radius: 4px;
257
+ }
258
+ .sb-argstableBlock-body tr:last-child td:first-child {
259
+ border-bottom-left-radius: 4px;
260
+ }
261
+ .sb-argstableBlock-body tr:last-child td:last-child {
262
+ border-bottom-right-radius: 4px;
263
+ }
264
+ .sb-argstableBlock-body td {
265
+ background: #fff;
266
+ padding-bottom: 10px;
267
+ padding-top: 10px;
268
+ vertical-align: top;
269
+ }
270
+ .sb-argstableBlock-body td:not(:first-of-type) {
271
+ padding-left: 15px;
272
+ padding-right: 15px;
273
+ }
274
+ .sb-argstableBlock-body button {
275
+ -webkit-animation: sb-glow 1.5s ease-in-out infinite;
276
+ animation: sb-glow 1.5s ease-in-out infinite;
277
+ background-color: rgba(0, 0, 0, 0.1);
278
+ border: 0;
279
+ border-radius: 0;
280
+ box-shadow: none;
281
+ color: transparent;
282
+ display: inline;
283
+ font-size: 12px;
284
+ line-height: 1;
285
+ padding: 10px 16px;
286
+ }
287
+
288
+ .sb-argstableBlock-summary {
289
+ margin-top: 4px;
290
+ }
291
+
292
+ .sb-argstableBlock-code {
293
+ margin-right: 4px;
294
+ margin-bottom: 4px;
295
+ padding: 2px 5px;
96
296
  }</style><script>/* globals window */
97
297
  /* eslint-disable no-underscore-dangle */
98
298
  try {
@@ -156,12 +356,22 @@
156
356
  }</style><style>#root[hidden],
157
357
  #docs-root[hidden] {
158
358
  display: none !important;
159
- }</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script>window['LOGLEVEL'] = "info";
160
-
161
-
162
-
163
- window['FRAMEWORK_OPTIONS'] = {};
164
-
165
-
166
-
167
- window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.b2dd57a7.iframe.bundle.js"></script><script src="vendors~main.ab534357.iframe.bundle.js"></script><script src="main.e7adb15f.iframe.bundle.js"></script></body></html>
359
+ }</style></head><body><div class="sb-preparing-story sb-wrapper"><div class="sb-loader"></div></div><div class="sb-preparing-docs sb-wrapper"><div class="sb-previewBlock"><div class="sb-previewBlock_header"><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div></div><div class="sb-previewBlock_body"><div class="sb-loader"></div></div></div><table aria-hidden="true" class="sb-argstableBlock"><thead class="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbody class="sb-argstableBlock-body"><tr><td><span>propertyName</span><span title="Required">*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
360
+
361
+
362
+
363
+ window['LOGLEVEL'] = "info";
364
+
365
+
366
+
367
+ window['FRAMEWORK_OPTIONS'] = {};
368
+
369
+
370
+
371
+
372
+
373
+ window['FEATURES'] = {"postcss":true,"emotionAlias":true,"warnOnLegacyHierarchySeparator":true};
374
+
375
+
376
+
377
+ window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|ts|jsx|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|ts|jsx|tsx))$"}];</script><script src="runtime~main.06b0e942.iframe.bundle.js"></script><script src="vendors~main.b95daf77.iframe.bundle.js"></script><script src="main.923fa96f.iframe.bundle.js"></script></body></html>
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Storybook</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>html, body {
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Webpack App</title><meta name="viewport" content="width=device-width,initial-scale=1"/><style>html, body {
2
2
  overflow: hidden;
3
3
  height: 100%;
4
4
  width: 100%;
@@ -41,15 +41,19 @@
41
41
  #docs-root[hidden] {
42
42
  display: none !important;
43
43
  }</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
44
-
45
-
46
-
47
- window['LOGLEVEL'] = "info";
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
- window['DOCS_MODE'] = false;</script><script src="runtime~main.32eb6a7b06c6555f4158.manager.bundle.js"></script><script src="vendors~main.e7eaf8e22c8fa908767a.manager.bundle.js"></script><script src="main.59eab8f1b254aadacda2.manager.bundle.js"></script></body></html>
44
+
45
+
46
+
47
+ window['LOGLEVEL'] = "info";
48
+
49
+
50
+
51
+ window['FEATURES'] = {"postcss":true,"emotionAlias":true,"warnOnLegacyHierarchySeparator":true};
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+ window['DOCS_MODE'] = false;</script><script src="runtime~main.db01be243cf7788d54a6.manager.bundle.js"></script><script src="vendors~main.244af15edeb1139c0c43.manager.bundle.js"></script><script src="main.1bec0bd6a3b35e087442.manager.bundle.js"></script></body></html>
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{487:function(module,exports,__webpack_require__){__webpack_require__(488),__webpack_require__(885),__webpack_require__(878),__webpack_require__(888),__webpack_require__(879),__webpack_require__(883),__webpack_require__(882),__webpack_require__(884),__webpack_require__(881),__webpack_require__(886),__webpack_require__(887),__webpack_require__(889),module.exports=__webpack_require__(880)},557:function(module,exports){},885:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var esm=__webpack_require__(124),create=__webpack_require__(223),logo=__webpack_require__.p+"static/media/logo.31746cdb.png",coreTheme=Object(create.a)({base:"light",brandTitle:"Core",brandUrl:function isLocal(){return"localhost"===window.location.hostname}()?"/":"https://design.procore.com",brandImage:logo});esm.a.setConfig({theme:coreTheme})}},[[487,2,3]]]);