@veeqo/transfigure 0.0.29 → 0.0.31

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 (74) hide show
  1. package/dist/hooks/index.d.ts +1 -1
  2. package/dist/hooks/useColumns/index.d.ts +1 -0
  3. package/dist/hooks/useColumns/useColumns.d.ts +7 -0
  4. package/dist/hooks/usePersistUnsavedChanges/usePersistUnsavedChanges.d.ts +2 -2
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.js +8 -8
  7. package/dist/index100.cjs +1 -12
  8. package/dist/index100.js +15 -16
  9. package/dist/index101.cjs +1 -80
  10. package/dist/index101.js +2 -103
  11. package/dist/index102.cjs +80 -1
  12. package/dist/index102.js +102 -2
  13. package/dist/index103.cjs +1 -1
  14. package/dist/index103.js +19 -36
  15. package/dist/index104.cjs +1 -1
  16. package/dist/index104.js +7 -18
  17. package/dist/index105.cjs +1 -1
  18. package/dist/index105.js +63 -7
  19. package/dist/index106.cjs +1 -1
  20. package/dist/index106.js +26 -60
  21. package/dist/index107.cjs +1 -1
  22. package/dist/index107.js +36 -30
  23. package/dist/index110.cjs +1 -1
  24. package/dist/index110.js +42 -58
  25. package/dist/index111.cjs +1 -1
  26. package/dist/index111.js +58 -42
  27. package/dist/index112.cjs +1 -7
  28. package/dist/index112.js +42 -10
  29. package/dist/index113.cjs +7 -1
  30. package/dist/index113.js +10 -42
  31. package/dist/index15.cjs +1 -1
  32. package/dist/index15.js +1 -1
  33. package/dist/index20.cjs +1 -1
  34. package/dist/index20.js +1 -1
  35. package/dist/index29.cjs +1 -1
  36. package/dist/index29.js +1 -1
  37. package/dist/index32.cjs +1 -1
  38. package/dist/index32.js +1 -1
  39. package/dist/index34.cjs +1 -1
  40. package/dist/index34.js +2 -2
  41. package/dist/index39.cjs +1 -1
  42. package/dist/index39.js +1 -1
  43. package/dist/index40.cjs +1 -1
  44. package/dist/index40.js +30 -53
  45. package/dist/index42.cjs +1 -1
  46. package/dist/index42.js +1 -1
  47. package/dist/index58.cjs +1 -1
  48. package/dist/index58.js +59 -53
  49. package/dist/index63.cjs +1 -1
  50. package/dist/index63.js +15 -12
  51. package/dist/index65.cjs +1 -1
  52. package/dist/index65.js +25 -25
  53. package/dist/index79.cjs +1 -1
  54. package/dist/index79.js +1 -1
  55. package/dist/index80.cjs +1 -1
  56. package/dist/index80.js +1 -1
  57. package/dist/index86.cjs +1 -1
  58. package/dist/index86.js +2 -2
  59. package/dist/index88.cjs +1 -1
  60. package/dist/index88.js +2 -2
  61. package/dist/index94.cjs +1 -1
  62. package/dist/index94.js +32 -23
  63. package/dist/index95.cjs +1 -1
  64. package/dist/index95.js +29 -33
  65. package/dist/index96.cjs +12 -1
  66. package/dist/index96.js +16 -29
  67. package/dist/index97.cjs +1 -1
  68. package/dist/index97.js +24 -15
  69. package/dist/index99.cjs +1 -1
  70. package/dist/index99.js +1 -1
  71. package/dist/storybookHelpers/StoryWrapper.d.ts +2 -1
  72. package/package.json +1 -1
  73. package/dist/hooks/useHiddenColumns/index.d.ts +0 -1
  74. package/dist/hooks/useHiddenColumns/useHiddenColumns.d.ts +0 -7
@@ -7,5 +7,5 @@ export * from './useStores';
7
7
  export * from './useViews';
8
8
  export * from './useViewUrlChange';
9
9
  export * from './useCustomViews';
10
- export * from './useHiddenColumns';
10
+ export * from './useColumns';
11
11
  export * from './useUrlParams';
@@ -0,0 +1 @@
1
+ export { useColumns } from './useColumns';
@@ -0,0 +1,7 @@
1
+ type UseColumnsReturnType = {
2
+ isLoading: boolean;
3
+ orderedColumnIds?: string[];
4
+ hiddenColumnIds: string[];
5
+ };
6
+ export declare const useColumns: () => UseColumnsReturnType;
7
+ export {};
@@ -6,8 +6,8 @@ export declare const usePersistUnsavedChanges: () => {
6
6
  filters: {
7
7
  filter: Record<string, any>;
8
8
  page: {
9
- size?: number;
10
- } | undefined;
9
+ size: number;
10
+ };
11
11
  };
12
12
  title: string | undefined;
13
13
  };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),v=require("./index18.cjs"),b=require("./index19.cjs"),h=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),T=require("./index23.cjs"),D=require("./index24.cjs"),M=require("./index25.cjs"),y=require("./index26.cjs"),P=require("./index27.cjs"),S=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),L=require("./index31.cjs"),B=require("./index32.cjs"),f=require("./index33.cjs"),U=require("./index34.cjs"),I=require("./index35.cjs"),k=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),e=require("./index46.cjs"),r=require("./index47.cjs"),K=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),i=require("./index52.cjs"),t=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),Ce=require("./index74.cjs"),pe=require("./index75.cjs"),ve=require("./index76.cjs");exports.deleteCustomView=s.deleteCustomView;exports.patchCurrentUser=o.patchCurrentUser;exports.patchCustomView=n.patchCustomView;exports.createCustomView=a.createCustomView;exports.axios=c.axios;exports.useBusinessLogic=u.useBusinessLogic;exports.BusinessLogicManager=l.BusinessLogicManager;exports.setMockedBusinessLogic=F.setMockedBusinessLogic;exports.ErrorBoundary=d.ErrorBoundary;exports.SearchBar=q.SearchBar;exports.TableControls=g.TableControls;exports.ToastsManager=w.ToastsManager;exports.ActiveFilters=A.ActiveFilters;exports.FilterArrayField=V.FilterArrayField;exports.FilterField=C.FilterField;exports.ActiveFilterTag=p.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=h.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=R.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=m.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=M.AsyncRadioFilter;exports.CheckboxFilter=y.CheckboxFilter;exports.DateRangeFilter=P.DateRangeFilter;exports.MultipleFieldFilter=S.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=U.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=k.EditDropdown;exports.OptionsDropdown=x.OptionsDropdown;exports.PillNotifications=H.PillNotifications;exports.SortableViews=E.SortableViews;exports.UnsavedChangesPill=_.UnsavedChangesPill;exports.ViewDropdowns=G.ViewDropdowns;exports.ViewList=W.ViewList;exports.SHARING_OPTIONS=X.SHARING_OPTIONS;exports.TableManagement=$.TableManagement;exports.RefreshButton=J.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=K.ModalProvider;exports.ModalId=j.ModalId;exports.useModal=z.useModal;exports.withCSRF=Q.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Y.useDropdownManager;exports.useDuplicateActiveView=Z.useDuplicateActiveView;exports.useFilterArrayLabel=ee.useFilterArrayLabel;exports.useFilterLabel=re.useFilterLabel;exports.usePersistUnsavedChanges=ie.usePersistUnsavedChanges;exports.useStores=te.useStores;exports.useViews=se.useViews;exports.useViewUrlChange=oe.useViewUrlChange;exports.useCustomViews=ne.useCustomViews;exports.useHiddenColumns=ae.useHiddenColumns;exports.useUrlParams=ce.useUrlParams;exports.Filters=ue.Filters;exports.NumberRangeFilterClass=le.NumberRangeFilter;exports.RangeFilter=Fe.RangeFilter;exports.Views=de.Views;exports.Notifications=qe.Notifications;exports.Table=ge.Table;exports.MobXProvider=we.MobXProvider;exports.getAsyncOptions=Ae.getAsyncOptions;exports.getFetcherFunction=Ve.getFetcherFunction;exports.isValidDateRange=Ce.isValidDateRange;exports.viewsAdapter=pe.viewsAdapter;exports.createAllView=ve.createAllView;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),v=require("./index18.cjs"),b=require("./index19.cjs"),h=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),T=require("./index23.cjs"),D=require("./index24.cjs"),M=require("./index25.cjs"),y=require("./index26.cjs"),P=require("./index27.cjs"),S=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),L=require("./index31.cjs"),B=require("./index32.cjs"),f=require("./index33.cjs"),U=require("./index34.cjs"),I=require("./index35.cjs"),k=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),e=require("./index46.cjs"),r=require("./index47.cjs"),K=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),i=require("./index52.cjs"),t=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),Ce=require("./index74.cjs"),pe=require("./index75.cjs"),ve=require("./index76.cjs");exports.deleteCustomView=s.deleteCustomView;exports.patchCurrentUser=o.patchCurrentUser;exports.patchCustomView=n.patchCustomView;exports.createCustomView=a.createCustomView;exports.axios=c.axios;exports.useBusinessLogic=u.useBusinessLogic;exports.BusinessLogicManager=l.BusinessLogicManager;exports.setMockedBusinessLogic=F.setMockedBusinessLogic;exports.ErrorBoundary=d.ErrorBoundary;exports.SearchBar=q.SearchBar;exports.TableControls=g.TableControls;exports.ToastsManager=w.ToastsManager;exports.ActiveFilters=A.ActiveFilters;exports.FilterArrayField=V.FilterArrayField;exports.FilterField=C.FilterField;exports.ActiveFilterTag=p.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=h.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=R.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=m.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=M.AsyncRadioFilter;exports.CheckboxFilter=y.CheckboxFilter;exports.DateRangeFilter=P.DateRangeFilter;exports.MultipleFieldFilter=S.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=U.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=k.EditDropdown;exports.OptionsDropdown=x.OptionsDropdown;exports.PillNotifications=H.PillNotifications;exports.SortableViews=E.SortableViews;exports.UnsavedChangesPill=_.UnsavedChangesPill;exports.ViewDropdowns=G.ViewDropdowns;exports.ViewList=W.ViewList;exports.SHARING_OPTIONS=X.SHARING_OPTIONS;exports.TableManagement=$.TableManagement;exports.RefreshButton=J.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=K.ModalProvider;exports.ModalId=j.ModalId;exports.useModal=z.useModal;exports.withCSRF=Q.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Y.useDropdownManager;exports.useDuplicateActiveView=Z.useDuplicateActiveView;exports.useFilterArrayLabel=ee.useFilterArrayLabel;exports.useFilterLabel=re.useFilterLabel;exports.usePersistUnsavedChanges=ie.usePersistUnsavedChanges;exports.useStores=te.useStores;exports.useViews=se.useViews;exports.useViewUrlChange=oe.useViewUrlChange;exports.useCustomViews=ne.useCustomViews;exports.useColumns=ae.useColumns;exports.useUrlParams=ce.useUrlParams;exports.Filters=ue.Filters;exports.NumberRangeFilterClass=le.NumberRangeFilter;exports.RangeFilter=Fe.RangeFilter;exports.Views=de.Views;exports.Notifications=qe.Notifications;exports.Table=ge.Table;exports.MobXProvider=we.MobXProvider;exports.getAsyncOptions=Ae.getAsyncOptions;exports.getFetcherFunction=Ve.getFetcherFunction;exports.isValidDateRange=Ce.isValidDateRange;exports.viewsAdapter=pe.viewsAdapter;exports.createAllView=ve.createAllView;
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { FilterField as O } from "./index16.js";
16
16
  import { ActiveFilterTag as P } from "./index17.js";
17
17
  import { ActiveFilterArrayTag as L } from "./index18.js";
18
18
  import { ActiveFilterDateRangeTag as I } from "./index19.js";
19
- import { ActiveFilterNumberRangeTag as H } from "./index20.js";
19
+ import { ActiveFilterNumberRangeTag as k } from "./index20.js";
20
20
  import { ActiveAsyncRadioFilter as _ } from "./index21.js";
21
21
  import { ActiveFilterFooter as G } from "./index22.js";
22
22
  import { ActiveFilterHeader as K } from "./index23.js";
@@ -43,7 +43,7 @@ import { SHARING_OPTIONS as Or } from "./index43.js";
43
43
  import { TableManagement as Pr } from "./index44.js";
44
44
  import { RefreshButton as Lr } from "./index45.js";
45
45
  import { DateOptionMap as Ir, DateValue as Ur } from "./index46.js";
46
- import { FilterChoiceValue as kr, SWR_HOOK_OPTIONS as _r } from "./index47.js";
46
+ import { FilterChoiceValue as Hr, SWR_HOOK_OPTIONS as _r } from "./index47.js";
47
47
  import { ModalProvider as Gr } from "./index48.js";
48
48
  import { ModalId as Kr } from "./index49.js";
49
49
  import { useModal as Xr } from "./index50.js";
@@ -59,7 +59,7 @@ import { useStores as ne } from "./index59.js";
59
59
  import { useViews as Fe } from "./index60.js";
60
60
  import { useViewUrlChange as de } from "./index61.js";
61
61
  import { useCustomViews as we } from "./index62.js";
62
- import { useHiddenColumns as Ve } from "./index63.js";
62
+ import { useColumns as Ve } from "./index63.js";
63
63
  import { useUrlParams as ve } from "./index64.js";
64
64
  import { Filters as be } from "./index65.js";
65
65
  import { NumberRangeFilter as De } from "./index66.js";
@@ -68,7 +68,7 @@ import { Views as Oe } from "./index68.js";
68
68
  import { Notifications as Pe } from "./index69.js";
69
69
  import { Table as Le } from "./index70.js";
70
70
  import { MobXProvider as Ie } from "./index71.js";
71
- import { getAsyncOptions as He } from "./index72.js";
71
+ import { getAsyncOptions as ke } from "./index72.js";
72
72
  import { getFetcherFunction as _e } from "./index73.js";
73
73
  import { isValidDateRange as Ge } from "./index74.js";
74
74
  import { viewsAdapter as Ke } from "./index75.js";
@@ -79,7 +79,7 @@ export {
79
79
  I as ActiveFilterDateRangeTag,
80
80
  G as ActiveFilterFooter,
81
81
  K as ActiveFilterHeader,
82
- H as ActiveFilterNumberRangeTag,
82
+ k as ActiveFilterNumberRangeTag,
83
83
  P as ActiveFilterTag,
84
84
  D as ActiveFilters,
85
85
  X as AsyncCheckboxFilter,
@@ -93,7 +93,7 @@ export {
93
93
  dr as EditDropdown,
94
94
  w as ErrorBoundary,
95
95
  T as FilterArrayField,
96
- kr as FilterChoiceValue,
96
+ Hr as FilterChoiceValue,
97
97
  O as FilterField,
98
98
  sr as FilterGroup,
99
99
  be as Filters,
@@ -130,7 +130,7 @@ export {
130
130
  o as deleteCustomView,
131
131
  $r as fetcherV1,
132
132
  re as fetcherV2,
133
- He as getAsyncOptions,
133
+ ke as getAsyncOptions,
134
134
  _e as getFetcherFunction,
135
135
  Ge as isValidDateRange,
136
136
  Qr as onlyJSON,
@@ -138,12 +138,12 @@ export {
138
138
  m as patchCustomView,
139
139
  d as setMockedBusinessLogic,
140
140
  n as useBusinessLogic,
141
+ Ve as useColumns,
141
142
  we as useCustomViews,
142
143
  oe as useDropdownManager,
143
144
  pe as useDuplicateActiveView,
144
145
  me as useFilterArrayLabel,
145
146
  xe as useFilterLabel,
146
- Ve as useHiddenColumns,
147
147
  Xr as useModal,
148
148
  se as usePersistUnsavedChanges,
149
149
  ne as useStores,
package/dist/index100.cjs CHANGED
@@ -1,12 +1 @@
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
- display: flex;
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`
9
- width: 100%;
10
- border-top: 1px solid ${t.theme.colors.neutral.grey.dark};
11
- margin: 0 0 4px 0;
12
- `;exports.Divider=l;exports.FixedViews=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index108.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/index100.js CHANGED
@@ -1,18 +1,17 @@
1
- import r from "styled-components";
2
- import { theme as o, BaseContainer as e } from "@veeqo/ui";
3
- const d = r(e)`
4
- display: flex;
5
- flex-direction: column;
6
- padding: 8px;
7
- padding-left: 35px;
8
- margin: 8px;
9
- background-color: ${o.colors.neutral.grey.lightest};
10
- `, l = r.hr`
11
- width: 100%;
12
- border-top: 1px solid ${o.colors.neutral.grey.dark};
13
- margin: 0 0 4px 0;
14
- `;
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { StyledSortableViews as i } from "./index108.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
+ }
13
+ }
14
+ );
15
15
  export {
16
- l as Divider,
17
- d as FixedViews
16
+ h as LegacySortableViews
18
17
  };
package/dist/index101.cjs CHANGED
@@ -1,80 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@veeqo/ui"),r=require("@veeqo/components"),l=require("framer-motion"),s=require("./index109.cjs"),c=e=>e&&e.__esModule?e:{default:e},o=c(a),{Glyph:i}=r.VeeqoCommon,d=o.default(l.motion(t.BaseContainer)).attrs(()=>({variants:s.notificationVariants,initial:"initial",animate:"animate",exit:"exit"}))`
2
- display: flex;
3
- position: fixed;
4
- width: 100vw;
5
- left: 0;
6
- bottom: 24px;
7
- z-index: 1001;
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
- `,f=o.default(t.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: ${t.theme.shadows.lg};
35
- pointer-events: all;
36
- `,p=o.default(t.Banner)`
37
- display: inline-flex;
38
- flex-direction: row;
39
- align-items: center;
40
- margin: 0 auto;
41
- background-color: #fff;
42
- box-shadow: ${t.theme.shadows.lg};
43
- pointer-events: all;
44
- `,u=o.default(t.Button)`
45
- margin-right: 16px;
46
- `,x=o.default(t.Text)`
47
- line-height: 20px;
48
- `,n=o.default(t.Text)`
49
- margin: ${e=>e.margin?e.margin:""};
50
- color: ${e=>e.color};
51
- `,m=o.default(t.Text)`
52
- margin-right: 8px;
53
- color: ${e=>e.color};
54
- `,g=o.default(i)``,h=o.default(t.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
- `;o.default(t.AnimatedDropdown)``;const y=o.default.button`
62
- display: flex;
63
- flex-direction: row;
64
- width: 100%;
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: ${t.theme.colors.neutral.grey.lightest};
75
- }
76
-
77
- &:hover > ${n} {
78
- color: ${t.theme.colors.secondary.blue.base};
79
- }
80
- `;exports.Bold=m;exports.Button=u;exports.Container=f;exports.Glyph=g;exports.Hint=x;exports.Item=y;exports.Notification=d;exports.Pill=p;exports.Text=n;exports.UIGlyph=i;exports.Wrap=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
package/dist/index101.js CHANGED
@@ -1,105 +1,4 @@
1
- import t from "styled-components";
2
- import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as s, AnimatedDropdown as l } from "@veeqo/ui";
3
- import { VeeqoCommon as c } from "@veeqo/components";
4
- import { motion as p } from "framer-motion";
5
- import { notificationVariants as x } from "./index109.js";
6
- const { Glyph: m } = c, u = t(p(n)).attrs(() => ({
7
- variants: x,
8
- initial: "initial",
9
- animate: "animate",
10
- exit: "exit"
11
- }))`
12
- display: flex;
13
- position: fixed;
14
- width: 100vw;
15
- left: 0;
16
- bottom: 24px;
17
- z-index: 1001;
18
-
19
- &.notification-enter {
20
- opacity: 0;
21
- transform: translateY(-16px);
22
- }
23
-
24
- &.notification-enter-active {
25
- opacity: 1;
26
- transform: translateY(0);
27
- transition: 350ms ease;
28
- }
29
-
30
- &.notification-exit {
31
- opacity: 0;
32
- transform: translateY(16px);
33
- transition: 350ms ease;
34
- }
35
- pointer-events: none;
36
- `, y = t(n)`
37
- display: inline-flex;
38
- flex-direction: row;
39
- align-items: center;
40
- padding: 20px 24px 24px 24px;
41
- border-radius: 4px;
42
- margin: 0 auto;
43
- background-color: #fff;
44
- box-shadow: ${i.shadows.lg};
45
- pointer-events: all;
46
- `, $ = t(a)`
47
- display: inline-flex;
48
- flex-direction: row;
49
- align-items: center;
50
- margin: 0 auto;
51
- background-color: #fff;
52
- box-shadow: ${i.shadows.lg};
53
- pointer-events: all;
54
- `, b = t(s)`
55
- margin-right: 16px;
56
- `, v = t(e)`
57
- line-height: 20px;
58
- `, r = t(e)`
59
- margin: ${(o) => o.margin ? o.margin : ""};
60
- color: ${(o) => o.color};
61
- `, B = t(e)`
62
- margin-right: 8px;
63
- color: ${(o) => o.color};
64
- `, k = t(m)``, C = t(n)`
65
- display: flex;
66
- flex-direction: row;
67
- align-items: flex-end;
68
- flex-grow: 2;
69
- margin-left: 24px;
70
- margin-right: 24px;
71
- `;
72
- t(l)``;
73
- const G = t.button`
74
- display: flex;
75
- flex-direction: row;
76
- width: 100%;
77
- padding: 12px 16px;
78
- cursor: pointer;
79
-
80
- & > ${r} {
81
- white-space: nowrap;
82
- user-select: none;
83
- }
84
-
85
- &:hover {
86
- background-color: ${i.colors.neutral.grey.lightest};
87
- }
88
-
89
- &:hover > ${r} {
90
- color: ${i.colors.secondary.blue.base};
91
- }
92
- `;
1
+ const o = (r) => r instanceof Error;
93
2
  export {
94
- B as Bold,
95
- b as Button,
96
- y as Container,
97
- k as Glyph,
98
- v as Hint,
99
- G as Item,
100
- u as Notification,
101
- $ as Pill,
102
- r as Text,
103
- m as UIGlyph,
104
- C as Wrap
3
+ o as isError
105
4
  };
package/dist/index102.cjs CHANGED
@@ -1 +1,80 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@veeqo/ui"),r=require("@veeqo/components"),l=require("framer-motion"),s=require("./index109.cjs"),c=e=>e&&e.__esModule?e:{default:e},o=c(a),{Glyph:i}=r.VeeqoCommon,d=o.default(l.motion(t.BaseContainer)).attrs(()=>({variants:s.notificationVariants,initial:"initial",animate:"animate",exit:"exit"}))`
2
+ display: flex;
3
+ position: fixed;
4
+ width: 100vw;
5
+ left: 0;
6
+ bottom: 24px;
7
+ z-index: 1001;
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
+ `,f=o.default(t.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: ${t.theme.shadows.lg};
35
+ pointer-events: all;
36
+ `,p=o.default(t.Banner)`
37
+ display: inline-flex;
38
+ flex-direction: row;
39
+ align-items: center;
40
+ margin: 0 auto;
41
+ background-color: #fff;
42
+ box-shadow: ${t.theme.shadows.lg};
43
+ pointer-events: all;
44
+ `,u=o.default(t.Button)`
45
+ margin-right: 16px;
46
+ `,x=o.default(t.Text)`
47
+ line-height: 20px;
48
+ `,n=o.default(t.Text)`
49
+ margin: ${e=>e.margin?e.margin:""};
50
+ color: ${e=>e.color};
51
+ `,m=o.default(t.Text)`
52
+ margin-right: 8px;
53
+ color: ${e=>e.color};
54
+ `,g=o.default(i)``,h=o.default(t.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
+ `;o.default(t.AnimatedDropdown)``;o.default.button`
62
+ display: flex;
63
+ flex-direction: row;
64
+ width: 100%;
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: ${t.theme.colors.neutral.grey.lightest};
75
+ }
76
+
77
+ &:hover > ${n} {
78
+ color: ${t.theme.colors.secondary.blue.base};
79
+ }
80
+ `;exports.Bold=m;exports.Button=u;exports.Container=f;exports.Glyph=g;exports.Hint=x;exports.Notification=d;exports.Pill=p;exports.Text=n;exports.UIGlyph=i;exports.Wrap=h;
package/dist/index102.js CHANGED
@@ -1,4 +1,104 @@
1
- const o = (r) => r instanceof Error;
1
+ import o from "styled-components";
2
+ import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as l, AnimatedDropdown as s } from "@veeqo/ui";
3
+ import { VeeqoCommon as c } from "@veeqo/components";
4
+ import { motion as p } from "framer-motion";
5
+ import { notificationVariants as x } from "./index109.js";
6
+ const { Glyph: m } = c, u = o(p(n)).attrs(() => ({
7
+ variants: x,
8
+ initial: "initial",
9
+ animate: "animate",
10
+ exit: "exit"
11
+ }))`
12
+ display: flex;
13
+ position: fixed;
14
+ width: 100vw;
15
+ left: 0;
16
+ bottom: 24px;
17
+ z-index: 1001;
18
+
19
+ &.notification-enter {
20
+ opacity: 0;
21
+ transform: translateY(-16px);
22
+ }
23
+
24
+ &.notification-enter-active {
25
+ opacity: 1;
26
+ transform: translateY(0);
27
+ transition: 350ms ease;
28
+ }
29
+
30
+ &.notification-exit {
31
+ opacity: 0;
32
+ transform: translateY(16px);
33
+ transition: 350ms ease;
34
+ }
35
+ pointer-events: none;
36
+ `, y = o(n)`
37
+ display: inline-flex;
38
+ flex-direction: row;
39
+ align-items: center;
40
+ padding: 20px 24px 24px 24px;
41
+ border-radius: 4px;
42
+ margin: 0 auto;
43
+ background-color: #fff;
44
+ box-shadow: ${i.shadows.lg};
45
+ pointer-events: all;
46
+ `, $ = o(a)`
47
+ display: inline-flex;
48
+ flex-direction: row;
49
+ align-items: center;
50
+ margin: 0 auto;
51
+ background-color: #fff;
52
+ box-shadow: ${i.shadows.lg};
53
+ pointer-events: all;
54
+ `, b = o(l)`
55
+ margin-right: 16px;
56
+ `, v = o(e)`
57
+ line-height: 20px;
58
+ `, r = o(e)`
59
+ margin: ${(t) => t.margin ? t.margin : ""};
60
+ color: ${(t) => t.color};
61
+ `, B = o(e)`
62
+ margin-right: 8px;
63
+ color: ${(t) => t.color};
64
+ `, k = o(m)``, C = o(n)`
65
+ display: flex;
66
+ flex-direction: row;
67
+ align-items: flex-end;
68
+ flex-grow: 2;
69
+ margin-left: 24px;
70
+ margin-right: 24px;
71
+ `;
72
+ o(s)``;
73
+ o.button`
74
+ display: flex;
75
+ flex-direction: row;
76
+ width: 100%;
77
+ padding: 12px 16px;
78
+ cursor: pointer;
79
+
80
+ & > ${r} {
81
+ white-space: nowrap;
82
+ user-select: none;
83
+ }
84
+
85
+ &:hover {
86
+ background-color: ${i.colors.neutral.grey.lightest};
87
+ }
88
+
89
+ &:hover > ${r} {
90
+ color: ${i.colors.secondary.blue.base};
91
+ }
92
+ `;
2
93
  export {
3
- o as isError
94
+ B as Bold,
95
+ b as Button,
96
+ y as Container,
97
+ k as Glyph,
98
+ v as Hint,
99
+ u as Notification,
100
+ $ as Pill,
101
+ r as Text,
102
+ m as UIGlyph,
103
+ C as Wrap
4
104
  };
package/dist/index103.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@veeqo/ui"),o=require("@material-ui/core/styles"),t=require("@material-ui/core/Slider"),l=e=>e&&e.__esModule?e:{default:e},i=l(t),a=o.withStyles({root:{color:r.theme.colors.secondary.blue.base,height:4},thumb:{height:20,width:20,backgroundColor:"#fff",border:"3px solid currentColor",marginTop:-8,marginLeft:-10,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},valueLabel:{left:"calc(-50% - 1px)"},track:{height:4,borderRadius:4,backgroundColor:r.theme.colors.secondary.blue.light,opacity:1},rail:{height:4,borderRadius:4,backgroundColor:r.theme.colors.neutral.grey.dark,opacity:1}})(i.default);exports.MUISlider=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("./index112.cjs"),b=require("./index87.cjs"),f=({id:t,children:r})=>{const{attributes:s,listeners:o,setNodeRef:i,transform:n,transition:a,isDragging:l}=c.useSortable({id:t}),u={transform:g.CSS.Transform.toString(n),transition:a,cursor:"grab",outlineOffset:"-1px"};return e.jsxs("div",{ref:i,style:u,...s,...o,children:[r,l&&e.jsx(b.DraggingOverlay,{})]})};exports.SortableItem=f;
package/dist/index103.js CHANGED
@@ -1,38 +1,21 @@
1
- import { theme as o } from "@veeqo/ui";
2
- import { withStyles as r } from "@material-ui/core/styles";
3
- import e from "@material-ui/core/Slider";
4
- const l = r({
5
- root: {
6
- color: o.colors.secondary.blue.base,
7
- height: 4
8
- },
9
- thumb: {
10
- height: 20,
11
- width: 20,
12
- backgroundColor: "#fff",
13
- border: "3px solid currentColor",
14
- marginTop: -8,
15
- marginLeft: -10,
16
- "&:focus, &:hover, &$active": {
17
- boxShadow: "inherit"
18
- }
19
- },
20
- valueLabel: {
21
- left: "calc(-50% - 1px)"
22
- },
23
- track: {
24
- height: 4,
25
- borderRadius: 4,
26
- backgroundColor: o.colors.secondary.blue.light,
27
- opacity: 1
28
- },
29
- rail: {
30
- height: 4,
31
- borderRadius: 4,
32
- backgroundColor: o.colors.neutral.grey.dark,
33
- opacity: 1
34
- }
35
- })(e);
1
+ import { jsxs as f, jsx as g } from "react/jsx-runtime";
2
+ import { useSortable as l } from "@dnd-kit/sortable";
3
+ import { CSS as p } from "./index112.js";
4
+ import { DraggingOverlay as c } from "./index87.js";
5
+ const d = ({ id: r, children: t }) => {
6
+ const { attributes: o, listeners: s, setNodeRef: e, transform: i, transition: n, isDragging: m } = l({
7
+ id: r
8
+ }), a = {
9
+ transform: p.Transform.toString(i),
10
+ transition: n,
11
+ cursor: "grab",
12
+ outlineOffset: "-1px"
13
+ };
14
+ return /* @__PURE__ */ f("div", { ref: e, style: a, ...o, ...s, children: [
15
+ t,
16
+ m && /* @__PURE__ */ g(c, {})
17
+ ] });
18
+ };
36
19
  export {
37
- l as MUISlider
20
+ d as SortableItem
38
21
  };
package/dist/index104.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("@dnd-kit/sortable"),g=require("./index113.cjs"),b=require("./index87.cjs"),f=({id:t,children:r})=>{const{attributes:s,listeners:o,setNodeRef:i,transform:n,transition:a,isDragging:l}=c.useSortable({id:t}),u={transform:g.CSS.Transform.toString(n),transition:a,cursor:"grab",outlineOffset:"-1px"};return e.jsxs("div",{ref:i,style:u,...s,...o,children:[r,l&&e.jsx(b.DraggingOverlay,{})]})};exports.SortableItem=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),c=require("@dnd-kit/core"),s=require("./index87.cjs"),l=({id:e,children:r,...t})=>{const{setNodeRef:o}=c.useDroppable({id:e});return a.createElement(s.DroppableAreaStack,{...t,key:e,ref:o},r)};exports.DroppableArea=l;
package/dist/index104.js CHANGED
@@ -1,21 +1,10 @@
1
- import { jsxs as f, jsx as g } from "react/jsx-runtime";
2
- import { useSortable as l } from "@dnd-kit/sortable";
3
- import { CSS as p } from "./index113.js";
4
- import { DraggingOverlay as c } from "./index87.js";
5
- const d = ({ id: r, children: t }) => {
6
- const { attributes: o, listeners: s, setNodeRef: e, transform: i, transition: n, isDragging: m } = l({
7
- id: r
8
- }), a = {
9
- transform: p.Transform.toString(i),
10
- transition: n,
11
- cursor: "grab",
12
- outlineOffset: "-1px"
13
- };
14
- return /* @__PURE__ */ f("div", { ref: e, style: a, ...o, ...s, children: [
15
- t,
16
- m && /* @__PURE__ */ g(c, {})
17
- ] });
1
+ import { createElement as p } from "react";
2
+ import { useDroppable as a } from "@dnd-kit/core";
3
+ import { DroppableAreaStack as m } from "./index87.js";
4
+ const n = ({ id: e, children: r, ...o }) => {
5
+ const { setNodeRef: t } = a({ id: e });
6
+ return /* @__PURE__ */ p(m, { ...o, key: e, ref: t }, r);
18
7
  };
19
8
  export {
20
- d as SortableItem
9
+ n as DroppableArea
21
10
  };