bonkers-ui 2.0.0 → 2.0.2

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 (44) hide show
  1. package/bonkers-ui.umd.js +11 -11
  2. package/bonkers-ui.umd.js.map +1 -1
  3. package/components/UiAccordion/UiAccordion.InfoDropdown.d.ts +8 -0
  4. package/components/UiAccordion/UiAccordion.base.d.ts +9 -0
  5. package/components/UiAccordion/UiAccordion.context.d.ts +22 -0
  6. package/components/UiAccordion/UiAccordionItem.base.d.ts +16 -0
  7. package/components/UiAccordion/_types.d.ts +4 -0
  8. package/components/UiAccordion/index.d.ts +4 -0
  9. package/components/UiInput/UiInput.base.d.ts +9 -0
  10. package/components/UiInput/UiInput.base.js +43 -0
  11. package/components/UiInput/UiInput.base.js.map +1 -0
  12. package/components/UiInput/UiInputText.d.ts +12 -0
  13. package/components/UiInput/UiInputText.js +39 -0
  14. package/components/UiInput/UiInputText.js.map +1 -0
  15. package/components/UiInput/UiInputTitled.d.ts +10 -0
  16. package/components/UiInput/UiInputTitled.js +36 -0
  17. package/components/UiInput/UiInputTitled.js.map +1 -0
  18. package/components/UiInput/_types.d.ts +5 -0
  19. package/components/UiInput/_types.js +5 -0
  20. package/components/UiInput/_types.js.map +1 -0
  21. package/components/UiInput/index.d.ts +4 -0
  22. package/components/UiInput/index.js +11 -0
  23. package/components/UiInput/index.js.map +1 -0
  24. package/components/UiNotificationBadge/UiNotificationBadge.d.ts +10 -0
  25. package/components/UiNotificationBadge/UiNotificationBadge.js +104 -0
  26. package/components/UiNotificationBadge/UiNotificationBadge.js.map +1 -0
  27. package/components/UiNotificationBadge/_types.d.ts +6 -0
  28. package/components/UiNotificationBadge/_types.js +5 -0
  29. package/components/UiNotificationBadge/_types.js.map +1 -0
  30. package/components/UiNotificationBadge/index.d.ts +1 -0
  31. package/components/UiNotificationBadge/index.js +5 -0
  32. package/components/UiNotificationBadge/index.js.map +1 -0
  33. package/components/UiSkeleton/UiSkeleton.js +163 -197
  34. package/components/UiSkeleton/UiSkeleton.js.map +1 -1
  35. package/components/UiSkeleton/_types.d.ts +1 -2
  36. package/components/UiSkeleton/_types.js +2 -2
  37. package/components/UiSkeleton/_types.js.map +1 -1
  38. package/components/UiTypography/UiTypography.d.ts +4 -5
  39. package/components/UiTypography/UiTypography.js +26 -23
  40. package/components/UiTypography/UiTypography.js.map +1 -1
  41. package/index.d.ts +2 -0
  42. package/index.js +34 -30
  43. package/index.js.map +1 -1
  44. package/package.json +106 -106
package/index.js CHANGED
@@ -1,39 +1,43 @@
1
1
  import * as o from "./components/UiAlert/index.js";
2
- import * as r from "./components/UiBerRank/index.js";
3
- import * as i from "./components/UiButton/index.js";
2
+ import * as i from "./components/UiBerRank/index.js";
3
+ import * as r from "./components/UiButton/index.js";
4
4
  import * as a from "./components/UiCheckbox/index.js";
5
5
  import * as e from "./components/UiIcon/index.js";
6
- import * as t from "./components/UiInputRange/index.js";
7
- import * as s from "./components/UiList/index.js";
8
- import * as p from "./components/UiRadio/index.js";
9
- import * as x from "./components/UiPlainRadio/index.js";
10
- import * as m from "./components/UiPills/index.js";
11
- import * as n from "./components/UiProductCard/index.js";
12
- import * as d from "./components/UiProgress/index.js";
13
- import * as f from "./components/UiRadioFancy/index.js";
14
- import * as U from "./components/UiSkeleton/index.js";
15
- import * as $ from "./components/UiTable/index.js";
16
- import * as l from "./components/UiTypography/index.js";
17
- import * as g from "./components/UiToggle/index.js";
18
- import * as c from "./components/UiTabs/index.js";
6
+ import * as t from "./components/UiInput/index.js";
7
+ import * as s from "./components/UiInputRange/index.js";
8
+ import * as p from "./components/UiList/index.js";
9
+ import * as x from "./components/UiNotificationBadge/index.js";
10
+ import * as m from "./components/UiRadio/index.js";
11
+ import * as n from "./components/UiPlainRadio/index.js";
12
+ import * as d from "./components/UiPills/index.js";
13
+ import * as f from "./components/UiProductCard/index.js";
14
+ import * as U from "./components/UiProgress/index.js";
15
+ import * as $ from "./components/UiRadioFancy/index.js";
16
+ import * as g from "./components/UiSkeleton/index.js";
17
+ import * as l from "./components/UiTable/index.js";
18
+ import * as c from "./components/UiTypography/index.js";
19
+ import * as R from "./components/UiToggle/index.js";
20
+ import * as b from "./components/UiTabs/index.js";
19
21
  export {
20
22
  o as UiAlert,
21
- r as UiBerRank,
22
- i as UiButton,
23
+ i as UiBerRank,
24
+ r as UiButton,
23
25
  a as UiCheckbox,
24
26
  e as UiIcon,
25
- t as UiInputRange,
26
- s as UiList,
27
- m as UiPills,
28
- x as UiPlainRadio,
29
- n as UiProductCard,
30
- d as UiProgress,
31
- p as UiRadio,
32
- f as UiRadioFancy,
33
- U as UiSkeleton,
34
- $ as UiTable,
35
- c as UiTabs,
36
- g as UiToggle,
37
- l as UiTypography
27
+ t as UiInput,
28
+ s as UiInputRange,
29
+ p as UiList,
30
+ x as UiNotificationBadge,
31
+ d as UiPills,
32
+ n as UiPlainRadio,
33
+ f as UiProductCard,
34
+ U as UiProgress,
35
+ m as UiRadio,
36
+ $ as UiRadioFancy,
37
+ g as UiSkeleton,
38
+ l as UiTable,
39
+ b as UiTabs,
40
+ R as UiToggle,
41
+ c as UiTypography
38
42
  };
39
43
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
1
  {
2
- "name": "bonkers-ui",
3
- "version": "2.0.0",
4
- "description": "web version using react",
5
- "author": "bonkers.ie",
6
- "scripts": {
7
- "dev": "storybook dev -p 6006",
8
- "deploy": "gh-pages -d storybook-static",
9
- "lint": "eslint --fix './src/**/*.{ts,tsx}'",
10
- "lint:style": "bun run prettier './src/**/*.{css,scss}' --check",
11
- "upgrade": "bun x npm-check-updates -ui",
12
- "build-storybook": "storybook build",
13
- "build": "vite build",
14
- "typecheck": "tsc --noEmit",
15
- "i": "bun install --frozen-lockfile",
16
- "pack": "bun run build && bun run postbuild.ts && cd dist && npm pack --pack-destination ../",
17
- "prepare": "husky"
18
- },
19
- "dependencies": {
20
- "classnames": "^2.5.1",
21
- "prettier": "^3.4.2",
22
- "react": "^19.0.0",
23
- "react-dom": "^19.0.0",
24
- "stylelint": "^16.13.2",
25
- "stylelint-config-standard": "^37.0.0",
26
- "stylelint-config-tailwindcss": "^0.0.7",
27
- "stylelint-prettier": "^5.0.2",
28
- "tailwindcss": "^3.4.17",
29
- "vite-tsconfig-paths": "^5.1.4"
30
- },
31
- "devDependencies": {
32
- "@chromatic-com/storybook": "^3.2.3",
33
- "@storybook/addon-essentials": "^8.5.0",
34
- "@storybook/addon-interactions": "^8.5.0",
35
- "@storybook/addon-onboarding": "^8.5.0",
36
- "@storybook/blocks": "^8.5.0",
37
- "@storybook/manager-api": "^8.5.0",
38
- "@storybook/preview-api": "^8.5.0",
39
- "@storybook/react": "^8.5.0",
40
- "@storybook/react-vite": "^8.5.0",
41
- "@storybook/test": "^8.5.0",
42
- "@stylistic/eslint-plugin": "^2.13.0",
43
- "@types/bun": "latest",
44
- "@types/react-dom": "^19.0.3",
45
- "@vitejs/plugin-react": "^4.3.4",
46
- "ajv": "^8.17.1",
47
- "autoprefixer": "^10.4.20",
48
- "eslint": "^9.18.0",
49
- "eslint-plugin-react": "^7.37.4",
50
- "eslint-plugin-storybook": "^0.11.2",
51
- "eslint-plugin-tailwindcss": "^3.17.5",
52
- "gh-pages": "^6.3.0",
53
- "husky": "^9.1.7",
54
- "lint-staged": "^15.4.0",
55
- "postcss": "^8.5.1",
56
- "storybook": "^8.5.0",
57
- "storybook-dark-mode": "^4.0.2",
58
- "typescript": "^5.7.3",
59
- "typescript-eslint": "^8.20.0",
60
- "vite": "^6.0.7",
61
- "vite-plugin-dts": "^4.5.0",
62
- "vite-plugin-lib-inject-css": "^2.2.1"
63
- },
64
- "peerDependencies": {
65
- "@fortawesome/fontawesome-svg-core": "^6.6.0",
66
- "@fortawesome/free-brands-svg-icons": "^6.6.0",
67
- "@fortawesome/free-regular-svg-icons": "^6.6.0",
68
- "@fortawesome/free-solid-svg-icons": "^6.6.0",
69
- "@fortawesome/react-fontawesome": "^0.2.2",
70
- "classnames": "^2",
71
- "react": "^18",
72
- "react-dom": "^18",
73
- "tailwindcss": "^3"
74
- },
75
- "lint-staged": {
76
- "./src/**/*.css": [
77
- "bun prettier --check"
78
- ],
79
- "./src/**/*.{ts,tsx}": [
80
- "bun eslint --fix",
81
- "bash -c 'bun typecheck'"
82
- ]
83
- },
84
- "keywords": [],
85
- "license": "ISC",
86
- "main": "./bonkers-ui.umd.js",
87
- "module": "./index.js",
88
- "types": "./index.d.ts",
89
- "exports": {
90
- ".": "./index.js",
91
- "./types": {
92
- "import": "./types.js",
93
- "types": "./types.d.ts"
94
- },
95
- "./plugin": "./plugin.ts",
96
- "./*": {
97
- "types": "./components/*/index.d.ts",
98
- "import": "./components/*/index.js"
99
- },
100
- "./components/*": {
101
- "types": "./components/*/index.d.ts",
102
- "import": "./components/*/index.js"
103
- },
104
- "./postcss.config.mjs": "./postcss.config.mjs",
105
- "./eslint.config.mjs": "./eslint.config.mjs"
106
- }
107
- }
2
+ "name": "bonkers-ui",
3
+ "version": "v2.0.2",
4
+ "description": "Bonkers ui library",
5
+ "author": "cc6.magister@gmail.com",
6
+ "scripts": {
7
+ "dev": "storybook dev -p 6006",
8
+ "deploy": "gh-pages -d storybook-static",
9
+ "lint": "eslint --fix './src/**/*.{ts,tsx}'",
10
+ "lint:style": "bun run prettier './src/**/*.{css,scss}' --check",
11
+ "upgrade": "bun x npm-check-updates -ui",
12
+ "build-storybook": "storybook build",
13
+ "build": "vite build",
14
+ "typecheck": "tsc --noEmit",
15
+ "i": "bun install --frozen-lockfile",
16
+ "pack": "bun run build && bun run postbuild.ts && cd dist && npm pack --pack-destination ../",
17
+ "prepare": "husky"
18
+ },
19
+ "dependencies": {
20
+ "classnames": "^2.5.1",
21
+ "prettier": "^3.4.2",
22
+ "react": "^19.0.0",
23
+ "react-dom": "^19.0.0",
24
+ "stylelint": "^16.13.2",
25
+ "stylelint-config-standard": "^37.0.0",
26
+ "stylelint-config-tailwindcss": "^0.0.7",
27
+ "stylelint-prettier": "^5.0.2",
28
+ "tailwindcss": "^3.4.17",
29
+ "vite-tsconfig-paths": "^5.1.4"
30
+ },
31
+ "devDependencies": {
32
+ "@chromatic-com/storybook": "^3.2.3",
33
+ "@storybook/addon-essentials": "^8.5.0",
34
+ "@storybook/addon-interactions": "^8.5.0",
35
+ "@storybook/addon-onboarding": "^8.5.0",
36
+ "@storybook/blocks": "^8.5.0",
37
+ "@storybook/manager-api": "^8.5.0",
38
+ "@storybook/preview-api": "^8.5.0",
39
+ "@storybook/react": "^8.5.0",
40
+ "@storybook/react-vite": "^8.5.0",
41
+ "@storybook/test": "^8.5.0",
42
+ "@stylistic/eslint-plugin": "^2.13.0",
43
+ "@types/bun": "latest",
44
+ "@types/react-dom": "^19.0.3",
45
+ "@vitejs/plugin-react": "^4.3.4",
46
+ "ajv": "^8.17.1",
47
+ "autoprefixer": "^10.4.20",
48
+ "eslint": "^9.18.0",
49
+ "eslint-plugin-react": "^7.37.4",
50
+ "eslint-plugin-storybook": "^0.11.2",
51
+ "eslint-plugin-tailwindcss": "^3.17.5",
52
+ "gh-pages": "^6.3.0",
53
+ "husky": "^9.1.7",
54
+ "lint-staged": "^15.4.0",
55
+ "postcss": "^8.5.1",
56
+ "storybook": "^8.5.0",
57
+ "storybook-dark-mode": "^4.0.2",
58
+ "typescript": "^5.7.3",
59
+ "typescript-eslint": "^8.20.0",
60
+ "vite": "^6.0.7",
61
+ "vite-plugin-dts": "^4.5.0",
62
+ "vite-plugin-lib-inject-css": "^2.2.1"
63
+ },
64
+ "peerDependencies": {
65
+ "@fortawesome/fontawesome-svg-core": "^6.6.0",
66
+ "@fortawesome/free-brands-svg-icons": "^6.6.0",
67
+ "@fortawesome/free-regular-svg-icons": "^6.6.0",
68
+ "@fortawesome/free-solid-svg-icons": "^6.6.0",
69
+ "@fortawesome/react-fontawesome": "^0.2.2",
70
+ "classnames": "^2",
71
+ "react": "^18",
72
+ "react-dom": "^18",
73
+ "tailwindcss": "^3"
74
+ },
75
+ "lint-staged": {
76
+ "./src/**/*.css": [
77
+ "bun prettier --check"
78
+ ],
79
+ "./src/**/*.{ts,tsx}": [
80
+ "bun eslint --fix",
81
+ "bash -c 'bun typecheck'"
82
+ ]
83
+ },
84
+ "keywords": [],
85
+ "license": "ISC",
86
+ "main": "./bonkers-ui.umd.js",
87
+ "module": "./index.js",
88
+ "types": "./index.d.ts",
89
+ "exports": {
90
+ ".": "./index.js",
91
+ "./types": {
92
+ "import": "./types.js",
93
+ "types": "./types.d.ts"
94
+ },
95
+ "./plugin": "./plugin.ts",
96
+ "./*": {
97
+ "types": "./components/*/index.d.ts",
98
+ "import": "./components/*/index.js"
99
+ },
100
+ "./components/*": {
101
+ "types": "./components/*/index.d.ts",
102
+ "import": "./components/*/index.js"
103
+ },
104
+ "./postcss.config.mjs": "./postcss.config.mjs",
105
+ "./eslint.config.mjs": "./eslint.config.mjs"
106
+ }
107
+ }