@mittwald/flow-react-components 0.2.0-alpha.753 → 0.2.0-alpha.755

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 (122) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/assets/doc-properties.json +12054 -12029
  3. package/dist/css/all.css +1 -1
  4. package/dist/js/packages/components/src/components/Badge/Badge.mjs +2 -1
  5. package/dist/js/packages/components/src/components/Badge/Badge.mjs.map +1 -1
  6. package/dist/js/packages/components/src/components/Badge/Badge.module.scss.mjs +3 -1
  7. package/dist/js/packages/components/src/components/Badge/Badge.module.scss.mjs.map +1 -1
  8. package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.mjs.map +1 -1
  9. package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.module.scss.mjs +3 -1
  10. package/dist/js/packages/components/src/components/Breadcrumb/Breadcrumb.module.scss.mjs.map +1 -1
  11. package/dist/js/packages/components/src/components/Button/Button.mjs +1 -1
  12. package/dist/js/packages/components/src/components/Button/Button.mjs.map +1 -1
  13. package/dist/js/packages/components/src/components/Button/Button.module.scss.mjs +2 -0
  14. package/dist/js/packages/components/src/components/Button/Button.module.scss.mjs.map +1 -1
  15. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.mjs +6 -1
  16. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.mjs.map +1 -1
  17. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.module.scss.mjs +3 -1
  18. package/dist/js/packages/components/src/components/HeaderNavigation/HeaderNavigation.module.scss.mjs.map +1 -1
  19. package/dist/js/packages/components/src/components/Heading/Heading.mjs.map +1 -1
  20. package/dist/js/packages/components/src/components/Heading/Heading.module.scss.mjs +6 -4
  21. package/dist/js/packages/components/src/components/Heading/Heading.module.scss.mjs.map +1 -1
  22. package/dist/js/packages/components/src/components/IllustratedMessage/IllustratedMessage.mjs +4 -3
  23. package/dist/js/packages/components/src/components/IllustratedMessage/IllustratedMessage.mjs.map +1 -1
  24. package/dist/js/packages/components/src/components/IllustratedMessage/IllustratedMessage.module.scss.mjs +3 -1
  25. package/dist/js/packages/components/src/components/IllustratedMessage/IllustratedMessage.module.scss.mjs.map +1 -1
  26. package/dist/js/packages/components/src/components/InlineCode/InlineCode.mjs +6 -1
  27. package/dist/js/packages/components/src/components/InlineCode/InlineCode.mjs.map +1 -1
  28. package/dist/js/packages/components/src/components/InlineCode/InlineCode.module.scss.mjs +4 -3
  29. package/dist/js/packages/components/src/components/InlineCode/InlineCode.module.scss.mjs.map +1 -1
  30. package/dist/js/packages/components/src/components/LightBox/LightBox.mjs +2 -2
  31. package/dist/js/packages/components/src/components/LightBox/LightBox.mjs.map +1 -1
  32. package/dist/js/packages/components/src/components/Link/Link.mjs.map +1 -1
  33. package/dist/js/packages/components/src/components/Link/Link.module.scss.mjs +3 -1
  34. package/dist/js/packages/components/src/components/Link/Link.module.scss.mjs.map +1 -1
  35. package/dist/js/packages/components/src/components/LoadingSpinner/LoadingSpinner.mjs.map +1 -1
  36. package/dist/js/packages/components/src/components/LoadingSpinner/LoadingSpinner.module.scss.mjs +4 -2
  37. package/dist/js/packages/components/src/components/LoadingSpinner/LoadingSpinner.module.scss.mjs.map +1 -1
  38. package/dist/js/packages/components/src/components/Markdown/Markdown.mjs +4 -5
  39. package/dist/js/packages/components/src/components/Markdown/Markdown.mjs.map +1 -1
  40. package/dist/js/packages/components/src/components/Separator/Separator.mjs +6 -2
  41. package/dist/js/packages/components/src/components/Separator/Separator.mjs.map +1 -1
  42. package/dist/js/packages/components/src/components/Separator/Separator.module.scss.mjs +4 -2
  43. package/dist/js/packages/components/src/components/Separator/Separator.module.scss.mjs.map +1 -1
  44. package/dist/js/packages/components/src/components/Text/Text.mjs +3 -2
  45. package/dist/js/packages/components/src/components/Text/Text.mjs.map +1 -1
  46. package/dist/js/packages/components/src/components/Text/Text.module.scss.mjs +4 -2
  47. package/dist/js/packages/components/src/components/Text/Text.module.scss.mjs.map +1 -1
  48. package/dist/js/packages/components/src/lib/types/props.mjs +14 -0
  49. package/dist/js/packages/components/src/lib/types/props.mjs.map +1 -0
  50. package/dist/js/packages/design-tokens/dist/variables.json.mjs +1 -1
  51. package/dist/types/components/Badge/Badge.d.ts +1 -1
  52. package/dist/types/components/Badge/Badge.d.ts.map +1 -1
  53. package/dist/types/components/Badge/stories/Default.stories.d.ts +1 -6
  54. package/dist/types/components/Badge/stories/Default.stories.d.ts.map +1 -1
  55. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +2 -1
  56. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  57. package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts +0 -2
  58. package/dist/types/components/Breadcrumb/stories/Default.stories.d.ts.map +1 -1
  59. package/dist/types/components/Button/Button.d.ts +2 -1
  60. package/dist/types/components/Button/Button.d.ts.map +1 -1
  61. package/dist/types/components/Button/stories/Default.stories.d.ts +0 -3
  62. package/dist/types/components/Button/stories/Default.stories.d.ts.map +1 -1
  63. package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts +2 -2
  64. package/dist/types/components/HeaderNavigation/HeaderNavigation.d.ts.map +1 -1
  65. package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts +0 -3
  66. package/dist/types/components/HeaderNavigation/stories/Default.stories.d.ts.map +1 -1
  67. package/dist/types/components/Heading/Heading.d.ts +2 -1
  68. package/dist/types/components/Heading/Heading.d.ts.map +1 -1
  69. package/dist/types/components/Heading/stories/Default.stories.d.ts +1 -6
  70. package/dist/types/components/Heading/stories/Default.stories.d.ts.map +1 -1
  71. package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts +2 -1
  72. package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts.map +1 -1
  73. package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +0 -6
  74. package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts.map +1 -1
  75. package/dist/types/components/InlineCode/InlineCode.d.ts +3 -2
  76. package/dist/types/components/InlineCode/InlineCode.d.ts.map +1 -1
  77. package/dist/types/components/InlineCode/stories/Default.stories.d.ts +0 -2
  78. package/dist/types/components/InlineCode/stories/Default.stories.d.ts.map +1 -1
  79. package/dist/types/components/Link/Link.d.ts +2 -2
  80. package/dist/types/components/Link/Link.d.ts.map +1 -1
  81. package/dist/types/components/Link/stories/Default.stories.d.ts +0 -4
  82. package/dist/types/components/Link/stories/Default.stories.d.ts.map +1 -1
  83. package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts +2 -1
  84. package/dist/types/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
  85. package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts +0 -2
  86. package/dist/types/components/LoadingSpinner/stories/Default.stories.d.ts.map +1 -1
  87. package/dist/types/components/Markdown/Markdown.d.ts +3 -3
  88. package/dist/types/components/Markdown/Markdown.d.ts.map +1 -1
  89. package/dist/types/components/Markdown/stories/Default.stories.d.ts +0 -3
  90. package/dist/types/components/Markdown/stories/Default.stories.d.ts.map +1 -1
  91. package/dist/types/components/Separator/Separator.d.ts +1 -1
  92. package/dist/types/components/Separator/Separator.d.ts.map +1 -1
  93. package/dist/types/components/Separator/stories/Default.stories.d.ts.map +1 -1
  94. package/dist/types/components/Text/Text.d.ts +2 -2
  95. package/dist/types/components/Text/Text.d.ts.map +1 -1
  96. package/dist/types/components/Text/stories/Default.stories.d.ts +0 -10
  97. package/dist/types/components/Text/stories/Default.stories.d.ts.map +1 -1
  98. package/dist/types/lib/dev/StoryBackground.d.ts +7 -0
  99. package/dist/types/lib/dev/StoryBackground.d.ts.map +1 -0
  100. package/dist/types/lib/types/props.d.ts +3 -0
  101. package/dist/types/lib/types/props.d.ts.map +1 -1
  102. package/package.json +6 -6
  103. package/dist/types/components/Badge/stories/EdgeCases.stories.d.ts +0 -7
  104. package/dist/types/components/Badge/stories/EdgeCases.stories.d.ts.map +0 -1
  105. package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts +0 -7
  106. package/dist/types/components/Breadcrumb/stories/EdgeCases.stories.d.ts.map +0 -1
  107. package/dist/types/components/Button/stories/EdgeCases.stories.d.ts +0 -7
  108. package/dist/types/components/Button/stories/EdgeCases.stories.d.ts.map +0 -1
  109. package/dist/types/components/Button/stories/States.stories.d.ts +0 -14
  110. package/dist/types/components/Button/stories/States.stories.d.ts.map +0 -1
  111. package/dist/types/components/Button/stories/Variants.stories.d.ts +0 -30
  112. package/dist/types/components/Button/stories/Variants.stories.d.ts.map +0 -1
  113. package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +0 -9
  114. package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts.map +0 -1
  115. package/dist/types/components/Heading/stories/Levels.stories.d.ts +0 -12
  116. package/dist/types/components/Heading/stories/Levels.stories.d.ts.map +0 -1
  117. package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +0 -8
  118. package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts.map +0 -1
  119. package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts +0 -7
  120. package/dist/types/components/InlineCode/stories/EdgeCases.stories.d.ts.map +0 -1
  121. package/dist/types/components/Link/stories/EdgeCases.stories.d.ts +0 -7
  122. package/dist/types/components/Link/stories/EdgeCases.stories.d.ts.map +0 -1
@@ -5,11 +5,6 @@ export default meta;
5
5
  type Story = StoryObj<typeof Badge>;
6
6
  export declare const Default: Story;
7
7
  export declare const WithScope: Story;
8
- export declare const WithOnPress: Story;
9
- export declare const WithOnClose: Story;
10
- export declare const WithScopeAndOnClose: Story;
11
- export declare const WithOnPressAndOnClose: Story;
8
+ export declare const WithActions: Story;
12
9
  export declare const WithContextMenu: Story;
13
- export declare const Light: Story;
14
- export declare const Dark: Story;
15
10
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAsB,MAAM,UAAU,CAAC;AAQ9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAiB5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAYjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAenC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAkBnB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAkBlB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAsB,MAAM,UAAU,CAAC;AAS9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAqB5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAkB7B,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { BreadcrumbItemProps } from './components/BreadcrumbItem';
3
+ import { AlphaColor } from '../../lib/types/props';
3
4
  import * as Aria from "react-aria-components";
4
5
  export interface BreadcrumbProps extends Omit<Aria.BreadcrumbsProps<BreadcrumbItemProps>, "children">, PropsWithChildren {
5
6
  /** The color of the breadcrumb. @default "primary" */
6
- color?: "primary" | "dark" | "light";
7
+ color?: "primary" | AlphaColor;
7
8
  /** The size of the element. @default "m" */
8
9
  size?: "s" | "m";
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumb/Breadcrumb.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,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAKvE,MAAM,WAAW,eACf,SACE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC,EAC5D,iBAAiB;IACnB,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IACrC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAClB;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyB1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumb/Breadcrumb.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,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,eACf,SACE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC,EAC5D,iBAAiB;IACnB,sDAAsD;IACtD,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,4CAA4C;IAC5C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAClB;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyB1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -4,6 +4,4 @@ declare const meta: Meta<typeof Breadcrumb>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Breadcrumb>;
6
6
  export declare const Default: Story;
7
- export declare const Dark: Story;
8
- export declare const Light: Story;
9
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAkBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAoBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
+ import { AlphaColor } from '../../lib/types/props';
3
4
  import * as Aria from "react-aria-components";
4
5
  export interface ButtonProps extends PropsWithChildren<Aria.ButtonProps>, FlowComponentProps<HTMLButtonElement> {
5
6
  /** Slot for button placement in action groups. */
6
7
  slot?: string;
7
8
  /** The color of the button. @default "primary" */
8
- color?: "primary" | "accent" | "secondary" | "danger" | "dark" | "light";
9
+ color?: "primary" | "accent" | "secondary" | "danger" | AlphaColor;
9
10
  /** The visual variant of the button. @default "solid" */
10
11
  variant?: "plain" | "solid" | "soft" | "outline";
11
12
  /** The size of the button. @default "m" */
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAO9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAM/E,MAAM,WAAW,WACf,SACE,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,EACnC,kBAAkB,CAAC,iBAAiB,CAAC;IACvC,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACzE,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kDAAkD;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;CAKtB;AA+CD,wBAAwB;AACxB,eAAO,MAAM,MAAM,mGA2GjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAO9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,WACf,SACE,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,EACnC,kBAAkB,CAAC,iBAAiB,CAAC;IACvC,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;IACnE,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kDAAkD;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;CAKtB;AA+CD,wBAAwB;AACxB,eAAO,MAAM,MAAM,mGA2GjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -4,10 +4,7 @@ declare const meta: Meta<typeof Button>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Button>;
6
6
  export declare const Default: Story;
7
- export declare const Small: Story;
8
7
  export declare const WithIcon: Story;
9
- export declare const SmallWithIcon: Story;
10
8
  export declare const WithTextAndIcon: Story;
11
- export declare const SmallWithTextAndIcon: Story;
12
9
  export declare const WithAvatar: Story;
13
10
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAY/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA+B7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AACrC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAO3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAO7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAUlC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAc/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAmD7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AACrC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAS7B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAexB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { ComponentProps, FC, PropsWithChildren } from 'react';
2
- import { PropsWithClassName } from '../../lib/types/props';
2
+ import { AlphaColor, PropsWithClassName } from '../../lib/types/props';
3
3
  export interface HeaderNavigationProps extends PropsWithChildren<ComponentProps<"nav">>, PropsWithClassName {
4
4
  /** The color of the header navigation. @default "primary" */
5
- color?: "primary" | "dark" | "light";
5
+ color?: "primary" | AlphaColor;
6
6
  }
7
7
  /** @flr-generate all */
8
8
  export declare const HeaderNavigation: FC<HeaderNavigationProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderNavigation/HeaderNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,MAAM,WAAW,qBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB;IACpE,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;CACtC;AAED,wBAAwB;AACxB,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA+BtD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"HeaderNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderNavigation/HeaderNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQnE,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,kBAAkB,EACxB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,WAAW,qBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB;IACpE,6DAA6D;IAC7D,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CAChC;AAED,wBAAwB;AACxB,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAmCtD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -4,7 +4,4 @@ declare const meta: Meta<typeof HeaderNavigation>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof HeaderNavigation>;
6
6
  export declare const Default: Story;
7
- export declare const WithContextMenu: Story;
8
- export declare const Dark: Story;
9
- export declare const Light: Story;
10
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeaderNavigation/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAUvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAajE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAuBvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,KAoC7B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeaderNavigation/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAgBjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAoDvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { AlphaColor } from '../../lib/types/props';
1
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
2
3
  export * from './view';
3
4
  import * as Aria from "react-aria-components";
@@ -5,7 +6,7 @@ export interface HeadingProps extends Aria.HeadingProps, FlowComponentProps {
5
6
  /** The font size of the heading. */
6
7
  size?: "xs" | "s" | "m" | "l" | "xl" | "xxl";
7
8
  /** The color of the heading. @default "primary" */
8
- color?: "primary" | "danger" | "unavailable" | "dark" | "light";
9
+ color?: "primary" | "danger" | "unavailable" | AlphaColor;
9
10
  /** The text-wrap property of the text. @default undefined */
10
11
  wrap?: "wrap" | "balance";
11
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAKvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,kBAAkB;IACzE,oCAAoC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;IAC7C,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC;IAChE,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,iGA6DlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,cAAc,QAAQ,CAAC;AAKvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,kBAAkB;IACzE,oCAAoC;IACpC,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;IAC7C,mDAAmD;IACnD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,UAAU,CAAC;IAC1D,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,iGA6DlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -4,11 +4,6 @@ declare const meta: Meta<typeof Heading>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Heading>;
6
6
  export declare const Default: Story;
7
- export declare const WithIcon: Story;
8
- export declare const WithCustomSize: Story;
9
- export declare const Dark: Story;
10
- export declare const Light: Story;
11
- export declare const Danger: Story;
12
- export declare const Unavailable: Story;
7
+ export declare const AdditionalContent: Story;
13
8
  export declare const Wrap: Story;
14
9
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,OAAO,MAAM,YAAY,CAAC;AAKjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAqB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Heading/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,OAAO,MAAM,YAAY,CAAC;AASjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAuB9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,iBAAiB,EAAE,KAU/B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KASlB,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { ComponentProps, PropsWithChildren } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
+ import { AlphaColor } from '../../lib/types/props';
3
4
  export interface IllustratedMessageProps extends PropsWithChildren<ComponentProps<"div">>, FlowComponentProps {
4
5
  /** The color of the illustrated message. @default "primary" */
5
- color?: "primary" | "danger" | "unavailable" | "light" | "dark";
6
+ color?: "primary" | "danger" | "unavailable" | AlphaColor;
6
7
  }
7
8
  /** @flr-generate all */
8
9
  export declare const IllustratedMessage: import('react').FunctionComponent<IllustratedMessageProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"IllustratedMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/IllustratedMessage/IllustratedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,uBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB;IACpE,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;CACjE;AAED,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,4GA4C9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"IllustratedMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/IllustratedMessage/IllustratedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAElE,MAAM,WAAW,uBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB;IACpE,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,UAAU,CAAC;CAC3D;AAED,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,4GA2C9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -4,12 +4,6 @@ declare const meta: Meta<typeof IllustratedMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof IllustratedMessage>;
6
6
  export declare const Default: Story;
7
- export declare const Danger: Story;
8
- export declare const Unavailable: Story;
9
- export declare const Dark: Story;
10
- export declare const Light: Story;
11
7
  export declare const WithActionGroup: Story;
12
8
  export declare const WithProgressBar: Story;
13
- export declare const InSection: Story;
14
- export declare const InModal: Story;
15
9
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAmBvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAiBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/IllustratedMessage/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAavD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAmBzC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,eAAe,EAAE,KAiB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAoB7B,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { ComponentProps, FC, PropsWithChildren } from 'react';
2
+ import { AlphaColor } from '../../lib/types/props';
2
3
  export interface InlineCodeProps extends PropsWithChildren<ComponentProps<"code">> {
3
- /** The color schema of the inline code component. */
4
- color?: "default" | "light" | "dark";
4
+ /** The color schema of the inline code component. @default "default" */
5
+ color?: "default" | AlphaColor;
5
6
  }
6
7
  /** @flr-generate all */
7
8
  export declare const InlineCode: FC<InlineCodeProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../../../src/components/InlineCode/InlineCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInE,MAAM,WAAW,eAAgB,SAAQ,iBAAiB,CACxD,cAAc,CAAC,MAAM,CAAC,CACvB;IACC,qDAAqD;IACrD,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CACtC;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAU1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../../../src/components/InlineCode/InlineCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAElE,MAAM,WAAW,eAAgB,SAAQ,iBAAiB,CACxD,cAAc,CAAC,MAAM,CAAC,CACvB;IACC,wEAAwE;IACxE,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CAChC;AAED,wBAAwB;AACxB,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAc1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -4,6 +4,4 @@ declare const meta: Meta<typeof InlineCode>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof InlineCode>;
6
6
  export declare const Default: Story;
7
- export declare const Dark: Story;
8
- export declare const Light: Story;
9
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InlineCode/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,UAAU,MAAM,eAAe,CAAC;AAKvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InlineCode/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,UAAU,MAAM,eAAe,CAAC;AAOvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, ComponentType, CSSProperties, PropsWithChildren } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
- import { PropsWithClassName } from '../../lib/types/props';
3
+ import { AlphaColor, PropsWithClassName } from '../../lib/types/props';
4
4
  import * as Aria from "react-aria-components";
5
5
  export interface LinkProps extends PropsWithChildren<Omit<Aria.LinkProps, "children" | "slot" | "className">>, FlowComponentProps<HTMLAnchorElement>, PropsWithClassName {
6
6
  /** Whether the link should be styled for being displayed inside a text. */
@@ -8,7 +8,7 @@ export interface LinkProps extends PropsWithChildren<Omit<Aria.LinkProps, "child
8
8
  /** An alternative link component. */
9
9
  linkComponent?: ComponentType<Omit<ComponentProps<"a">, "ref">>;
10
10
  /** The color of the link. @default "primary" */
11
- color?: "primary" | "dark" | "light";
11
+ color?: "primary" | AlphaColor;
12
12
  "aria-current"?: string;
13
13
  slot?: string;
14
14
  /** The whiteSpace css value of the element. */
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,MAAM,WAAW,SACf,SACE,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC,EAC1E,kBAAkB,CAAC,iBAAiB,CAAC,EACrC,kBAAkB;IACpB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qCAAqC;IACrC,aAAa,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IAChE,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAGlB;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,iGAgEf,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAIxE,MAAM,WAAW,SACf,SACE,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC,EAC1E,kBAAkB,CAAC,iBAAiB,CAAC,EACrC,kBAAkB;IACpB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qCAAqC;IACrC,aAAa,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IAChE,gDAAgD;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACzC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;CAGlB;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,iGAgEf,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -5,11 +5,7 @@ export default meta;
5
5
  type Story = StoryObj<typeof Link>;
6
6
  export declare const Default: Story;
7
7
  export declare const Inline: Story;
8
- export declare const Disabled: Story;
9
8
  export declare const WithIcon: Story;
10
- export declare const Dark: Story;
11
- export declare const Light: Story;
12
9
  export declare const ExternalLink: Story;
13
10
  export declare const Download: Story;
14
- export declare const WithAlertText: Story;
15
11
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Link/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAsB3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC;AAE9D,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAG1B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAGtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAO3B,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Link/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,IAAI,MAAM,SAAS,CAAC;AAQ3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA2B3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { FC } from 'react';
2
2
  import { IconProps } from '../Icon';
3
+ import { AlphaColor } from '../../lib/types/props';
3
4
  export interface LoadingSpinnerProps extends IconProps {
4
5
  /** The color of the loading spinner. @default "default" */
5
- color?: "default" | "dark" | "light";
6
+ color?: "default" | AlphaColor;
6
7
  }
7
8
  /** @flr-generate all */
8
9
  export declare const LoadingSpinner: FC<LoadingSpinnerProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;CACtC;AAED,wBAAwB;AACxB,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAUlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CAChC;AAED,wBAAwB;AACxB,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAUlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -4,6 +4,4 @@ declare const meta: Meta<typeof LoadingSpinner>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof LoadingSpinner>;
6
6
  export declare const Default: Story;
7
- export declare const Dark: Story;
8
- export declare const Light: Story;
9
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,cAAc,MAAM,4CAA4C,CAAC;AAExE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAgBrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingSpinner/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,cAAc,MAAM,4CAA4C,CAAC;AAIxE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAyBrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { FC, Ref } from 'react';
2
2
  import { Options } from 'react-markdown';
3
- import { PropsWithClassName } from '../../lib/types/props';
3
+ import { AlphaColor, PropsWithClassName } from '../../lib/types/props';
4
4
  export interface MarkdownProps extends PropsWithClassName, Omit<Options, "components"> {
5
- /** The color schema of the markdown component. */
6
- color?: "dark" | "light" | "default";
5
+ /** The color schema of the markdown component. @default "default" */
6
+ color?: "default" | AlphaColor;
7
7
  /** Shifts all heading levels by the given offset. @default 0 */
8
8
  headingOffset?: number;
9
9
  ref?: Ref<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Markdown/Markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,EAAE,EAAa,GAAG,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,KAAK,EAAc,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAI1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAM5D,MAAM,WAAW,aACf,SAAQ,kBAAkB,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC;IACvD,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACrC,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2HtC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Markdown/Markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,EAAE,EAAa,GAAG,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,KAAK,EAAc,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAI1D,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAMxE,MAAM,WAAW,aACf,SAAQ,kBAAkB,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC;IACvD,qEAAqE;IACrE,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA0HtC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -4,7 +4,4 @@ declare const meta: Meta<typeof Markdown>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Markdown>;
6
6
  export declare const Default: Story;
7
- export declare const Dark: Story;
8
- export declare const Light: Story;
9
- export declare const WithOffset: Story;
10
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAwB/B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAQlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAsC,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAkC/B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import * as Aria from "react-aria-components";
3
- export type SeparatorProps = Omit<Aria.SeparatorProps, "orientation">;
3
+ export type SeparatorProps = Aria.SeparatorProps;
4
4
  /** @flr-generate all */
5
5
  export declare const Separator: FC<SeparatorProps>;
6
6
  export default Separator;
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/components/Separator/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;AAEtE,wBAAwB;AACxB,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/components/Separator/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;AAEjD,wBAAwB;AACxB,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAYxC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Separator/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAIhC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Separator/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAsBhC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { PropsWithChildren, default as React } from 'react';
2
- import { PropsWithElementType } from '../../lib/types/props';
2
+ import { AlphaColor, PropsWithElementType } from '../../lib/types/props';
3
3
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
4
4
  import * as Aria from "react-aria-components";
5
5
  export interface TextProps extends PropsWithChildren, Omit<Aria.TextProps, "children" | "elementType">, PropsWithElementType<"span" | "div" | "p">, FlowComponentProps {
6
6
  emulateBoldWidth?: boolean;
7
- color?: "light" | "dark";
7
+ color?: "default" | AlphaColor;
8
8
  align?: "start" | "end" | "center";
9
9
  wrap?: "wrap" | "balance" | "pretty";
10
10
  whiteSpace?: React.CSSProperties["whiteSpace"];
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAO/E,MAAM,WAAW,SACf,SACE,iBAAiB,EACjB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,aAAa,CAAC,EAChD,oBAAoB,CAAC,MAAM,GAAG,KAAK,GAAG,GAAG,CAAC,EAC1C,kBAAkB;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEzB,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAEnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IAErC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAE/C,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC9C;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,0EA+Df,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,oBAAoB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAO/E,MAAM,WAAW,SACf,SACE,iBAAiB,EACjB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,aAAa,CAAC,EAChD,oBAAoB,CAAC,MAAM,GAAG,KAAK,GAAG,GAAG,CAAC,EAC1C,kBAAkB;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAE/B,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAEnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IAErC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAE/C,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CAC9C;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,0EA+Df,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -4,14 +4,4 @@ declare const meta: Meta<typeof Text>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Text>;
6
6
  export declare const Default: Story;
7
- export declare const RawText: Story;
8
- export declare const UnorderedList: Story;
9
- export declare const OrderedList: Story;
10
- export declare const SmallText: Story;
11
- export declare const Dark: Story;
12
- export declare const Light: Story;
13
- export declare const AlignEnd: Story;
14
- export declare const WrapBalance: Story;
15
- export declare const WithIcon: Story;
16
- export declare const WithWordBreak: Story;
17
7
  //# sourceMappingURL=Default.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,IAAI,MAAM,SAAS,CAAC;AAO3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAqB3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAkC,CAAC;AAE1D,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,IAAI,MAAM,SAAS,CAAC;AAM3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAkC3B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ interface Props extends PropsWithChildren {
3
+ color?: string;
4
+ }
5
+ export declare const StoryBackground: FC<Props>;
6
+ export {};
7
+ //# sourceMappingURL=StoryBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoryBackground.d.ts","sourceRoot":"","sources":["../../../../src/lib/dev/StoryBackground.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/D,UAAU,KAAM,SAAQ,iBAAiB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CAmBrC,CAAC"}
@@ -17,4 +17,7 @@ export type ContainerBreakpointSize = "xs" | "s" | "m" | "l" | "xl";
17
17
  export interface PropsWithContainerBreakpointSize {
18
18
  containerBreakpointSize?: ContainerBreakpointSize;
19
19
  }
20
+ export declare const alphaColors: readonly ["dark", "light", "dark-static", "light-static"];
21
+ export type AlphaColor = (typeof alphaColors)[number];
22
+ export declare function isAlphaColor(color: string): color is AlphaColor;
20
23
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG;IACxE,0BAA0B;IAC1B,MAAM,CAAC,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF,MAAM,WAAW,eAAe;CAG/B;AAED,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,MAAM,qBAAqB,GAAG,KAAK,IAC3C,cAAc,CAAC,WAAW,CAAC,GAAG;IAChC,WAAW,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEpE,MAAM,WAAW,gCAAgC;IAC/C,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG;IACxE,0BAA0B;IAC1B,MAAM,CAAC,EAAE,CAAC,CAAC;CACZ,CAAC;AAEF,MAAM,WAAW,eAAe;CAG/B;AAED,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,MAAM,qBAAqB,GAAG,KAAK,IAC3C,cAAc,CAAC,WAAW,CAAC,GAAG;IAChC,WAAW,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEpE,MAAM,WAAW,gCAAgC;IAC/C,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACnD;AAED,eAAO,MAAM,WAAW,2DAKd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAE/D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.753",
3
+ "version": "0.2.0-alpha.755",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -60,9 +60,9 @@
60
60
  "@codemirror/lint": "^6.9.5",
61
61
  "@internationalized/string-compiler": "^3.2.6",
62
62
  "@lezer/highlight": "^1.2.3",
63
- "@mittwald/flow-icons": "0.2.0-alpha.753",
63
+ "@mittwald/flow-icons": "0.2.0-alpha.755",
64
64
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
65
- "@mittwald/react-tunnel": "0.2.0-alpha.753",
65
+ "@mittwald/react-tunnel": "0.2.0-alpha.755",
66
66
  "@mittwald/react-use-promise": "^4.2.2",
67
67
  "@react-aria/form": "^3.1.3",
68
68
  "@react-aria/live-announcer": "^3.4.4",
@@ -112,7 +112,7 @@
112
112
  "@lezer/generator": "^1.8.0",
113
113
  "@lezer/lr": "^1.4.8",
114
114
  "@mittwald/flow-core": "",
115
- "@mittwald/flow-design-tokens": "0.2.0-alpha.753",
115
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.755",
116
116
  "@mittwald/flow-icons-base": "",
117
117
  "@mittwald/react-use-promise": "^4.2.2",
118
118
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
@@ -165,7 +165,7 @@
165
165
  },
166
166
  "peerDependencies": {
167
167
  "@internationalized/date": "^3.10.0",
168
- "@mittwald/flow-icons-pro": "0.2.0-alpha.752",
168
+ "@mittwald/flow-icons-pro": "0.2.0-alpha.754",
169
169
  "@mittwald/react-use-promise": "^4.2.2",
170
170
  "next": "*",
171
171
  "react": "^19.2.0",
@@ -186,5 +186,5 @@
186
186
  "optional": true
187
187
  }
188
188
  },
189
- "gitHead": "156add30989e720548b38b3b8431fe4290208080"
189
+ "gitHead": "dcbd9f9f1d795134583af7803dff195ab6f39c8b"
190
190
  }
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Badge } from '../Badge';
3
- declare const meta: Meta<typeof Badge>;
4
- export default meta;
5
- type Story = StoryObj<typeof Badge>;
6
- export declare const LongText: Story;
7
- //# sourceMappingURL=EdgeCases.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,MAAM,UAAU,CAAC;AAO7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAG5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Breadcrumb } from '../index';
3
- declare const meta: Meta<typeof Breadcrumb>;
4
- export default meta;
5
- type Story = StoryObj<typeof Breadcrumb>;
6
- export declare const LongTexts: Story;
7
- //# sourceMappingURL=EdgeCases.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,UAAU,MAAM,UAAU,CAAC;AAMlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Button } from '../Button';
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof Button>;
6
- export declare const LongText: Story;
7
- //# sourceMappingURL=EdgeCases.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAK/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
@@ -1,14 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Button } from '../Button';
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof Button>;
6
- export declare const ReadOnly: Story;
7
- export declare const DisabledSolid: Story;
8
- export declare const DisabledPlain: Story;
9
- export declare const PendingSolid: Story;
10
- export declare const PendingPlain: Story;
11
- export declare const PendingPlainWithIcon: Story;
12
- export declare const SucceededSolid: Story;
13
- export declare const FailedPlain: Story;
14
- //# sourceMappingURL=States.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"States.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/stories/States.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,MAAM,MAAM,WAAW,CAAC;AAO/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAI1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAUlC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAI5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC"}