@agility/plenum-ui 1.1.71 → 1.2.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.
Files changed (123) hide show
  1. package/.prettierrc +4 -4
  2. package/README.md +34 -0
  3. package/lib/components/Combobox/Combobox.d.ts +9 -2
  4. package/lib/components/Dropdown/Dropdown.d.ts +4 -3
  5. package/lib/index.css +1866 -0
  6. package/lib/index.esm.css +1866 -0
  7. package/lib/index.esm.js +147 -69
  8. package/lib/index.esm.js.map +1 -1
  9. package/lib/index.js +146 -68
  10. package/lib/index.js.map +1 -1
  11. package/package.json +88 -81
  12. package/coverage/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -204
  13. package/coverage/Forms/TextInputSelect/InputSelect/index.html +0 -155
  14. package/coverage/Select/Select.tsx.html +0 -264
  15. package/coverage/Select/index.html +0 -153
  16. package/coverage/Select.tsx.html +0 -261
  17. package/coverage/agility-component-lib-react/index.html +0 -116
  18. package/coverage/agility-component-lib-react/src/components/Button/Button.tsx.html +0 -349
  19. package/coverage/agility-component-lib-react/src/components/Button/index.html +0 -116
  20. package/coverage/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +0 -235
  21. package/coverage/agility-component-lib-react/src/components/Checkbox/index.html +0 -156
  22. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +0 -418
  23. package/coverage/agility-component-lib-react/src/components/Forms/BaseField/index.html +0 -116
  24. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/Checkbox.tsx.html +0 -334
  25. package/coverage/agility-component-lib-react/src/components/Forms/Checkbox/index.html +0 -116
  26. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +0 -139
  27. package/coverage/agility-component-lib-react/src/components/Forms/InputCounter/index.html +0 -116
  28. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/InputLabel.tsx.html +0 -211
  29. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.html +0 -131
  30. package/coverage/agility-component-lib-react/src/components/Forms/InputLabel/index.ts.html +0 -94
  31. package/coverage/agility-component-lib-react/src/components/Forms/Radio/Radio.tsx.html +0 -349
  32. package/coverage/agility-component-lib-react/src/components/Forms/Radio/index.html +0 -116
  33. package/coverage/agility-component-lib-react/src/components/Forms/Select/Select.tsx.html +0 -337
  34. package/coverage/agility-component-lib-react/src/components/Forms/Select/index.html +0 -116
  35. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +0 -271
  36. package/coverage/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +0 -116
  37. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -217
  38. package/coverage/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +0 -116
  39. package/coverage/agility-component-lib-react/src/components/Radio/Radio.tsx.html +0 -243
  40. package/coverage/agility-component-lib-react/src/components/Radio/index.html +0 -156
  41. package/coverage/agility-component-lib-react/src/components/Switch/Switch.tsx.html +0 -241
  42. package/coverage/agility-component-lib-react/src/components/Switch/index.html +0 -116
  43. package/coverage/agility-component-lib-react/src/util/DynamicIcons.tsx.html +0 -151
  44. package/coverage/agility-component-lib-react/src/util/Loader.tsx.html +0 -139
  45. package/coverage/agility-component-lib-react/src/util/index.html +0 -131
  46. package/coverage/agility-component-lib-react/styleMock.js.html +0 -91
  47. package/coverage/base.css +0 -224
  48. package/coverage/block-navigation.js +0 -87
  49. package/coverage/clover.xml +0 -145
  50. package/coverage/coverage-final.json +0 -15
  51. package/coverage/favicon.png +0 -0
  52. package/coverage/index.html +0 -281
  53. package/coverage/lcov-report/agility-component-lib-react/index.html +0 -153
  54. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/Button.tsx.html +0 -255
  55. package/coverage/lcov-report/agility-component-lib-react/src/components/Button/index.html +0 -156
  56. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/Checkbox.tsx.html +0 -235
  57. package/coverage/lcov-report/agility-component-lib-react/src/components/Checkbox/index.html +0 -156
  58. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/BaseField.tsx.html +0 -330
  59. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/BaseField/index.html +0 -158
  60. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/InputCounter.tsx.html +0 -147
  61. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/InputCounter/index.html +0 -158
  62. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/InputCta.tsx.html +0 -258
  63. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputAddon/InputCta/index.html +0 -159
  64. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/InputSelect.tsx.html +0 -210
  65. package/coverage/lcov-report/agility-component-lib-react/src/components/Forms/TextInputSelect/InputSelect/index.html +0 -159
  66. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/Radio.tsx.html +0 -243
  67. package/coverage/lcov-report/agility-component-lib-react/src/components/Radio/index.html +0 -156
  68. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/Switch.tsx.html +0 -225
  69. package/coverage/lcov-report/agility-component-lib-react/src/components/Switch/index.html +0 -156
  70. package/coverage/lcov-report/agility-component-lib-react/src/util/DynamicIcons.tsx.html +0 -137
  71. package/coverage/lcov-report/agility-component-lib-react/src/util/index.html +0 -155
  72. package/coverage/lcov-report/agility-component-lib-react/styleMock.js.html +0 -90
  73. package/coverage/lcov-report/base.css +0 -354
  74. package/coverage/lcov-report/block-navigation.js +0 -82
  75. package/coverage/lcov-report/favicon.png +0 -0
  76. package/coverage/lcov-report/index.html +0 -385
  77. package/coverage/lcov-report/prettify.css +0 -101
  78. package/coverage/lcov-report/prettify.js +0 -955
  79. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  80. package/coverage/lcov-report/sorter.js +0 -189
  81. package/coverage/lcov.info +0 -267
  82. package/coverage/prettify.css +0 -1
  83. package/coverage/prettify.js +0 -2
  84. package/coverage/sort-arrow-sprite.png +0 -0
  85. package/coverage/sorter.js +0 -196
  86. package/lib/components/Checkbox/Checkbox.d.ts +0 -19
  87. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -12
  88. package/lib/components/Checkbox/Checkbox.test.d.ts +0 -1
  89. package/lib/components/Checkbox/index.d.ts +0 -1
  90. package/lib/components/DatePicker/DatePicker.d.ts +0 -7
  91. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -6
  92. package/lib/components/DatePicker/DatePicker.test.d.ts +0 -1
  93. package/lib/components/DatePicker/index.d.ts +0 -1
  94. package/lib/components/Forms/InputCta/InputCta.d.ts +0 -16
  95. package/lib/components/Forms/InputCta/InputCta.stories.d.ts +0 -6
  96. package/lib/components/Forms/InputCta/InputCta.test.d.ts +0 -1
  97. package/lib/components/Forms/InputCta/index.d.ts +0 -1
  98. package/lib/components/InputCounter/InputCounter.d.ts +0 -16
  99. package/lib/components/InputCounter/InputCounter.stories.d.ts +0 -6
  100. package/lib/components/InputCounter/InputCounter.test.d.ts +0 -1
  101. package/lib/components/InputCounter/index.d.ts +0 -1
  102. package/lib/components/Radio/Radio.d.ts +0 -21
  103. package/lib/components/Radio/Radio.stories.d.ts +0 -12
  104. package/lib/components/Radio/Radio.test.d.ts +0 -1
  105. package/lib/components/Radio/index.d.ts +0 -1
  106. package/lib/components/Select/Select.d.ts +0 -25
  107. package/lib/components/Select/Select.stories.d.ts +0 -11
  108. package/lib/components/Select/Select.test.d.ts +0 -1
  109. package/lib/components/Select/index.d.ts +0 -1
  110. package/lib/components/TextInput/TextInput.d.ts +0 -46
  111. package/lib/components/TextInput/TextInput.stories.d.ts +0 -10
  112. package/lib/components/TextInput/index.d.ts +0 -1
  113. package/lib/components/TextInputAddon/TextInputAddon.d.ts +0 -51
  114. package/lib/components/TextInputAddon/TextInputAddon.stories.d.ts +0 -6
  115. package/lib/components/TextInputAddon/index.d.ts +0 -1
  116. package/lib/components/TreeView/TreeItem/TreeItem.d.ts +0 -16
  117. package/lib/components/TreeView/TreeItem/TreeItem.stories.d.ts +0 -9
  118. package/lib/components/TreeView/TreeItem/TreeItem.test.d.ts +0 -1
  119. package/lib/components/TreeView/TreeItem/index.d.ts +0 -1
  120. package/lib/components/TreeView/context.d.ts +0 -9
  121. package/lib/components/TreeView/sampleData.d.ts +0 -71
  122. package/lib/components/TreeView/types/tree.types.d.ts +0 -21
  123. package/yarn-error.log +0 -12463
@@ -1,19 +0,0 @@
1
- import { FC } from 'react';
2
- export interface CheckboxProps {
3
- /** Checkbox label */
4
- label: string;
5
- /** Checkbox ID */
6
- id: string;
7
- /** Disabled state */
8
- isDisabled?: boolean;
9
- /** Check state */
10
- isChecked?: boolean;
11
- /** If field is required */
12
- isRequired?: boolean;
13
- /** Error state */
14
- isError?: boolean;
15
- /** Message or description */
16
- message?: string;
17
- }
18
- /** Comment */
19
- export declare const Checkbox: FC<CheckboxProps>;
@@ -1,12 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { CheckboxProps } from './Checkbox';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const AllVariations: Story<CheckboxProps>;
7
- export declare const Default: Story<CheckboxProps>;
8
- export declare const Description: Story<CheckboxProps>;
9
- export declare const Required: Story<CheckboxProps>;
10
- export declare const Checked: Story<CheckboxProps>;
11
- export declare const ErrorState: Story<CheckboxProps>;
12
- export declare const Disabled: Story<CheckboxProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './Checkbox';
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- export interface DatePickerProps {
3
- /** Prop comment */
4
- prop: string;
5
- }
6
- /** Comment */
7
- export declare const DatePicker: FC<DatePickerProps>;
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { DatePickerProps } from './DatePicker';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const DatePickerComponent: Story<DatePickerProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './DatePicker';
@@ -1,16 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconName } from '../../../util/DynamicIcons';
3
- export interface InputCtaProps {
4
- /** Icon name */
5
- icon?: IconName;
6
- /** CTA label */
7
- ctaLabel?: string;
8
- /** Alignment */
9
- align: 'left' | 'right';
10
- /** Show the CTA without Background color and a border seperator */
11
- isClear?: boolean;
12
- /** Onclick callback */
13
- onClickHandler?(): void;
14
- }
15
- /** Comment */
16
- export declare const InputCta: FC<InputCtaProps>;
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { InputCtaProps } from './InputCta';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const InputCtaComponent: Story<InputCtaProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './InputCta';
@@ -1,16 +0,0 @@
1
- import { FC } from 'react';
2
- import '../../tailwind.css';
3
- export interface InputCounterProps {
4
- /**
5
- * Counter limit
6
- */
7
- limit: number;
8
- /**
9
- * String or number to
10
- */
11
- current: number;
12
- }
13
- /**
14
- * Primary UI component for user interaction
15
- */
16
- export declare const InputCounter: FC<InputCounterProps>;
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { InputCounterProps } from './InputCounter';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const Counter: Story<InputCounterProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './InputCounter';
@@ -1,21 +0,0 @@
1
- import { FC } from 'react';
2
- export interface RadioProps {
3
- /** group name */
4
- name: string;
5
- /** Radio label */
6
- label: string;
7
- /** Radio ID */
8
- id: string;
9
- /** Disabled state */
10
- isDisabled?: boolean;
11
- /** Check state */
12
- isChecked?: boolean;
13
- /** If field is required */
14
- isRequired?: boolean;
15
- /** Error state */
16
- isError?: boolean;
17
- /** Message or description */
18
- message?: string;
19
- }
20
- /** Comment */
21
- export declare const Radio: FC<RadioProps>;
@@ -1,12 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { RadioProps } from './Radio';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const AllVariations: Story<RadioProps>;
7
- export declare const Default: Story<RadioProps>;
8
- export declare const Description: Story<RadioProps>;
9
- export declare const Required: Story<RadioProps>;
10
- export declare const Checked: Story<RadioProps>;
11
- export declare const ErrorState: Story<RadioProps>;
12
- export declare const Disabled: Story<RadioProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './Radio';
@@ -1,25 +0,0 @@
1
- import { FC } from 'react';
2
- export declare type SelectOptions = {
3
- label: string;
4
- value: string;
5
- };
6
- export interface SelectProps {
7
- /** Label */
8
- label?: string;
9
- /** Select ID prop */
10
- id: string;
11
- /** Select name prop */
12
- name: string;
13
- /** List of options to display in the select menu */
14
- options: SelectOptions[];
15
- /** Select name prop */
16
- onChange?(value: string): void;
17
- /** Select disabled state */
18
- isDisabled?: boolean;
19
- /** Select error state */
20
- isError?: boolean;
21
- /** Select required state */
22
- isRequired?: boolean;
23
- }
24
- /** Comment */
25
- export declare const Select: FC<SelectProps>;
@@ -1,11 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { SelectProps } from './Select';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const AllVariations: Story<SelectProps>;
7
- export declare const Base: Story<SelectProps>;
8
- export declare const Label: Story<SelectProps>;
9
- export declare const Disabled: Story<SelectProps>;
10
- export declare const Required: Story<SelectProps>;
11
- export declare const Error: Story<SelectProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './Select';
@@ -1,46 +0,0 @@
1
- import { FC } from 'react';
2
- import '../../tailwind.css';
3
- declare type Type =
4
- | 'text'
5
- | 'email'
6
- | 'number'
7
- | 'password'
8
- | 'search'
9
- | 'tel'
10
- | 'url'
11
- | 'date'
12
- | 'datetime-local'
13
- | 'month'
14
- | 'time'
15
- | 'week'
16
- | 'currency';
17
- export interface TextInputProps {
18
- /** Input type*/
19
- type: Type;
20
- /** Input ID */
21
- id: string;
22
- /** Input Name */
23
- name: string;
24
- /** Label for the input */
25
- label: string;
26
- /** Force the focus state on the input */
27
- isFocused?: boolean;
28
- /** Error state */
29
- isError?: boolean;
30
- /** If field is required */
31
- isRequired?: boolean;
32
- /** Disabled state */
33
- isDisabled?: boolean;
34
- /** Set default value */
35
- defaultValue?: string;
36
- /** Message shown under the text field */
37
- message?: string;
38
- /** Input character counter */
39
- showCounter?: boolean;
40
- /** Max length of input character */
41
- maxLength?: number;
42
- /** Callback on change */
43
- onChange?(value: string): void;
44
- }
45
- export declare const TextInput: FC<TextInputProps>;
46
- export {};
@@ -1,10 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { TextInputProps } from './TextInput';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const Default: Story<TextInputProps>;
7
- export declare const Counter: Story<TextInputProps>;
8
- export declare const Required: Story<TextInputProps>;
9
- export declare const Error: Story<TextInputProps>;
10
- export declare const Disabled: Story<TextInputProps>;
@@ -1 +0,0 @@
1
- export * from './TextInput';
@@ -1,51 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconName } from '../../util/DynamicIcons';
3
- import '../../tailwind.css';
4
- declare type Type =
5
- | 'text'
6
- | 'email'
7
- | 'number'
8
- | 'password'
9
- | 'search'
10
- | 'tel'
11
- | 'url'
12
- | 'date'
13
- | 'datetime-local'
14
- | 'month'
15
- | 'time'
16
- | 'week'
17
- | 'currency';
18
- export interface TextInputAddonProps {
19
- /** Input type*/
20
- type: Type;
21
- /** Input ID */
22
- id: string;
23
- /** Input Name */
24
- name: string;
25
- /** Label for the input */
26
- label: string;
27
- /** placeholder for the input */
28
- placeholder?: string;
29
- /** Force the focus state on the input */
30
- isFocused?: boolean;
31
- /** Error state */
32
- isError?: boolean;
33
- /** If field is required */
34
- isRequired?: boolean;
35
- /** Disabled state */
36
- isDisabled?: boolean;
37
- /** Set default value */
38
- defaultValue?: string;
39
- /** Message shown under the text field */
40
- message?: string;
41
- /** Input character counter */
42
- showCounter?: boolean;
43
- /** Max length of input character */
44
- maxLength?: number;
45
- /** Icon to use in the text field */
46
- primaryIcon?: IconName;
47
- /** Callback on change */
48
- onChange?(value: string): void;
49
- }
50
- export declare const TextInputAddon: FC<TextInputAddonProps>;
51
- export {};
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { TextInputAddonProps } from './TextInputAddon';
4
- declare const _default: Meta<import('@storybook/react').Args>;
5
- export default _default;
6
- export declare const Default: Story<TextInputAddonProps>;
@@ -1 +0,0 @@
1
- export * from './TextInputAddon';
@@ -1,16 +0,0 @@
1
- import { FC } from 'react';
2
- import { TreeItemChildrenProps } from '../types/tree.types';
3
- export interface TreeItemProps {
4
- /** Selected or current state */
5
- isCurrent?: boolean;
6
- /** title of the tree item */
7
- title?: string;
8
- /** If tree item is expanded */
9
- isExpanded?: boolean;
10
- /** inner nodes within the tree item */
11
- childNodes?: Partial<TreeItemChildrenProps[] | null>;
12
- /** A Check to know if item is a root value */
13
- isRoot?: boolean;
14
- }
15
- /** Comment */
16
- export declare const TreeItem: FC<TreeItemProps>;
@@ -1,9 +0,0 @@
1
- import { Meta } from '@storybook/react/types-6-0';
2
- import { Story } from '@storybook/react';
3
- import { TreeItemProps } from './TreeItem';
4
- declare const _default: Meta<import("@storybook/react").Args>;
5
- export default _default;
6
- export declare const Base: Story<TreeItemProps>;
7
- export declare const Active: Story<TreeItemProps>;
8
- export declare const Expanded: Story<TreeItemProps>;
9
- export declare const WithChildren: Story<TreeItemProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './TreeItem';
@@ -1,9 +0,0 @@
1
- import React, { ComponentType } from 'react';
2
- import { TreeViewContextProps } from "./types/tree.types";
3
- export interface TreeViewProviderProps {
4
- children?: JSX.Element | HTMLDivElement | ComponentType;
5
- }
6
- declare const TreeViewContext: React.Context<TreeViewContextProps | null>;
7
- declare const TreeViewProvider: ({ children }: TreeViewProviderProps) => JSX.Element;
8
- export declare const useTreeViewContext: () => TreeViewContextProps | null;
9
- export { TreeViewContext, TreeViewProvider };
@@ -1,71 +0,0 @@
1
- export declare const data: ({
2
- key: string;
3
- type: string;
4
- title: string;
5
- lazy: boolean;
6
- expanded: boolean;
7
- folder: boolean;
8
- prefix: string;
9
- iconclass: string;
10
- galleryID: number;
11
- galleryFolderID: number;
12
- assetID: number;
13
- folderID: number;
14
- childNodes: null;
15
- } | {
16
- key: string;
17
- type: string;
18
- title: string;
19
- lazy: boolean;
20
- expanded: boolean;
21
- folder: boolean;
22
- prefix: string;
23
- iconclass: string;
24
- galleryID: number;
25
- galleryFolderID: number;
26
- assetID: number;
27
- folderID: number;
28
- childNodes: ({
29
- key: string;
30
- type: string;
31
- title: string;
32
- lazy: boolean;
33
- expanded: boolean;
34
- folder: boolean;
35
- prefix: string;
36
- iconclass: string;
37
- galleryID: number;
38
- galleryFolderID: number;
39
- assetID: number;
40
- folderID: number;
41
- childNodes: {
42
- key: string;
43
- type: string;
44
- title: string;
45
- lazy: boolean;
46
- expanded: boolean;
47
- folder: boolean;
48
- prefix: string;
49
- iconclass: string;
50
- galleryID: number;
51
- galleryFolderID: number;
52
- assetID: number;
53
- folderID: number;
54
- childNodes: null;
55
- }[];
56
- } | {
57
- key: string;
58
- type: string;
59
- title: string;
60
- lazy: boolean;
61
- expanded: boolean;
62
- folder: boolean;
63
- prefix: string;
64
- iconclass: string;
65
- galleryID: number;
66
- galleryFolderID: number;
67
- assetID: number;
68
- folderID: number;
69
- childNodes: null;
70
- })[];
71
- })[];
@@ -1,21 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- export interface TreeItemChildrenProps {
3
- key: string;
4
- type: string;
5
- title: string;
6
- lazy: boolean;
7
- expanded: boolean;
8
- folder: boolean;
9
- prefix: string;
10
- iconclass: string;
11
- galleryID: number;
12
- galleryFolderID: number;
13
- assetID: number;
14
- folderID: number;
15
- childNodes?: TreeListProp;
16
- }
17
- export declare type TreeListProp = Partial<TreeItemChildrenProps[] | null>;
18
- export interface TreeViewContextProps {
19
- treeList: TreeListProp;
20
- setTreeList: Dispatch<SetStateAction<TreeListProp>>;
21
- }