@pisell/materials 6.12.52 → 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 -279
  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 -279
@@ -1,279 +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
- display: flex;
72
- flex-direction: column;
73
- gap: 8px;
74
- margin-top: auto;
75
- padding-top: 12px;
76
-
77
- .ant-divider {
78
- margin: 0 !important;
79
- }
80
- }
81
-
82
- &--align-center &__content {
83
- justify-content: center;
84
- }
85
-
86
- &__eyebrow {
87
- overflow: hidden;
88
- margin-bottom: 4px;
89
- color: var(--pc-a12-accent);
90
- font-size: 14px;
91
- font-weight: 800;
92
- line-height: 20px;
93
- text-overflow: ellipsis;
94
- text-transform: uppercase;
95
- white-space: nowrap;
96
- }
97
-
98
- &__name {
99
- min-width: 0;
100
- overflow: hidden;
101
- color: var(--pc-a12-title-color);
102
- font-size: var(--pc-a12-title-size);
103
- font-weight: var(--pc-a12-title-weight);
104
- line-height: 1.15;
105
- text-overflow: ellipsis;
106
- white-space: nowrap;
107
- }
108
-
109
- &__weighing {
110
- min-width: 0;
111
- margin-top: 8px;
112
- }
113
-
114
- &__specifications {
115
- display: grid;
116
- grid-template-columns: repeat(
117
- var(--pc-a12-option-columns, 2),
118
- minmax(0, 1fr)
119
- );
120
- gap: var(--pc-a12-option-gap);
121
- margin-top: 10px;
122
- }
123
-
124
- &__specification,
125
- &__specification-summary {
126
- min-width: 0;
127
- padding: 7px 9px;
128
- border-radius: 7px;
129
- background: var(--pc-a12-option-bg);
130
- }
131
-
132
- &__specification {
133
- display: flex;
134
- flex-direction: column;
135
- gap: 2px;
136
- }
137
-
138
- &__specification-label {
139
- overflow: hidden;
140
- color: var(--pc-a12-option-label-color);
141
- font-size: 11px;
142
- font-weight: 700;
143
- line-height: 16px;
144
- text-overflow: ellipsis;
145
- white-space: nowrap;
146
- }
147
-
148
- &__specification-value,
149
- &__specification-summary {
150
- overflow: hidden;
151
- color: var(--pc-a12-option-value-color);
152
- font-size: 16px;
153
- font-weight: 700;
154
- line-height: 20px;
155
- text-overflow: ellipsis;
156
- white-space: nowrap;
157
- }
158
-
159
- &__rail {
160
- position: relative;
161
- display: flex;
162
- min-width: 0;
163
- flex-direction: column;
164
- align-items: center;
165
- justify-content: center;
166
- padding: var(--pc-a12-rail-padding);
167
- border-left: 1px solid var(--pc-a12-border-color);
168
- }
169
-
170
- &__delete {
171
- position: absolute;
172
- top: 6px;
173
- right: 6px;
174
- display: grid;
175
- width: 42px;
176
- height: 42px;
177
- padding: 0;
178
- place-items: center;
179
- border: 0;
180
- border-radius: 50%;
181
- background: transparent;
182
- color: var(--pc-a12-accent);
183
- font-size: 26px;
184
- cursor: pointer;
185
-
186
- .anticon,
187
- svg {
188
- width: 30px;
189
- height: 30px;
190
- font-size: 30px;
191
- }
192
-
193
- &:active {
194
- background: #fef3f2;
195
- }
196
-
197
- &:disabled {
198
- cursor: not-allowed;
199
- opacity: 0.5;
200
- }
201
- }
202
-
203
- &__price {
204
- display: flex;
205
- flex-direction: column;
206
- align-items: center;
207
- color: var(--pc-a12-price-color);
208
-
209
- strong {
210
- font-size: var(--pc-a12-price-size);
211
- font-weight: 800;
212
- line-height: 1.15;
213
- white-space: nowrap;
214
- }
215
-
216
- del {
217
- color: #667085;
218
- font-size: 13px;
219
- }
220
- }
221
-
222
- &__edit {
223
- min-width: 62px;
224
- min-height: 38px;
225
- margin-top: 10px;
226
- padding: 7px 14px;
227
- border: 1px solid #f5b7ba;
228
- border-radius: 999px;
229
- background: #fff;
230
- color: var(--pc-a12-accent);
231
- font: inherit;
232
- font-size: 14px;
233
- font-weight: 700;
234
- white-space: nowrap;
235
- cursor: pointer;
236
-
237
- &:disabled {
238
- cursor: not-allowed;
239
- opacity: 0.5;
240
- }
241
- }
242
-
243
- &__quantity-control {
244
- display: flex;
245
- width: 100%;
246
- min-height: 44px;
247
- align-items: center;
248
- justify-content: center;
249
- margin-top: 10px;
250
- padding-top: 10px;
251
- }
252
-
253
- &__quantity-fallback {
254
- display: flex;
255
- align-items: center;
256
- justify-content: center;
257
- gap: 16px;
258
- font-weight: 700;
259
- }
260
-
261
- &--compact {
262
- --pc-a12-min-height: 132px;
263
- --pc-a12-media-width: 124px;
264
- --pc-a12-rail-width: 156px;
265
- --pc-a12-content-padding: 15px 18px;
266
- --pc-a12-rail-padding: 14px 16px;
267
- --pc-a12-price-size: 25px;
268
- }
269
- }
270
-
271
- @container (max-width: 620px) {
272
- .pisell-cart-sku-card-a12 {
273
- --pc-a12-media-width: 112px;
274
- --pc-a12-rail-width: 150px;
275
- --pc-a12-content-padding: 14px;
276
- --pc-a12-price-size: 24px;
277
- --pc-a12-option-columns: 1;
278
- }
279
- }