@web-fuse/wf-components 1.0.0

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 (35) hide show
  1. package/dist/Display/Card/DarkCard.d.ts +6 -0
  2. package/dist/Display/Card/LightCard.d.ts +6 -0
  3. package/dist/Display/Card/index.d.ts +4 -0
  4. package/dist/Display/Collapse/Collapse.d.ts +16 -0
  5. package/dist/Display/Collapse/CollapseBase.d.ts +27 -0
  6. package/dist/Display/Collapse/CollapseContent.d.ts +10 -0
  7. package/dist/Display/Collapse/index.d.ts +12 -0
  8. package/dist/Display/Selector/SelectorItem.d.ts +10 -0
  9. package/dist/Display/Selector/SelectorSubItem.d.ts +11 -0
  10. package/dist/Display/Selector/index.d.ts +31 -0
  11. package/dist/Display/Selector/style.d.ts +16 -0
  12. package/dist/Display/index.d.ts +5 -0
  13. package/dist/Form/Buttons.d.ts +29 -0
  14. package/dist/Form/HoverLabel.d.ts +11 -0
  15. package/dist/Form/Input.d.ts +15 -0
  16. package/dist/Form/index.d.ts +4 -0
  17. package/dist/Layout/Main/MainSelector.d.ts +12 -0
  18. package/dist/Layout/Main/MainSettings.d.ts +5 -0
  19. package/dist/Layout/Main/index.d.ts +14 -0
  20. package/dist/Layout/Navbar/NavbarDropdown.d.ts +14 -0
  21. package/dist/Layout/Navbar/index.d.ts +31 -0
  22. package/dist/Layout/Navbar/style.d.ts +5 -0
  23. package/dist/Layout/index.d.ts +5 -0
  24. package/dist/Oauth/ErrorBoundary.d.ts +12 -0
  25. package/dist/Oauth/LoginContainer.d.ts +10 -0
  26. package/dist/Oauth/PageBackground.d.ts +7 -0
  27. package/dist/Oauth/index.d.ts +5 -0
  28. package/dist/index.cjs.js +660 -0
  29. package/dist/index.cjs.js.map +1 -0
  30. package/dist/index.d.ts +5 -0
  31. package/dist/index.es.js +2882 -0
  32. package/dist/index.es.js.map +1 -0
  33. package/dist/util/index.d.ts +1 -0
  34. package/dist/util/wfDarkAlgorithm.d.ts +7 -0
  35. package/package.json +65 -0
@@ -0,0 +1 @@
1
+ export * from "./wfDarkAlgorithm";
@@ -0,0 +1,7 @@
1
+ import { theme } from "antd";
2
+ /**
3
+ * Custom theme algorithm that restores the primary color
4
+ * Normally the dark algorithm changes the colorPrimary aliasToken
5
+ * https://github.com/ant-design/ant-design/issues/44006#issuecomment-2049854538
6
+ */
7
+ export declare const wfDarkAlgorithm: typeof theme.darkAlgorithm;
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@web-fuse/wf-components",
3
+ "version": "1.0.0",
4
+ "description": "A library containing common form and display components",
5
+ "type": "module",
6
+ "main": "dist/index.cjs.js",
7
+ "module": "dist/index.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "dev": "vite",
14
+ "build": "tsc && vite build",
15
+ "preview": "vite preview",
16
+ "storybook": "storybook dev -p 6006",
17
+ "build-storybook": "storybook build",
18
+ "lint": "eslint ./src"
19
+ },
20
+ "keywords": [],
21
+ "author": "Luc Appelman",
22
+ "license": "Apache-2.0",
23
+ "devDependencies": {
24
+ "@chromatic-com/storybook": "^1.2.25",
25
+ "@storybook/addon-essentials": "^8.0.5",
26
+ "@storybook/addon-interactions": "^8.0.5",
27
+ "@storybook/addon-links": "^8.0.5",
28
+ "@storybook/addon-themes": "^8.0.5",
29
+ "@storybook/blocks": "^8.0.5",
30
+ "@storybook/react": "^8.0.5",
31
+ "@storybook/react-vite": "^8.0.5",
32
+ "@storybook/test": "^8.0.5",
33
+ "@types/react": "^18.2.66",
34
+ "@types/react-copy-to-clipboard": "^5.0.7",
35
+ "@types/react-dom": "^18.2.22",
36
+ "@typescript-eslint/eslint-plugin": "^7.4.0",
37
+ "@typescript-eslint/parser": "^7.4.0",
38
+ "eslint": "^8.57.0",
39
+ "eslint-plugin-react": "^7.34.1",
40
+ "eslint-plugin-react-hooks": "^4.6.0",
41
+ "storybook": "^8.0.5",
42
+ "typescript": "^5.4.2",
43
+ "vite": "^5.1.6",
44
+ "vite-plugin-dts": "^3.7.3",
45
+ "vite-plugin-svgr": "^4.2.0",
46
+ "vite-tsconfig-paths": "^4.3.2"
47
+ },
48
+ "peerDependencies": {
49
+ "antd": "^5.17.2",
50
+ "react": "^18.2.0",
51
+ "react-copy-to-clipboard": "^5.1.0",
52
+ "react-dom": "^18.2.0",
53
+ "react-syntax-highlighter": "^15.5.0",
54
+ "styled-components": "^6.1.8"
55
+ },
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "git+https://github.com/controlol/wf-components.git"
59
+ },
60
+ "bugs": {
61
+ "url": "https://github.com/controlol/wf-components/issues"
62
+ },
63
+ "homepage": "https://github.com/controlol/wf-components#readme",
64
+ "title": "Web-Fuse Components"
65
+ }