@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.
Files changed (61) hide show
  1. package/dist/lib/components.css +1 -1
  2. package/dist/lib/icons.js +1 -0
  3. package/dist/lib/types/Intensity.d.ts +3 -3
  4. package/dist/lib/types/ProviderIcon.d.ts +5 -4
  5. package/dist/lib/types/StatTiles.d.ts +4 -1
  6. package/dist/lib/types/icons.d.ts +1 -0
  7. package/dist/lib/ui.js +832 -803
  8. package/package.json +11 -6
  9. package/dist/lib/README.md +0 -13
  10. package/dist/lib/types/Accordion.stories.d.ts +0 -91
  11. package/dist/lib/types/Avatar.stories.d.ts +0 -160
  12. package/dist/lib/types/BrandMark.stories.d.ts +0 -75
  13. package/dist/lib/types/Breadcrumb.stories.d.ts +0 -91
  14. package/dist/lib/types/Button.stories.d.ts +0 -129
  15. package/dist/lib/types/Card.stories.d.ts +0 -70
  16. package/dist/lib/types/Chart.stories.d.ts +0 -55
  17. package/dist/lib/types/Checkbox.stories.d.ts +0 -75
  18. package/dist/lib/types/Chip.stories.d.ts +0 -190
  19. package/dist/lib/types/CliOnboard.stories.d.ts +0 -24
  20. package/dist/lib/types/CommandPalette.stories.d.ts +0 -94
  21. package/dist/lib/types/CommitGraph.stories.d.ts +0 -17
  22. package/dist/lib/types/ConnectionState.stories.d.ts +0 -117
  23. package/dist/lib/types/ConsentDialog.stories.d.ts +0 -61
  24. package/dist/lib/types/DataTable.stories.d.ts +0 -240
  25. package/dist/lib/types/DateRange.stories.d.ts +0 -272
  26. package/dist/lib/types/Dialog.stories.d.ts +0 -121
  27. package/dist/lib/types/DiffView.stories.d.ts +0 -118
  28. package/dist/lib/types/EmptyState.stories.d.ts +0 -130
  29. package/dist/lib/types/EvidenceCaption.stories.d.ts +0 -43
  30. package/dist/lib/types/Explainer.stories.d.ts +0 -22
  31. package/dist/lib/types/FacetRail.stories.d.ts +0 -28
  32. package/dist/lib/types/Feedback.stories.d.ts +0 -81
  33. package/dist/lib/types/GroupedMultiSelect.stories.d.ts +0 -59
  34. package/dist/lib/types/Input.stories.d.ts +0 -181
  35. package/dist/lib/types/Intensity.stories.d.ts +0 -108
  36. package/dist/lib/types/MapCanvas.stories.d.ts +0 -174
  37. package/dist/lib/types/Menu.stories.d.ts +0 -173
  38. package/dist/lib/types/ModerationQueue.stories.d.ts +0 -34
  39. package/dist/lib/types/Pager.stories.d.ts +0 -100
  40. package/dist/lib/types/Pagination.stories.d.ts +0 -193
  41. package/dist/lib/types/PolicySelect.stories.d.ts +0 -130
  42. package/dist/lib/types/ProviderIcon.stories.d.ts +0 -44
  43. package/dist/lib/types/RailShell.stories.d.ts +0 -32
  44. package/dist/lib/types/Redaction.stories.d.ts +0 -120
  45. package/dist/lib/types/RoleRoster.stories.d.ts +0 -23
  46. package/dist/lib/types/SignIn.stories.d.ts +0 -57
  47. package/dist/lib/types/StatTiles.stories.d.ts +0 -31
  48. package/dist/lib/types/StepWizard.stories.d.ts +0 -18
  49. package/dist/lib/types/StepsWaterfall.stories.d.ts +0 -94
  50. package/dist/lib/types/Switch.stories.d.ts +0 -134
  51. package/dist/lib/types/Tabs.stories.d.ts +0 -75
  52. package/dist/lib/types/TimeStrip.stories.d.ts +0 -30
  53. package/dist/lib/types/Timeline.stories.d.ts +0 -974
  54. package/dist/lib/types/ToastHost.stories.d.ts +0 -115
  55. package/dist/lib/types/ToolRenderers.stories.d.ts +0 -138
  56. package/dist/lib/types/Tooltip.stories.d.ts +0 -116
  57. package/dist/lib/types/Tour.stories.d.ts +0 -39
  58. package/dist/lib/types/TranscriptMarkers.stories.d.ts +0 -48
  59. package/dist/lib/types/Treemap.stories.d.ts +0 -101
  60. package/dist/lib/types/VisibilityControl.stories.d.ts +0 -126
  61. package/dist/lib/types/story-frame.d.ts +0 -12
@@ -1,193 +0,0 @@
1
- export default meta;
2
- export const Playground: {};
3
- export namespace ShortRange {
4
- namespace args {
5
- let total: number;
6
- let defaultPage: number;
7
- let label: string;
8
- }
9
- }
10
- export namespace LongRange {
11
- export namespace args_1 {
12
- let total_1: number;
13
- export { total_1 as total };
14
- let defaultPage_1: number;
15
- export { defaultPage_1 as defaultPage };
16
- let label_1: string;
17
- export { label_1 as label };
18
- }
19
- export { args_1 as args };
20
- }
21
- export namespace FromItems {
22
- export namespace args_2 {
23
- let total_2: any;
24
- export { total_2 as total };
25
- export let totalItems: number;
26
- export let pageSize: number;
27
- let defaultPage_2: number;
28
- export { defaultPage_2 as defaultPage };
29
- let label_2: string;
30
- export { label_2 as label };
31
- }
32
- export { args_2 as args };
33
- }
34
- export namespace AtFirstPage {
35
- export namespace args_3 {
36
- let total_3: number;
37
- export { total_3 as total };
38
- let defaultPage_3: number;
39
- export { defaultPage_3 as defaultPage };
40
- let label_3: string;
41
- export { label_3 as label };
42
- }
43
- export { args_3 as args };
44
- }
45
- export namespace AtLastPage {
46
- export namespace args_4 {
47
- let total_4: number;
48
- export { total_4 as total };
49
- let defaultPage_4: number;
50
- export { defaultPage_4 as defaultPage };
51
- let label_4: string;
52
- export { label_4 as label };
53
- }
54
- export { args_4 as args };
55
- }
56
- export namespace WideWindow {
57
- export namespace args_5 {
58
- let total_5: number;
59
- export { total_5 as total };
60
- let defaultPage_5: number;
61
- export { defaultPage_5 as defaultPage };
62
- export let siblingCount: number;
63
- let label_5: string;
64
- export { label_5 as label };
65
- }
66
- export { args_5 as args };
67
- }
68
- export namespace Collapsed {
69
- export namespace args_6 {
70
- let total_6: number;
71
- export { total_6 as total };
72
- let defaultPage_6: number;
73
- export { defaultPage_6 as defaultPage };
74
- let label_6: string;
75
- export { label_6 as label };
76
- }
77
- export { args_6 as args };
78
- export namespace parameters {
79
- namespace viewport {
80
- let defaultViewport: string;
81
- }
82
- }
83
- }
84
- export namespace Controlled {
85
- export namespace args_7 {
86
- let total_7: number;
87
- export { total_7 as total };
88
- let siblingCount_1: number;
89
- export { siblingCount_1 as siblingCount };
90
- let label_7: string;
91
- export { label_7 as label };
92
- }
93
- export { args_7 as args };
94
- export function render(args: any): any;
95
- export function play({ canvasElement, args }: {
96
- canvasElement: any;
97
- args: any;
98
- }): Promise<void>;
99
- }
100
- export namespace ControlledFrozen {
101
- export namespace args_8 {
102
- let total_8: number;
103
- export { total_8 as total };
104
- let siblingCount_2: number;
105
- export { siblingCount_2 as siblingCount };
106
- export let page: number;
107
- let label_8: string;
108
- export { label_8 as label };
109
- }
110
- export { args_8 as args };
111
- export function play_1({ canvasElement, args }: {
112
- canvasElement: any;
113
- args: any;
114
- }): Promise<void>;
115
- export { play_1 as play };
116
- }
117
- export namespace ClickPage {
118
- export namespace args_9 {
119
- let total_9: number;
120
- export { total_9 as total };
121
- let defaultPage_7: number;
122
- export { defaultPage_7 as defaultPage };
123
- let siblingCount_3: number;
124
- export { siblingCount_3 as siblingCount };
125
- let label_9: string;
126
- export { label_9 as label };
127
- }
128
- export { args_9 as args };
129
- export function play_2({ canvasElement, args }: {
130
- canvasElement: any;
131
- args: any;
132
- }): Promise<void>;
133
- export { play_2 as play };
134
- }
135
- declare namespace meta {
136
- export let title: string;
137
- export { Pagination as component };
138
- export let tags: string[];
139
- export namespace argTypes {
140
- export namespace page_1 {
141
- let control: string;
142
- }
143
- export { page_1 as page };
144
- export namespace defaultPage_8 {
145
- let control_1: string;
146
- export { control_1 as control };
147
- }
148
- export { defaultPage_8 as defaultPage };
149
- export namespace total_10 {
150
- let control_2: string;
151
- export { control_2 as control };
152
- }
153
- export { total_10 as total };
154
- export namespace totalItems_1 {
155
- let control_3: string;
156
- export { control_3 as control };
157
- }
158
- export { totalItems_1 as totalItems };
159
- export namespace pageSize_1 {
160
- let control_4: string;
161
- export { control_4 as control };
162
- }
163
- export { pageSize_1 as pageSize };
164
- export namespace siblingCount_4 {
165
- let control_5: string;
166
- export { control_5 as control };
167
- export let options: number[];
168
- }
169
- export { siblingCount_4 as siblingCount };
170
- export namespace label_10 {
171
- let control_6: string;
172
- export { control_6 as control };
173
- }
174
- export { label_10 as label };
175
- export namespace onChange {
176
- let action: string;
177
- }
178
- }
179
- export namespace args_10 {
180
- let total_11: number;
181
- export { total_11 as total };
182
- let defaultPage_9: number;
183
- export { defaultPage_9 as defaultPage };
184
- let siblingCount_5: number;
185
- export { siblingCount_5 as siblingCount };
186
- let label_11: string;
187
- export { label_11 as label };
188
- let onChange_1: import("storybook/test").Mock<(...args: any[]) => any>;
189
- export { onChange_1 as onChange };
190
- }
191
- export { args_10 as args };
192
- }
193
- import Pagination from './Pagination.jsx';
@@ -1,130 +0,0 @@
1
- export default meta;
2
- export namespace DataAccess {
3
- namespace args {
4
- export let label: string;
5
- export let name: string;
6
- export let variant: string;
7
- export { DATA_ACCESS as options };
8
- export let defaultValue: string;
9
- }
10
- }
11
- export namespace Acceptance {
12
- export namespace args_1 {
13
- let label_1: string;
14
- export { label_1 as label };
15
- let name_1: string;
16
- export { name_1 as name };
17
- let variant_1: string;
18
- export { variant_1 as variant };
19
- export { ACCEPTANCE as options };
20
- let defaultValue_1: string;
21
- export { defaultValue_1 as defaultValue };
22
- }
23
- export { args_1 as args };
24
- }
25
- export namespace Retention {
26
- export namespace args_2 {
27
- let label_2: string;
28
- export { label_2 as label };
29
- let name_2: string;
30
- export { name_2 as name };
31
- let variant_2: string;
32
- export { variant_2 as variant };
33
- export let hint: string;
34
- export { RETENTION as options };
35
- let defaultValue_2: string;
36
- export { defaultValue_2 as defaultValue };
37
- }
38
- export { args_2 as args };
39
- }
40
- export namespace Select {
41
- export namespace args_3 {
42
- let label_3: string;
43
- export { label_3 as label };
44
- let name_3: string;
45
- export { name_3 as name };
46
- let variant_3: string;
47
- export { variant_3 as variant };
48
- export { DATA_ACCESS as options };
49
- let defaultValue_3: string;
50
- export { defaultValue_3 as defaultValue };
51
- }
52
- export { args_3 as args };
53
- }
54
- export namespace WithDisabledOption {
55
- export namespace args_4 {
56
- let label_4: string;
57
- export { label_4 as label };
58
- let name_4: string;
59
- export { name_4 as name };
60
- let variant_4: string;
61
- export { variant_4 as variant };
62
- export let options: {
63
- value: string;
64
- label: string;
65
- rationale: string;
66
- }[];
67
- let defaultValue_4: string;
68
- export { defaultValue_4 as defaultValue };
69
- }
70
- export { args_4 as args };
71
- }
72
- export namespace Selects {
73
- export namespace args_5 {
74
- let label_5: string;
75
- export { label_5 as label };
76
- let name_5: string;
77
- export { name_5 as name };
78
- let variant_5: string;
79
- export { variant_5 as variant };
80
- export { DATA_ACCESS as options };
81
- }
82
- export { args_5 as args };
83
- export function render(args: any): any;
84
- export function play({ canvasElement }: {
85
- canvasElement: any;
86
- }): Promise<void>;
87
- }
88
- declare namespace meta {
89
- export let title: string;
90
- export { PolicySelect as component };
91
- export let tags: string[];
92
- export let decorators: Function[];
93
- export namespace argTypes {
94
- export namespace variant_6 {
95
- export let control: string;
96
- let options_1: string[];
97
- export { options_1 as options };
98
- }
99
- export { variant_6 as variant };
100
- export namespace label_6 {
101
- let control_1: string;
102
- export { control_1 as control };
103
- }
104
- export { label_6 as label };
105
- export namespace hint_1 {
106
- let control_2: string;
107
- export { control_2 as control };
108
- }
109
- export { hint_1 as hint };
110
- export namespace onChange {
111
- let action: string;
112
- }
113
- }
114
- }
115
- declare const DATA_ACCESS: {
116
- value: string;
117
- label: string;
118
- rationale: string;
119
- }[];
120
- declare const ACCEPTANCE: {
121
- value: string;
122
- label: string;
123
- rationale: string;
124
- }[];
125
- declare const RETENTION: {
126
- value: string;
127
- label: string;
128
- rationale: string;
129
- }[];
130
- import PolicySelect from './PolicySelect.jsx';
@@ -1,44 +0,0 @@
1
- export default meta;
2
- export namespace Marks {
3
- let decorators: Function[];
4
- function render(): any;
5
- function play({ canvasElement }: {
6
- canvasElement: any;
7
- }): Promise<void>;
8
- }
9
- export namespace Tags {
10
- let decorators_1: Function[];
11
- export { decorators_1 as decorators };
12
- export function render_1(): any;
13
- export { render_1 as render };
14
- export function play_1({ canvasElement }: {
15
- canvasElement: any;
16
- }): Promise<void>;
17
- export { play_1 as play };
18
- }
19
- export namespace Names {
20
- let decorators_2: Function[];
21
- export { decorators_2 as decorators };
22
- export function render_2(): any;
23
- export { render_2 as render };
24
- }
25
- export namespace AccentLegendStory {
26
- export let name: string;
27
- let decorators_3: Function[];
28
- export { decorators_3 as decorators };
29
- export function render_3(): any;
30
- export { render_3 as render };
31
- export function play_2({ canvasElement }: {
32
- canvasElement: any;
33
- }): Promise<void>;
34
- export { play_2 as play };
35
- }
36
- declare namespace meta {
37
- export let title: string;
38
- export { ProviderIcon as component };
39
- export let tags: string[];
40
- export namespace parameters {
41
- let layout: string;
42
- }
43
- }
44
- import { ProviderIcon } from './ProviderIcon.jsx';
@@ -1,32 +0,0 @@
1
- export default meta;
2
- export namespace Default {
3
- function render(): any;
4
- }
5
- export namespace RailLeft {
6
- export function render_1(): any;
7
- export { render_1 as render };
8
- }
9
- export namespace Split {
10
- export function render_2(): any;
11
- export { render_2 as render };
12
- }
13
- export namespace SplitInShell {
14
- export function render_3(): any;
15
- export { render_3 as render };
16
- }
17
- export namespace MobileSheet {
18
- export function render_4(): any;
19
- export { render_4 as render };
20
- export function play({ canvasElement }: {
21
- canvasElement: any;
22
- }): Promise<void>;
23
- }
24
- declare namespace meta {
25
- export let title: string;
26
- export { RailShell as component };
27
- export namespace parameters {
28
- let layout: string;
29
- }
30
- export let tags: string[];
31
- }
32
- import RailShell from './RailShell.jsx';
@@ -1,120 +0,0 @@
1
- export default meta;
2
- export namespace Default {
3
- function render(args: any): any;
4
- namespace args {
5
- let level: string;
6
- let scanned: number;
7
- let total: number;
8
- }
9
- function play({ canvasElement }: {
10
- canvasElement: any;
11
- }): Promise<void>;
12
- }
13
- export namespace WithScanFailure {
14
- export function render_1(args: any): any;
15
- export { render_1 as render };
16
- export namespace args_1 {
17
- let level_1: string;
18
- export { level_1 as level };
19
- let scanned_1: number;
20
- export { scanned_1 as scanned };
21
- let total_1: number;
22
- export { total_1 as total };
23
- export let failure: boolean;
24
- }
25
- export { args_1 as args };
26
- export function play_1({ canvasElement }: {
27
- canvasElement: any;
28
- }): Promise<void>;
29
- export { play_1 as play };
30
- }
31
- export namespace Empty {
32
- export function render_2(args: any): any;
33
- export { render_2 as render };
34
- export namespace args_2 {
35
- let level_2: string;
36
- export { level_2 as level };
37
- let scanned_2: number;
38
- export { scanned_2 as scanned };
39
- let total_2: number;
40
- export { total_2 as total };
41
- export let matches: any[];
42
- }
43
- export { args_2 as args };
44
- }
45
- export namespace Transparency {
46
- export function render_3(args: any): any;
47
- export { render_3 as render };
48
- export namespace parameters {
49
- namespace controls {
50
- let include: string[];
51
- }
52
- }
53
- export namespace args_3 {
54
- export let destination: string;
55
- export let sent: string[];
56
- let _private: string[];
57
- export { _private as private };
58
- }
59
- export { args_3 as args };
60
- export function play_2({ canvasElement }: {
61
- canvasElement: any;
62
- }): Promise<void>;
63
- export { play_2 as play };
64
- }
65
- export namespace LightTheme {
66
- export function render_4(args: any): any;
67
- export { render_4 as render };
68
- export namespace args_4 {
69
- let level_3: string;
70
- export { level_3 as level };
71
- let scanned_3: number;
72
- export { scanned_3 as scanned };
73
- let total_3: number;
74
- export { total_3 as total };
75
- }
76
- export { args_4 as args };
77
- export namespace globals {
78
- let theme: string;
79
- namespace backgrounds {
80
- let value: string;
81
- }
82
- }
83
- }
84
- declare namespace meta {
85
- export let title: string;
86
- export { RedactionReview as component };
87
- export let tags: string[];
88
- export let decorators: Function[];
89
- export namespace argTypes {
90
- export namespace level_4 {
91
- let control: string;
92
- let options: string[];
93
- }
94
- export { level_4 as level };
95
- export namespace total_4 {
96
- let control_1: string;
97
- export { control_1 as control };
98
- }
99
- export { total_4 as total };
100
- export namespace scanned_4 {
101
- let control_2: string;
102
- export { control_2 as control };
103
- }
104
- export { scanned_4 as scanned };
105
- export namespace matches_1 {
106
- let control_3: boolean;
107
- export { control_3 as control };
108
- }
109
- export { matches_1 as matches };
110
- export namespace onToggle {
111
- let control_4: boolean;
112
- export { control_4 as control };
113
- }
114
- export namespace onLevel {
115
- let control_5: boolean;
116
- export { control_5 as control };
117
- }
118
- }
119
- }
120
- import { RedactionReview } from './Redaction.jsx';
@@ -1,23 +0,0 @@
1
- export default meta;
2
- export namespace Roster {
3
- function render(): any;
4
- }
5
- export namespace ConfirmRemove {
6
- export function render_1(): any;
7
- export { render_1 as render };
8
- export function play({ canvasElement }: {
9
- canvasElement: any;
10
- }): Promise<void>;
11
- }
12
- export namespace Danger {
13
- export let name: string;
14
- export function render_2(): any;
15
- export { render_2 as render };
16
- }
17
- declare namespace meta {
18
- export let title: string;
19
- export { RoleRoster as component };
20
- export let tags: string[];
21
- export let decorators: Function[];
22
- }
23
- import RoleRoster from './RoleRoster.jsx';
@@ -1,57 +0,0 @@
1
- export default meta;
2
- export namespace SplitButton {
3
- let name: string;
4
- let decorators: Function[];
5
- namespace args {
6
- let onSignIn: import("storybook/test").Mock<(...args: any[]) => any>;
7
- }
8
- function render(args: any): any;
9
- function play({ canvasElement, args }: {
10
- canvasElement: any;
11
- args: any;
12
- }): Promise<void>;
13
- }
14
- export namespace HandleClaimStory {
15
- let name_1: string;
16
- export { name_1 as name };
17
- let decorators_1: Function[];
18
- export { decorators_1 as decorators };
19
- export namespace args_1 {
20
- let onSubmit: import("storybook/test").Mock<(...args: any[]) => any>;
21
- let suggestedFrom: string;
22
- }
23
- export { args_1 as args };
24
- export function render_1(args: any): any;
25
- export { render_1 as render };
26
- export function play_1({ canvasElement }: {
27
- canvasElement: any;
28
- }): Promise<void>;
29
- export { play_1 as play };
30
- }
31
- export namespace States {
32
- let decorators_2: Function[];
33
- export { decorators_2 as decorators };
34
- export function render_2(): any;
35
- export { render_2 as render };
36
- }
37
- export namespace Combined {
38
- let name_2: string;
39
- export { name_2 as name };
40
- let decorators_3: Function[];
41
- export { decorators_3 as decorators };
42
- export function render_3(): any;
43
- export { render_3 as render };
44
- export function play_2({ canvasElement }: {
45
- canvasElement: any;
46
- }): Promise<void>;
47
- export { play_2 as play };
48
- }
49
- declare namespace meta {
50
- export let title: string;
51
- export { SignInProviders as component };
52
- export let tags: string[];
53
- export namespace parameters {
54
- let layout: string;
55
- }
56
- }
57
- import { SignInProviders } from './SignIn.jsx';
@@ -1,31 +0,0 @@
1
- export default meta;
2
- export namespace KPIs {
3
- let decorators: Function[];
4
- function render(): any;
5
- }
6
- export namespace Governance {
7
- let decorators_1: Function[];
8
- export { decorators_1 as decorators };
9
- export function render_1(): any;
10
- export { render_1 as render };
11
- }
12
- export namespace ProviderDistribution {
13
- let decorators_2: Function[];
14
- export { decorators_2 as decorators };
15
- export function render_2(): any;
16
- export { render_2 as render };
17
- }
18
- export namespace SingleTile {
19
- let decorators_3: Function[];
20
- export { decorators_3 as decorators };
21
- export function render_3(): any;
22
- export { render_3 as render };
23
- }
24
- declare namespace meta {
25
- export let title: string;
26
- export { StatTile as component };
27
- export namespace parameters {
28
- let layout: string;
29
- }
30
- }
31
- import { StatTile } from './StatTiles.jsx';
@@ -1,18 +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 Indicator {
9
- export function render_1(): any;
10
- export { render_1 as render };
11
- }
12
- declare namespace meta {
13
- export let title: string;
14
- export { StepWizard as component };
15
- export let tags: string[];
16
- export let decorators: Function[];
17
- }
18
- import StepWizard from './StepWizard.jsx';