bj-web-components 0.2.12 → 0.2.14

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 (45) hide show
  1. package/README.md +38 -0
  2. package/dist/index.d.ts +585 -4
  3. package/dist/index.js +1 -1
  4. package/dist/index.mjs +45 -26
  5. package/dist/style.css +1 -1
  6. package/dist/web/BasicInput/BInput.js +1 -0
  7. package/dist/web/BasicInput/BInput.mjs +177 -0
  8. package/dist/web/BasicInput/utils.js +1 -0
  9. package/dist/web/BasicInput/utils.mjs +37 -0
  10. package/dist/web/CheckBox/BCheckBox.js +1 -0
  11. package/dist/web/CheckBox/BCheckBox.mjs +101 -0
  12. package/dist/web/CheckBox/Group.js +1 -0
  13. package/dist/web/CheckBox/Group.mjs +67 -0
  14. package/dist/web/CheckBox/context.js +1 -0
  15. package/dist/web/CheckBox/context.mjs +5 -0
  16. package/dist/web/CheckBox/index.js +1 -0
  17. package/dist/web/CheckBox/index.mjs +8 -0
  18. package/dist/web/Dropdown/BDropdown.js +1 -0
  19. package/dist/web/Dropdown/BDropdown.mjs +160 -0
  20. package/dist/web/OverlayScrollbar/BOverlayScrollbar.js +1 -0
  21. package/dist/web/OverlayScrollbar/BOverlayScrollbar.mjs +152 -0
  22. package/dist/web/Pagination/Pagination.js +1 -1
  23. package/dist/web/Pagination/Pagination.mjs +1 -1
  24. package/dist/web/ProductField/ProductField.mjs +12 -12
  25. package/dist/web/SkuInputCard/SkuInputCard.mjs +26 -26
  26. package/dist/web/Table/BTable.js +1 -0
  27. package/dist/web/Table/BTable.mjs +612 -0
  28. package/dist/web/Table/Column.js +1 -0
  29. package/dist/web/Table/Column.mjs +6 -0
  30. package/dist/web/Table/ColumnGroup.js +1 -0
  31. package/dist/web/Table/ColumnGroup.mjs +6 -0
  32. package/dist/web/Table/utils/columns.js +1 -0
  33. package/dist/web/Table/utils/columns.mjs +43 -0
  34. package/dist/web/Table/utils/sortFilter.js +1 -0
  35. package/dist/web/Table/utils/sortFilter.mjs +63 -0
  36. package/dist/web/Tabs/BTabs.js +1 -0
  37. package/dist/web/Tabs/BTabs.mjs +130 -0
  38. package/dist/web/Tabs/TabPane.js +1 -0
  39. package/dist/web/Tabs/TabPane.mjs +7 -0
  40. package/dist/web/Tooltip/ContentTooltip.js +1 -1
  41. package/dist/web/Tooltip/ContentTooltip.mjs +56 -20
  42. package/dist/web.d.ts +585 -4
  43. package/dist/web.js +1 -1
  44. package/dist/web.mjs +45 -26
  45. package/package.json +3 -3
package/dist/web.mjs CHANGED
@@ -1,32 +1,51 @@
1
- import { default as r } from "./web/Icon/Icon.mjs";
1
+ import { default as t } from "./web/Icon/Icon.mjs";
2
2
  import { default as e } from "./web/Tooltip/ConfirmTooltip.mjs";
3
- import { default as u } from "./web/Tooltip/ProgressTooltip.mjs";
4
- import { default as l } from "./web/Tooltip/ContentTooltip.mjs";
5
- import { default as m } from "./web/Tooltip/TooltipWrapper.mjs";
6
- import { default as x } from "./web/SkuInputCard/SkuInputCard.mjs";
3
+ import { default as p } from "./web/Tooltip/ProgressTooltip.mjs";
4
+ import { default as l, default as d } from "./web/Tooltip/ContentTooltip.mjs";
5
+ import { default as x } from "./web/Tooltip/TooltipWrapper.mjs";
6
+ import { default as B } from "./web/SkuInputCard/SkuInputCard.mjs";
7
7
  import { default as i } from "./web/Input/Input.mjs";
8
- import { default as C } from "./web/EmptyInputBox/EmptyInputBox.mjs";
9
- import { default as T } from "./web/Modal/Modal.mjs";
10
- import { default as g } from "./web/ProductField/ProductField.mjs";
11
- import { default as w } from "./web/CategoryDropdown/CategoryDropdown.mjs";
12
- import { default as F } from "./web/Pagination/Pagination.mjs";
13
- import { default as b } from "./web/FileCard/FileCard.mjs";
14
- import { default as k } from "./web/Switch/Switch.mjs";
15
- import { default as E } from "./web/InputNumber/BInputNumber.mjs";
8
+ import { default as T } from "./web/BasicInput/BInput.mjs";
9
+ import { default as b } from "./web/Tabs/BTabs.mjs";
10
+ import { default as P } from "./web/Tabs/TabPane.mjs";
11
+ import { default as w } from "./web/EmptyInputBox/EmptyInputBox.mjs";
12
+ import { default as S } from "./web/Modal/Modal.mjs";
13
+ import { default as k } from "./web/ProductField/ProductField.mjs";
14
+ import { default as F } from "./web/CategoryDropdown/CategoryDropdown.mjs";
15
+ import { default as E } from "./web/Pagination/Pagination.mjs";
16
+ import { default as M } from "./web/FileCard/FileCard.mjs";
17
+ import { default as O } from "./web/Switch/Switch.mjs";
18
+ import { default as j } from "./web/InputNumber/BInputNumber.mjs";
19
+ import { BTable as z } from "./web/Table/BTable.mjs";
20
+ import { default as H } from "./web/Table/Column.mjs";
21
+ import { default as K } from "./web/Table/ColumnGroup.mjs";
22
+ import { BCheckBox as Q } from "./web/CheckBox/index.mjs";
23
+ import { default as U } from "./web/OverlayScrollbar/BOverlayScrollbar.mjs";
24
+ import { BDropdown as X } from "./web/Dropdown/BDropdown.mjs";
16
25
  export {
17
- E as BInputNumber,
18
- w as BuCategoryDropdown,
19
- C as BuEmptyInputBox,
20
- r as BuIcon,
26
+ Q as BCheckBox,
27
+ X as BDropdown,
28
+ T as BInput,
29
+ j as BInputNumber,
30
+ U as BOverlayScrollbar,
31
+ z as BTable,
32
+ b as BTabs,
33
+ l as BTooltip,
34
+ F as BuCategoryDropdown,
35
+ w as BuEmptyInputBox,
36
+ t as BuIcon,
21
37
  i as BuInput,
22
- T as BuModal,
23
- g as BuProductField,
24
- k as BuSwitch,
38
+ S as BuModal,
39
+ k as BuProductField,
40
+ O as BuSwitch,
41
+ H as Column,
42
+ K as ColumnGroup,
25
43
  e as ConfirmTooltip,
26
- l as ContentTooltip,
27
- b as FileCard,
28
- F as Pagination,
29
- u as ProgressTooltip,
30
- x as SkuInputCard,
31
- m as TooltipWrapper
44
+ d as ContentTooltip,
45
+ M as FileCard,
46
+ E as Pagination,
47
+ p as ProgressTooltip,
48
+ B as SkuInputCard,
49
+ P as TabPane,
50
+ x as TooltipWrapper
32
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bj-web-components",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Enterprise UI component library for Web, Mobile, and Mini-app platforms",
5
5
  "keywords": [
6
6
  "react",
@@ -68,8 +68,8 @@
68
68
  "build:lib:watch": "vite build --mode lib --watch"
69
69
  },
70
70
  "peerDependencies": {
71
- "react": ">=17.0.0",
72
- "react-dom": ">=17.0.0"
71
+ "react": ">=17.0.2",
72
+ "react-dom": ">=17.0.2"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@tailwindcss/postcss": "^4",