@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.
Files changed (69) hide show
  1. package/dist/{Button-h6RkBrWE.js → Button-DTVMsKTK.js} +1 -1
  2. package/dist/Button.js +1 -1
  3. package/dist/ContextMenu.js +7 -65
  4. package/dist/ContextMenuItem-Cc7czdsZ.js +67 -0
  5. package/dist/CopyButton.js +1 -1
  6. package/dist/FieldDescription.js +1 -1
  7. package/dist/IconChevronDown-C3dBD472.js +9 -0
  8. package/dist/IconPlus-DXNLmWa2.js +11 -0
  9. package/dist/Icons.js +69 -68
  10. package/dist/List.js +303 -219
  11. package/dist/NumberField.js +8 -8
  12. package/dist/StatusBadge.js +1 -1
  13. package/dist/Text-c5-UeE0Y.js +43 -0
  14. package/dist/Text.js +1 -1
  15. package/dist/styles.css +1 -1
  16. package/dist/types/components/EmulatedBoldText/EmulatedBoldText.d.ts +6 -0
  17. package/dist/types/components/EmulatedBoldText/index.d.ts +4 -0
  18. package/dist/types/components/EmulatedBoldText/stories/Default.stories.d.ts +7 -0
  19. package/dist/types/components/Icon/components/icons/IconSubdomain.d.ts +5 -0
  20. package/dist/types/components/Icon/components/icons/index.d.ts +1 -0
  21. package/dist/types/components/List/List.d.ts +1 -3
  22. package/dist/types/components/List/components/Footer/Footer/Footer.d.ts +4 -0
  23. package/dist/types/components/List/components/Footer/Footer/index.d.ts +4 -0
  24. package/dist/types/components/List/components/{PaginationInfos → Footer/PaginationInfos}/PaginationInfos.d.ts +1 -1
  25. package/dist/types/components/List/components/{ShowNextBatchButton → Footer/ShowNextBatchButton}/ShowNextBatchButton.d.ts +1 -1
  26. package/dist/types/components/List/components/Header/ActiveFilters/ActiveFilters.d.ts +4 -0
  27. package/dist/types/components/List/components/Header/ActiveFilters/index.d.ts +4 -0
  28. package/dist/types/components/List/components/Header/FilterPicker/FilterPicker.d.ts +9 -0
  29. package/dist/types/components/List/components/{Items/Items.d.ts → Header/Header/Header.d.ts} +2 -2
  30. package/dist/types/components/List/components/Header/Header/index.d.ts +4 -0
  31. package/dist/types/components/List/components/{ListFilter.d.ts → Header/ListFilter.d.ts} +1 -1
  32. package/dist/types/components/List/components/{ListSorting.d.ts → Header/ListSorting.d.ts} +2 -1
  33. package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPickerItem/SortingPickerItem.d.ts +2 -2
  34. package/dist/types/components/List/components/{Item → Items/Item}/FallbackRenderer.d.ts +1 -1
  35. package/dist/types/components/List/components/{Item → Items/Item}/index.d.ts +1 -0
  36. package/dist/types/components/List/components/{FilterBar/FilterBar.d.ts → Items/ItemList/ItemList.d.ts} +2 -2
  37. package/dist/types/components/List/components/Items/ItemList/index.d.ts +4 -0
  38. package/dist/types/components/List/components/{ListItemView.d.ts → Items/ListItemView.d.ts} +1 -1
  39. package/dist/types/components/List/index.d.ts +3 -3
  40. package/dist/types/components/List/model/List.d.ts +4 -1
  41. package/dist/types/components/List/model/filter/Filter.d.ts +4 -0
  42. package/dist/types/components/List/model/filter/types.d.ts +1 -0
  43. package/dist/types/components/List/model/sorting/Sorting.d.ts +6 -1
  44. package/dist/types/components/List/model/sorting/types.d.ts +4 -0
  45. package/dist/types/components/List/model/types.d.ts +0 -1
  46. package/dist/types/components/List/testData/domainApi.d.ts +25 -0
  47. package/dist/types/components/Text/Text.d.ts +1 -0
  48. package/dist/types/lib/react/components/Translate/Translate.d.ts +10 -0
  49. package/dist/types/lib/react/components/Translate/index.d.ts +4 -0
  50. package/package.json +32 -32
  51. package/dist/IconChevronUp-DJu_PD8w.js +0 -10
  52. package/dist/IconPlus-BZwxakYk.js +0 -10
  53. package/dist/Text-Dc6eN_n2.js +0 -29
  54. package/dist/deepHas-ocYuTM8M.js +0 -7
  55. package/dist/types/components/List/components/FilterBar/components/FilterPicker/FilterPicker.d.ts +0 -3
  56. package/dist/types/components/List/components/FilterBar/components/FilterPickerItem/FilterPickerItem.d.ts +0 -9
  57. package/dist/types/components/List/components/FilterBar/components/FilterPickerItem/index.d.ts +0 -4
  58. package/dist/types/components/List/components/FilterBar/index.d.ts +0 -4
  59. package/dist/types/components/List/components/Items/index.d.ts +0 -4
  60. package/dist/types/components/List/testData/userApi.d.ts +0 -57
  61. /package/dist/types/components/List/components/{PaginationInfos → Footer/PaginationInfos}/index.d.ts +0 -0
  62. /package/dist/types/components/List/components/{ShowNextBatchButton → Footer/ShowNextBatchButton}/index.d.ts +0 -0
  63. /package/dist/types/components/List/components/{FilterBar/components → Header}/FilterPicker/index.d.ts +0 -0
  64. /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPicker/SortingPicker.d.ts +0 -0
  65. /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPicker/index.d.ts +0 -0
  66. /package/dist/types/components/List/components/{FilterBar/components → Header}/SortingPickerItem/index.d.ts +0 -0
  67. /package/dist/types/components/List/components/{Item → Items/Item}/Item.d.ts +0 -0
  68. /package/dist/types/components/List/components/{OptionsButton → Items/OptionsButton}/OptionsButton.d.ts +0 -0
  69. /package/dist/types/components/List/components/{OptionsButton → Items/OptionsButton}/index.d.ts +0 -0
@@ -0,0 +1,6 @@
1
+ import { ComponentProps, FC, PropsWithChildren } from 'react';
2
+
3
+ export interface EmulatedBoldTextProps extends PropsWithChildren<ComponentProps<"span">> {
4
+ }
5
+ export declare const EmulatedBoldText: FC<EmulatedBoldTextProps>;
6
+ export default EmulatedBoldText;
@@ -0,0 +1,4 @@
1
+ import { EmulatedBoldText } from './EmulatedBoldText';
2
+
3
+ export { type EmulatedBoldTextProps, EmulatedBoldText, } from './EmulatedBoldText';
4
+ export default EmulatedBoldText;
@@ -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;
@@ -0,0 +1,5 @@
1
+ import { Icon } from '../..';
2
+ import { ComponentProps, FC } from 'react';
3
+
4
+ export declare const IconSubdomain: FC<Omit<ComponentProps<typeof Icon>, "children">>;
5
+ export default IconSubdomain;
@@ -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, Pick<ListShape<AnyData>, "enableMultiSort"> {
3
+ interface Props extends PropsWithChildren {
6
4
  batchSize?: number;
7
5
  }
8
6
  export declare function List(props: Props): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const Footer: FC;
4
+ export default Footer;
@@ -0,0 +1,4 @@
1
+ import { Footer } from './Footer';
2
+
3
+ export { Footer } from './Footer';
4
+ export default Footer;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TextProps } from '../../../Text';
2
+ import { TextProps } from '../../../../Text';
3
3
 
4
4
  export declare const PaginationInfos: FC<TextProps>;
5
5
  export default PaginationInfos;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from '../../../Button';
1
+ import { ButtonProps } from '../../../../Button';
2
2
  import { FC } from 'react';
3
3
 
4
4
  export declare const ShowNextBatchButton: FC<ButtonProps>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const ActiveFilters: FC;
4
+ export default ActiveFilters;
@@ -0,0 +1,4 @@
1
+ import { ActiveFilters } from './ActiveFilters';
2
+
3
+ export { ActiveFilters } from './ActiveFilters';
4
+ export default ActiveFilters;
@@ -0,0 +1,9 @@
1
+ import { AnyData } from '../../../model/item/types';
2
+ import { Filter } from '../../../model/filter/Filter';
3
+ import { FC } from 'react';
4
+
5
+ interface Props {
6
+ filter: Filter<AnyData>;
7
+ }
8
+ export declare const FilterPicker: FC<Props>;
9
+ export {};
@@ -3,5 +3,5 @@ import { FC } from 'react';
3
3
  interface Props {
4
4
  className?: string;
5
5
  }
6
- export declare const Items: FC<Props>;
7
- export default Items;
6
+ export declare const Header: FC<Props>;
7
+ export default Header;
@@ -0,0 +1,4 @@
1
+ import { Header } from './Header';
2
+
3
+ export { Header } from './Header';
4
+ export default Header;
@@ -1,4 +1,4 @@
1
- import { FilterShape } from '../model/filter/types';
1
+ import { FilterShape } from '../../model/filter/types';
2
2
 
3
3
  interface Props<T> extends Omit<FilterShape<T>, "type"> {
4
4
  }
@@ -1,6 +1,7 @@
1
- import { SortingShape } from '../model/sorting/types';
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 '../../../../model/sorting/Sorting';
2
- import { AnyData } from '../../../../model/item/types';
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,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { AnyData } from '../../model/item/types';
2
+ import { AnyData } from '../../../model/item/types';
3
3
 
4
4
  interface Props {
5
5
  data: AnyData;
@@ -1,4 +1,5 @@
1
1
  import { Item } from './Item';
2
2
 
3
3
  export { Item } from './Item';
4
+ export { FallbackRenderer } from './FallbackRenderer';
4
5
  export default Item;
@@ -3,5 +3,5 @@ import { FC } from 'react';
3
3
  interface Props {
4
4
  className?: string;
5
5
  }
6
- export declare const FilterBar: FC<Props>;
7
- export default FilterBar;
6
+ export declare const ItemList: FC<Props>;
7
+ export default ItemList;
@@ -0,0 +1,4 @@
1
+ import { ItemList } from './ItemList';
2
+
3
+ export { ItemList } from './ItemList';
4
+ export default ItemList;
@@ -1,4 +1,4 @@
1
- import { RenderItemFn } from '../model/item/Item';
1
+ import { RenderItemFn } from '../../model/item/Item';
2
2
 
3
3
  interface Props<T> {
4
4
  children: RenderItemFn<T>;
@@ -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
  }
@@ -7,4 +7,5 @@ export interface FilterShape<T> {
7
7
  mode?: FilterMode;
8
8
  matcher?: FilterMatcher;
9
9
  values?: unknown[];
10
+ name?: string;
10
11
  }
@@ -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
- get direction(): SortDirection | false;
14
+ isSorted(): boolean;
12
15
  getTableColumn(): Column<T>;
16
+ enable(): void;
17
+ clear(): void;
13
18
  }
@@ -1,5 +1,9 @@
1
+ import { SortDirection } from '@tanstack/react-table';
1
2
  import { PropertyName } from '../item/Item';
2
3
 
3
4
  export interface SortingShape<T> {
4
5
  property: PropertyName<T>;
6
+ name?: string;
7
+ direction?: SortDirection;
8
+ defaultEnabled?: boolean;
5
9
  }
@@ -10,6 +10,5 @@ export interface ListShape<T> {
10
10
  filters?: FilterShape<T>[];
11
11
  sorting?: SortingShape<T>[];
12
12
  batchesController?: BatchesControllerShape;
13
- enableMultiSort?: boolean;
14
13
  }
15
14
  export type PropertyRecord<T, TValue> = Partial<Record<PropertyName<T>, TValue>>;
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { default as Translate } from './Translate';
2
+
3
+ export * from './Translate';
4
+ 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.57",
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.57",
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.5",
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.0"
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.56",
224
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.59",
225
225
  "@mittwald/react-use-promise": "^2.3.13",
226
- "@nx/storybook": "^18.2.1",
227
- "@storybook/addon-a11y": "^8.0.5",
228
- "@storybook/addon-actions": "^8.0.5",
229
- "@storybook/addon-essentials": "^8.0.5",
230
- "@storybook/addon-interactions": "^8.0.5",
231
- "@storybook/addon-links": "^8.0.5",
232
- "@storybook/blocks": "^8.0.5",
233
- "@storybook/components": "^8.0.5",
234
- "@storybook/core-events": "^8.0.5",
235
- "@storybook/manager-api": "^8.0.5",
236
- "@storybook/preview-api": "^8.0.5",
237
- "@storybook/react": "^8.0.5",
238
- "@storybook/react-vite": "^8.0.5",
239
- "@storybook/theming": "^8.0.5",
240
- "@testing-library/dom": "^9.3.4",
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.2",
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.73",
249
- "@types/react-dom": "^18.2.23",
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.3.10",
255
+ "happy-dom": "^14.7.1",
256
256
  "next": "^14.1.4",
257
- "nx": "^18.2.1",
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.13.2",
267
- "sass": "^1.72.0",
268
- "storybook": "^8.0.5",
269
- "tsx": "^4.7.1",
270
- "typescript": "^5.4.3",
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.7",
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": "a0fc4a2ceded7435fca7697c224ae5e3e76db85c"
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
- };
@@ -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
- };
@@ -1,7 +0,0 @@
1
- "use client"
2
- /* */
3
- import { d as p } from "./deepFindOfType-6pG0fH7S.js";
4
- const s = (e, d) => !!p(e, d);
5
- export {
6
- s as d
7
- };
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- export declare const FilterPicker: FC;
@@ -1,9 +0,0 @@
1
- import { AnyData } from '../../../../model/item/types';
2
- import { Filter } from '../../../../model/filter/Filter';
3
- import { FC } from 'react';
4
-
5
- interface Props {
6
- filter: Filter<AnyData>;
7
- }
8
- export declare const FilterPickerItem: FC<Props>;
9
- export {};
@@ -1,4 +0,0 @@
1
- import { FilterPickerItem } from './FilterPickerItem';
2
-
3
- export { FilterPickerItem } from './FilterPickerItem';
4
- export default FilterPickerItem;
@@ -1,4 +0,0 @@
1
- import { FilterBar } from './FilterBar';
2
-
3
- export { FilterBar } from './FilterBar';
4
- export default FilterBar;
@@ -1,4 +0,0 @@
1
- import { Items } from './Items';
2
-
3
- export { Items } from './Items';
4
- export default Items;
@@ -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 {};