@mittwald/flow-react-components 0.1.0-alpha.32 → 0.1.0-alpha.34

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.
@@ -0,0 +1,2 @@
1
+ import { ReactNode } from "react";
2
+ export declare const getVariantFromChildren: (children: ReactNode | undefined) => number;
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof Avatar>;
6
6
  export declare const Default: Story;
7
7
  export declare const WithInitials: Story;
8
+ export declare const WithIcon: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.32",
3
+ "version": "0.1.0-alpha.34",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -156,6 +156,7 @@
156
156
  "clsx": "^2.1.0",
157
157
  "copy-to-clipboard": "^3.3.3",
158
158
  "html-react-parser": "^5.1.8",
159
+ "object-code": "^1.3.3",
159
160
  "react-aria": "^3.32.1",
160
161
  "react-aria-components": "^1.1.1",
161
162
  "react-children-utilities": "^2.10.0",
@@ -164,7 +165,7 @@
164
165
  },
165
166
  "devDependencies": {
166
167
  "@jest/globals": "^29.7.0",
167
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.32",
168
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.34",
168
169
  "@nx/storybook": "^18.1.0",
169
170
  "@storybook/addon-a11y": "^7.6.17",
170
171
  "@storybook/addon-actions": "^7.6.17",
@@ -229,5 +230,5 @@
229
230
  "optional": true
230
231
  }
231
232
  },
232
- "gitHead": "f11e9783b056c8094e7ba9456c0e1c0fd0cdfc85"
233
+ "gitHead": "90ecf44d1ba5eb2ed126efca404d315c120e5f14"
233
234
  }
@@ -1 +0,0 @@
1
- export declare const getVariantFromString: (str: string) => number;
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import Initials from "../Initials";
3
- declare const meta: Meta<typeof Initials>;
4
- export default meta;
5
- type Story = StoryObj<typeof Initials>;
6
- export declare const Variant1: Story;
7
- export declare const Variant2: Story;
8
- export declare const Variant3: Story;
9
- export declare const Variant4: Story;