@datawheel/bespoke 1.0.0-beta.5 → 1.0.0-beta.7
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/{Search-BWmRyIa9.d.mts → Search-B6MzMoPl.d.mts} +1 -1
- package/dist/{auth-BwgF4GT9.d.mts → auth-Djd0coy0.d.mts} +1 -1
- package/dist/auth.d.mts +3 -3
- package/dist/cms.css +1 -1
- package/dist/cms.js +25 -25
- package/dist/explore.css +1 -1
- package/dist/explore.d.mts +3 -3
- package/dist/explore.js +6 -6
- package/dist/redux-store.d.mts +4 -4
- package/dist/report.css +1 -1
- package/dist/report.d.mts +3 -3
- package/dist/report.js +10 -10
- package/dist/server.d.mts +6 -5
- package/dist/server.js +28 -12
- package/dist/{store-De3Xknzr.d.mts → store-C5_SgA06.d.mts} +16 -8
- package/dist/{types-BcIo0oyw.d.mts → types-CSkx7guL.d.mts} +28 -3
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { u as SearchReportItem, i as SearchReportParams } from './types-
|
|
3
|
+
import { u as SearchReportItem, i as SearchReportParams } from './types-CSkx7guL.mjs';
|
|
4
4
|
import { AutocompleteProps, TooltipProps } from '@mantine/core';
|
|
5
5
|
|
|
6
6
|
interface ReportTileProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SearchUsersParams, U as UpdateUserParams } from './types-
|
|
1
|
+
import { S as SearchUsersParams, U as UpdateUserParams } from './types-CSkx7guL.mjs';
|
|
2
2
|
import { User, DefaultSession, NextAuthOptions } from 'next-auth';
|
|
3
3
|
import { SessionContextValue } from 'next-auth/react';
|
|
4
4
|
|
package/dist/auth.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { B as BespokeUserInfo, a as BespokeUserData } from './auth-
|
|
3
|
-
export { e as BespokeAuthOptions, c as BespokeRole, S as BespokeSearchUserResult, d as BespokeUserProfile, C as CMS_ROLES, b as addRoleTypes } from './auth-
|
|
2
|
+
import { B as BespokeUserInfo, a as BespokeUserData } from './auth-Djd0coy0.mjs';
|
|
3
|
+
export { e as BespokeAuthOptions, c as BespokeRole, S as BespokeSearchUserResult, d as BespokeUserProfile, C as CMS_ROLES, b as addRoleTypes } from './auth-Djd0coy0.mjs';
|
|
4
4
|
import { UseSessionOptions } from 'next-auth/react';
|
|
5
5
|
export { SessionProvider as BespokeUserProvider } from 'next-auth/react';
|
|
6
6
|
import { ButtonProps, MenuItemProps, MenuProps } from '@mantine/core';
|
|
7
|
-
export { S as BespokeSearchUsersParams, U as BespokeUpdateUserParams } from './types-
|
|
7
|
+
export { S as BespokeSearchUsersParams, U as BespokeUpdateUserParams } from './types-CSkx7guL.mjs';
|
|
8
8
|
import 'next-auth';
|
|
9
9
|
import 'sequelize';
|
|
10
10
|
|
package/dist/cms.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.M{z-index:99;overflow:hidden;transition:width .3s;box-shadow:0 4px 15px 5px #0000000d}.N{flex:1}.O{flex-grow:1}.m{display:block;width:100%}.m:hover{background-color:var(--mantine-color-gray-2)!important;transition:background-color .2s}.P{flex-shrink:0}.Q{border:none;background-color:var(--mantine-color-blue-0);border-radius:var(--mantine-radius-sm);color:var(--mantine-color-blue-7);font-size:.75rem;font-weight:700;width:80px}.R{font-size:.75rem}.S{pointer-events:none}.T{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.u.v{font-size:11px;padding:0}.u.v .U{background-color:transparent!important;padding:0}.n .V{border-bottom:0}.n .W{padding:2px}.n .X{padding:0}.n .Z{margin-right:4px}._{border-top-right-radius:0;border-bottom-right-radius:0}.ee{border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid #fff;background-color:#e7f5ff;min-height:1.875rem;height:1.875rem;width:1.875rem;font-size:.75rem}.re:hover{background-color:#ebebeb}.w{box-sizing:border-box;z-index:99;transition:right .4s;overflow:hidden;background:#f1f3f5}.w[data-dragging-over=true]{background:#e7f5ff}.l{transition:background-color .45s}.l .y{opacity:0;transition:opacity .45s}.l:hover{background-color:#e9ecefe6!important}.l:hover .y{opacity:1}.k{border:none;border-radius:2px}.k[data-active=true]{border:1px solid #74c0fc}.o{background:inherit;border:1px solid transparent}.o[data-dragging-over=true]{background:#e7f5ff}.o .z{visibility:hidden}.o:hover .z{visibility:visible}.o:hover{border:1px solid #96f2d7}.d{border:1px solid transparent;resize:horizontal}.d:hover{border:1px solid transparent}.d[data-show-outline=true]:hover{border:1px solid var(--mantine-color-blue-2)}.d[data-show-outline=true]:hover:before{position:absolute;top:0;left:0;font-size:8px;color:var(--mantine-color-blue-5);transform:translateY(-100%);content:attr(data-block-label);width:-moz-fit-content;width:fit-content}.oe{height:100%}.c{position:"absolute";top:"50%";z-index:10;opacity:.55}.c:hover{opacity:1}.c[data-direction=left]{left:16px}.c[data-direction=right]{right:16px}.te{table-layout:fixed}.ie{min-height:100px;max-height:350px;overflow-x:"auto";background:red}.ae{padding:5px!important;text-wrap:wrap}.j{display:block}@media(min-width:1000px){.j{display:none}}.ne{width:450px}.le{min-height:36px}.Y{display:none}@media(min-width:1000px){.Y{display:block}}.de{cursor:pointer}.ce{width:100%}.se{cursor:pointer}.pe{display:flex;align-items:center}.ge{cursor:pointer;width:100%}.xe{align-items:center;border-radius:var(--mantine-radius-sm);cursor:default;display:flex;font-size:.75rem;font-weight:500;height:1.375rem;margin:calc(var(--mantine-spacing-xs) / 2 - .125rem) calc(var(--mantine-spacing-xs) / 2);max-width:calc(100% - .625rem);padding-left:calc(var(--mantine-spacing-sm) / 1.5);padding-right:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.he{background-color:var(--mantine-color-dark-7);color:var(--mantine-color-dark-0)}.be{background-color:var(--mantine-color-gray-1);color:var(--mantine-color-gray-7)}.me{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ue{margin-left:calc(var(--mantine-spacing-sm) / 6)}.ve{color:var(--mantine-color-dark-0)}.we{color:var(--mantine-color-gray-7)}.ye{position:relative}.ke{background-color:var(--mantine-color-dark-5);color:var(--mantine-color-dark-1)}.ze{background-color:var(--mantine-color-gray-3);color:var(--mantine-color-gray-7)}.je{overflow:hidden}.s{align-items:center;box-sizing:border-box;display:flex;flex-wrap:wrap;margin-left:calc(-var(--mantine-spacing-xs)/2);min-height:2.125rem}.s[data-clearable]{margin-right:2.25rem}.s::-moz-placeholder{opacity:1}.s::placeholder{opacity:1}.Ye{color:var(--mantine-color-dark-3)}.qe{color:var(--mantine-color-gray-5)}.Ae{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;color:inherit;flex:1;font-size:var(--mantine-font-size-sm);margin-left:calc(var(--mantine-spacing-xs) / 2);max-height:1.375rem;min-width:3.75rem;outline:0;padding:0}.Be{display:flex;max-height:18.75rem}.Ce{width:100%}.De{overflow:auto;width:100%}.Ee{position:relative;width:100%}.x{border-radius:var(--mantine-radius-xs);padding:15px 5px;position:absolute;left:0;top:0;width:100%}.x[data-hovered],.x:hover{background-color:var(--mantine-color-gray-1)}.q[data-hovered],.q:hover{background-color:var(--mantine-color-dark-4)}.Fe{transition:transform .2s}.Ge{transform:rotate(-180deg)}.t{display:flex;gap:1rem;list-style-type:none}.t[data-align=center]{justify-content:center}.t[data-align=flex-end]{justify-content:flex-end}.t[data-align=flex-start]{justify-content:flex-start}.t[data-align=space-between]{justify-content:space-between}.A[data-flex-direction=row-reverse]{flex-direction:row-reverse!important}.A[data-flex-direction=column-reverse]{flex-direction:column-reverse!important}.Ie{justify-self:flex-start}.Je{justify-self:center}.Ke{justify-self:flex-end}.Le{display:flex;min-height:400px}.Me{display:flex}.Ne{flex:1}.chart{flex:1 1 100%}.B{align-self:flex-start;flex-grow:0;margin:0;min-width:300px}.B[data-block-type=visualization]{align-self:stretch}.Oe{flex-grow:1;max-width:calc(100% - 38px)}.C{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap}.C::-webkit-scrollbar{display:none}.Pe{flex-wrap:nowrap;width:-moz-fit-content;width:fit-content}.h{height:100%;z-index:1;top:0;width:50px;position:absolute;background-size:cover;display:flex;align-items:center}.h[data-direction=left]{background:linear-gradient(to right,#fff 15px,#fff0);left:0;justify-content:flex-start}.h[data-direction=right]{background:linear-gradient(to left,#fff 15px,#fff0);right:0;justify-content:flex-end}.Qe{border-radius:4px;transform:translate(-50%);z-index:20}.D{flex-direction:column}@media(min-width:62em){.D{flex-direction:row}}.E{max-width:100%;min-width:unset}@media(min-width:62em){.E{max-width:var(--column-max-width);min-width:300px}}.Re:hover .F{visibility:visible;opacity:1}.F{visibility:hidden;opacity:0;transition:visibility 0s,opacity .2s ease-in-out}.Se{flex-grow:1}.Te{position:relative;border-radius:0}.Ue{background-color:transparent}.Ve{position:sticky;z-index:2;top:0;border-radius:0}.We{border-top:none;border-left:none;border-right:none}.Xe{page-break-before:always}.Ze,._e{z-index:1}.er{box-shadow:initial}.rr{box-shadow:none}.G{position:relative}.G:before{content:"";position:absolute;top:.25rem;bottom:.25rem;left:calc(.875rem + var(--level) * 1.5rem);width:.0625rem;background-color:#dee2e6;z-index:0}.or,.tr{visibility:hidden}.ir{flex:1}.ar{max-height:400px;overflow-y:auto}.nr{word-wrap:break-word;white-space:normal}.lr{box-shadow:0 2px 6px #0000001a;border-radius:.25rem;background:#fff}.dr{width:100%;box-shadow:0 -2px 6px #0000001a}.cr{width:auto;box-shadow:0 2px 6px #0000001a}.p{display:flex;gap:1rem;align-items:center;list-style-type:none}.p[data-align=left]{justify-content:flex-start}.p[data-align=center]{justify-content:center}.p[data-align=right]{justify-content:flex-end}.i{display:flex}.i[data-align=left]{justify-content:flex-start}.i[data-align=center]{justify-content:center}.i[data-align=right]{justify-content:flex-end}.i li{margin-right:1rem}.H{display:flex}.H .chart{flex:1 1 100%}.sr{width:60px}.pr:after{content:" *";color:red}.I{background-color:transparent}.I[data-selected=true]{background-color:#e7f5ff}.a{font-size:14px;line-height:1.2;background-color:var(--mantine-color-gray-0);border-color:var(--mantine-color-gray-4);border-width:1px;border-style:solid;border-radius:var(--mantine-radius-md);padding-left:var(--mantine-spacing-xs);padding-right:var(--mantine-spacing-xs);font-weight:400}.a.fr{color:var(--mantine-color-gray-7);background-color:var(--mantine-color-gray-1)}.a:focus-visible{outline-color:var(--mantine-color-blue-5);background-color:var(--mantine-color-gray-0)}.a code{font-family:monospace;color:var(--mantine-color-blue-6);font-weight:700;letter-spacing:.02em}.a .gr:first-of-type:before{color:var(--mantine-color-gray-6);content:attr(data-placeholder);float:left;height:0;pointer-events:none}.xr{align-items:stretch;margin:0;position:relative}.hr{display:flex;flex-direction:column}.br{position:absolute;right:0;top:0}.mr{flex-grow:1;display:flex;flex-direction:column}.ur{flex-grow:1}.vr{align-self:stretch;display:flex;flex-direction:column;height:100%;position:relative}.wr{align-self:stretch;display:flex;flex-direction:column;height:100%;border-left:2px solid var(--mantine-color-gray-0)}.yr{display:flex;flex-direction:column;border-left:2px solid var(--mantine-color-gray-0)}.kr~.zr{min-height:calc(100vh - 50px)}.b{height:0}.b button{background-color:#fff;opacity:0;transition:opacity .1s;z-index:2}.r:hover>.b button{opacity:1}.r:hover .J,.r:hover .jr,.J.Yr{opacity:1}.r:hover .K,.r.qr .K{opacity:.4}.r .Ar{min-height:20px}.Br{max-height:90vw}.Cr pre{font-size:12px;line-height:1.25}.Dr{overflow:hidden;border-right:1px solid #dee2e6;flex-shrink:0;flex-grow:0}.L{border:1px solid transparent;cursor:default}.L:hover{border:1px solid blue}.f{cursor:default;border:1px solid transparent}.f .Er{color:var(--section-color)}.f[data-active=true]{border:1px solid #dee2e6}.f:hover{border:1px solid #339af0}.Fr{overflow:hidden;border-left:1px solid #dee2e6;flex-shrink:0;flex-grow:0}.g{backdrop-filter:none;opacity:0}.g button{display:none}.g:hover{opacity:1;backdrop-filter:blur(.2375rem)}.g:hover button{display:flex}
|