@peasant-labs/fairtrade 0.0.0 → 0.0.2
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/lib/components.css +1 -1
- package/dist/lib/icons.js +1 -0
- package/dist/lib/types/Intensity.d.ts +3 -3
- package/dist/lib/types/ProviderIcon.d.ts +5 -4
- package/dist/lib/types/StatTiles.d.ts +4 -1
- package/dist/lib/types/icons.d.ts +1 -0
- package/dist/lib/ui.js +832 -803
- package/package.json +11 -6
- package/dist/lib/README.md +0 -13
- package/dist/lib/types/Accordion.stories.d.ts +0 -91
- package/dist/lib/types/Avatar.stories.d.ts +0 -160
- package/dist/lib/types/BrandMark.stories.d.ts +0 -75
- package/dist/lib/types/Breadcrumb.stories.d.ts +0 -91
- package/dist/lib/types/Button.stories.d.ts +0 -129
- package/dist/lib/types/Card.stories.d.ts +0 -70
- package/dist/lib/types/Chart.stories.d.ts +0 -55
- package/dist/lib/types/Checkbox.stories.d.ts +0 -75
- package/dist/lib/types/Chip.stories.d.ts +0 -190
- package/dist/lib/types/CliOnboard.stories.d.ts +0 -24
- package/dist/lib/types/CommandPalette.stories.d.ts +0 -94
- package/dist/lib/types/CommitGraph.stories.d.ts +0 -17
- package/dist/lib/types/ConnectionState.stories.d.ts +0 -117
- package/dist/lib/types/ConsentDialog.stories.d.ts +0 -61
- package/dist/lib/types/DataTable.stories.d.ts +0 -240
- package/dist/lib/types/DateRange.stories.d.ts +0 -272
- package/dist/lib/types/Dialog.stories.d.ts +0 -121
- package/dist/lib/types/DiffView.stories.d.ts +0 -118
- package/dist/lib/types/EmptyState.stories.d.ts +0 -130
- package/dist/lib/types/EvidenceCaption.stories.d.ts +0 -43
- package/dist/lib/types/Explainer.stories.d.ts +0 -22
- package/dist/lib/types/FacetRail.stories.d.ts +0 -28
- package/dist/lib/types/Feedback.stories.d.ts +0 -81
- package/dist/lib/types/GroupedMultiSelect.stories.d.ts +0 -59
- package/dist/lib/types/Input.stories.d.ts +0 -181
- package/dist/lib/types/Intensity.stories.d.ts +0 -108
- package/dist/lib/types/MapCanvas.stories.d.ts +0 -174
- package/dist/lib/types/Menu.stories.d.ts +0 -173
- package/dist/lib/types/ModerationQueue.stories.d.ts +0 -34
- package/dist/lib/types/Pager.stories.d.ts +0 -100
- package/dist/lib/types/Pagination.stories.d.ts +0 -193
- package/dist/lib/types/PolicySelect.stories.d.ts +0 -130
- package/dist/lib/types/ProviderIcon.stories.d.ts +0 -44
- package/dist/lib/types/RailShell.stories.d.ts +0 -32
- package/dist/lib/types/Redaction.stories.d.ts +0 -120
- package/dist/lib/types/RoleRoster.stories.d.ts +0 -23
- package/dist/lib/types/SignIn.stories.d.ts +0 -57
- package/dist/lib/types/StatTiles.stories.d.ts +0 -31
- package/dist/lib/types/StepWizard.stories.d.ts +0 -18
- package/dist/lib/types/StepsWaterfall.stories.d.ts +0 -94
- package/dist/lib/types/Switch.stories.d.ts +0 -134
- package/dist/lib/types/Tabs.stories.d.ts +0 -75
- package/dist/lib/types/TimeStrip.stories.d.ts +0 -30
- package/dist/lib/types/Timeline.stories.d.ts +0 -974
- package/dist/lib/types/ToastHost.stories.d.ts +0 -115
- package/dist/lib/types/ToolRenderers.stories.d.ts +0 -138
- package/dist/lib/types/Tooltip.stories.d.ts +0 -116
- package/dist/lib/types/Tour.stories.d.ts +0 -39
- package/dist/lib/types/TranscriptMarkers.stories.d.ts +0 -48
- package/dist/lib/types/Treemap.stories.d.ts +0 -101
- package/dist/lib/types/VisibilityControl.stories.d.ts +0 -126
- package/dist/lib/types/story-frame.d.ts +0 -12
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
export default meta;
|
|
2
|
-
export namespace Default {
|
|
3
|
-
namespace args {
|
|
4
|
-
export { TASKS as tasks };
|
|
5
|
-
export let totalMs: number;
|
|
6
|
-
}
|
|
7
|
-
function play({ args, canvasElement }: {
|
|
8
|
-
args: any;
|
|
9
|
-
canvasElement: any;
|
|
10
|
-
}): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
export namespace Dense {
|
|
13
|
-
export namespace args_1 {
|
|
14
|
-
export { DENSE as tasks };
|
|
15
|
-
}
|
|
16
|
-
export { args_1 as args };
|
|
17
|
-
}
|
|
18
|
-
export namespace WithError {
|
|
19
|
-
export namespace args_2 {
|
|
20
|
-
export { WITH_ERROR as tasks };
|
|
21
|
-
}
|
|
22
|
-
export { args_2 as args };
|
|
23
|
-
}
|
|
24
|
-
export namespace Collapsed {
|
|
25
|
-
export namespace args_3 {
|
|
26
|
-
export { TASKS as tasks };
|
|
27
|
-
let totalMs_1: number;
|
|
28
|
-
export { totalMs_1 as totalMs };
|
|
29
|
-
export let defaultCollapsed: boolean;
|
|
30
|
-
}
|
|
31
|
-
export { args_3 as args };
|
|
32
|
-
}
|
|
33
|
-
declare namespace meta {
|
|
34
|
-
export let title: string;
|
|
35
|
-
export { StepsWaterfall as component };
|
|
36
|
-
export let decorators: Function[];
|
|
37
|
-
export namespace parameters {
|
|
38
|
-
let layout: string;
|
|
39
|
-
}
|
|
40
|
-
export namespace args_4 {
|
|
41
|
-
let onJump: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
42
|
-
}
|
|
43
|
-
export { args_4 as args };
|
|
44
|
-
}
|
|
45
|
-
declare const TASKS: ({
|
|
46
|
-
id: string;
|
|
47
|
-
index: number;
|
|
48
|
-
prompt: string;
|
|
49
|
-
durationMs: number;
|
|
50
|
-
turns: number;
|
|
51
|
-
outcome: string;
|
|
52
|
-
error?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
id: string;
|
|
55
|
-
index: number;
|
|
56
|
-
prompt: string;
|
|
57
|
-
durationMs: number;
|
|
58
|
-
turns: number;
|
|
59
|
-
outcome: string;
|
|
60
|
-
error: string;
|
|
61
|
-
})[];
|
|
62
|
-
declare const DENSE: ({
|
|
63
|
-
id: string;
|
|
64
|
-
prompt: string;
|
|
65
|
-
durationMs: number;
|
|
66
|
-
tools: number;
|
|
67
|
-
outcome?: undefined;
|
|
68
|
-
error?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
id: string;
|
|
71
|
-
prompt: string;
|
|
72
|
-
durationMs: number;
|
|
73
|
-
tools: number;
|
|
74
|
-
outcome: string;
|
|
75
|
-
error: string;
|
|
76
|
-
})[];
|
|
77
|
-
declare const WITH_ERROR: ({
|
|
78
|
-
id: string;
|
|
79
|
-
index: number;
|
|
80
|
-
prompt: string;
|
|
81
|
-
durationMs: number;
|
|
82
|
-
turns: number;
|
|
83
|
-
outcome: string;
|
|
84
|
-
error?: undefined;
|
|
85
|
-
} | {
|
|
86
|
-
id: string;
|
|
87
|
-
index: number;
|
|
88
|
-
prompt: string;
|
|
89
|
-
durationMs: number;
|
|
90
|
-
turns: number;
|
|
91
|
-
outcome: string;
|
|
92
|
-
error: string;
|
|
93
|
-
})[];
|
|
94
|
-
import StepsWaterfall from './StepsWaterfall.jsx';
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
export default meta;
|
|
2
|
-
export const Playground: {};
|
|
3
|
-
export namespace On {
|
|
4
|
-
namespace args {
|
|
5
|
-
let label: string;
|
|
6
|
-
let defaultChecked: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export namespace Off {
|
|
10
|
-
export namespace args_1 {
|
|
11
|
-
let label_1: string;
|
|
12
|
-
export { label_1 as label };
|
|
13
|
-
let defaultChecked_1: boolean;
|
|
14
|
-
export { defaultChecked_1 as defaultChecked };
|
|
15
|
-
}
|
|
16
|
-
export { args_1 as args };
|
|
17
|
-
}
|
|
18
|
-
export namespace Disabled {
|
|
19
|
-
export namespace args_2 {
|
|
20
|
-
let label_2: string;
|
|
21
|
-
export { label_2 as label };
|
|
22
|
-
let defaultChecked_2: boolean;
|
|
23
|
-
export { defaultChecked_2 as defaultChecked };
|
|
24
|
-
export let disabled: boolean;
|
|
25
|
-
}
|
|
26
|
-
export { args_2 as args };
|
|
27
|
-
}
|
|
28
|
-
export namespace Busy {
|
|
29
|
-
export namespace args_3 {
|
|
30
|
-
let label_3: string;
|
|
31
|
-
export { label_3 as label };
|
|
32
|
-
let defaultChecked_3: boolean;
|
|
33
|
-
export { defaultChecked_3 as defaultChecked };
|
|
34
|
-
export let busy: boolean;
|
|
35
|
-
export let onText: string;
|
|
36
|
-
}
|
|
37
|
-
export { args_3 as args };
|
|
38
|
-
}
|
|
39
|
-
export namespace CustomStateIcon {
|
|
40
|
-
export namespace args_4 {
|
|
41
|
-
let label_4: string;
|
|
42
|
-
export { label_4 as label };
|
|
43
|
-
export { EyeOff as stateIcon };
|
|
44
|
-
let onText_1: string;
|
|
45
|
-
export { onText_1 as onText };
|
|
46
|
-
export let offText: string;
|
|
47
|
-
}
|
|
48
|
-
export { args_4 as args };
|
|
49
|
-
}
|
|
50
|
-
export namespace NoLabel {
|
|
51
|
-
export namespace args_5 {
|
|
52
|
-
let label_5: any;
|
|
53
|
-
export { label_5 as label };
|
|
54
|
-
}
|
|
55
|
-
export { args_5 as args };
|
|
56
|
-
}
|
|
57
|
-
export namespace DisabledOff {
|
|
58
|
-
export namespace args_6 {
|
|
59
|
-
let label_6: string;
|
|
60
|
-
export { label_6 as label };
|
|
61
|
-
let defaultChecked_4: boolean;
|
|
62
|
-
export { defaultChecked_4 as defaultChecked };
|
|
63
|
-
let disabled_1: boolean;
|
|
64
|
-
export { disabled_1 as disabled };
|
|
65
|
-
}
|
|
66
|
-
export { args_6 as args };
|
|
67
|
-
}
|
|
68
|
-
export namespace Toggles {
|
|
69
|
-
function render(): any;
|
|
70
|
-
function play({ canvasElement }: {
|
|
71
|
-
canvasElement: any;
|
|
72
|
-
}): Promise<void>;
|
|
73
|
-
}
|
|
74
|
-
declare namespace meta {
|
|
75
|
-
export let title: string;
|
|
76
|
-
export { Switch as component };
|
|
77
|
-
export let tags: string[];
|
|
78
|
-
export let decorators: Function[];
|
|
79
|
-
export namespace argTypes {
|
|
80
|
-
export namespace checked {
|
|
81
|
-
let control: string;
|
|
82
|
-
}
|
|
83
|
-
export namespace defaultChecked_5 {
|
|
84
|
-
let control_1: string;
|
|
85
|
-
export { control_1 as control };
|
|
86
|
-
}
|
|
87
|
-
export { defaultChecked_5 as defaultChecked };
|
|
88
|
-
export namespace disabled_2 {
|
|
89
|
-
let control_2: string;
|
|
90
|
-
export { control_2 as control };
|
|
91
|
-
}
|
|
92
|
-
export { disabled_2 as disabled };
|
|
93
|
-
export namespace busy_1 {
|
|
94
|
-
let control_3: string;
|
|
95
|
-
export { control_3 as control };
|
|
96
|
-
}
|
|
97
|
-
export { busy_1 as busy };
|
|
98
|
-
export namespace label_7 {
|
|
99
|
-
let control_4: string;
|
|
100
|
-
export { control_4 as control };
|
|
101
|
-
}
|
|
102
|
-
export { label_7 as label };
|
|
103
|
-
export namespace onText_2 {
|
|
104
|
-
let control_5: string;
|
|
105
|
-
export { control_5 as control };
|
|
106
|
-
}
|
|
107
|
-
export { onText_2 as onText };
|
|
108
|
-
export namespace offText_1 {
|
|
109
|
-
let control_6: string;
|
|
110
|
-
export { control_6 as control };
|
|
111
|
-
}
|
|
112
|
-
export { offText_1 as offText };
|
|
113
|
-
export namespace onChange {
|
|
114
|
-
let action: string;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export namespace args_7 {
|
|
118
|
-
let label_8: string;
|
|
119
|
-
export { label_8 as label };
|
|
120
|
-
let defaultChecked_6: boolean;
|
|
121
|
-
export { defaultChecked_6 as defaultChecked };
|
|
122
|
-
let disabled_3: boolean;
|
|
123
|
-
export { disabled_3 as disabled };
|
|
124
|
-
let busy_2: boolean;
|
|
125
|
-
export { busy_2 as busy };
|
|
126
|
-
let onText_3: string;
|
|
127
|
-
export { onText_3 as onText };
|
|
128
|
-
let offText_2: string;
|
|
129
|
-
export { offText_2 as offText };
|
|
130
|
-
}
|
|
131
|
-
export { args_7 as args };
|
|
132
|
-
}
|
|
133
|
-
import { EyeOff } from 'lucide-react';
|
|
134
|
-
import Switch from './Switch.jsx';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export default meta;
|
|
2
|
-
export const Playground: {};
|
|
3
|
-
export namespace SecondSelected {
|
|
4
|
-
namespace args {
|
|
5
|
-
let defaultTab: string;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export namespace NoCounts {
|
|
9
|
-
export namespace args_1 {
|
|
10
|
-
let tabs: {
|
|
11
|
-
id: string;
|
|
12
|
-
label: string;
|
|
13
|
-
content: any;
|
|
14
|
-
}[];
|
|
15
|
-
}
|
|
16
|
-
export { args_1 as args };
|
|
17
|
-
}
|
|
18
|
-
export namespace TwoTabs {
|
|
19
|
-
let args_2: {
|
|
20
|
-
tabs: {
|
|
21
|
-
id: string;
|
|
22
|
-
label: string;
|
|
23
|
-
count: number;
|
|
24
|
-
content: any;
|
|
25
|
-
}[];
|
|
26
|
-
'aria-label': string;
|
|
27
|
-
};
|
|
28
|
-
export { args_2 as args };
|
|
29
|
-
}
|
|
30
|
-
export namespace Controlled {
|
|
31
|
-
function render(args: any): any;
|
|
32
|
-
function play({ canvasElement }: {
|
|
33
|
-
canvasElement: any;
|
|
34
|
-
}): Promise<void>;
|
|
35
|
-
}
|
|
36
|
-
export namespace Interaction {
|
|
37
|
-
export namespace args_3 {
|
|
38
|
-
let defaultTab_1: string;
|
|
39
|
-
export { defaultTab_1 as defaultTab };
|
|
40
|
-
}
|
|
41
|
-
export { args_3 as args };
|
|
42
|
-
export function play_1({ canvasElement }: {
|
|
43
|
-
canvasElement: any;
|
|
44
|
-
}): Promise<void>;
|
|
45
|
-
export { play_1 as play };
|
|
46
|
-
}
|
|
47
|
-
declare namespace meta {
|
|
48
|
-
export let title: string;
|
|
49
|
-
export { Tabs as component };
|
|
50
|
-
export let tags: string[];
|
|
51
|
-
export let decorators: Function[];
|
|
52
|
-
export let argTypes: {
|
|
53
|
-
defaultTab: {
|
|
54
|
-
control: string;
|
|
55
|
-
options: string[];
|
|
56
|
-
};
|
|
57
|
-
'aria-label': {
|
|
58
|
-
control: string;
|
|
59
|
-
};
|
|
60
|
-
tabs: {
|
|
61
|
-
control: boolean;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
let args_4: {
|
|
65
|
-
tabs: {
|
|
66
|
-
id: string;
|
|
67
|
-
label: string;
|
|
68
|
-
count: number;
|
|
69
|
-
content: any;
|
|
70
|
-
}[];
|
|
71
|
-
'aria-label': string;
|
|
72
|
-
};
|
|
73
|
-
export { args_4 as args };
|
|
74
|
-
}
|
|
75
|
-
import Tabs from './Tabs.jsx';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default meta;
|
|
2
|
-
export namespace Default {
|
|
3
|
-
function render(): any;
|
|
4
|
-
function play({ canvasElement }: {
|
|
5
|
-
canvasElement: any;
|
|
6
|
-
}): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export namespace Sparse {
|
|
9
|
-
export function render_1(): any;
|
|
10
|
-
export { render_1 as render };
|
|
11
|
-
export function play_1({ canvasElement }: {
|
|
12
|
-
canvasElement: any;
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
export { play_1 as play };
|
|
15
|
-
}
|
|
16
|
-
export namespace Uncontrolled {
|
|
17
|
-
export let name: string;
|
|
18
|
-
export function render_2(): any;
|
|
19
|
-
export { render_2 as render };
|
|
20
|
-
}
|
|
21
|
-
declare namespace meta {
|
|
22
|
-
export let title: string;
|
|
23
|
-
export { TimeStrip as component };
|
|
24
|
-
export let tags: string[];
|
|
25
|
-
export let decorators: Function[];
|
|
26
|
-
export namespace parameters {
|
|
27
|
-
let layout: string;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
import TimeStrip from './TimeStrip.jsx';
|