@mittwald/flow-react-components 0.1.0-alpha.57 → 0.1.0-alpha.59
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/{Button-h6RkBrWE.js → Button-DTVMsKTK.js} +1 -1
- package/dist/Button.js +1 -1
- package/dist/ContextMenu.js +7 -65
- package/dist/ContextMenuItem-Cc7czdsZ.js +67 -0
- package/dist/CopyButton.js +1 -1
- package/dist/FieldDescription.js +1 -1
- package/dist/IconChevronDown-C3dBD472.js +9 -0
- package/dist/IconPlus-DXNLmWa2.js +11 -0
- package/dist/Icons.js +69 -68
- package/dist/List.js +303 -219
- package/dist/NumberField.js +8 -8
- package/dist/StatusBadge.js +1 -1
- package/dist/Text-c5-UeE0Y.js +43 -0
- package/dist/Text.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +6 -0
- package/dist/types/components/EmulatedBoldText/index.d.ts +4 -0
- package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +7 -0
- package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/index.d.ts +1 -0
- package/dist/types/components/List/List.d.ts +1 -3
- package/dist/types/components/List/components/Footer/Footer/Footer.d.ts +4 -0
- package/dist/types/components/List/components/Footer/Footer/index.d.ts +4 -0
- package/dist/types/components/List/components/{PaginationInfos → Footer/PaginationInfos}/PaginationInfos.d.ts +1 -1
- package/dist/types/components/List/components/{ShowNextBatchButton → Footer/ShowNextBatchButton}/ShowNextBatchButton.d.ts +1 -1
- package/dist/types/components/List/components/Header/ActiveFilters/ActiveFilters.d.ts +4 -0
- package/dist/types/components/List/components/Header/ActiveFilters/index.d.ts +4 -0
- package/dist/types/components/List/components/Header/FilterPicker/FilterPicker.d.ts +9 -0
- package/dist/types/components/List/components/{Items/Items.d.ts → Header/Header/Header.d.ts} +2 -2
- package/dist/types/components/List/components/Header/Header/index.d.ts +4 -0
- package/dist/types/components/List/components/{ListFilter.d.ts → Header/ListFilter.d.ts} +1 -1
- package/dist/types/components/List/components/{ListSorting.d.ts → Header/ListSorting.d.ts} +2 -1
- package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPickerItem/SortingPickerItem.d.ts +2 -2
- package/dist/types/components/List/components/{Item → Items/Item}/FallbackRenderer.d.ts +1 -1
- package/dist/types/components/List/components/{Item → Items/Item}/index.d.ts +1 -0
- package/dist/types/components/List/components/{FilterBar/FilterBar.d.ts → Items/ItemList/ItemList.d.ts} +2 -2
- package/dist/types/components/List/components/Items/ItemList/index.d.ts +4 -0
- package/dist/types/components/List/components/{ListItemView.d.ts → Items/ListItemView.d.ts} +1 -1
- package/dist/types/components/List/index.d.ts +3 -3
- package/dist/types/components/List/model/List.d.ts +4 -1
- package/dist/types/components/List/model/filter/Filter.d.ts +4 -0
- package/dist/types/components/List/model/filter/types.d.ts +1 -0
- package/dist/types/components/List/model/sorting/Sorting.d.ts +6 -1
- package/dist/types/components/List/model/sorting/types.d.ts +4 -0
- package/dist/types/components/List/model/types.d.ts +0 -1
- package/dist/types/components/List/testData/domainApi.d.ts +25 -0
- package/dist/types/components/Text/Text.d.ts +1 -0
- package/dist/types/lib/react/components/Translate/Translate.d.ts +10 -0
- package/dist/types/lib/react/components/Translate/index.d.ts +4 -0
- package/package.json +32 -32
- package/dist/IconChevronUp-DJu_PD8w.js +0 -10
- package/dist/IconPlus-BZwxakYk.js +0 -10
- package/dist/Text-Dc6eN_n2.js +0 -29
- package/dist/deepHas-ocYuTM8M.js +0 -7
- package/dist/types/components/List/components/FilterBar/components/FilterPicker/FilterPicker.d.ts +0 -3
- package/dist/types/components/List/components/FilterBar/components/FilterPickerItem/FilterPickerItem.d.ts +0 -9
- package/dist/types/components/List/components/FilterBar/components/FilterPickerItem/index.d.ts +0 -4
- package/dist/types/components/List/components/FilterBar/index.d.ts +0 -4
- package/dist/types/components/List/components/Items/index.d.ts +0 -4
- package/dist/types/components/List/testData/userApi.d.ts +0 -57
- /package/dist/types/components/List/components/{PaginationInfos → Footer/PaginationInfos}/index.d.ts +0 -0
- /package/dist/types/components/List/components/{ShowNextBatchButton → Footer/ShowNextBatchButton}/index.d.ts +0 -0
- /package/dist/types/components/List/components/{FilterBar/components → Header}/FilterPicker/index.d.ts +0 -0
- /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPicker/SortingPicker.d.ts +0 -0
- /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPicker/index.d.ts +0 -0
- /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPickerItem/index.d.ts +0 -0
- /package/dist/types/components/List/components/{Item → Items/Item}/Item.d.ts +0 -0
- /package/dist/types/components/List/components/{OptionsButton → Items/OptionsButton}/OptionsButton.d.ts +0 -0
- /package/dist/types/components/List/components/{OptionsButton → Items/OptionsButton}/index.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as EmulatedBoldText } from '..';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof EmulatedBoldText>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof EmulatedBoldText>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -45,6 +45,7 @@ export { IconSettings } from './IconSettings';
|
|
|
45
45
|
export { IconShow } from './IconShow';
|
|
46
46
|
export { IconSorting } from './IconSorting';
|
|
47
47
|
export { IconSshSftp } from './IconSshSftp';
|
|
48
|
+
export { IconSubdomain } from './IconSubdomain';
|
|
48
49
|
export { IconSucceeded } from './IconSucceeded';
|
|
49
50
|
export { IconSuccess } from './IconSuccess';
|
|
50
51
|
export { IconSupport } from './IconSupport';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ListShape } from './model/types';
|
|
2
|
-
import { AnyData } from './model/item/types';
|
|
3
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
4
2
|
|
|
5
|
-
interface Props extends PropsWithChildren
|
|
3
|
+
interface Props extends PropsWithChildren {
|
|
6
4
|
batchSize?: number;
|
|
7
5
|
}
|
|
8
6
|
export declare function List(props: Props): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { SortingShape } from '
|
|
1
|
+
import { SortingShape } from '../../model/sorting/types';
|
|
2
2
|
|
|
3
3
|
interface Props<T> extends SortingShape<T> {
|
|
4
|
+
defaultEnabled?: boolean;
|
|
4
5
|
}
|
|
5
6
|
export declare function ListSorting<T = never>(ignoredProps: Props<T>): null;
|
|
6
7
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Sorting } from '
|
|
2
|
-
import { AnyData } from '
|
|
1
|
+
import { Sorting } from '../../../model/sorting/Sorting';
|
|
2
|
+
import { AnyData } from '../../../model/item/types';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { List } from './List';
|
|
2
2
|
|
|
3
3
|
export * from './List';
|
|
4
|
-
export * from './components/ListFilter';
|
|
5
|
-
export * from './components/ListSorting';
|
|
6
|
-
export * from './components/ListItemView';
|
|
4
|
+
export * from './components/Header/ListFilter';
|
|
5
|
+
export * from './components/Header/ListSorting';
|
|
6
|
+
export * from './components/Items/ListItemView';
|
|
7
7
|
export * from './components/ListLoaderAsync';
|
|
8
8
|
export * from './components/ListStaticData';
|
|
9
9
|
export default List;
|
|
@@ -3,7 +3,7 @@ import { ListShape } from './types';
|
|
|
3
3
|
import { default as ReactTable } from './ReactTable';
|
|
4
4
|
import { Sorting } from './sorting/Sorting';
|
|
5
5
|
import { Filter } from './filter/Filter';
|
|
6
|
-
import { RenderItemFn } from './item/Item';
|
|
6
|
+
import { PropertyName, RenderItemFn } from './item/Item';
|
|
7
7
|
import { BatchesController } from './pagination/BatchesController';
|
|
8
8
|
import { ItemCollection } from './item/ItemCollection';
|
|
9
9
|
|
|
@@ -18,5 +18,8 @@ export declare class List<T> {
|
|
|
18
18
|
private constructor();
|
|
19
19
|
static useNew<T>(shape: ListShape<T>): List<T>;
|
|
20
20
|
isFiltered(): boolean;
|
|
21
|
+
getSorting(property: PropertyName<T>): Sorting<T>;
|
|
22
|
+
clearSorting(): void;
|
|
23
|
+
clearFilters(): void;
|
|
21
24
|
}
|
|
22
25
|
export default List;
|
|
@@ -9,6 +9,7 @@ export declare class Filter<T> {
|
|
|
9
9
|
readonly property: PropertyName<T>;
|
|
10
10
|
readonly mode: FilterMode;
|
|
11
11
|
readonly matcher: FilterMatcher;
|
|
12
|
+
readonly name?: string;
|
|
12
13
|
private onFilterUpdateCallbacks;
|
|
13
14
|
constructor(list: List<T>, shape: FilterShape<T>);
|
|
14
15
|
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
@@ -22,6 +23,9 @@ export declare class Filter<T> {
|
|
|
22
23
|
getArrayValue(): Array<unknown>;
|
|
23
24
|
isValueActive(value: unknown): boolean;
|
|
24
25
|
isActive(): boolean;
|
|
26
|
+
activateValue(newValue: unknown): void;
|
|
27
|
+
deactivateValue(newValue: unknown): void;
|
|
28
|
+
clearValues(): void;
|
|
25
29
|
toggleValue(newValue: unknown): void;
|
|
26
30
|
onFilterUpdated(cb: () => unknown): void;
|
|
27
31
|
}
|
|
@@ -6,8 +6,13 @@ import { Column, ColumnDef, SortDirection } from '@tanstack/react-table';
|
|
|
6
6
|
export declare class Sorting<T> {
|
|
7
7
|
readonly list: List<T>;
|
|
8
8
|
readonly property: PropertyName<T>;
|
|
9
|
+
readonly name?: string;
|
|
10
|
+
readonly direction: SortDirection;
|
|
11
|
+
readonly defaultEnabled: boolean;
|
|
9
12
|
constructor(list: List<T>, shape: SortingShape<T>);
|
|
10
13
|
updateTableColumnDef(def: ColumnDef<T>): void;
|
|
11
|
-
|
|
14
|
+
isSorted(): boolean;
|
|
12
15
|
getTableColumn(): Column<T>;
|
|
16
|
+
enable(): void;
|
|
17
|
+
clear(): void;
|
|
13
18
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type Domain = {
|
|
2
|
+
hostname: string;
|
|
3
|
+
domain: string;
|
|
4
|
+
type: "Subdomain" | "Domain";
|
|
5
|
+
verified: boolean;
|
|
6
|
+
tld: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const getTypes: () => Promise<("Subdomain" | "Domain")[]>;
|
|
9
|
+
interface Request {
|
|
10
|
+
pagination?: {
|
|
11
|
+
limit: number;
|
|
12
|
+
skip: number;
|
|
13
|
+
};
|
|
14
|
+
filter?: {
|
|
15
|
+
types?: string[];
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
interface Response {
|
|
19
|
+
data: Domain[];
|
|
20
|
+
totalCount: number;
|
|
21
|
+
}
|
|
22
|
+
export declare const getDomains: (req: Request) => Promise<Response>;
|
|
23
|
+
export declare const domains: Domain[];
|
|
24
|
+
export declare const types: ("Subdomain" | "Domain")[];
|
|
25
|
+
export {};
|
|
@@ -4,6 +4,7 @@ import { PropsWithChildren, default as React } from 'react';
|
|
|
4
4
|
|
|
5
5
|
import * as Aria from "react-aria-components";
|
|
6
6
|
export interface TextProps extends PropsWithChildren, Omit<Aria.TextProps, "children" | "elementType">, PropsWithElementType, FlowComponentProps {
|
|
7
|
+
emulateBoldWidth?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export declare const Text: React.ComponentClass<TextProps, any> | React.FunctionComponent<TextProps>;
|
|
9
10
|
export default Text;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LocalizedStrings } from 'react-aria';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
locales: LocalizedStrings;
|
|
6
|
+
children: string;
|
|
7
|
+
variables?: Record<string, string | number | boolean>;
|
|
8
|
+
}
|
|
9
|
+
export declare const Translate: FC<Props>;
|
|
10
|
+
export default Translate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.59",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -198,11 +198,11 @@
|
|
|
198
198
|
"test:unit": "run vitest run"
|
|
199
199
|
},
|
|
200
200
|
"dependencies": {
|
|
201
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
201
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.59",
|
|
202
202
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
203
203
|
"@react-aria/utils": "^3.23.2",
|
|
204
204
|
"@react-types/shared": "^3.22.1",
|
|
205
|
-
"@storybook/test": "^8.0.
|
|
205
|
+
"@storybook/test": "^8.0.6",
|
|
206
206
|
"@tabler/icons-react": "^3.1.0",
|
|
207
207
|
"@tanstack/react-table": "^8.15.3",
|
|
208
208
|
"clsx": "^2.1.0",
|
|
@@ -217,44 +217,44 @@
|
|
|
217
217
|
"react-aria-components": "^1.1.1",
|
|
218
218
|
"react-children-utilities": "^2.10.0",
|
|
219
219
|
"react-stately": "^3.30.1",
|
|
220
|
-
"remeda": "^1.57.
|
|
220
|
+
"remeda": "^1.57.2"
|
|
221
221
|
},
|
|
222
222
|
"devDependencies": {
|
|
223
223
|
"@faker-js/faker": "^8.4.1",
|
|
224
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
224
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.59",
|
|
225
225
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
226
|
-
"@nx/storybook": "^18.2.
|
|
227
|
-
"@storybook/addon-a11y": "^8.0.
|
|
228
|
-
"@storybook/addon-actions": "^8.0.
|
|
229
|
-
"@storybook/addon-essentials": "^8.0.
|
|
230
|
-
"@storybook/addon-interactions": "^8.0.
|
|
231
|
-
"@storybook/addon-links": "^8.0.
|
|
232
|
-
"@storybook/blocks": "^8.0.
|
|
233
|
-
"@storybook/components": "^8.0.
|
|
234
|
-
"@storybook/core-events": "^8.0.
|
|
235
|
-
"@storybook/manager-api": "^8.0.
|
|
236
|
-
"@storybook/preview-api": "^8.0.
|
|
237
|
-
"@storybook/react": "^8.0.
|
|
238
|
-
"@storybook/react-vite": "^8.0.
|
|
239
|
-
"@storybook/theming": "^8.0.
|
|
240
|
-
"@testing-library/dom": "^
|
|
226
|
+
"@nx/storybook": "^18.2.3",
|
|
227
|
+
"@storybook/addon-a11y": "^8.0.6",
|
|
228
|
+
"@storybook/addon-actions": "^8.0.6",
|
|
229
|
+
"@storybook/addon-essentials": "^8.0.6",
|
|
230
|
+
"@storybook/addon-interactions": "^8.0.6",
|
|
231
|
+
"@storybook/addon-links": "^8.0.6",
|
|
232
|
+
"@storybook/blocks": "^8.0.6",
|
|
233
|
+
"@storybook/components": "^8.0.6",
|
|
234
|
+
"@storybook/core-events": "^8.0.6",
|
|
235
|
+
"@storybook/manager-api": "^8.0.6",
|
|
236
|
+
"@storybook/preview-api": "^8.0.6",
|
|
237
|
+
"@storybook/react": "^8.0.6",
|
|
238
|
+
"@storybook/react-vite": "^8.0.6",
|
|
239
|
+
"@storybook/theming": "^8.0.6",
|
|
240
|
+
"@testing-library/dom": "^10.0.0",
|
|
241
241
|
"@testing-library/jest-dom": "^6.4.2",
|
|
242
242
|
"@testing-library/react": "^14.2.2",
|
|
243
243
|
"@testing-library/user-event": "^14.5.2",
|
|
244
244
|
"@types/invariant": "^2.2.37",
|
|
245
|
-
"@types/node": "20.12.
|
|
245
|
+
"@types/node": "20.12.5",
|
|
246
246
|
"@types/prettier": "^3.0.0",
|
|
247
247
|
"@types/prop-types": "^15.7.12",
|
|
248
|
-
"@types/react": "^18.2.
|
|
249
|
-
"@types/react-dom": "^18.2.
|
|
248
|
+
"@types/react": "^18.2.74",
|
|
249
|
+
"@types/react-dom": "^18.2.24",
|
|
250
250
|
"@types/rollup": "^0.54.0",
|
|
251
251
|
"@vitejs/plugin-react": "^4.2.1",
|
|
252
252
|
"@vitest/coverage-v8": "^1.4.0",
|
|
253
253
|
"decamelize": "^6.0.0",
|
|
254
254
|
"fs-jetpack": "^5.1.0",
|
|
255
|
-
"happy-dom": "^14.
|
|
255
|
+
"happy-dom": "^14.7.1",
|
|
256
256
|
"next": "^14.1.4",
|
|
257
|
-
"nx": "^18.2.
|
|
257
|
+
"nx": "^18.2.3",
|
|
258
258
|
"postcss": "^8.4.38",
|
|
259
259
|
"postcss-nested-import": "^1.3.0",
|
|
260
260
|
"postcss-nesting": "^12.1.1",
|
|
@@ -263,13 +263,13 @@
|
|
|
263
263
|
"react": "^18.2.0",
|
|
264
264
|
"react-dom": "^18.2.0",
|
|
265
265
|
"react-element-to-jsx-string": "^15.0.0",
|
|
266
|
-
"rollup": "^4.
|
|
267
|
-
"sass": "^1.
|
|
268
|
-
"storybook": "^8.0.
|
|
269
|
-
"tsx": "^4.7.
|
|
270
|
-
"typescript": "^5.4.
|
|
266
|
+
"rollup": "^4.14.1",
|
|
267
|
+
"sass": "^1.74.1",
|
|
268
|
+
"storybook": "^8.0.6",
|
|
269
|
+
"tsx": "^4.7.2",
|
|
270
|
+
"typescript": "^5.4.4",
|
|
271
271
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
272
|
-
"vite": "^5.2.
|
|
272
|
+
"vite": "^5.2.8",
|
|
273
273
|
"vite-plugin-banner": "^0.7.1",
|
|
274
274
|
"vite-plugin-checker": "^0.6.4",
|
|
275
275
|
"vite-plugin-dts": "^3.8.1",
|
|
@@ -291,5 +291,5 @@
|
|
|
291
291
|
"optional": true
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
|
-
"gitHead": "
|
|
294
|
+
"gitHead": "3b85f0b5dd4f06c8ee3a26c23911aea3a5a4cab6"
|
|
295
295
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import o from "react";
|
|
4
|
-
import { IconChevronDown as r, IconChevronUp as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-DK_xMxr-.js";
|
|
6
|
-
const I = (e) => /* @__PURE__ */ o.createElement(n, { ...e }, /* @__PURE__ */ o.createElement(r, null)), l = (e) => /* @__PURE__ */ o.createElement(n, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
|
-
export {
|
|
8
|
-
I,
|
|
9
|
-
l as a
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import e from "react";
|
|
4
|
-
import { IconMinus as t, IconPlus as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-DK_xMxr-.js";
|
|
6
|
-
const r = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(t, null)), m = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
|
-
export {
|
|
8
|
-
r as I,
|
|
9
|
-
m as a
|
|
10
|
-
};
|
package/dist/Text-Dc6eN_n2.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import t from "react";
|
|
4
|
-
import * as l from "react-aria-components";
|
|
5
|
-
import { C as c } from "./ClearPropsContext-CD1-9TZA.js";
|
|
6
|
-
import { P as f } from "./PropsContextProvider-BsrVIv1a.js";
|
|
7
|
-
import "@react-aria/utils";
|
|
8
|
-
import "./propsContext-Dx7WKmmM.js";
|
|
9
|
-
import "remeda";
|
|
10
|
-
import x from "invariant";
|
|
11
|
-
import { f as T } from "./flowComponent-Dv5hKZam.js";
|
|
12
|
-
const v = T("Text", (r) => {
|
|
13
|
-
const { children: m, className: s, elementType: e = "span", ...i } = r, o = { ...i, className: s }, p = {
|
|
14
|
-
Link: {
|
|
15
|
-
inline: !0
|
|
16
|
-
}
|
|
17
|
-
}, n = /* @__PURE__ */ t.createElement(f, { props: p }, m);
|
|
18
|
-
if (!r.slot) {
|
|
19
|
-
const a = e;
|
|
20
|
-
return /* @__PURE__ */ t.createElement(a, { ...o }, n);
|
|
21
|
-
}
|
|
22
|
-
return x(
|
|
23
|
-
typeof e == "string",
|
|
24
|
-
"'elementType' in Text component must be of type string"
|
|
25
|
-
), /* @__PURE__ */ t.createElement(c, null, /* @__PURE__ */ t.createElement(l.Text, { ...o, elementType: e }, n));
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
v as T
|
|
29
|
-
};
|
package/dist/deepHas-ocYuTM8M.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export type User = (typeof users)[number];
|
|
2
|
-
export declare const getStates: () => Promise<string[]>;
|
|
3
|
-
interface Request {
|
|
4
|
-
pagination?: {
|
|
5
|
-
limit: number;
|
|
6
|
-
skip: number;
|
|
7
|
-
};
|
|
8
|
-
filter?: {
|
|
9
|
-
states?: string[];
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
interface Response {
|
|
13
|
-
data: User[];
|
|
14
|
-
totalCount: number;
|
|
15
|
-
}
|
|
16
|
-
export declare const getUsers: (req: Request) => Promise<Response>;
|
|
17
|
-
export declare const users: {
|
|
18
|
-
status: string;
|
|
19
|
-
name: {
|
|
20
|
-
first: string;
|
|
21
|
-
middle: string;
|
|
22
|
-
last: string;
|
|
23
|
-
};
|
|
24
|
-
username: string;
|
|
25
|
-
password: string;
|
|
26
|
-
emails: string[];
|
|
27
|
-
phoneNumber: string;
|
|
28
|
-
location: {
|
|
29
|
-
street: string;
|
|
30
|
-
city: string;
|
|
31
|
-
state: string;
|
|
32
|
-
country: string;
|
|
33
|
-
zip: string;
|
|
34
|
-
coordinates: {
|
|
35
|
-
latitude: number;
|
|
36
|
-
longitude: number;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
website: string;
|
|
40
|
-
domain: string;
|
|
41
|
-
job: {
|
|
42
|
-
title: string;
|
|
43
|
-
descriptor: string;
|
|
44
|
-
area: string;
|
|
45
|
-
type: string;
|
|
46
|
-
company: string;
|
|
47
|
-
};
|
|
48
|
-
creditCard: {
|
|
49
|
-
number: string;
|
|
50
|
-
cvv: string;
|
|
51
|
-
issuer: string;
|
|
52
|
-
};
|
|
53
|
-
uuid: string;
|
|
54
|
-
objectId: string;
|
|
55
|
-
}[];
|
|
56
|
-
export declare const states: string[];
|
|
57
|
-
export {};
|
/package/dist/types/components/List/components/{PaginationInfos → Footer/PaginationInfos}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/types/components/List/components/{OptionsButton → Items/OptionsButton}/index.d.ts
RENAMED
|
File without changes
|