@veeqo/transfigure 0.0.38 → 1.1.0
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/BusinessLogic/types.d.ts +2 -3
- package/dist/api/deleteCustomView/deleteCustomView.d.ts +1 -1
- package/dist/api/patchCurrentUser/patchCurrentUser.d.ts +1 -1
- package/dist/api/patchCustomView/patchCustomView.d.ts +1 -1
- package/dist/api/types.d.ts +1 -1
- package/dist/axiosWrappers/axiosWrappers.d.ts +13 -13
- package/dist/axiosWrappers/utils/filteringUtils/filteringUtils.d.ts +1 -1
- package/dist/components/Filters/Fields/NumberRangeFilter/MuiSlider.d.ts +4 -4
- package/dist/components/RefreshButton/RefreshButton.d.ts +1 -1
- package/dist/components/RefreshButton/styled.d.ts +3 -3
- package/dist/components/SearchBar/SearchBar.d.ts +2 -2
- package/dist/components/TableManagement/TableManagement.d.ts +1 -1
- package/dist/components/TableManagement/components/DroppableArea.d.ts +1 -1
- package/dist/components/TableManagement/components/styled.d.ts +312 -8
- package/dist/components/TableManagement/hooks/useCollisionDetectionStrategy/mockUseCollisionDetectionStrategy.d.ts +2 -2
- package/dist/components/TableManagement/hooks/useDragHandlers/mockUseDragHandlers.d.ts +8 -8
- package/dist/components/TableManagement/types.d.ts +1 -2
- package/dist/components/TableManagement/utils/filterColumnsBySearch/filterColumnsBySearch.d.ts +1 -1
- package/dist/components/Views/OptionsDropdown/styled.d.ts +2 -2
- package/dist/components/Views/PillNotifications/variants/styled.d.ts +7 -7
- package/dist/components/Views/SortableViews/styled.d.ts +1 -1
- package/dist/constants/constants.d.ts +1 -1
- package/dist/constants/dateConstants.d.ts +2 -2
- package/dist/context/ModalContext/mocks/mockUseModal.d.ts +4 -4
- package/dist/fetchers/withCSRF.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useCustomViews/useCustomViews.d.ts +1 -1
- package/dist/hooks/usePersistColumns/mockUsePersistColumns.d.ts +2 -2
- package/dist/hooks/usePersistUnsavedChanges/mockUsePersistUnsavedChanges.d.ts +4 -4
- package/dist/hooks/useUrlChange/index.d.ts +1 -0
- package/dist/hooks/useUrlChange/useUrlChange.d.ts +7 -0
- package/dist/hooks/useViewCountsHook/useViewCountsHook.d.ts +2 -2
- package/dist/hooks/useViews/useViews.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +52 -50
- package/dist/index100.cjs +1 -80
- package/dist/index100.js +28 -100
- package/dist/index101.cjs +80 -1
- package/dist/index101.js +101 -24
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +24 -2
- package/dist/index103.cjs +1 -13
- package/dist/index103.js +19 -17
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +7 -18
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +63 -7
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +26 -60
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +2 -30
- package/dist/index108.cjs +13 -1
- package/dist/index108.js +15 -24
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +22 -32
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +10 -10
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +31 -37
- package/dist/index111.cjs +7 -1
- package/dist/index111.js +10 -63
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +58 -42
- package/dist/index113.cjs +1 -7
- package/dist/index113.js +47 -10
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +2 -2
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +2 -2
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +2 -2
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +2 -2
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +4 -4
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +2 -2
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +3 -3
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +3 -3
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +2 -2
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +2 -2
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +2 -2
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +4 -4
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +3 -3
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +2 -2
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +22 -18
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +16 -26
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +26 -10
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +13 -326
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +321 -55
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +50 -47
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +51 -32
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +30 -24
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +26 -32
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +37 -12
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +13 -9
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +9 -17
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +14 -16
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +18 -49
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +50 -21
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +21 -7
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +7 -2
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +2 -9
- package/dist/index80.cjs +1 -3
- package/dist/index80.js +8 -13
- package/dist/index81.cjs +3 -1
- package/dist/index81.js +13 -8
- package/dist/index82.cjs +1 -11
- package/dist/index82.js +9 -16
- package/dist/index83.cjs +11 -1
- package/dist/index83.js +16 -41
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +40 -8
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +9 -118
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +117 -18
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +19 -33
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +13 -29
- package/dist/index89.cjs +100 -15
- package/dist/index89.js +115 -19
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +66 -19
- package/dist/index91.cjs +1 -12
- package/dist/index91.js +29 -16
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +2 -15
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +41 -13
- package/dist/index94.cjs +1 -104
- package/dist/index94.js +10 -119
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +19 -66
- package/dist/index96.cjs +19 -1
- package/dist/index96.js +24 -29
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +15 -2
- package/dist/index98.cjs +12 -1
- package/dist/index98.js +16 -41
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +31 -9
- package/dist/mobx/Filters/Filters.d.ts +1 -1
- package/dist/mobx/Notifications/Notifications.d.ts +1 -1
- package/dist/mobx/RangeFilter/RangeFilter.d.ts +3 -3
- package/dist/mobx/Table/Table.d.ts +1 -1
- package/dist/mockServiceWorker.js +104 -63
- package/dist/mocks/internal/mockSWRReturn/mockSWRReturn.d.ts +1 -1
- package/dist/setupTests.d.ts +2 -2
- package/dist/storybookHelpers/constants.d.ts +1 -1
- package/dist/utils/isValidDateRange/isValidDateRange.d.ts +1 -1
- package/package.json +8 -4
package/dist/components/TableManagement/utils/filterColumnsBySearch/filterColumnsBySearch.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ColumnDefinition } from '
|
|
1
|
+
import { ColumnDefinition } from '@veeqo/ui';
|
|
2
2
|
export declare const filterColumnsBySearch: (columns: ColumnDefinition<any>[], searchQuery: string) => ColumnDefinition<any>[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Item: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2
2
|
children?: React.ReactNode;
|
|
3
|
-
variant?: import('
|
|
3
|
+
variant?: import('node_modules/@veeqo/ui/dist/components/Button/types').ButtonVariant | undefined;
|
|
4
4
|
size?: "base" | "sm" | undefined;
|
|
5
5
|
iconSlot?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
6
6
|
dropdown?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const Item: import('styled-components').StyledComponent<import('r
|
|
|
10
10
|
role: "option";
|
|
11
11
|
variant: "flat";
|
|
12
12
|
}, "variant" | "role">;
|
|
13
|
-
export declare const MenuItems: import('styled-components').StyledComponent<"div", any, import('
|
|
13
|
+
export declare const MenuItems: import('styled-components').StyledComponent<"div", any, import('node_modules/@veeqo/ui/dist/components/Card/styled').SurfaceProps & {
|
|
14
14
|
role: "listbox";
|
|
15
15
|
elevation: number;
|
|
16
16
|
}, "role" | "elevation">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
export declare const UIGlyph: ({ name, size, color, className, ariaLabel, style, onClick, }: import('
|
|
2
|
+
export declare const UIGlyph: ({ name, size, color, className, ariaLabel, style, onClick, }: import('@veeqo/components/dist/components/common/Glyph/Glyph').GlyphProps) => React.JSX.Element;
|
|
3
3
|
export declare const Notification: import('styled-components').StyledComponent<import('framer-motion').CustomDomComponent<{
|
|
4
4
|
slot?: string | undefined;
|
|
5
5
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -293,7 +293,7 @@ export declare const Notification: import('styled-components').StyledComponent<i
|
|
|
293
293
|
}, "animate" | "initial" | "exit" | "variants">;
|
|
294
294
|
export declare const Container: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
295
295
|
export declare const Pill: import('styled-components').StyledComponent<({ type, text, iconSlot, onClose, className, header, children, backgroundColor, ...props }: {
|
|
296
|
-
type?: import('
|
|
296
|
+
type?: import('node_modules/@veeqo/ui/dist/components/Banner/types').BannerTypes;
|
|
297
297
|
backgroundColor?: string;
|
|
298
298
|
text?: string;
|
|
299
299
|
iconSlot?: import('react').ReactElement;
|
|
@@ -304,19 +304,19 @@ export declare const Pill: import('styled-components').StyledComponent<({ type,
|
|
|
304
304
|
}) => React.JSX.Element, any, {}, never>;
|
|
305
305
|
export declare const Button: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
306
306
|
children?: React.ReactNode;
|
|
307
|
-
variant?: import('
|
|
307
|
+
variant?: import('node_modules/@veeqo/ui/dist/components/Button/types').ButtonVariant | undefined;
|
|
308
308
|
size?: "base" | "sm" | undefined;
|
|
309
309
|
iconSlot?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
310
310
|
dropdown?: boolean | undefined;
|
|
311
311
|
loading?: boolean | undefined;
|
|
312
312
|
contentStyles?: React.CSSProperties | undefined;
|
|
313
313
|
} & import('react').RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
314
|
-
export declare const Hint: import('styled-components').StyledComponent<"span", any, {} & import('
|
|
315
|
-
export declare const Text: import('styled-components').StyledComponent<"span", any, ({} & import('
|
|
314
|
+
export declare const Hint: import('styled-components').StyledComponent<"span", any, {} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps, never>;
|
|
315
|
+
export declare const Text: import('styled-components').StyledComponent<"span", any, ({} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps) & {
|
|
316
316
|
margin?: string;
|
|
317
317
|
}, never>;
|
|
318
|
-
export declare const Bold: import('styled-components').StyledComponent<"span", any, {} & import('
|
|
319
|
-
export declare const Glyph: import('styled-components').StyledComponent<({ name, size, color, className, ariaLabel, style, onClick, }: import('
|
|
318
|
+
export declare const Bold: import('styled-components').StyledComponent<"span", any, {} & import('node_modules/@veeqo/ui/dist/components/Text/types').TextProps, never>;
|
|
319
|
+
export declare const Glyph: import('styled-components').StyledComponent<({ name, size, color, className, ariaLabel, style, onClick, }: import('@veeqo/components/dist/components/common/Glyph/Glyph').GlyphProps) => React.JSX.Element, any, {
|
|
320
320
|
margin?: string;
|
|
321
321
|
}, never>;
|
|
322
322
|
export declare const Wrap: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VeeqoUI } from '
|
|
1
|
+
import { VeeqoUI } from '@veeqo/components';
|
|
2
2
|
/**
|
|
3
3
|
* @description Styled SortableViews component for ViewsContainer
|
|
4
4
|
* This is used to add truncation to the SortableViews label by altering the title in the node-renderer.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DateRanges } from '
|
|
1
|
+
import { DateRanges } from '@veeqo/ui';
|
|
2
2
|
export declare const DateValue: {
|
|
3
3
|
readonly CUSTOM: "CUSTOM";
|
|
4
4
|
readonly TODAY: DateRanges.TODAY;
|
|
@@ -14,4 +14,4 @@ export declare const DateValue: {
|
|
|
14
14
|
};
|
|
15
15
|
export type DateValueType = typeof DateValue;
|
|
16
16
|
export type FilterType = DateRanges | 'CUSTOM';
|
|
17
|
-
export declare const DateOptionMap: Map<string, import('
|
|
17
|
+
export declare const DateOptionMap: Map<string, import('@veeqo/ui').SelectOption>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const mockUseModal: ({ isModalOpen }: {
|
|
2
2
|
isModalOpen?: boolean | undefined;
|
|
3
3
|
}) => {
|
|
4
|
-
isModalOpen: import('
|
|
5
|
-
closeModal: import('
|
|
6
|
-
openModal: import('
|
|
7
|
-
toggleModal: import('
|
|
4
|
+
isModalOpen: import('vitest').Mock<(...args: any[]) => any>;
|
|
5
|
+
closeModal: import('vitest').Mock<(...args: any[]) => any>;
|
|
6
|
+
openModal: import('vitest').Mock<(...args: any[]) => any>;
|
|
7
|
+
toggleModal: import('vitest').Mock<(...args: any[]) => any>;
|
|
8
8
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from '
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
export declare const withCSRF: (axiosConfig?: AxiosRequestConfig) => AxiosRequestConfig;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './usePersistUnsavedChanges';
|
|
|
6
6
|
export * from './useStores';
|
|
7
7
|
export * from './useViews';
|
|
8
8
|
export * from './useViewUrlChange';
|
|
9
|
+
export * from './useUrlChange';
|
|
9
10
|
export * from './useCustomViews';
|
|
10
11
|
export * from './useColumns';
|
|
11
12
|
export * from './useUrlParams';
|
|
@@ -11,6 +11,6 @@ export declare const useCustomViews: ({ type }: UseCustomViewsProps) => {
|
|
|
11
11
|
isLoading: boolean;
|
|
12
12
|
isValidating: boolean;
|
|
13
13
|
error: any;
|
|
14
|
-
mutate: import('
|
|
14
|
+
mutate: import('swr').KeyedMutator<any>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const mockUsePersistColumns: ({ saveColumns, isSavingColumns }?: {
|
|
2
|
-
saveColumns?: import('
|
|
2
|
+
saveColumns?: import('vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
3
|
isSavingColumns?: boolean | undefined;
|
|
4
4
|
}) => {
|
|
5
|
-
saveColumns: import('
|
|
5
|
+
saveColumns: import('vitest').Mock<(...args: any[]) => any>;
|
|
6
6
|
isSavingColumns: boolean;
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const mockUsePersistUnsavedChanges: ({ getActiveViewInAPIFormat, saveChanges, isSubmitting }?: {
|
|
2
|
-
getActiveViewInAPIFormat?: import('
|
|
3
|
-
saveChanges?: import('
|
|
2
|
+
getActiveViewInAPIFormat?: import('vitest').Mock<(...args: any[]) => any> | undefined;
|
|
3
|
+
saveChanges?: import('vitest').Mock<(...args: any[]) => any> | undefined;
|
|
4
4
|
isSubmitting?: boolean | undefined;
|
|
5
5
|
}) => {
|
|
6
|
-
getActiveViewInAPIFormat: import('
|
|
7
|
-
saveChanges: import('
|
|
6
|
+
getActiveViewInAPIFormat: import('vitest').Mock<(...args: any[]) => any>;
|
|
7
|
+
saveChanges: import('vitest').Mock<(...args: any[]) => any>;
|
|
8
8
|
isSubmitting: boolean;
|
|
9
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useUrlChange } from './useUrlChange';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This hook should be used when filters are being on a page that does not incorporate Views functionality.
|
|
3
|
+
* It should be mounted at the top level of the page, if the <ViewsList /> component isn't rendered.
|
|
4
|
+
*
|
|
5
|
+
* An extended version of the hook can be found in useViewUrlChange() which is mounted inside <ViewsList />
|
|
6
|
+
*/
|
|
7
|
+
export declare const useUrlChange: () => void;
|
|
@@ -9,9 +9,9 @@ export type PaginationType = {
|
|
|
9
9
|
export type ResponseType = {
|
|
10
10
|
meta: PaginationType;
|
|
11
11
|
};
|
|
12
|
-
export declare const useViewCounts: (
|
|
12
|
+
export declare const useViewCounts: () => {
|
|
13
13
|
viewCounts: string | undefined;
|
|
14
14
|
error: any;
|
|
15
15
|
isLoadingViewCounts: boolean;
|
|
16
|
-
mutate: import('
|
|
16
|
+
mutate: import('swr').KeyedMutator<ResponseType>;
|
|
17
17
|
};
|
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"),
|
|
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"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=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"),S=require("./index27.cjs"),P=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),U=require("./index31.cjs"),L=require("./index32.cjs"),B=require("./index33.cjs"),f=require("./index34.cjs"),k=require("./index35.cjs"),I=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"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.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=h.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=v.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=b.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=S.DateRangeFilter;exports.MultipleFieldFilter=P.MultipleFieldFilter;exports.NumberRangeFilter=N.NumberRangeFilter;exports.RadioFilter=O.RadioFilter;exports.FiltersDropdown=U.FiltersDropdown;exports.FiltersList=L.FiltersList;exports.FilterGroup=B.FilterGroup;exports.ViewTab=f.ViewTab;exports.CreateView=k.CreateView;exports.EditDropdown=I.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.useUrlChange=ne.useUrlChange;exports.useCustomViews=ae.useCustomViews;exports.useColumns=ce.useColumns;exports.useUrlParams=ue.useUrlParams;exports.Filters=le.Filters;exports.NumberRangeFilterClass=Fe.NumberRangeFilter;exports.RangeFilter=de.RangeFilter;exports.Views=qe.Views;exports.Notifications=ge.Notifications;exports.Table=we.Table;exports.MobXProvider=Ae.MobXProvider;exports.getAsyncOptions=Ve.getAsyncOptions;exports.getFetcherFunction=Ce.getFetcherFunction;exports.isValidDateRange=pe.isValidDateRange;exports.viewsAdapter=he.viewsAdapter;exports.createAllView=ve.createAllView;exports.mockUseStores=be.mockUseStores;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { deleteCustomView as o } from "./index2.js";
|
|
2
2
|
import { patchCurrentUser as p } from "./index3.js";
|
|
3
|
-
import { patchCustomView as
|
|
3
|
+
import { patchCustomView as i } from "./index4.js";
|
|
4
4
|
import { createCustomView as x } from "./index5.js";
|
|
5
5
|
import { axios as s } from "./index6.js";
|
|
6
6
|
import { useBusinessLogic as n } from "./index7.js";
|
|
@@ -8,14 +8,14 @@ import { BusinessLogicManager as F } from "./index8.js";
|
|
|
8
8
|
import { setMockedBusinessLogic as d } from "./index9.js";
|
|
9
9
|
import { ErrorBoundary as w } from "./index10.js";
|
|
10
10
|
import { SearchBar as V } from "./index11.js";
|
|
11
|
-
import { TableControls as
|
|
12
|
-
import { ToastsManager as
|
|
11
|
+
import { TableControls as h } from "./index12.js";
|
|
12
|
+
import { ToastsManager as R } from "./index13.js";
|
|
13
13
|
import { ActiveFilters as D } from "./index14.js";
|
|
14
14
|
import { FilterArrayField as T } from "./index15.js";
|
|
15
15
|
import { FilterField as O } from "./index16.js";
|
|
16
16
|
import { ActiveFilterTag as y } from "./index17.js";
|
|
17
17
|
import { ActiveFilterArrayTag as L } from "./index18.js";
|
|
18
|
-
import { ActiveFilterDateRangeTag as
|
|
18
|
+
import { ActiveFilterDateRangeTag as B } from "./index19.js";
|
|
19
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";
|
|
@@ -27,7 +27,7 @@ import { DateRangeFilter as Z } from "./index27.js";
|
|
|
27
27
|
import { MultipleFieldFilter as rr } from "./index28.js";
|
|
28
28
|
import { NumberRangeFilter as or } from "./index29.js";
|
|
29
29
|
import { RadioFilter as pr } from "./index30.js";
|
|
30
|
-
import { FiltersDropdown as
|
|
30
|
+
import { FiltersDropdown as ir } from "./index31.js";
|
|
31
31
|
import { FiltersList as xr } from "./index32.js";
|
|
32
32
|
import { FilterGroup as sr } from "./index33.js";
|
|
33
33
|
import { ViewTab as nr } from "./index34.js";
|
|
@@ -35,14 +35,14 @@ import { CreateView as Fr } from "./index35.js";
|
|
|
35
35
|
import { EditDropdown as dr } from "./index36.js";
|
|
36
36
|
import { OptionsDropdown as wr } from "./index37.js";
|
|
37
37
|
import { PillNotifications as Vr } from "./index38.js";
|
|
38
|
-
import { SortableViews as
|
|
39
|
-
import { UnsavedChangesPill as
|
|
38
|
+
import { SortableViews as hr } from "./index39.js";
|
|
39
|
+
import { UnsavedChangesPill as Rr } from "./index40.js";
|
|
40
40
|
import { ViewDropdowns as Dr } from "./index41.js";
|
|
41
41
|
import { ViewList as Tr } from "./index42.js";
|
|
42
42
|
import { SHARING_OPTIONS as Or } from "./index43.js";
|
|
43
43
|
import { TableManagement as yr } from "./index44.js";
|
|
44
44
|
import { RefreshButton as Lr } from "./index45.js";
|
|
45
|
-
import { DateOptionMap as
|
|
45
|
+
import { DateOptionMap as Br, DateValue as Ir } from "./index46.js";
|
|
46
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";
|
|
@@ -52,32 +52,33 @@ import { onlyJSON as Qr, vndAPI as Yr } from "./index52.js";
|
|
|
52
52
|
import { fetcherV1 as $r, fetcherV2 as re } from "./index53.js";
|
|
53
53
|
import { useDropdownManager as oe } from "./index54.js";
|
|
54
54
|
import { useDuplicateActiveView as pe } from "./index55.js";
|
|
55
|
-
import { useFilterArrayLabel as
|
|
55
|
+
import { useFilterArrayLabel as ie } from "./index56.js";
|
|
56
56
|
import { useFilterLabel as xe } from "./index57.js";
|
|
57
57
|
import { usePersistUnsavedChanges as se } from "./index58.js";
|
|
58
58
|
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
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
61
|
+
import { useUrlChange as we } from "./index62.js";
|
|
62
|
+
import { useCustomViews as Ve } from "./index63.js";
|
|
63
|
+
import { useColumns as he } from "./index64.js";
|
|
64
|
+
import { useUrlParams as Re } from "./index65.js";
|
|
65
|
+
import { Filters as De } from "./index66.js";
|
|
66
|
+
import { NumberRangeFilter as Te } from "./index67.js";
|
|
67
|
+
import { RangeFilter as Oe } from "./index68.js";
|
|
68
|
+
import { Views as ye } from "./index69.js";
|
|
69
|
+
import { Notifications as Le } from "./index70.js";
|
|
70
|
+
import { Table as Be } from "./index71.js";
|
|
71
|
+
import { MobXProvider as ke } from "./index72.js";
|
|
72
|
+
import { getAsyncOptions as _e } from "./index73.js";
|
|
73
|
+
import { getFetcherFunction as Ge } from "./index74.js";
|
|
74
|
+
import { isValidDateRange as Ke } from "./index75.js";
|
|
75
|
+
import { viewsAdapter as Xe } from "./index76.js";
|
|
76
|
+
import { createAllView as qe } from "./index77.js";
|
|
77
|
+
import { mockUseStores as Qe } from "./index78.js";
|
|
77
78
|
export {
|
|
78
79
|
_ as ActiveAsyncRadioFilter,
|
|
79
80
|
L as ActiveFilterArrayTag,
|
|
80
|
-
|
|
81
|
+
B as ActiveFilterDateRangeTag,
|
|
81
82
|
G as ActiveFilterFooter,
|
|
82
83
|
K as ActiveFilterHeader,
|
|
83
84
|
k as ActiveFilterNumberRangeTag,
|
|
@@ -88,7 +89,7 @@ export {
|
|
|
88
89
|
F as BusinessLogicManager,
|
|
89
90
|
Q as CheckboxFilter,
|
|
90
91
|
Fr as CreateView,
|
|
91
|
-
|
|
92
|
+
Br as DateOptionMap,
|
|
92
93
|
Z as DateRangeFilter,
|
|
93
94
|
Ir as DateValue,
|
|
94
95
|
dr as EditDropdown,
|
|
@@ -97,62 +98,63 @@ export {
|
|
|
97
98
|
Hr as FilterChoiceValue,
|
|
98
99
|
O as FilterField,
|
|
99
100
|
sr as FilterGroup,
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
De as Filters,
|
|
102
|
+
ir as FiltersDropdown,
|
|
102
103
|
xr as FiltersList,
|
|
103
|
-
|
|
104
|
+
ke as MobXProvider,
|
|
104
105
|
Kr as ModalId,
|
|
105
106
|
Gr as ModalProvider,
|
|
106
107
|
rr as MultipleFieldFilter,
|
|
107
|
-
|
|
108
|
+
Le as Notifications,
|
|
108
109
|
or as NumberRangeFilter,
|
|
109
|
-
|
|
110
|
+
Te as NumberRangeFilterClass,
|
|
110
111
|
wr as OptionsDropdown,
|
|
111
112
|
Vr as PillNotifications,
|
|
112
113
|
pr as RadioFilter,
|
|
113
|
-
|
|
114
|
+
Oe as RangeFilter,
|
|
114
115
|
Lr as RefreshButton,
|
|
115
116
|
Or as SHARING_OPTIONS,
|
|
116
117
|
_r as SWR_HOOK_OPTIONS,
|
|
117
118
|
V as SearchBar,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
hr as SortableViews,
|
|
120
|
+
Be as Table,
|
|
121
|
+
h as TableControls,
|
|
121
122
|
yr as TableManagement,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
R as ToastsManager,
|
|
124
|
+
Rr as UnsavedChangesPill,
|
|
124
125
|
Dr as ViewDropdowns,
|
|
125
126
|
Tr as ViewList,
|
|
126
127
|
nr as ViewTab,
|
|
127
|
-
|
|
128
|
+
ye as Views,
|
|
128
129
|
s as axios,
|
|
129
|
-
|
|
130
|
+
qe as createAllView,
|
|
130
131
|
x as createCustomView,
|
|
131
132
|
o as deleteCustomView,
|
|
132
133
|
$r as fetcherV1,
|
|
133
134
|
re as fetcherV2,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
_e as getAsyncOptions,
|
|
136
|
+
Ge as getFetcherFunction,
|
|
137
|
+
Ke as isValidDateRange,
|
|
138
|
+
Qe as mockUseStores,
|
|
138
139
|
Qr as onlyJSON,
|
|
139
140
|
p as patchCurrentUser,
|
|
140
|
-
|
|
141
|
+
i as patchCustomView,
|
|
141
142
|
d as setMockedBusinessLogic,
|
|
142
143
|
n as useBusinessLogic,
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
he as useColumns,
|
|
145
|
+
Ve as useCustomViews,
|
|
145
146
|
oe as useDropdownManager,
|
|
146
147
|
pe as useDuplicateActiveView,
|
|
147
|
-
|
|
148
|
+
ie as useFilterArrayLabel,
|
|
148
149
|
xe as useFilterLabel,
|
|
149
150
|
Xr as useModal,
|
|
150
151
|
se as usePersistUnsavedChanges,
|
|
151
152
|
ne as useStores,
|
|
152
|
-
|
|
153
|
+
we as useUrlChange,
|
|
154
|
+
Re as useUrlParams,
|
|
153
155
|
de as useViewUrlChange,
|
|
154
156
|
Fe as useViews,
|
|
155
|
-
|
|
157
|
+
Xe as viewsAdapter,
|
|
156
158
|
Yr as vndAPI,
|
|
157
159
|
qr as withCSRF
|
|
158
160
|
};
|
package/dist/index100.cjs
CHANGED
|
@@ -1,80 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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
|
-
`,x=o.default(t.Button)`
|
|
45
|
-
margin-right: 16px;
|
|
46
|
-
`,u=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.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=x;exports.Container=f;exports.Glyph=g;exports.Hint=u;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=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
|
package/dist/index100.js
CHANGED
|
@@ -1,103 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Modal as n, Text as r } from "@veeqo/ui";
|
|
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." })
|
|
22
27
|
}
|
|
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
|
-
`, w = 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
|
-
`, y = 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
|
-
`, $ = t(l)`
|
|
55
|
-
margin-right: 16px;
|
|
56
|
-
`, b = t(e)`
|
|
57
|
-
line-height: 20px;
|
|
58
|
-
`, r = t(e)`
|
|
59
|
-
margin: ${(o) => o.margin ? o.margin : ""};
|
|
60
|
-
color: ${(o) => o.color};
|
|
61
|
-
`, v = t(e)`
|
|
62
|
-
margin-right: 8px;
|
|
63
|
-
color: ${(o) => o.color};
|
|
64
|
-
`, B = t(x)``, k = 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.button`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
width: 100%;
|
|
76
|
-
padding: 12px 16px;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
|
|
79
|
-
& > ${r} {
|
|
80
|
-
white-space: nowrap;
|
|
81
|
-
user-select: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:hover {
|
|
85
|
-
background-color: ${i.colors.neutral.grey.lightest};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:hover > ${r} {
|
|
89
|
-
color: ${i.colors.secondary.blue.base};
|
|
90
|
-
}
|
|
91
|
-
`;
|
|
28
|
+
);
|
|
92
29
|
export {
|
|
93
|
-
|
|
94
|
-
$ as Button,
|
|
95
|
-
w as Container,
|
|
96
|
-
B as Glyph,
|
|
97
|
-
b as Hint,
|
|
98
|
-
u as Notification,
|
|
99
|
-
y as Pill,
|
|
100
|
-
r as Text,
|
|
101
|
-
x as UIGlyph,
|
|
102
|
-
k as Wrap
|
|
30
|
+
s as Confirmation
|
|
103
31
|
};
|