@factorialco/deprecated-design-system 0.0.7 → 0.0.8
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/README.md +1 -0
- package/dist/deprecated-design-system.d.ts +73 -2
- package/dist/deprecated-design-system.js +2756 -2737
- package/dist/deprecated-design-system.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This project is **deprecated**. See https://factorialteam.slack.com/archives/C1SFRSP7S/p1748334704204169 to know more about this.
|
|
@@ -120,11 +120,14 @@ declare interface BannerProps {
|
|
|
120
120
|
|
|
121
121
|
declare const bar: string;
|
|
122
122
|
|
|
123
|
-
export declare const BarChart: ({ data, keys, colors, indexBy, maxValue, margin, tooltip, axisBottom, colorBy, enabledGridY, onClick, isInteractive, pointer, }: Prop) => JSX_2.Element;
|
|
123
|
+
export declare const BarChart: ({ data, keys, colors, indexBy, maxValue, margin, tooltip, axisBottom, colorBy, enabledGridY, onClick, isInteractive, pointer, groupMode, legends, }: Prop) => JSX_2.Element;
|
|
124
124
|
|
|
125
125
|
export declare type BarChartTooltipType = {
|
|
126
126
|
label: string | number;
|
|
127
127
|
value: number;
|
|
128
|
+
color: string;
|
|
129
|
+
id: string | number;
|
|
130
|
+
index: number;
|
|
128
131
|
};
|
|
129
132
|
|
|
130
133
|
export declare type BarColor = [color: Colors, hoverColor: Colors];
|
|
@@ -271,6 +274,17 @@ export declare const BlankSlate: ({ title, description, illustration, size, chil
|
|
|
271
274
|
|
|
272
275
|
export declare const border: {
|
|
273
276
|
readonly color: {
|
|
277
|
+
readonly group1: string;
|
|
278
|
+
readonly group2: string;
|
|
279
|
+
readonly group3: string;
|
|
280
|
+
readonly group4: string;
|
|
281
|
+
readonly group5: string;
|
|
282
|
+
readonly group6: string;
|
|
283
|
+
readonly group7: string;
|
|
284
|
+
readonly group8: string;
|
|
285
|
+
readonly group9: string;
|
|
286
|
+
readonly group10: string;
|
|
287
|
+
readonly group11: string;
|
|
274
288
|
readonly moodSuperNegative: string;
|
|
275
289
|
readonly moodPositive: string;
|
|
276
290
|
readonly moodSuperPositive: string;
|
|
@@ -592,6 +606,17 @@ export declare type Colors = keyof typeof colors;
|
|
|
592
606
|
This file was auto generated using a script to automatically sync with FIGMA
|
|
593
607
|
*/
|
|
594
608
|
export declare const colors: {
|
|
609
|
+
readonly group1: string;
|
|
610
|
+
readonly group2: string;
|
|
611
|
+
readonly group3: string;
|
|
612
|
+
readonly group4: string;
|
|
613
|
+
readonly group5: string;
|
|
614
|
+
readonly group6: string;
|
|
615
|
+
readonly group7: string;
|
|
616
|
+
readonly group8: string;
|
|
617
|
+
readonly group9: string;
|
|
618
|
+
readonly group10: string;
|
|
619
|
+
readonly group11: string;
|
|
595
620
|
readonly moodSuperNegative: string;
|
|
596
621
|
readonly moodPositive: string;
|
|
597
622
|
readonly moodSuperPositive: string;
|
|
@@ -1904,7 +1929,7 @@ declare type Prop = {
|
|
|
1904
1929
|
data: Record<string, number | string>[];
|
|
1905
1930
|
keys: string[];
|
|
1906
1931
|
colors?: Colors[];
|
|
1907
|
-
maxValue: number;
|
|
1932
|
+
maxValue: number | 'auto';
|
|
1908
1933
|
margin?: Margin;
|
|
1909
1934
|
axisBottom?: ResponsiveBarProps['axisBottom'];
|
|
1910
1935
|
colorBy?: 'id' | 'indexValue';
|
|
@@ -1916,6 +1941,8 @@ declare type Prop = {
|
|
|
1916
1941
|
}) => void;
|
|
1917
1942
|
isInteractive?: boolean;
|
|
1918
1943
|
pointer?: boolean;
|
|
1944
|
+
groupMode?: 'grouped' | 'stacked';
|
|
1945
|
+
legends?: ResponsiveBarProps['legends'];
|
|
1919
1946
|
};
|
|
1920
1947
|
|
|
1921
1948
|
declare interface Props extends ComponentProps<typeof Button> {
|
|
@@ -3490,6 +3517,17 @@ export declare type Theme = 'legacy' | 'radical';
|
|
|
3490
3517
|
|
|
3491
3518
|
export declare const theme: {
|
|
3492
3519
|
colors: {
|
|
3520
|
+
group1: CSSVarFunction;
|
|
3521
|
+
group2: CSSVarFunction;
|
|
3522
|
+
group3: CSSVarFunction;
|
|
3523
|
+
group4: CSSVarFunction;
|
|
3524
|
+
group5: CSSVarFunction;
|
|
3525
|
+
group6: CSSVarFunction;
|
|
3526
|
+
group7: CSSVarFunction;
|
|
3527
|
+
group8: CSSVarFunction;
|
|
3528
|
+
group9: CSSVarFunction;
|
|
3529
|
+
group10: CSSVarFunction;
|
|
3530
|
+
group11: CSSVarFunction;
|
|
3493
3531
|
moodSuperNegative: CSSVarFunction;
|
|
3494
3532
|
moodPositive: CSSVarFunction;
|
|
3495
3533
|
moodSuperPositive: CSSVarFunction;
|
|
@@ -3877,6 +3915,17 @@ export declare const theme: {
|
|
|
3877
3915
|
}, CSSVarFunction>;
|
|
3878
3916
|
border: MapLeafNodes<{
|
|
3879
3917
|
readonly color: {
|
|
3918
|
+
readonly group1: string;
|
|
3919
|
+
readonly group2: string;
|
|
3920
|
+
readonly group3: string;
|
|
3921
|
+
readonly group4: string;
|
|
3922
|
+
readonly group5: string;
|
|
3923
|
+
readonly group6: string;
|
|
3924
|
+
readonly group7: string;
|
|
3925
|
+
readonly group8: string;
|
|
3926
|
+
readonly group9: string;
|
|
3927
|
+
readonly group10: string;
|
|
3928
|
+
readonly group11: string;
|
|
3880
3929
|
readonly moodSuperNegative: string;
|
|
3881
3930
|
readonly moodPositive: string;
|
|
3882
3931
|
readonly moodSuperPositive: string;
|
|
@@ -4201,6 +4250,17 @@ export declare const tokens: {
|
|
|
4201
4250
|
};
|
|
4202
4251
|
border: {
|
|
4203
4252
|
readonly color: {
|
|
4253
|
+
readonly group1: string;
|
|
4254
|
+
readonly group2: string;
|
|
4255
|
+
readonly group3: string;
|
|
4256
|
+
readonly group4: string;
|
|
4257
|
+
readonly group5: string;
|
|
4258
|
+
readonly group6: string;
|
|
4259
|
+
readonly group7: string;
|
|
4260
|
+
readonly group8: string;
|
|
4261
|
+
readonly group9: string;
|
|
4262
|
+
readonly group10: string;
|
|
4263
|
+
readonly group11: string;
|
|
4204
4264
|
readonly moodSuperNegative: string;
|
|
4205
4265
|
readonly moodPositive: string;
|
|
4206
4266
|
readonly moodSuperPositive: string;
|
|
@@ -4296,6 +4356,17 @@ export declare const tokens: {
|
|
|
4296
4356
|
readonly abs100: "100px";
|
|
4297
4357
|
};
|
|
4298
4358
|
colors: {
|
|
4359
|
+
readonly group1: string;
|
|
4360
|
+
readonly group2: string;
|
|
4361
|
+
readonly group3: string;
|
|
4362
|
+
readonly group4: string;
|
|
4363
|
+
readonly group5: string;
|
|
4364
|
+
readonly group6: string;
|
|
4365
|
+
readonly group7: string;
|
|
4366
|
+
readonly group8: string;
|
|
4367
|
+
readonly group9: string;
|
|
4368
|
+
readonly group10: string;
|
|
4369
|
+
readonly group11: string;
|
|
4299
4370
|
readonly moodSuperNegative: string;
|
|
4300
4371
|
readonly moodPositive: string;
|
|
4301
4372
|
readonly moodSuperPositive: string;
|