@mittwald/flow-react-components 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/Avatar.d.ts +14 -0
- package/dist/Avatar.js +25 -0
- package/dist/Badge.d.ts +18 -0
- package/dist/Badge.js +39 -0
- package/dist/Button-e6_nSMC7.js +41 -0
- package/dist/Button.d.ts +15 -0
- package/dist/Button.js +14 -0
- package/dist/Checkbox.d.ts +12 -0
- package/dist/Checkbox.js +76 -0
- package/dist/Content.d.ts +13 -0
- package/dist/Content.js +20 -0
- package/dist/CopyToClipboardButton.d.ts +20 -0
- package/dist/CopyToClipboardButton.js +140 -0
- package/dist/FieldDescription.d.ts +12 -0
- package/dist/FieldDescription.js +19 -0
- package/dist/FieldError-O1TRrMMj.js +17 -0
- package/dist/FieldError.d.ts +12 -0
- package/dist/FieldError.js +13 -0
- package/dist/Heading.d.ts +13 -0
- package/dist/Heading.js +26 -0
- package/dist/Icon-ZFuEzyOR.js +55 -0
- package/dist/Icon.d.ts +18 -0
- package/dist/Icon.js +14 -0
- package/dist/Image.d.ts +11 -0
- package/dist/Image.js +11 -0
- package/dist/Initials.d.ts +14 -0
- package/dist/Initials.js +30 -0
- package/dist/Label.d.ts +13 -0
- package/dist/Label.js +26 -0
- package/dist/LabeledValue.d.ts +12 -0
- package/dist/LabeledValue.js +32 -0
- package/dist/Link.d.ts +14 -0
- package/dist/Link.js +25 -0
- package/dist/Navigation.d.ts +22 -0
- package/dist/Navigation.js +53 -0
- package/dist/Note.d.ts +18 -0
- package/dist/Note.js +47 -0
- package/dist/PropsContextProvider-1ZntTV8J.js +26 -0
- package/dist/RadioGroup.d.ts +17 -0
- package/dist/RadioGroup.js +91 -0
- package/dist/StatusIcon-R1Q9m-y9.js +118 -0
- package/dist/StatusIcon.d.ts +17 -0
- package/dist/StatusIcon.js +16 -0
- package/dist/Switch.d.ts +16 -0
- package/dist/Switch.js +30 -0
- package/dist/Text-ZKs-d7Xd.js +19 -0
- package/dist/Text.d.ts +12 -0
- package/dist/Text.js +12 -0
- package/dist/TextArea.d.ts +17 -0
- package/dist/TextArea.js +28 -0
- package/dist/TextField.d.ts +17 -0
- package/dist/TextField.js +21 -0
- package/dist/TextFieldBase-aIybTXPT.js +33 -0
- package/dist/Tooltip-tMnxO0-t.js +16 -0
- package/dist/Tooltip.d.ts +17 -0
- package/dist/Tooltip.js +12 -0
- package/dist/TooltipTrigger-r60QhGZc.js +11 -0
- package/dist/TooltipTrigger.d.ts +12 -0
- package/dist/TooltipTrigger.js +9 -0
- package/dist/clsx-F0OAuoLf.js +24 -0
- package/dist/propsContext-1HT-3SRC.js +7 -0
- package/dist/styles.css +1 -0
- package/dist/stylesInit.d.ts +4 -0
- package/dist/stylesInit.js +6 -0
- package/dist/useProps-5ZdbXCrH.js +27 -0
- package/package.json +131 -0
package/package.json
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mittwald/flow-react-components",
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
|
+
"homepage": "https://mittwald.github.io/flow",
|
|
7
|
+
"repository": "https://github.com/mittwald/flow",
|
|
8
|
+
"exports": {
|
|
9
|
+
"./Avatar": "./dist/Avatar.js",
|
|
10
|
+
"./Badge": "./dist/Badge.js",
|
|
11
|
+
"./Button": "./dist/Button.js",
|
|
12
|
+
"./Checkbox": "./dist/Checkbox.js",
|
|
13
|
+
"./Content": "./dist/Content.js",
|
|
14
|
+
"./CopyToClipboardButton": "./dist/CopyToClipboardButton.js",
|
|
15
|
+
"./FieldDescription": "./dist/FieldDescription.js",
|
|
16
|
+
"./FieldError": "./dist/FieldError.js",
|
|
17
|
+
"./Heading": "./dist/Heading.js",
|
|
18
|
+
"./Icon": "./dist/Icon.js",
|
|
19
|
+
"./Image": "./dist/Image.js",
|
|
20
|
+
"./Initials": "./dist/Initials.js",
|
|
21
|
+
"./Label": "./dist/Label.js",
|
|
22
|
+
"./LabeledValue": "./dist/LabeledValue.js",
|
|
23
|
+
"./Link": "./dist/Link.js",
|
|
24
|
+
"./Navigation": "./dist/Navigation.js",
|
|
25
|
+
"./Note": "./dist/Note.js",
|
|
26
|
+
"./RadioGroup": "./dist/RadioGroup.js",
|
|
27
|
+
"./StatusIcon": "./dist/StatusIcon.js",
|
|
28
|
+
"./Switch": "./dist/Switch.js",
|
|
29
|
+
"./Text": "./dist/Text.js",
|
|
30
|
+
"./TextArea": "./dist/TextArea.js",
|
|
31
|
+
"./TextField": "./dist/TextField.js",
|
|
32
|
+
"./Tooltip": "./dist/Tooltip.js",
|
|
33
|
+
"./styles": "./dist/styles.css"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "run vite build --config vite.build.config.ts",
|
|
40
|
+
"build:deps": "",
|
|
41
|
+
"build:deps:run": "yarn run -T lerna run build:deps --scope=@mittwald/flow-react-components",
|
|
42
|
+
"build:watch:dependents": "yarn build:deps:run && run -T lerna watch --scope=@mittwald/flow-react-components --include-dependencies -- lerna run build:deps --scope=@mittwald/flow-react-components",
|
|
43
|
+
"dev": "run storybook:start",
|
|
44
|
+
"storybook:build": "run storybook build",
|
|
45
|
+
"storybook:start": "run storybook dev -p 6006",
|
|
46
|
+
"test": "concurrently yarn:test:compile yarn:test:unit",
|
|
47
|
+
"test:compile": "tsc --noEmit",
|
|
48
|
+
"test:unit": "yarn node --experimental-vm-modules $(yarn bin jest)"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
52
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
53
|
+
"@react-aria/utils": "^3.23.0",
|
|
54
|
+
"@react-types/shared": "^3.22.0",
|
|
55
|
+
"clsx": "^2.1.0",
|
|
56
|
+
"copy-to-clipboard": "^3.3.3",
|
|
57
|
+
"html-react-parser": "^5.1.1",
|
|
58
|
+
"react-aria": "^3.31.1",
|
|
59
|
+
"react-aria-components": "^1.0.1",
|
|
60
|
+
"react-children-utilities": "^2.10.0",
|
|
61
|
+
"react-stately": "^3.29.1",
|
|
62
|
+
"remeda": "^1.40.0"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
|
66
|
+
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
67
|
+
"@jest/globals": "^29.7.0",
|
|
68
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.8",
|
|
69
|
+
"@nx/storybook": "^18.0.1",
|
|
70
|
+
"@storybook/addon-a11y": "^7.6.12",
|
|
71
|
+
"@storybook/addon-actions": "^7.6.12",
|
|
72
|
+
"@storybook/addon-essentials": "^7.6.12",
|
|
73
|
+
"@storybook/addon-interactions": "^7.6.12",
|
|
74
|
+
"@storybook/addon-links": "^7.6.12",
|
|
75
|
+
"@storybook/blocks": "^7.6.12",
|
|
76
|
+
"@storybook/builder-vite": "^7.6.12",
|
|
77
|
+
"@storybook/components": "^7.6.12",
|
|
78
|
+
"@storybook/core-events": "^7.6.12",
|
|
79
|
+
"@storybook/manager-api": "^7.6.12",
|
|
80
|
+
"@storybook/preview-api": "^7.6.12",
|
|
81
|
+
"@storybook/react": "^7.6.12",
|
|
82
|
+
"@storybook/react-vite": "^7.6.12",
|
|
83
|
+
"@storybook/testing-library": "^0.2.2",
|
|
84
|
+
"@storybook/theming": "^7.6.12",
|
|
85
|
+
"@testing-library/react": "^14.2.1",
|
|
86
|
+
"@types/jest": "^29.5.12",
|
|
87
|
+
"@types/prop-types": "^15.7.11",
|
|
88
|
+
"@types/react": "^18.2.53",
|
|
89
|
+
"@types/react-dom": "^18.2.18",
|
|
90
|
+
"@types/rollup": "^0.54.0",
|
|
91
|
+
"concurrently": "^8.2.2",
|
|
92
|
+
"decamelize": "^6.0.0",
|
|
93
|
+
"jest": "^29.7.0",
|
|
94
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
95
|
+
"postcss": "^8.4.33",
|
|
96
|
+
"postcss-nested-import": "^1.3.0",
|
|
97
|
+
"postcss-nesting": "^12.0.2",
|
|
98
|
+
"prop-types": "^15.8.1",
|
|
99
|
+
"react": "^18.2.0",
|
|
100
|
+
"react-dom": "^18.2.0",
|
|
101
|
+
"react-element-to-jsx-string": "^15.0.0",
|
|
102
|
+
"rollup": "^4.9.6",
|
|
103
|
+
"sass": "^1.70.0",
|
|
104
|
+
"storybook": "^7.6.12",
|
|
105
|
+
"storybook-addon-dir": "^1.0.6",
|
|
106
|
+
"storybook-addon-pseudo-states": "^2.1.2",
|
|
107
|
+
"ts-jest": "^29.1.2",
|
|
108
|
+
"typescript": "^5.3.3",
|
|
109
|
+
"typescript-plugin-css-modules": "^5.0.2",
|
|
110
|
+
"vite": "^5.0.12",
|
|
111
|
+
"vite-plugin-banner": "^0.7.1",
|
|
112
|
+
"vite-plugin-dts": "^3.7.2"
|
|
113
|
+
},
|
|
114
|
+
"peerDependencies": {
|
|
115
|
+
"react": "18.2.0",
|
|
116
|
+
"react-dom": "18.2.0"
|
|
117
|
+
},
|
|
118
|
+
"nx": {
|
|
119
|
+
"targets": {
|
|
120
|
+
"build": {
|
|
121
|
+
"inputs": [
|
|
122
|
+
"default",
|
|
123
|
+
"^default",
|
|
124
|
+
"{projectRoot}/*.ts",
|
|
125
|
+
"{projectRoot}/dev/"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"gitHead": "65c9aa08a49526c24fd44ac33ddd199d9f4294f3"
|
|
131
|
+
}
|