@pisell/materials 6.8.8 → 6.8.10

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 (73) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.js +16 -16
  8. package/build/lowcode/view.js +16 -16
  9. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  10. package/es/components/PisellProcedure/PisellProcedure.stories.js +1611 -0
  11. package/es/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
  12. package/es/components/PisellScrollView/PisellScrollView.stories.js +772 -0
  13. package/es/components/PisellScrollView/hooks/useScrollEvents.js +18 -3
  14. package/es/components/PisellScrollView/index.d.ts +2 -1
  15. package/es/components/PisellScrollView/index.js +2 -1
  16. package/es/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
  17. package/es/components/PisellSteps/PisellSteps.stories.js +851 -0
  18. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +6 -10
  19. package/es/components/PisellSuperTabs/PisellSuperTabs.js +28 -8
  20. package/es/components/PisellSuperTabs/types.d.ts +1 -0
  21. package/es/components/PisellTabbar/PisellTabbar.d.ts +2 -19
  22. package/es/components/PisellTabbar/PisellTabbar.js +2 -1
  23. package/es/components/PisellTabbar/constants.d.ts +4 -4
  24. package/es/components/PisellTabbar/constants.js +5 -5
  25. package/es/components/PisellTabbar/index.d.ts +2 -0
  26. package/es/components/PisellTabbar/index.js +2 -0
  27. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +20 -0
  28. package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +426 -0
  29. package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  30. package/es/components/PisellTabbar/template/Template1/constants.js +33 -0
  31. package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  32. package/es/components/PisellTabbar/template/Template1/index.js +7 -0
  33. package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
  34. package/es/components/PisellTabbar/template/Template1/utils/index.js +96 -0
  35. package/es/components/PisellTabbar/utils/index.d.ts +33 -0
  36. package/es/components/PisellTabbar/utils/index.js +3 -2
  37. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  38. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  39. package/es/index.d.ts +2 -1
  40. package/es/index.js +2 -1
  41. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  42. package/lib/components/PisellProcedure/PisellProcedure.stories.js +925 -0
  43. package/lib/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
  44. package/lib/components/PisellScrollView/PisellScrollView.stories.js +535 -0
  45. package/lib/components/PisellScrollView/hooks/useScrollEvents.js +13 -3
  46. package/lib/components/PisellScrollView/index.d.ts +2 -1
  47. package/lib/components/PisellScrollView/index.js +2 -5
  48. package/lib/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
  49. package/lib/components/PisellSteps/PisellSteps.stories.js +570 -0
  50. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +6 -10
  51. package/lib/components/PisellSuperTabs/PisellSuperTabs.js +25 -6
  52. package/lib/components/PisellSuperTabs/types.d.ts +1 -0
  53. package/lib/components/PisellTabbar/PisellTabbar.d.ts +2 -19
  54. package/lib/components/PisellTabbar/PisellTabbar.js +2 -1
  55. package/lib/components/PisellTabbar/constants.d.ts +4 -4
  56. package/lib/components/PisellTabbar/constants.js +5 -5
  57. package/lib/components/PisellTabbar/index.d.ts +2 -0
  58. package/lib/components/PisellTabbar/index.js +6 -0
  59. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +20 -0
  60. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +437 -0
  61. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  62. package/lib/components/PisellTabbar/template/Template1/constants.js +60 -0
  63. package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  64. package/lib/components/PisellTabbar/template/Template1/index.js +36 -0
  65. package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
  66. package/lib/components/PisellTabbar/template/Template1/utils/index.js +68 -0
  67. package/lib/components/PisellTabbar/utils/index.d.ts +33 -0
  68. package/lib/components/PisellTabbar/utils/index.js +4 -1
  69. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  70. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  71. package/lib/index.d.ts +2 -1
  72. package/lib/index.js +5 -2
  73. package/package.json +23 -4
@@ -0,0 +1,87 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import PisellScrollView from './PisellScrollView';
3
+ /**
4
+ * PisellScrollView 滚动视图组件
5
+ *
6
+ * 提供丰富的滚动功能,包括滚动方向控制、滚动条样式、滚动按钮、滚动事件监听、
7
+ * 视图监听、吸附滚动等功能
8
+ */
9
+ declare const meta: Meta<typeof PisellScrollView>;
10
+ export default meta;
11
+ declare type Story = StoryObj<typeof PisellScrollView>;
12
+ /**
13
+ * 基础用法 - 垂直滚动
14
+ */
15
+ export declare const Default: Story;
16
+ /**
17
+ * 水平滚动
18
+ */
19
+ export declare const HorizontalScroll: Story;
20
+ /**
21
+ * 双向滚动
22
+ */
23
+ export declare const BothDirections: Story;
24
+ /**
25
+ * 滚动条样式 - 细滚动条
26
+ */
27
+ export declare const ThinScrollbar: Story;
28
+ /**
29
+ * 滚动条样式 - 隐藏滚动条
30
+ */
31
+ export declare const HiddenScrollbar: Story;
32
+ /**
33
+ * 滚动按钮 - 右侧箭头
34
+ */
35
+ export declare const RightArrows: Story;
36
+ /**
37
+ * 滚动按钮 - 左右箭头
38
+ */
39
+ export declare const LeftRightArrows: Story;
40
+ /**
41
+ * 滚动按钮 - 返回顶部
42
+ */
43
+ export declare const BackToTop: Story;
44
+ /**
45
+ * 滚动事件监听
46
+ */
47
+ export declare const ScrollEvents: Story;
48
+ /**
49
+ * 吸附滚动 - 垂直方向
50
+ */
51
+ export declare const SnapScrollVertical: Story;
52
+ /**
53
+ * 吸附滚动 - 水平方向
54
+ */
55
+ export declare const SnapScrollHorizontal: Story;
56
+ /**
57
+ * 视图监听 - IntersectionObserver
58
+ */
59
+ export declare const IntersectionObserver: Story;
60
+ /**
61
+ * Ref 方法调用
62
+ */
63
+ export declare const RefMethods: Story;
64
+ /**
65
+ * 滚动到指定元素
66
+ */
67
+ export declare const ScrollToElement: Story;
68
+ /**
69
+ * 自定义尺寸
70
+ */
71
+ export declare const CustomSize: Story;
72
+ /**
73
+ * 综合示例 - 商品列表
74
+ */
75
+ export declare const ProductList: Story;
76
+ /**
77
+ * 综合示例 - 横向标签页
78
+ */
79
+ export declare const HorizontalTabs: Story;
80
+ /**
81
+ * 交互测试 - 验证组件渲染
82
+ */
83
+ export declare const RenderTest: Story;
84
+ /**
85
+ * 交互测试 - 滚动按钮点击
86
+ */
87
+ export declare const ScrollButtonTest: Story;