@pisell/materials 6.12.51 → 6.12.53

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 (94) 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/meta.js +3 -3
  5. package/build/lowcode/preview.js +1 -1
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +48 -48
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +48 -48
  10. package/es/components/PisellCards/index.d.ts +1 -0
  11. package/es/components/PisellFields/index.d.ts +1 -0
  12. package/es/components/PisellLayouts/index.d.ts +1 -0
  13. package/es/components/PisellMetrics/index.d.ts +1 -0
  14. package/es/components/PisellSelectionFlow/PisellSelectionFlow.js +7 -1
  15. package/es/components/PisellSelectionFlow/hooks/useFlowNavigation.js +104 -3
  16. package/es/components/PisellSelectionFlow/index.d.ts +1 -1
  17. package/es/components/PisellSelectionFlow/types.d.ts +20 -1
  18. package/es/components/appVersionControl/types.d.ts +1 -0
  19. package/es/components/calendar/index.d.ts +1 -0
  20. package/es/components/checkbox/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  23. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  24. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  27. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  28. package/es/components/date-picker/index.d.ts +1 -0
  29. package/es/components/drag-sort-tree/types.d.ts +1 -0
  30. package/es/components/filter/components/FilterButton/types.d.ts +1 -0
  31. package/es/components/input/index.d.ts +1 -0
  32. package/es/components/pisell-config-provider/context.d.ts +1 -0
  33. package/es/components/pisellDatePicker/index.d.ts +1 -0
  34. package/es/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  35. package/es/components/pisellMenu/types.d.ts +1 -0
  36. package/es/components/pisellQuickFilter/type.d.ts +1 -0
  37. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  38. package/es/components/productCard/cartSkuCard/index.js +3 -33
  39. package/es/components/productCard/cartSkuCard/index.less +0 -19
  40. package/es/components/productCard/lineItem/index.js +11 -42
  41. package/es/components/productCard/types.d.ts +1 -4
  42. package/es/components/radio/index.d.ts +1 -0
  43. package/es/components/section-footers/index.d.ts +1 -0
  44. package/es/components/skeleton/index.d.ts +1 -0
  45. package/es/components/time-picker/index.d.ts +1 -0
  46. package/es/components/upload/index.d.ts +1 -0
  47. package/es/components/virtual-keyboard/Amount/types.d.ts +1 -0
  48. package/es/index.d.ts +2 -3
  49. package/lib/components/PisellCards/index.d.ts +1 -0
  50. package/lib/components/PisellFields/index.d.ts +1 -0
  51. package/lib/components/PisellLayouts/index.d.ts +1 -0
  52. package/lib/components/PisellMetrics/index.d.ts +1 -0
  53. package/lib/components/PisellSelectionFlow/PisellSelectionFlow.js +7 -1
  54. package/lib/components/PisellSelectionFlow/hooks/useFlowNavigation.js +104 -3
  55. package/lib/components/PisellSelectionFlow/index.d.ts +1 -1
  56. package/lib/components/PisellSelectionFlow/types.d.ts +20 -1
  57. package/lib/components/appVersionControl/types.d.ts +1 -0
  58. package/lib/components/calendar/index.d.ts +1 -0
  59. package/lib/components/checkbox/index.d.ts +1 -0
  60. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  61. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  62. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  63. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  64. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  65. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  66. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  67. package/lib/components/date-picker/index.d.ts +1 -0
  68. package/lib/components/drag-sort-tree/types.d.ts +1 -0
  69. package/lib/components/filter/components/FilterButton/types.d.ts +1 -0
  70. package/lib/components/input/index.d.ts +1 -0
  71. package/lib/components/pisell-config-provider/context.d.ts +1 -0
  72. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  73. package/lib/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  74. package/lib/components/pisellMenu/types.d.ts +1 -0
  75. package/lib/components/pisellQuickFilter/type.d.ts +1 -0
  76. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +1 -1
  77. package/lib/components/productCard/cartSkuCard/index.js +3 -33
  78. package/lib/components/productCard/cartSkuCard/index.less +0 -19
  79. package/lib/components/productCard/lineItem/index.js +11 -42
  80. package/lib/components/productCard/types.d.ts +1 -4
  81. package/lib/components/radio/index.d.ts +1 -0
  82. package/lib/components/section-footers/index.d.ts +1 -0
  83. package/lib/components/skeleton/index.d.ts +1 -0
  84. package/lib/components/time-picker/index.d.ts +1 -0
  85. package/lib/components/upload/index.d.ts +1 -0
  86. package/lib/components/virtual-keyboard/Amount/types.d.ts +1 -0
  87. package/lib/index.d.ts +2 -3
  88. package/package.json +3 -3
  89. package/es/components/productCard/cartSkuCard/types.d.ts +0 -56
  90. package/es/components/productCard/cartSkuCard/variants/A12/index.js +0 -126
  91. package/es/components/productCard/cartSkuCard/variants/A12/index.less +0 -276
  92. package/lib/components/productCard/cartSkuCard/types.d.ts +0 -56
  93. package/lib/components/productCard/cartSkuCard/variants/A12/index.js +0 -129
  94. package/lib/components/productCard/cartSkuCard/variants/A12/index.less +0 -276
@@ -1,276 +0,0 @@
1
- .pisell-cart-sku-card-a12 {
2
- --pc-a12-bg: #fff;
3
- --pc-a12-border-color: #e4e7ec;
4
- --pc-a12-radius: 18px;
5
- --pc-a12-min-height: 164px;
6
- --pc-a12-media-width: 228px;
7
- --pc-a12-rail-width: 190px;
8
- --pc-a12-content-padding: 20px 22px;
9
- --pc-a12-rail-padding: 18px 20px;
10
- --pc-a12-accent: #b20d12;
11
- --pc-a12-title-color: #101828;
12
- --pc-a12-title-size: 32px;
13
- --pc-a12-title-weight: 800;
14
- --pc-a12-price-color: var(--pc-a12-accent);
15
- --pc-a12-price-size: 30px;
16
- --pc-a12-option-bg: #f5f6f8;
17
- --pc-a12-option-label-color: #667085;
18
- --pc-a12-option-value-color: #101828;
19
- --pc-a12-option-gap: 6px;
20
- --pc-a12-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
21
-
22
- display: grid;
23
- grid-template-columns:
24
- var(--pc-a12-media-width)
25
- minmax(0, 1fr)
26
- var(--pc-a12-rail-width);
27
- min-height: var(--pc-a12-min-height);
28
- overflow: hidden;
29
- border: 1px solid var(--pc-a12-border-color);
30
- border-radius: var(--pc-a12-radius);
31
- background: var(--pc-a12-bg);
32
- box-shadow: var(--pc-a12-shadow);
33
- hyphens: none;
34
- overflow-wrap: normal;
35
- word-break: normal;
36
-
37
- &--without-media {
38
- grid-template-columns: minmax(0, 1fr) var(--pc-a12-rail-width);
39
- }
40
-
41
- &__media {
42
- position: relative;
43
- display: grid;
44
- min-height: var(--pc-a12-min-height);
45
- place-items: center;
46
- overflow: hidden;
47
- background: #f2f4f7;
48
- color: var(--pc-a12-accent);
49
- font-size: 32px;
50
- font-weight: 800;
51
-
52
- img {
53
- position: absolute;
54
- inset: 0;
55
- display: block;
56
- width: 100%;
57
- height: 100%;
58
- min-height: 0;
59
- }
60
- }
61
-
62
- &__content {
63
- display: flex;
64
- min-width: 0;
65
- flex-direction: column;
66
- justify-content: flex-start;
67
- padding: var(--pc-a12-content-padding);
68
- }
69
-
70
- &__content-footer {
71
- margin-top: auto;
72
- padding-top: 12px;
73
-
74
- .ant-divider {
75
- margin-bottom: 16px !important;
76
- }
77
- }
78
-
79
- &--align-center &__content {
80
- justify-content: center;
81
- }
82
-
83
- &__eyebrow {
84
- overflow: hidden;
85
- margin-bottom: 4px;
86
- color: var(--pc-a12-accent);
87
- font-size: 14px;
88
- font-weight: 800;
89
- line-height: 20px;
90
- text-overflow: ellipsis;
91
- text-transform: uppercase;
92
- white-space: nowrap;
93
- }
94
-
95
- &__name {
96
- min-width: 0;
97
- overflow: hidden;
98
- color: var(--pc-a12-title-color);
99
- font-size: var(--pc-a12-title-size);
100
- font-weight: var(--pc-a12-title-weight);
101
- line-height: 1.15;
102
- text-overflow: ellipsis;
103
- white-space: nowrap;
104
- }
105
-
106
- &__weighing {
107
- min-width: 0;
108
- margin-top: 8px;
109
- }
110
-
111
- &__specifications {
112
- display: grid;
113
- grid-template-columns: repeat(
114
- var(--pc-a12-option-columns, 2),
115
- minmax(0, 1fr)
116
- );
117
- gap: var(--pc-a12-option-gap);
118
- margin-top: 10px;
119
- }
120
-
121
- &__specification,
122
- &__specification-summary {
123
- min-width: 0;
124
- padding: 7px 9px;
125
- border-radius: 7px;
126
- background: var(--pc-a12-option-bg);
127
- }
128
-
129
- &__specification {
130
- display: flex;
131
- flex-direction: column;
132
- gap: 2px;
133
- }
134
-
135
- &__specification-label {
136
- overflow: hidden;
137
- color: var(--pc-a12-option-label-color);
138
- font-size: 11px;
139
- font-weight: 700;
140
- line-height: 16px;
141
- text-overflow: ellipsis;
142
- white-space: nowrap;
143
- }
144
-
145
- &__specification-value,
146
- &__specification-summary {
147
- overflow: hidden;
148
- color: var(--pc-a12-option-value-color);
149
- font-size: 16px;
150
- font-weight: 700;
151
- line-height: 20px;
152
- text-overflow: ellipsis;
153
- white-space: nowrap;
154
- }
155
-
156
- &__rail {
157
- position: relative;
158
- display: flex;
159
- min-width: 0;
160
- flex-direction: column;
161
- align-items: center;
162
- justify-content: center;
163
- padding: var(--pc-a12-rail-padding);
164
- border-left: 1px solid var(--pc-a12-border-color);
165
- }
166
-
167
- &__delete {
168
- position: absolute;
169
- top: 6px;
170
- right: 6px;
171
- display: grid;
172
- width: 42px;
173
- height: 42px;
174
- padding: 0;
175
- place-items: center;
176
- border: 0;
177
- border-radius: 50%;
178
- background: transparent;
179
- color: var(--pc-a12-accent);
180
- font-size: 26px;
181
- cursor: pointer;
182
-
183
- .anticon,
184
- svg {
185
- width: 30px;
186
- height: 30px;
187
- font-size: 30px;
188
- }
189
-
190
- &:active {
191
- background: #fef3f2;
192
- }
193
-
194
- &:disabled {
195
- cursor: not-allowed;
196
- opacity: 0.5;
197
- }
198
- }
199
-
200
- &__price {
201
- display: flex;
202
- flex-direction: column;
203
- align-items: center;
204
- color: var(--pc-a12-price-color);
205
-
206
- strong {
207
- font-size: var(--pc-a12-price-size);
208
- font-weight: 800;
209
- line-height: 1.15;
210
- white-space: nowrap;
211
- }
212
-
213
- del {
214
- color: #667085;
215
- font-size: 13px;
216
- }
217
- }
218
-
219
- &__edit {
220
- min-width: 62px;
221
- min-height: 38px;
222
- margin-top: 10px;
223
- padding: 7px 14px;
224
- border: 1px solid #f5b7ba;
225
- border-radius: 999px;
226
- background: #fff;
227
- color: var(--pc-a12-accent);
228
- font: inherit;
229
- font-size: 14px;
230
- font-weight: 700;
231
- white-space: nowrap;
232
- cursor: pointer;
233
-
234
- &:disabled {
235
- cursor: not-allowed;
236
- opacity: 0.5;
237
- }
238
- }
239
-
240
- &__quantity-control {
241
- display: flex;
242
- width: 100%;
243
- min-height: 44px;
244
- align-items: center;
245
- justify-content: center;
246
- margin-top: 10px;
247
- padding-top: 10px;
248
- }
249
-
250
- &__quantity-fallback {
251
- display: flex;
252
- align-items: center;
253
- justify-content: center;
254
- gap: 16px;
255
- font-weight: 700;
256
- }
257
-
258
- &--compact {
259
- --pc-a12-min-height: 132px;
260
- --pc-a12-media-width: 124px;
261
- --pc-a12-rail-width: 156px;
262
- --pc-a12-content-padding: 15px 18px;
263
- --pc-a12-rail-padding: 14px 16px;
264
- --pc-a12-price-size: 25px;
265
- }
266
- }
267
-
268
- @container (max-width: 620px) {
269
- .pisell-cart-sku-card-a12 {
270
- --pc-a12-media-width: 112px;
271
- --pc-a12-rail-width: 150px;
272
- --pc-a12-content-padding: 14px;
273
- --pc-a12-price-size: 24px;
274
- --pc-a12-option-columns: 1;
275
- }
276
- }