@veeqo/transfigure 1.1.4 → 1.1.6
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/components/RefreshButton/RefreshButton.d.ts +1 -1
- package/dist/components/TableManagement/components/styled.d.ts +2 -2
- package/dist/index.css +1 -0
- package/dist/index100.cjs +1 -19
- package/dist/index100.js +33 -24
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +26 -12
- package/dist/index102.cjs +80 -1
- package/dist/index102.js +101 -21
- package/dist/index103.cjs +1 -80
- package/dist/index103.js +2 -101
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +19 -2
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +7 -18
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +63 -7
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +26 -60
- package/dist/index108.cjs +13 -1
- package/dist/index108.js +17 -30
- package/dist/index109.cjs +1 -13
- package/dist/index109.js +33 -14
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +22 -32
- package/dist/index111.cjs +7 -1
- package/dist/index111.js +10 -26
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +1 -1
- package/dist/index113.cjs +1 -7
- package/dist/index113.js +47 -10
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +14 -14
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +2 -2
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +2 -2
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +28 -25
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +1 -1
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +1 -1
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +39 -116
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +9 -19
- package/dist/index86.cjs +1 -11
- package/dist/index86.js +118 -16
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +18 -40
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +13 -9
- package/dist/index89.cjs +104 -1
- package/dist/index89.js +120 -13
- package/dist/index90.cjs +1 -104
- package/dist/index90.js +65 -117
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +24 -63
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +2 -29
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +41 -2
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +9 -39
- package/dist/index95.cjs +12 -1
- package/dist/index95.js +16 -11
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +15 -24
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +23 -32
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +21 -29
- package/dist/index99.cjs +18 -11
- package/dist/index99.js +20 -12
- package/package.json +7 -3
- package/dist/components/RefreshButton/RefreshIcon.d.ts +0 -1
- package/dist/components/RefreshButton/styled.d.ts +0 -11
- package/dist/index114.cjs +0 -1
- package/dist/index114.js +0 -49
package/dist/index98.js
CHANGED
|
@@ -1,31 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
variant: "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
onClick: o,
|
|
22
|
-
variant: "primaryDestructive"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
showHeaderCloseButton: !0,
|
|
26
|
-
children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Stack as a, theme as n } from "@veeqo/ui";
|
|
3
|
+
import { Notification as t, Pill as o, Glyph as l, Wrap as c, Text as d, Bold as s, Hint as h, Button as m } from "./index102.js";
|
|
4
|
+
const p = n.colors.secondary.blue.base, b = ({ onClick: e }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ i(a, { direction: "horizontal", alignY: "center", children: [
|
|
5
|
+
/* @__PURE__ */ r(l, { ariaLabel: "info", name: "info", color: p }),
|
|
6
|
+
/* @__PURE__ */ i(c, { children: [
|
|
7
|
+
/* @__PURE__ */ r(d, { variant: "body", margin: "0 4px 0 0", children: "You are currently in a" }),
|
|
8
|
+
/* @__PURE__ */ r(s, { variant: "bodyBoldDark", children: "draft view" }),
|
|
9
|
+
/* @__PURE__ */ r(h, { variant: "hintText", children: "Apply filters and save these by creating a custom view" })
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ r(
|
|
12
|
+
m,
|
|
13
|
+
{
|
|
14
|
+
variant: "primary",
|
|
15
|
+
onClick: e,
|
|
16
|
+
size: "sm",
|
|
17
|
+
children: "Create view"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
] }) }) });
|
|
29
21
|
export {
|
|
30
|
-
|
|
22
|
+
b as DraftPill
|
|
31
23
|
};
|
package/dist/index99.cjs
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),e=require("@veeqo/ui"),s=t=>t&&t.__esModule?t:{default:t},o=s(r),i=o.default(e.Button).attrs(()=>({role:"option",variant:"flat"}))`
|
|
2
|
+
margin: ${e.theme.sizes.xs};
|
|
3
|
+
min-width: 180px;
|
|
4
|
+
justify-content: flex-start;
|
|
5
|
+
font-size: ${e.theme.text.body.fontSize};
|
|
6
|
+
|
|
7
|
+
&:hover {
|
|
8
|
+
background-color: ${e.theme.colors.neutral.grey.lightest};
|
|
9
|
+
color: ${e.theme.colors.secondary.blue.base};
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
`,n=o.default(e.Card.Surface).attrs(()=>({role:"listbox",elevation:4}))`
|
|
13
|
+
margin-top: ${e.theme.sizes.xs};
|
|
14
|
+
background-color: white;
|
|
15
|
+
`,l=o.default.hr`
|
|
9
16
|
width: 100%;
|
|
10
|
-
border-top: 1px solid ${
|
|
11
|
-
margin: 0
|
|
12
|
-
`;exports.Divider=l;exports.
|
|
17
|
+
border-top: 1px solid ${e.theme.colors.neutral.grey.dark};
|
|
18
|
+
margin: 0;
|
|
19
|
+
`;exports.Divider=l;exports.Item=i;exports.MenuItems=n;
|
package/dist/index99.js
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { theme as o,
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import { theme as o, Card as r, Button as e } from "@veeqo/ui";
|
|
3
|
+
const n = t(e).attrs(() => ({ role: "option", variant: "flat" }))`
|
|
4
|
+
margin: ${o.sizes.xs};
|
|
5
|
+
min-width: 180px;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
font-size: ${o.text.body.fontSize};
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: ${o.colors.neutral.grey.lightest};
|
|
11
|
+
color: ${o.colors.secondary.blue.base};
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
`, a = t(r.Surface).attrs(() => ({ role: "listbox", elevation: 4 }))`
|
|
15
|
+
margin-top: ${o.sizes.xs};
|
|
16
|
+
background-color: white;
|
|
17
|
+
`, l = t.hr`
|
|
11
18
|
width: 100%;
|
|
12
19
|
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
13
|
-
margin: 0
|
|
20
|
+
margin: 0;
|
|
14
21
|
`;
|
|
15
22
|
export {
|
|
16
23
|
l as Divider,
|
|
17
|
-
|
|
24
|
+
n as Item,
|
|
25
|
+
a as MenuItems
|
|
18
26
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veeqo/transfigure",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@material-ui/core": "^4.11.0",
|
|
39
39
|
"@tanstack/react-table": "^8.21.2",
|
|
40
40
|
"@veeqo/components": "6.1.1",
|
|
41
|
-
"@veeqo/ui": "13.
|
|
41
|
+
"@veeqo/ui": "13.10.0",
|
|
42
42
|
"ajv-keywords": "^5.1.0",
|
|
43
43
|
"axios": "^1.6.2",
|
|
44
44
|
"framer-motion": "^6.5.1",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"lodash": "^4.17.19",
|
|
47
47
|
"mobx": "^6.3.9",
|
|
48
48
|
"mobx-react": "^7.2.1",
|
|
49
|
+
"pluralize": "^8.0.0",
|
|
49
50
|
"react": "17.0.2",
|
|
50
51
|
"react-aria-components": "1.2.1",
|
|
51
52
|
"react-dom": "17.0.2",
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
|
92
93
|
"@typescript-eslint/parser": "^8.37.0",
|
|
93
94
|
"@veeqo/components": "6.1.1",
|
|
94
|
-
"@veeqo/ui": "13.
|
|
95
|
+
"@veeqo/ui": "13.10.0",
|
|
95
96
|
"@vitejs/plugin-react": "^4.3.4",
|
|
96
97
|
"@vitest/browser": "^3.1.2",
|
|
97
98
|
"@vitest/coverage-v8": "^3.1.2",
|
|
@@ -110,6 +111,7 @@
|
|
|
110
111
|
"eslint-plugin-unused-imports": "^4.0.0",
|
|
111
112
|
"framer-motion": "^6.5.1",
|
|
112
113
|
"globals": "^15.15.0",
|
|
114
|
+
"identity-obj-proxy": "^3.0.0",
|
|
113
115
|
"jest-axe": "~6.0.0",
|
|
114
116
|
"jest-styled-components": "~7.1.1",
|
|
115
117
|
"jsdom": "^26.1.0",
|
|
@@ -120,6 +122,7 @@
|
|
|
120
122
|
"msw": "^2.8.4",
|
|
121
123
|
"msw-storybook-addon": "^2.0.4",
|
|
122
124
|
"playwright": "^1.52.0",
|
|
125
|
+
"pluralize": "^8.0.0",
|
|
123
126
|
"prettier": "^3.6.2",
|
|
124
127
|
"react": "17.0.2",
|
|
125
128
|
"react-aria-components": "1.2.1",
|
|
@@ -127,6 +130,7 @@
|
|
|
127
130
|
"react-hook-form": "^6.15.1",
|
|
128
131
|
"react-transition-group": "^4.4.1",
|
|
129
132
|
"react-use": "^15.3.8",
|
|
133
|
+
"sass-embedded": "^1.93.3",
|
|
130
134
|
"storybook": "^8.6.12",
|
|
131
135
|
"styled-components": "^5.1.1",
|
|
132
136
|
"swr": "^2.0.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const RefreshIcon: (props: any) => JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const StyledButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2
|
-
children?: React.ReactNode;
|
|
3
|
-
variant?: import('node_modules/@veeqo/ui/dist/components/Button/types').ButtonVariant | undefined;
|
|
4
|
-
size?: "base" | "sm" | undefined;
|
|
5
|
-
iconSlot?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
6
|
-
dropdown?: boolean | undefined;
|
|
7
|
-
loading?: boolean | undefined;
|
|
8
|
-
contentStyles?: React.CSSProperties | undefined;
|
|
9
|
-
} & import('react').RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
10
|
-
export declare const StyledIndicator: import('styled-components').StyledComponent<({ color, style, textColour, size, ...otherProps }: import('node_modules/@veeqo/ui/dist/components/Indicator/types').IndicatorProps) => React.JSX.Element, any, {}, never>;
|
|
11
|
-
export declare const StyledTooltip: import('styled-components').StyledComponent<({ children, text, content, config, reversed, className, withTriangle, initialShouldShow, useReactPortal, }: import('node_modules/@veeqo/ui/dist/components/Tooltip/types').TooltipProps) => JSX.Element | null, any, {}, never>;
|
package/dist/index114.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),d=require("mobx-react"),t=require("@veeqo/ui"),m=require("swr/immutable"),x=require("./index74.cjs"),y=require("./index75.cjs"),F=require("./index48.cjs"),O=e=>e&&e.__esModule?e:{default:e},A=O(m),S=d.observer(({field:e,editedValue:o,setEditedValue:a})=>{var c,i;const l=p.useMemo(()=>{var r;return y.getFetcherFunction({fetcherName:(r=e.fetchAsyncFilterOptions)==null?void 0:r.fetcher})},[(c=e.fetchAsyncFilterOptions)==null?void 0:c.fetcher]),{isLoading:u,isValidating:h,data:g,error:b}=A.default((i=e.fetchAsyncFilterOptions)==null?void 0:i.URL,l,F.SWR_HOOK_OPTIONS),n=u||h,f=x.getAsyncOptions({data:g,config:e.fetchAsyncFilterOptions});return s.jsxs(t.Stack,{spacing:"xs",alignX:"stretch",children:[s.jsx(t.ChoiceList,{allowMultiple:!0,title:e.label,options:f,selected:o,onChange:r=>a(r)}),n&&s.jsx(t.Skeleton,{width:"200px",height:t.theme.sizes[5],"aria-busy":!0,"aria-label":`Loading ${e.label} filters`}),!n&&b&&s.jsxs(t.Text,{variant:"errorSmall",children:["Error: failed to load filter for ",e.label]})]})});exports.ActiveAsyncCheckboxFilter=S;
|
package/dist/index114.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo as u } from "react";
|
|
3
|
-
import { observer as O } from "mobx-react";
|
|
4
|
-
import { Stack as b, ChoiceList as F, Skeleton as x, theme as y, Text as A } from "@veeqo/ui";
|
|
5
|
-
import S from "swr/immutable";
|
|
6
|
-
import { getAsyncOptions as d } from "./index74.js";
|
|
7
|
-
import { getFetcherFunction as L } from "./index75.js";
|
|
8
|
-
import { SWR_HOOK_OPTIONS as k } from "./index48.js";
|
|
9
|
-
const T = O(
|
|
10
|
-
({ field: t, editedValue: c, setEditedValue: a }) => {
|
|
11
|
-
var o, i;
|
|
12
|
-
const l = u(() => {
|
|
13
|
-
var e;
|
|
14
|
-
return L({ fetcherName: (e = t.fetchAsyncFilterOptions) == null ? void 0 : e.fetcher });
|
|
15
|
-
}, [(o = t.fetchAsyncFilterOptions) == null ? void 0 : o.fetcher]), { isLoading: m, isValidating: h, data: p, error: f } = S(
|
|
16
|
-
(i = t.fetchAsyncFilterOptions) == null ? void 0 : i.URL,
|
|
17
|
-
l,
|
|
18
|
-
k
|
|
19
|
-
), r = m || h, g = d({ data: p, config: t.fetchAsyncFilterOptions });
|
|
20
|
-
return /* @__PURE__ */ s(b, { spacing: "xs", alignX: "stretch", children: [
|
|
21
|
-
/* @__PURE__ */ n(
|
|
22
|
-
F,
|
|
23
|
-
{
|
|
24
|
-
allowMultiple: !0,
|
|
25
|
-
title: t.label,
|
|
26
|
-
options: g,
|
|
27
|
-
selected: c,
|
|
28
|
-
onChange: (e) => a(e)
|
|
29
|
-
}
|
|
30
|
-
),
|
|
31
|
-
r && /* @__PURE__ */ n(
|
|
32
|
-
x,
|
|
33
|
-
{
|
|
34
|
-
width: "200px",
|
|
35
|
-
height: y.sizes[5],
|
|
36
|
-
"aria-busy": !0,
|
|
37
|
-
"aria-label": `Loading ${t.label} filters`
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
!r && f && /* @__PURE__ */ s(A, { variant: "errorSmall", children: [
|
|
41
|
-
"Error: failed to load filter for ",
|
|
42
|
-
t.label
|
|
43
|
-
] })
|
|
44
|
-
] });
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
export {
|
|
48
|
-
T as ActiveAsyncCheckboxFilter
|
|
49
|
-
};
|