@veeqo/transfigure 0.0.1 → 0.0.3
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/README.md +2 -53
- package/dist/BusinessLogic/mocks.d.ts +3 -3
- package/dist/BusinessLogic/types.d.ts +3 -2
- package/dist/components/Filters/ActiveFilters/Categories/index.d.ts +2 -0
- package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncCheckboxFilter/ActiveAsyncCheckboxFilter.d.ts +8 -0
- package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncCheckboxFilter/index.d.ts +1 -0
- package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncRadioFilter/ActiveAsyncRadioFilter.d.ts +8 -0
- package/dist/components/Filters/ActiveFilters/Variants/ActiveAsyncRadioFilter/index.d.ts +1 -0
- package/dist/components/Filters/{Fields → ActiveFilters/Variants/ActiveFilterNumberRangeTag}/FilterNumberRangeFilter/FilterNumberRangeFilter.d.ts +1 -1
- package/dist/components/Filters/ActiveFilters/Variants/index.d.ts +5 -0
- package/dist/components/Filters/ActiveFilters/index.d.ts +2 -3
- package/dist/components/Filters/Fields/index.d.ts +0 -6
- package/dist/components/Filters/{Fields/FilterGroup → FilterGroup}/FilterGroup.d.ts +1 -1
- package/dist/components/Filters/FilterGroup/index.d.ts +1 -0
- package/dist/components/Filters/index.d.ts +1 -0
- package/dist/components/TableControls/TableControls.d.ts +1 -0
- package/dist/components/TableControls/index.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +75 -75
- package/dist/index10.js +3 -12
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +19 -19
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +42 -21
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +23 -38
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +39 -37
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +36 -54
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +32 -46
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +50 -42
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +39 -50
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +59 -37
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +53 -37
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +45 -53
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +43 -33
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +56 -57
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +57 -18
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +38 -31
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +55 -39
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +52 -34
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +81 -47
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +36 -107
- package/dist/index3.js +1 -3
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +31 -31
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +10 -30
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +40 -14
- package/dist/index33.js +49 -48
- package/dist/index34.js +12 -11
- package/dist/index35.js +104 -39
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +47 -24
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +43 -22
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +22 -27
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +67 -26
- package/dist/index4.js +1 -8
- package/dist/index40.js +71 -21
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +31 -18
- package/dist/index42.js +2 -8
- package/dist/index43.js +13 -1
- package/dist/index45.js +14 -12
- package/dist/index48.js +1 -3
- package/dist/index5.js +2 -9
- package/dist/index50.js +3 -12
- package/dist/index51.js +8 -42
- package/dist/index52.js +20 -35
- package/dist/index53.js +16 -25
- package/dist/index54.js +18 -27
- package/dist/index55.js +31 -36
- package/dist/index57.js +22 -32
- package/dist/index58.js +14 -15
- package/dist/index59.js +2 -10
- package/dist/index6.js +8 -40
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +226 -209
- package/dist/index61.js +5 -9
- package/dist/index62.js +3 -9
- package/dist/index65.js +1 -6
- package/dist/index66.js +1 -4
- package/dist/index67.js +1 -3
- package/dist/index69.js +28 -23
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +2 -4
- package/dist/index76.js +26 -16
- package/dist/index77.cjs +1 -19
- package/dist/index77.js +14 -29
- package/dist/index78.cjs +19 -1
- package/dist/index78.js +24 -16
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +22 -9
- package/dist/index80.cjs +78 -10
- package/dist/index80.js +92 -13
- package/dist/index81.cjs +10 -78
- package/dist/index81.js +13 -94
- package/dist/index83.cjs +1 -80
- package/dist/index83.js +35 -96
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +62 -35
- package/dist/index85.js +1 -3
- package/dist/index86.cjs +80 -7
- package/dist/index86.js +93 -10
- package/dist/index87.cjs +7 -0
- package/dist/index87.js +12 -0
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +99 -84
- package/dist/mobx/Filters/Filters.d.ts +5 -0
- package/dist/mocks/internal/mockUseStores/index.d.ts +1 -0
- package/dist/mocks/internal/mockUseStores/mockUseStores.d.ts +6 -0
- package/dist/types.d.ts +1 -1
- package/package.json +4 -5
- package/dist/components/Filters/Fields/AsyncInlineCheckboxFilter/AsyncInlineCheckboxFilter.d.ts +0 -8
- package/dist/components/Filters/Fields/AsyncInlineCheckboxFilter/index.d.ts +0 -1
- package/dist/components/Filters/Fields/AsyncInlineRadioFilter/AsyncInlineRadioFilter.d.ts +0 -8
- package/dist/components/Filters/Fields/AsyncInlineRadioFilter/index.d.ts +0 -1
- package/dist/components/Filters/Fields/FilterGroup/index.d.ts +0 -1
- package/dist/components/Table/Table.d.ts +0 -1
- /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterArrayField/FilterArrayField.d.ts +0 -0
- /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterArrayField/index.d.ts +0 -0
- /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterField/FilterField.d.ts +0 -0
- /package/dist/components/Filters/{Fields → ActiveFilters/Categories}/FilterField/index.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterArrayTag → Variants/ActiveFilterArrayTag}/ActiveFilterArrayTag.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterArrayTag → Variants/ActiveFilterArrayTag}/index.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterDateRangeTag → Variants/ActiveFilterDateRangeTag}/ActiveFilterDateRangeTag.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterDateRangeTag → Variants/ActiveFilterDateRangeTag}/index.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterNumberRangeTag → Variants/ActiveFilterNumberRangeTag}/ActiveFilterNumberRangeTag.d.ts +0 -0
- /package/dist/components/Filters/{Fields → ActiveFilters/Variants/ActiveFilterNumberRangeTag}/FilterNumberRangeFilter/index.d.ts +0 -0
- /package/dist/components/Filters/ActiveFilters/{ActiveFilterNumberRangeTag → Variants/ActiveFilterNumberRangeTag}/index.d.ts +0 -0
package/dist/index67.js
CHANGED
package/dist/index69.js
CHANGED
|
@@ -6,33 +6,38 @@ const R = ({
|
|
|
6
6
|
view: r,
|
|
7
7
|
canUpdateCustomViews: f
|
|
8
8
|
}) => {
|
|
9
|
-
const {
|
|
10
|
-
DATE_RANGE_FILTERS: s,
|
|
11
|
-
NUMBER_RANGE_FILTERS: n
|
|
12
|
-
} = c.getBusinessLogic();
|
|
9
|
+
const { DATE_RANGE_FILTERS: s, NUMBER_RANGE_FILTERS: n } = c.getBusinessLogic();
|
|
13
10
|
return {
|
|
14
11
|
id: r.id,
|
|
15
12
|
label: r.title,
|
|
16
13
|
filterMaps: {
|
|
17
|
-
filters: new Map(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
filters: new Map(
|
|
15
|
+
Object.entries(r.filters.filter || {}).filter(
|
|
16
|
+
([e, t]) => !Array.isArray(t) && !s.includes(e) && !n.includes(e)
|
|
17
|
+
).map(([e, t]) => [e, t])
|
|
18
|
+
),
|
|
19
|
+
arrayFilters: new Map(
|
|
20
|
+
Object.entries(r.filters.filter || {}).filter(([, e]) => Array.isArray(e)).map(([e, t]) => [e, t])
|
|
21
|
+
),
|
|
22
|
+
rangeFilters: new Map(
|
|
23
|
+
Object.entries(r.filters.filter || {}).filter(([e]) => s.includes(e)).map(([e, t]) => {
|
|
24
|
+
let i;
|
|
25
|
+
if (typeof t == "string")
|
|
26
|
+
i = new a(t);
|
|
27
|
+
else {
|
|
28
|
+
i = new a("CUSTOM");
|
|
29
|
+
const o = l(t.gte), p = l(t.lte);
|
|
30
|
+
i.setDates(o, p);
|
|
31
|
+
}
|
|
32
|
+
return [e, i];
|
|
33
|
+
})
|
|
34
|
+
),
|
|
35
|
+
numberRangeFilters: new Map(
|
|
36
|
+
Object.entries(r.filters.filter || {}).filter(([e]) => n.includes(e)).map(([e, t]) => {
|
|
37
|
+
const i = new m({ filterId: e });
|
|
38
|
+
return t.lte !== void 0 && i.setLte(Number(t.lte)), t.gte !== void 0 && i.setGte(Number(t.gte)), [e, i];
|
|
39
|
+
})
|
|
40
|
+
)
|
|
36
41
|
},
|
|
37
42
|
page: r.filters.page,
|
|
38
43
|
editable: r.editable && f,
|
package/dist/index75.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index87.cjs"),v=({children:i,style:o,className:c})=>{const r=n.useRef(null),[u,f]=n.useState(0);return n.useEffect(()=>{const e=r.current,s=()=>{if(e){const{top:a}=e.getBoundingClientRect();f(a)}};s();const t=new ResizeObserver(s);return e&&t.observe(e),()=>{e&&t.unobserve(e),t.disconnect()}},[]),d.jsx(l.AdaptiveStyledContainer,{style:o,className:c,offset:u,ref:r,children:i})};exports.AdaptiveHeightContainer=v;
|
package/dist/index75.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as a, useState as d, useEffect as m } from "react";
|
|
3
|
-
import { AdaptiveStyledContainer as v } from "./
|
|
3
|
+
import { AdaptiveStyledContainer as v } from "./index87.js";
|
|
4
4
|
const R = ({
|
|
5
5
|
children: o,
|
|
6
6
|
style: s,
|
|
@@ -10,9 +10,7 @@ const R = ({
|
|
|
10
10
|
return m(() => {
|
|
11
11
|
const e = r.current, n = () => {
|
|
12
12
|
if (e) {
|
|
13
|
-
const {
|
|
14
|
-
top: u
|
|
15
|
-
} = e.getBoundingClientRect();
|
|
13
|
+
const { top: u } = e.getBoundingClientRect();
|
|
16
14
|
c(u);
|
|
17
15
|
}
|
|
18
16
|
};
|
package/dist/index76.js
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Modal as n, Text as r } from "@veeqo/ui";
|
|
3
|
-
const s = ({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
3
|
+
const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
|
|
4
|
+
n,
|
|
5
|
+
{
|
|
6
|
+
headerTitle: `Delete '${i}' view?`,
|
|
7
|
+
"data-testid": "act-react-listing-custom-confirmation-popup",
|
|
8
|
+
variant: "sm",
|
|
9
|
+
shouldShow: a,
|
|
10
|
+
onClose: t,
|
|
11
|
+
rightActions: [
|
|
12
|
+
{
|
|
13
|
+
className: "act-react-listing-custom-confirmation-popup-cancel",
|
|
14
|
+
label: "Cancel",
|
|
15
|
+
onClick: t,
|
|
16
|
+
variant: "default"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
className: "act-react-listing-custom-confirmation-popup-delete",
|
|
20
|
+
label: "Delete",
|
|
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
|
+
);
|
|
19
29
|
export {
|
|
20
30
|
s as Confirmation
|
|
21
31
|
};
|
package/dist/index77.cjs
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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`
|
|
16
|
-
width: 100%;
|
|
17
|
-
border-top: 1px solid ${e.theme.colors.neutral.grey.dark};
|
|
18
|
-
margin: 0;
|
|
19
|
-
`;exports.Divider=l;exports.Item=i;exports.MenuItems=n;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index85.cjs"),o=e=>i.jsx(l.StyledSortableViews,{...e,onChange:t=>{t.filter(r=>{var n;return(n=r.children)==null?void 0:n.length}).length||e.onChange(t)}});exports.LegacySortableViews=o;
|
package/dist/index77.js
CHANGED
|
@@ -1,32 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
background-color: ${o.colors.neutral.grey.lightest};
|
|
14
|
-
color: ${o.colors.secondary.blue.base};
|
|
15
|
-
cursor: pointer;
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { StyledSortableViews as i } from "./index85.js";
|
|
3
|
+
const h = (e) => /* @__PURE__ */ o(
|
|
4
|
+
i,
|
|
5
|
+
{
|
|
6
|
+
...e,
|
|
7
|
+
onChange: (t) => {
|
|
8
|
+
t.filter((n) => {
|
|
9
|
+
var r;
|
|
10
|
+
return (r = n.children) == null ? void 0 : r.length;
|
|
11
|
+
}).length || e.onChange(t);
|
|
12
|
+
}
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
role: "listbox",
|
|
19
|
-
elevation: 4
|
|
20
|
-
}))`
|
|
21
|
-
margin-top: ${o.sizes.xs};
|
|
22
|
-
background-color: white;
|
|
23
|
-
`, l = t.hr`
|
|
24
|
-
width: 100%;
|
|
25
|
-
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
26
|
-
margin: 0;
|
|
27
|
-
`;
|
|
14
|
+
);
|
|
28
15
|
export {
|
|
29
|
-
|
|
30
|
-
n as Item,
|
|
31
|
-
a as MenuItems
|
|
16
|
+
h as LegacySortableViews
|
|
32
17
|
};
|
package/dist/index78.cjs
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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`
|
|
16
|
+
width: 100%;
|
|
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/index78.js
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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`
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
20
|
+
margin: 0;
|
|
21
|
+
`;
|
|
16
22
|
export {
|
|
17
|
-
|
|
23
|
+
l as Divider,
|
|
24
|
+
n as Item,
|
|
25
|
+
a as MenuItems
|
|
18
26
|
};
|
package/dist/index79.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),t=require("./index86.cjs"),a=i.theme.colors.secondary.blue.base,o=({mainEntityLabelPlural:r="",onClick:n})=>e.jsx(t.Notification,{className:"act-react-listing-custom-notification-new-draft",children:e.jsx(t.Pill,{children:e.jsxs(i.Stack,{direction:"horizontal",alignY:"center",children:[e.jsx(t.Glyph,{name:"info",color:a}),e.jsxs(t.Wrap,{children:[e.jsx(t.Text,{variant:"body",margin:"0 4px 0 0",children:"You are currently in a"}),e.jsx(t.Bold,{variant:"bodyBoldDark",children:"draft view"}),e.jsx(t.Hint,{variant:"hintText",children:`Apply filters and create a custom view of your ${r.toLowerCase()}`})]}),e.jsx(t.Button,{className:"act-react-listing-custom-notification-save-draft-btn",variant:"primary",onClick:n,size:"sm",children:"Create view"})]})})});exports.InfoPill=o;
|
package/dist/index79.js
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Stack as e, theme as o } from "@veeqo/ui";
|
|
3
|
+
import { Notification as n, Pill as c, Glyph as l, Wrap as s, Text as d, Bold as m, Hint as f, Button as h } from "./index86.js";
|
|
4
|
+
const p = o.colors.secondary.blue.base, x = ({ mainEntityLabelPlural: r = "", onClick: a }) => /* @__PURE__ */ t(n, { className: "act-react-listing-custom-notification-new-draft", children: /* @__PURE__ */ t(c, { children: /* @__PURE__ */ i(e, { direction: "horizontal", alignY: "center", children: [
|
|
5
|
+
/* @__PURE__ */ t(l, { name: "info", color: p }),
|
|
6
|
+
/* @__PURE__ */ i(s, { children: [
|
|
7
|
+
/* @__PURE__ */ t(d, { variant: "body", margin: "0 4px 0 0", children: "You are currently in a" }),
|
|
8
|
+
/* @__PURE__ */ t(m, { variant: "bodyBoldDark", children: "draft view" }),
|
|
9
|
+
/* @__PURE__ */ t(f, { variant: "hintText", children: `Apply filters and create a custom view of your ${r.toLowerCase()}` })
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ t(
|
|
12
|
+
h,
|
|
13
|
+
{
|
|
14
|
+
className: "act-react-listing-custom-notification-save-draft-btn",
|
|
15
|
+
variant: "primary",
|
|
16
|
+
onClick: a,
|
|
17
|
+
size: "sm",
|
|
18
|
+
children: "Create view"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
] }) }) });
|
|
9
22
|
export {
|
|
10
|
-
|
|
23
|
+
x as InfoPill
|
|
11
24
|
};
|
package/dist/index80.cjs
CHANGED
|
@@ -1,12 +1,80 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),e=require("@veeqo/ui"),a=require("@veeqo/components"),r=t=>t&&t.__esModule?t:{default:t},o=r(i),{Glyph:l}=a.VeeqoCommon,s=o.default(e.BaseContainer)`
|
|
2
2
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
position: fixed;
|
|
4
|
+
width: 100vw;
|
|
5
|
+
left: 0;
|
|
6
|
+
bottom: 24px;
|
|
7
|
+
z-index: 18;
|
|
8
|
+
|
|
9
|
+
&.notification-enter {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: translateY(-16px);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.notification-enter-active {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
transform: translateY(0);
|
|
17
|
+
transition: 350ms ease;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.notification-exit {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translateY(16px);
|
|
23
|
+
transition: 350ms ease;
|
|
24
|
+
}
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
`,c=o.default(e.BaseContainer)`
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
align-items: center;
|
|
30
|
+
padding: 20px 24px 24px 24px;
|
|
31
|
+
border-radius: 4px;
|
|
32
|
+
margin: 0 auto;
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
box-shadow: ${e.theme.shadows.lg};
|
|
35
|
+
pointer-events: all;
|
|
36
|
+
`;o.default(e.Banner)`
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
align-items: center;
|
|
40
|
+
margin: 0 auto;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
box-shadow: ${e.theme.shadows.lg};
|
|
43
|
+
pointer-events: all;
|
|
44
|
+
`;const d=o.default(e.Button)`
|
|
45
|
+
margin-right: 16px;
|
|
46
|
+
`;o.default(e.Text)`
|
|
47
|
+
line-height: 20px;
|
|
48
|
+
`;const n=o.default(e.Text)`
|
|
49
|
+
margin: ${t=>t.margin?t.margin:""};
|
|
50
|
+
color: ${t=>t.color};
|
|
51
|
+
`,f=o.default(e.Text)`
|
|
52
|
+
margin-right: 8px;
|
|
53
|
+
color: ${t=>t.color};
|
|
54
|
+
`,p=o.default(l)``,x=o.default(e.BaseContainer)`
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
align-items: flex-end;
|
|
58
|
+
flex-grow: 2;
|
|
59
|
+
margin-left: 24px;
|
|
60
|
+
margin-right: 24px;
|
|
61
|
+
`,u=o.default.button`
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
9
64
|
width: 100%;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
65
|
+
padding: 12px 16px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
|
|
68
|
+
& > ${n} {
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
user-select: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
background-color: ${e.theme.colors.neutral.grey.lightest};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:hover > ${n} {
|
|
78
|
+
color: ${e.theme.colors.secondary.blue.base};
|
|
79
|
+
}
|
|
80
|
+
`;exports.Bold=f;exports.Button=d;exports.Container=c;exports.Glyph=p;exports.Item=u;exports.Notification=s;exports.Text=n;exports.Wrap=x;
|
package/dist/index80.js
CHANGED
|
@@ -1,18 +1,97 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import o from "styled-components";
|
|
2
|
+
import { BaseContainer as n, theme as e, Text as i, Button as a, Banner as l } from "@veeqo/ui";
|
|
3
|
+
import { VeeqoCommon as s } from "@veeqo/components";
|
|
4
|
+
const { Glyph: c } = s, f = o(n)`
|
|
4
5
|
display: flex;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
position: fixed;
|
|
7
|
+
width: 100vw;
|
|
8
|
+
left: 0;
|
|
9
|
+
bottom: 24px;
|
|
10
|
+
z-index: 18;
|
|
11
|
+
|
|
12
|
+
&.notification-enter {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: translateY(-16px);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.notification-enter-active {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transform: translateY(0);
|
|
20
|
+
transition: 350ms ease;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.notification-exit {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: translateY(16px);
|
|
26
|
+
transition: 350ms ease;
|
|
27
|
+
}
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
`, m = o(n)`
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 20px 24px 24px 24px;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
margin: 0 auto;
|
|
36
|
+
background-color: #fff;
|
|
37
|
+
box-shadow: ${e.shadows.lg};
|
|
38
|
+
pointer-events: all;
|
|
39
|
+
`;
|
|
40
|
+
o(l)`
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
align-items: center;
|
|
44
|
+
margin: 0 auto;
|
|
45
|
+
background-color: #fff;
|
|
46
|
+
box-shadow: ${e.shadows.lg};
|
|
47
|
+
pointer-events: all;
|
|
48
|
+
`;
|
|
49
|
+
const g = o(a)`
|
|
50
|
+
margin-right: 16px;
|
|
51
|
+
`;
|
|
52
|
+
o(i)`
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
`;
|
|
55
|
+
const r = o(i)`
|
|
56
|
+
margin: ${(t) => t.margin ? t.margin : ""};
|
|
57
|
+
color: ${(t) => t.color};
|
|
58
|
+
`, h = o(i)`
|
|
59
|
+
margin-right: 8px;
|
|
60
|
+
color: ${(t) => t.color};
|
|
61
|
+
`, u = o(c)``, w = o(n)`
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
align-items: flex-end;
|
|
65
|
+
flex-grow: 2;
|
|
66
|
+
margin-left: 24px;
|
|
67
|
+
margin-right: 24px;
|
|
68
|
+
`, y = o.button`
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
11
71
|
width: 100%;
|
|
12
|
-
|
|
13
|
-
|
|
72
|
+
padding: 12px 16px;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
|
|
75
|
+
& > ${r} {
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
user-select: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
background-color: ${e.colors.neutral.grey.lightest};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover > ${r} {
|
|
85
|
+
color: ${e.colors.secondary.blue.base};
|
|
86
|
+
}
|
|
14
87
|
`;
|
|
15
88
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
89
|
+
h as Bold,
|
|
90
|
+
g as Button,
|
|
91
|
+
m as Container,
|
|
92
|
+
u as Glyph,
|
|
93
|
+
y as Item,
|
|
94
|
+
f as Notification,
|
|
95
|
+
r as Text,
|
|
96
|
+
w as Wrap
|
|
18
97
|
};
|
package/dist/index81.cjs
CHANGED
|
@@ -1,80 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),o=e=>e&&e.__esModule?e:{default:e},r=o(i),d=r.default(t.BaseContainer)`
|
|
2
2
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
left:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
&.notification-enter {
|
|
10
|
-
opacity: 0;
|
|
11
|
-
transform: translateY(-16px);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.notification-enter-active {
|
|
15
|
-
opacity: 1;
|
|
16
|
-
transform: translateY(0);
|
|
17
|
-
transition: 350ms ease;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.notification-exit {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
transform: translateY(16px);
|
|
23
|
-
transition: 350ms ease;
|
|
24
|
-
}
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
`,c=o.default(e.BaseContainer)`
|
|
27
|
-
display: inline-flex;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
align-items: center;
|
|
30
|
-
padding: 20px 24px 24px 24px;
|
|
31
|
-
border-radius: 4px;
|
|
32
|
-
margin: 0 auto;
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
box-shadow: ${e.theme.shadows.lg};
|
|
35
|
-
pointer-events: all;
|
|
36
|
-
`;o.default(e.Banner)`
|
|
37
|
-
display: inline-flex;
|
|
38
|
-
flex-direction: row;
|
|
39
|
-
align-items: center;
|
|
40
|
-
margin: 0 auto;
|
|
41
|
-
background-color: #fff;
|
|
42
|
-
box-shadow: ${e.theme.shadows.lg};
|
|
43
|
-
pointer-events: all;
|
|
44
|
-
`;const d=o.default(e.Button)`
|
|
45
|
-
margin-right: 16px;
|
|
46
|
-
`;o.default(e.Text)`
|
|
47
|
-
line-height: 20px;
|
|
48
|
-
`;const n=o.default(e.Text)`
|
|
49
|
-
margin: ${t=>t.margin?t.margin:""};
|
|
50
|
-
color: ${t=>t.color};
|
|
51
|
-
`,f=o.default(e.Text)`
|
|
52
|
-
margin-right: 8px;
|
|
53
|
-
color: ${t=>t.color};
|
|
54
|
-
`,p=o.default(l)``,x=o.default(e.BaseContainer)`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: row;
|
|
57
|
-
align-items: flex-end;
|
|
58
|
-
flex-grow: 2;
|
|
59
|
-
margin-left: 24px;
|
|
60
|
-
margin-right: 24px;
|
|
61
|
-
`,u=o.default.button`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding: 8px;
|
|
5
|
+
padding-left: 35px;
|
|
6
|
+
margin: 8px;
|
|
7
|
+
background-color: ${t.theme.colors.neutral.grey.lightest};
|
|
8
|
+
`,l=r.default.hr`
|
|
64
9
|
width: 100%;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
& > ${n} {
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
user-select: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&:hover {
|
|
74
|
-
background-color: ${e.theme.colors.neutral.grey.lightest};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:hover > ${n} {
|
|
78
|
-
color: ${e.theme.colors.secondary.blue.base};
|
|
79
|
-
}
|
|
80
|
-
`;exports.Bold=f;exports.Button=d;exports.Container=c;exports.Glyph=p;exports.Item=u;exports.Notification=s;exports.Text=n;exports.Wrap=x;
|
|
10
|
+
border-top: 1px solid ${t.theme.colors.neutral.grey.dark};
|
|
11
|
+
margin: 0 0 4px 0;
|
|
12
|
+
`;exports.Divider=l;exports.FixedViews=d;
|