@mittwald/flow-react-components 0.2.0-alpha.612 → 0.2.0-alpha.613

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 (48) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/assets/doc-properties.json +1032 -1032
  3. package/dist/css/all.css +1 -1
  4. package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs +1 -0
  5. package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs.map +1 -1
  6. package/dist/js/components/src/components/CartesianChart/components/Area/Area.mjs +10 -3
  7. package/dist/js/components/src/components/CartesianChart/components/Area/Area.mjs.map +1 -1
  8. package/dist/js/components/src/components/CartesianChart/components/ChartLegend/LegendContent.mjs +3 -8
  9. package/dist/js/components/src/components/CartesianChart/components/ChartLegend/LegendContent.mjs.map +1 -1
  10. package/dist/js/components/src/components/CartesianChart/components/ChartTooltip/TooltipContent.mjs +1 -8
  11. package/dist/js/components/src/components/CartesianChart/components/ChartTooltip/TooltipContent.mjs.map +1 -1
  12. package/dist/js/components/src/components/CartesianChart/components/Line/Line.mjs +6 -4
  13. package/dist/js/components/src/components/CartesianChart/components/Line/Line.mjs.map +1 -1
  14. package/dist/js/components/src/components/Color/Color.mjs.map +1 -1
  15. package/dist/js/components/src/components/DonutChart/DonutChart.mjs.map +1 -1
  16. package/dist/js/components/src/components/DonutChart/components/DonutChartFill.mjs +3 -1
  17. package/dist/js/components/src/components/DonutChart/components/DonutChartFill.mjs.map +1 -1
  18. package/dist/js/components/src/components/Legend/components/LegendItem/LegendItem.mjs +5 -2
  19. package/dist/js/components/src/components/Legend/components/LegendItem/LegendItem.mjs.map +1 -1
  20. package/dist/js/components/src/components/Legend/components/LegendItem/LegendItem.module.scss.mjs +1 -13
  21. package/dist/js/components/src/components/Legend/components/LegendItem/LegendItem.module.scss.mjs.map +1 -1
  22. package/dist/js/components/src/lib/tokens/CategoricalColors.mjs +10 -0
  23. package/dist/js/components/src/lib/tokens/CategoricalColors.mjs.map +1 -0
  24. package/dist/js/components/src/lib/tokens/isCategoricalColor.mjs +11 -0
  25. package/dist/js/components/src/lib/tokens/isCategoricalColor.mjs.map +1 -0
  26. package/dist/js/design-tokens/dist/variables.json.mjs +3 -1
  27. package/dist/js/design-tokens/dist/variables.json.mjs.map +1 -1
  28. package/dist/js/flr-universal.mjs +1 -0
  29. package/dist/js/flr-universal.mjs.map +1 -1
  30. package/dist/types/components/CartesianChart/components/Area/Area.d.ts +2 -2
  31. package/dist/types/components/CartesianChart/components/Area/Area.d.ts.map +1 -1
  32. package/dist/types/components/CartesianChart/components/ChartLegend/LegendContent.d.ts.map +1 -1
  33. package/dist/types/components/CartesianChart/components/ChartTooltip/TooltipContent.d.ts.map +1 -1
  34. package/dist/types/components/CartesianChart/components/Line/Line.d.ts +2 -2
  35. package/dist/types/components/CartesianChart/components/Line/Line.d.ts.map +1 -1
  36. package/dist/types/components/Color/Color.d.ts +2 -1
  37. package/dist/types/components/Color/Color.d.ts.map +1 -1
  38. package/dist/types/components/DonutChart/DonutChart.d.ts +2 -2
  39. package/dist/types/components/DonutChart/DonutChart.d.ts.map +1 -1
  40. package/dist/types/components/DonutChart/components/DonutChartFill.d.ts.map +1 -1
  41. package/dist/types/components/Legend/components/LegendItem/LegendItem.d.ts +2 -2
  42. package/dist/types/components/Legend/components/LegendItem/LegendItem.d.ts.map +1 -1
  43. package/dist/types/components/Legend/stories/Default.stories.d.ts.map +1 -1
  44. package/dist/types/lib/tokens/CategoricalColors.d.ts +1 -0
  45. package/dist/types/lib/tokens/CategoricalColors.d.ts.map +1 -1
  46. package/dist/types/lib/tokens/isCategoricalColor.d.ts +3 -0
  47. package/dist/types/lib/tokens/isCategoricalColor.d.ts.map +1 -0
  48. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
- import { CategoricalColor } from '../../../../lib/tokens/CategoricalColors';
2
+ import { CategoricalWithCustomColor } from '../../../../lib/tokens/CategoricalColors';
3
3
  import * as Recharts from "recharts";
4
4
  export interface AreaProps extends Pick<Recharts.AreaProps, "className" | "dataKey" | "stackId" | "fillOpacity" | "key" | "xAxisId" | "yAxisId" | "type" | "unit"> {
5
5
  /** The color of the area. @default "sea-green" */
6
- color?: CategoricalColor;
6
+ color?: CategoricalWithCustomColor;
7
7
  }
8
8
  /** @flr-generate all */
9
9
  export declare const Area: FC<AreaProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Area/Area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAChB,WAAW,GACX,SAAS,GACT,SAAS,GACT,aAAa,GACb,KAAK,GACL,SAAS,GACT,SAAS,GACT,MAAM,GACN,MAAM,CACT;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAc9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Area/Area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAGjF,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAChB,WAAW,GACX,SAAS,GACT,SAAS,GACT,aAAa,GACb,KAAK,GACL,SAAS,GACT,SAAS,GACT,MAAM,GACN,MAAM,CACT;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,0BAA0B,CAAC;CACpC;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAuB9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LegendContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/LegendContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,KAAK,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,yBAAyB,CAAC;AAE9E,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAoCxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"LegendContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/LegendContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,KAAK,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,yBAAyB,CAAC;AAE9E,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CA+BxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,QAAQ,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG5D,UAAU,mBACR,SAAQ,IAAI,CACR,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,EACjD,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CACpD,EACD,qBAAqB;CAAG;AAE5B,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,mDAoCxD,CAAC"}
1
+ {"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,QAAQ,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG5D,UAAU,mBACR,SAAQ,IAAI,CACR,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,EACjD,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CACpD,EACD,qBAAqB;CAAG;AAE5B,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,mDA+BxD,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
- import { CategoricalColor } from '../../../../lib/tokens/CategoricalColors';
2
+ import { CategoricalWithCustomColor } from '../../../../lib/tokens/CategoricalColors';
3
3
  import * as Recharts from "recharts";
4
4
  export interface LineProps extends Pick<Recharts.LineProps, "className" | "dataKey" | "key" | "xAxisId" | "yAxisId" | "type" | "unit"> {
5
5
  /** The color of the line. @default "sea-green" */
6
- color?: CategoricalColor;
6
+ color?: CategoricalWithCustomColor;
7
7
  }
8
8
  /** @flr-generate all */
9
9
  export declare const Line: FC<LineProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Line/Line.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAClB,WAAW,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAC1E;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAa9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Line/Line.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAGjF,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAClB,WAAW,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAC1E;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,0BAA0B,CAAC;CACpC;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAiB9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  declare const flowColors: readonly ["blue", "violet", "teal", "lilac", "danger", "warning", "info", "success"];
3
3
  type FlowColor = (typeof flowColors)[number];
4
+ type FlowWithCustomColor = FlowColor | (string & {});
4
5
  export interface ColorProps extends PropsWithChildren {
5
6
  /** The color of the element. @default "blue" */
6
- color?: FlowColor | (string & {});
7
+ color?: FlowWithCustomColor;
7
8
  }
8
9
  /** @flr-generate all */
9
10
  export declare const Color: FC<ColorProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/Color.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,QAAA,MAAM,UAAU,sFASN,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAO7C,MAAM,WAAW,UAAW,SAAQ,iBAAiB;IACnD,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACnC;AAED,wBAAwB;AACxB,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAYhC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/Color.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,QAAA,MAAM,UAAU,sFASN,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7C,KAAK,mBAAmB,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAOrD,MAAM,WAAW,UAAW,SAAQ,iBAAiB;IACnD,gDAAgD;IAChD,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B;AAED,wBAAwB;AACxB,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAYhC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { PropsWithStatus } from '../../lib/types/props';
3
- import { CategoricalColor } from '../../lib/tokens/CategoricalColors';
3
+ import { CategoricalWithCustomColor } from '../../lib/tokens/CategoricalColors';
4
4
  import * as Aria from "react-aria-components";
5
5
  export interface DonutChartSegment {
6
6
  value: number;
7
7
  title: string;
8
- color?: CategoricalColor;
8
+ color?: CategoricalWithCustomColor;
9
9
  valueText?: string;
10
10
  }
11
11
  export interface DonutChartProps extends Omit<Aria.ProgressBarProps, "children" | "valueLabel">, PropsWithStatus, PropsWithChildren {
@@ -1 +1 @@
1
- {"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAMvE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,YAAY,CAAC,EAC5D,eAAe,EACf,iBAAiB;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mDAAmD;IACnD,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtD;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0D1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../src/components/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAMjF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,0BAA0B,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,YAAY,CAAC,EAC5D,eAAe,EACf,iBAAiB;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mDAAmD;IACnD,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtD;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0D1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DonutChartFill.d.ts","sourceRoot":"","sources":["../../../../../src/components/DonutChart/components/DonutChartFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,UAAU,KAAM,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA6CpC,CAAC"}
1
+ {"version":3,"file":"DonutChartFill.d.ts","sourceRoot":"","sources":["../../../../../src/components/DonutChart/components/DonutChartFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI/D,UAAU,KAAM,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAkDpC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
- import { CategoricalColor } from '../../../../lib/tokens/CategoricalColors';
2
+ import { CategoricalWithCustomColor } from '../../../../lib/tokens/CategoricalColors';
3
3
  export interface LegendItemProps extends PropsWithChildren {
4
- color?: CategoricalColor;
4
+ color?: CategoricalWithCustomColor;
5
5
  }
6
6
  export declare const LegendItem: FC<LegendItemProps>;
7
7
  export default LegendItem;
@@ -1 +1 @@
1
- {"version":3,"file":"LegendItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Legend/components/LegendItem/LegendItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAa1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"LegendItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Legend/components/LegendItem/LegendItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAIjF,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,KAAK,CAAC,EAAE,0BAA0B,CAAC;CACpC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAoB1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Legend/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAc7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Legend/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAe7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { default as tokens } from '@mittwald/flow-design-tokens/variables.json';
2
2
  export declare const categoricalColors: (keyof typeof tokens.color.categorical)[];
3
3
  export type CategoricalColor = (typeof categoricalColors)[number];
4
+ export type CategoricalWithCustomColor = CategoricalColor | (string & {});
4
5
  //# sourceMappingURL=CategoricalColors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CategoricalColors.d.ts","sourceRoot":"","sources":["../../../../src/lib/tokens/CategoricalColors.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,6CAA6C,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAEzB,CAAC,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"CategoricalColors.d.ts","sourceRoot":"","sources":["../../../../src/lib/tokens/CategoricalColors.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,6CAA6C,CAAC;AAEjE,eAAO,MAAM,iBAAiB,EAEzB,CAAC,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAClE,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CategoricalColor } from './CategoricalColors';
2
+ export declare function isCategoricalColor(something: unknown): something is CategoricalColor;
3
+ //# sourceMappingURL=isCategoricalColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isCategoricalColor.d.ts","sourceRoot":"","sources":["../../../../src/lib/tokens/isCategoricalColor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,gCAAgC,CAAC;AAExC,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,OAAO,GACjB,SAAS,IAAI,gBAAgB,CAK/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.612",
3
+ "version": "0.2.0-alpha.613",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.612",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.613",
62
62
  "@mittwald/react-use-promise": "^4.2.2",
63
63
  "@react-aria/form": "^3.1.2",
64
64
  "@react-aria/live-announcer": "^3.4.4",
@@ -103,7 +103,7 @@
103
103
  "@faker-js/faker": "^10.1.0",
104
104
  "@internationalized/date": "^3.10.0",
105
105
  "@mittwald/flow-core": "",
106
- "@mittwald/flow-design-tokens": "0.2.0-alpha.612",
106
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.613",
107
107
  "@mittwald/react-use-promise": "^4.2.2",
108
108
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
109
109
  "@mittwald/typescript-config": "",
@@ -172,5 +172,5 @@
172
172
  "optional": true
173
173
  }
174
174
  },
175
- "gitHead": "c7ec3602bbd42bad564130106c7f046bfe84fddb"
175
+ "gitHead": "7499c3f356bb525772abdd40f8b8b5a3d1ba62ac"
176
176
  }