@superleapai/flow-ui 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 (40) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/LICENSE +21 -0
  3. package/README.md +451 -0
  4. package/components/alert.js +282 -0
  5. package/components/avatar.js +195 -0
  6. package/components/badge.js +135 -0
  7. package/components/button.js +201 -0
  8. package/components/checkbox.js +254 -0
  9. package/components/currency.js +227 -0
  10. package/components/date-time-picker/date-time-picker-utils.js +253 -0
  11. package/components/date-time-picker/date-time-picker.js +532 -0
  12. package/components/duration/duration-constants.js +46 -0
  13. package/components/duration/duration-utils.js +164 -0
  14. package/components/duration/duration.js +448 -0
  15. package/components/enum-multiselect.js +869 -0
  16. package/components/enum-select.js +831 -0
  17. package/components/enumeration.js +213 -0
  18. package/components/file-input.js +533 -0
  19. package/components/icon.js +200 -0
  20. package/components/input.js +259 -0
  21. package/components/label.js +111 -0
  22. package/components/multiselect.js +351 -0
  23. package/components/phone-input/phone-input.js +392 -0
  24. package/components/phone-input/phone-utils.js +157 -0
  25. package/components/popover.js +240 -0
  26. package/components/radio-group.js +435 -0
  27. package/components/record-multiselect.js +956 -0
  28. package/components/record-select.js +930 -0
  29. package/components/select.js +544 -0
  30. package/components/spinner.js +136 -0
  31. package/components/table.js +335 -0
  32. package/components/textarea.js +114 -0
  33. package/components/time-picker.js +357 -0
  34. package/components/toast.js +343 -0
  35. package/core/flow.js +1729 -0
  36. package/core/superleapClient.js +146 -0
  37. package/dist/output.css +2 -0
  38. package/index.d.ts +458 -0
  39. package/index.js +253 -0
  40. package/package.json +70 -0
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@superleapai/flow-ui",
3
+ "version": "1.0.0",
4
+ "description": "A reusable design system for building multi-step forms with comprehensive UI components. Single file, clean globals, SDK included. Only FlowUI and SuperLeap exposed.",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "browser": "index.js",
8
+ "files": [
9
+ "core/",
10
+ "components/",
11
+ "dist/",
12
+ "index.js",
13
+ "index.d.ts",
14
+ "README.md",
15
+ "EXAMPLES.md",
16
+ "QUICKSTART.md",
17
+ "CHANGELOG.md"
18
+ ],
19
+ "scripts": {
20
+ "build:css": "npx tailwindcss -i ./tailwind-input.css -o ./dist/output.css --minify",
21
+ "watch:css": "npx tailwindcss -i ./tailwind-input.css -o ./dist/output.css --watch",
22
+ "prepublishOnly": "npm run build:css"
23
+ },
24
+ "keywords": [
25
+ "ui",
26
+ "components",
27
+ "forms",
28
+ "flow",
29
+ "design-system",
30
+ "vanilla-js",
31
+ "tailwind",
32
+ "multi-step-form",
33
+ "form-builder",
34
+ "input",
35
+ "select",
36
+ "datepicker",
37
+ "timepicker",
38
+ "phone-input",
39
+ "currency",
40
+ "validation",
41
+ "state-management",
42
+ "toast",
43
+ "notifications",
44
+ "superleap"
45
+ ],
46
+ "author": "SuperLeap",
47
+ "license": "MIT",
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "https://github.com/superleap/superleap-flow.git"
54
+ },
55
+ "bugs": {
56
+ "url": "https://github.com/superleap/superleap-flow/issues"
57
+ },
58
+ "homepage": "https://github.com/superleap/superleap-flow#readme",
59
+ "engines": {
60
+ "node": ">=14.0.0",
61
+ "npm": ">=6.0.0"
62
+ },
63
+ "peerDependencies": {
64
+ "tailwindcss": "^3.0.0"
65
+ },
66
+ "devDependencies": {
67
+ "tailwindcss": "^3.4.0",
68
+ "tailwindcss-animate": "^1.0.7"
69
+ }
70
+ }