krl-alfred 2.18.13 → 2.18.15

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.
@@ -1,16 +1,26 @@
1
+ import React from "react";
2
+ import type { ProductCardVerticalProps } from "../props";
3
+ /**
4
+ * Tüm ProductCardVertical propları — Default ve varyantlar için ortak taban.
5
+ * hasDiscount bileşende henüz kullanılmıyor; kontrol paneli ve dokümantasyon için set edilir.
6
+ */
7
+ export declare const allProductCardArgs: ProductCardVerticalProps;
1
8
  declare const _default: {
2
9
  title: string;
3
- component: (props: any) => import("react/jsx-runtime").JSX.Element;
10
+ component: React.MemoExoticComponent<({ title, description, hasDiscount, price, oldPrice, oldPricePeriod, slug, period, discountRate, isResponsive, image, hasCustomBadge, customBadge, hasNewImageType, hasOutOfStock, hasBeltBadge, beltBadgeVariant, beltBadgeTitle, imageInfoText, imageInfoTextVariant, isShowOldPrice, isOldPricePeriodUnderline, hasImageOffset, }: import("../props").ProductCardVertical) => import("react/jsx-runtime").JSX.Element>;
4
11
  tags: string[];
5
12
  argTypes: {
6
13
  title: {
7
14
  control: string;
15
+ description: string;
8
16
  };
9
17
  description: {
10
18
  control: string;
19
+ description: string;
11
20
  };
12
21
  hasDiscount: {
13
22
  control: string;
23
+ description: string;
14
24
  };
15
25
  price: {
16
26
  control: string;
@@ -23,6 +33,7 @@ declare const _default: {
23
33
  };
24
34
  slug: {
25
35
  control: string;
36
+ description: string;
26
37
  };
27
38
  period: {
28
39
  control: string;
@@ -34,13 +45,14 @@ declare const _default: {
34
45
  control: string;
35
46
  };
36
47
  image: {
37
- control: string;
48
+ control: boolean;
49
+ description: string;
38
50
  };
39
51
  hasCustomBadge: {
40
52
  control: string;
41
53
  };
42
54
  customBadge: {
43
- control: string;
55
+ control: boolean;
44
56
  };
45
57
  hasNewImageType: {
46
58
  control: string;
@@ -75,33 +87,35 @@ declare const _default: {
75
87
  control: string;
76
88
  };
77
89
  };
90
+ render: (args: ProductCardVerticalProps) => import("react/jsx-runtime").JSX.Element;
78
91
  };
79
92
  export default _default;
80
93
  export declare const Default: {
94
+ name: string;
81
95
  args: {
82
- title: string;
83
- description: string;
84
- hasDiscount: boolean;
85
- price: string;
86
- oldPrice: string;
87
- oldPricePeriod: string;
88
- slug: string;
89
- period: string;
90
- discountRate: number;
91
- isResponsive: boolean;
92
- image: import("react/jsx-runtime").JSX.Element;
93
- hasCustomBadge: boolean;
94
- customBadge: import("react/jsx-runtime").JSX.Element;
95
- hasNewImageType: boolean;
96
- hasOutOfStock: boolean;
97
- hasBeltBadge: boolean;
98
- beltBadgeVariant: string;
99
- beltBadgeTitle: string;
100
- imageInfoText: string;
101
- imageInfoTextVariant: string;
102
- isShowOldPrice: boolean;
103
- isOldPricePeriodUnderline: boolean;
104
- hasImageOffset: boolean;
96
+ title?: string;
97
+ description?: string;
98
+ hasDiscount?: boolean;
99
+ hasCustomBadge?: boolean;
100
+ price?: string;
101
+ oldPrice?: string;
102
+ oldPricePeriod?: string;
103
+ slug?: string;
104
+ period?: string;
105
+ discountRate?: number;
106
+ isResponsive?: boolean;
107
+ image?: React.ReactNode;
108
+ customBadge?: React.ReactNode;
109
+ hasNewImageType?: boolean;
110
+ hasOutOfStock?: boolean;
111
+ hasBeltBadge?: boolean;
112
+ isShowOldPrice?: boolean;
113
+ beltBadgeVariant?: string;
114
+ beltBadgeTitle?: string;
115
+ imageInfoText?: string;
116
+ imageInfoTextVariant?: string;
117
+ isOldPricePeriodUnderline?: boolean;
118
+ hasImageOffset?: boolean;
105
119
  };
106
120
  };
107
121
  export declare const NoDiscount: {
@@ -110,25 +124,25 @@ export declare const NoDiscount: {
110
124
  discountRate: number;
111
125
  oldPrice: any;
112
126
  isShowOldPrice: boolean;
113
- title: string;
114
- description: string;
115
- price: string;
116
- oldPricePeriod: string;
117
- slug: string;
118
- period: string;
119
- isResponsive: boolean;
120
- image: import("react/jsx-runtime").JSX.Element;
121
- hasCustomBadge: boolean;
122
- customBadge: import("react/jsx-runtime").JSX.Element;
123
- hasNewImageType: boolean;
124
- hasOutOfStock: boolean;
125
- hasBeltBadge: boolean;
126
- beltBadgeVariant: string;
127
- beltBadgeTitle: string;
128
- imageInfoText: string;
129
- imageInfoTextVariant: string;
130
- isOldPricePeriodUnderline: boolean;
131
- hasImageOffset: boolean;
127
+ title?: string;
128
+ description?: string;
129
+ hasCustomBadge?: boolean;
130
+ price?: string;
131
+ oldPricePeriod?: string;
132
+ slug?: string;
133
+ period?: string;
134
+ isResponsive?: boolean;
135
+ image?: React.ReactNode;
136
+ customBadge?: React.ReactNode;
137
+ hasNewImageType?: boolean;
138
+ hasOutOfStock?: boolean;
139
+ hasBeltBadge?: boolean;
140
+ beltBadgeVariant?: string;
141
+ beltBadgeTitle?: string;
142
+ imageInfoText?: string;
143
+ imageInfoTextVariant?: string;
144
+ isOldPricePeriodUnderline?: boolean;
145
+ hasImageOffset?: boolean;
132
146
  };
133
147
  };
134
148
  export declare const OutOfStock: {
@@ -137,25 +151,25 @@ export declare const OutOfStock: {
137
151
  hasDiscount: boolean;
138
152
  discountRate: number;
139
153
  hasBeltBadge: boolean;
140
- title: string;
141
- description: string;
142
- price: string;
143
- oldPrice: string;
144
- oldPricePeriod: string;
145
- slug: string;
146
- period: string;
147
- isResponsive: boolean;
148
- image: import("react/jsx-runtime").JSX.Element;
149
- hasCustomBadge: boolean;
150
- customBadge: import("react/jsx-runtime").JSX.Element;
151
- hasNewImageType: boolean;
152
- beltBadgeVariant: string;
153
- beltBadgeTitle: string;
154
- imageInfoText: string;
155
- imageInfoTextVariant: string;
156
- isShowOldPrice: boolean;
157
- isOldPricePeriodUnderline: boolean;
158
- hasImageOffset: boolean;
154
+ title?: string;
155
+ description?: string;
156
+ hasCustomBadge?: boolean;
157
+ price?: string;
158
+ oldPrice?: string;
159
+ oldPricePeriod?: string;
160
+ slug?: string;
161
+ period?: string;
162
+ isResponsive?: boolean;
163
+ image?: React.ReactNode;
164
+ customBadge?: React.ReactNode;
165
+ hasNewImageType?: boolean;
166
+ isShowOldPrice?: boolean;
167
+ beltBadgeVariant?: string;
168
+ beltBadgeTitle?: string;
169
+ imageInfoText?: string;
170
+ imageInfoTextVariant?: string;
171
+ isOldPricePeriodUnderline?: boolean;
172
+ hasImageOffset?: boolean;
159
173
  };
160
174
  };
161
175
  export declare const WithCustomBadge: {
@@ -163,26 +177,26 @@ export declare const WithCustomBadge: {
163
177
  hasCustomBadge: boolean;
164
178
  hasBeltBadge: boolean;
165
179
  customBadge: import("react/jsx-runtime").JSX.Element;
166
- title: string;
167
- description: string;
168
- hasDiscount: boolean;
169
- price: string;
170
- oldPrice: string;
171
- oldPricePeriod: string;
172
- slug: string;
173
- period: string;
174
- discountRate: number;
175
- isResponsive: boolean;
176
- image: import("react/jsx-runtime").JSX.Element;
177
- hasNewImageType: boolean;
178
- hasOutOfStock: boolean;
179
- beltBadgeVariant: string;
180
- beltBadgeTitle: string;
181
- imageInfoText: string;
182
- imageInfoTextVariant: string;
183
- isShowOldPrice: boolean;
184
- isOldPricePeriodUnderline: boolean;
185
- hasImageOffset: boolean;
180
+ title?: string;
181
+ description?: string;
182
+ hasDiscount?: boolean;
183
+ price?: string;
184
+ oldPrice?: string;
185
+ oldPricePeriod?: string;
186
+ slug?: string;
187
+ period?: string;
188
+ discountRate?: number;
189
+ isResponsive?: boolean;
190
+ image?: React.ReactNode;
191
+ hasNewImageType?: boolean;
192
+ hasOutOfStock?: boolean;
193
+ isShowOldPrice?: boolean;
194
+ beltBadgeVariant?: string;
195
+ beltBadgeTitle?: string;
196
+ imageInfoText?: string;
197
+ imageInfoTextVariant?: string;
198
+ isOldPricePeriodUnderline?: boolean;
199
+ hasImageOffset?: boolean;
186
200
  };
187
201
  };
188
202
  export declare const ResponsiveWithNewImageType: {
@@ -190,107 +204,107 @@ export declare const ResponsiveWithNewImageType: {
190
204
  isResponsive: boolean;
191
205
  hasNewImageType: boolean;
192
206
  hasImageOffset: boolean;
193
- title: string;
194
- description: string;
195
- hasDiscount: boolean;
196
- price: string;
197
- oldPrice: string;
198
- oldPricePeriod: string;
199
- slug: string;
200
- period: string;
201
- discountRate: number;
202
- image: import("react/jsx-runtime").JSX.Element;
203
- hasCustomBadge: boolean;
204
- customBadge: import("react/jsx-runtime").JSX.Element;
205
- hasOutOfStock: boolean;
206
- hasBeltBadge: boolean;
207
- beltBadgeVariant: string;
208
- beltBadgeTitle: string;
209
- imageInfoText: string;
210
- imageInfoTextVariant: string;
211
- isShowOldPrice: boolean;
212
- isOldPricePeriodUnderline: boolean;
207
+ title?: string;
208
+ description?: string;
209
+ hasDiscount?: boolean;
210
+ hasCustomBadge?: boolean;
211
+ price?: string;
212
+ oldPrice?: string;
213
+ oldPricePeriod?: string;
214
+ slug?: string;
215
+ period?: string;
216
+ discountRate?: number;
217
+ image?: React.ReactNode;
218
+ customBadge?: React.ReactNode;
219
+ hasOutOfStock?: boolean;
220
+ hasBeltBadge?: boolean;
221
+ isShowOldPrice?: boolean;
222
+ beltBadgeVariant?: string;
223
+ beltBadgeTitle?: string;
224
+ imageInfoText?: string;
225
+ imageInfoTextVariant?: string;
226
+ isOldPricePeriodUnderline?: boolean;
213
227
  };
214
228
  };
215
229
  export declare const DarkImageInfoText: {
216
230
  args: {
217
231
  imageInfoTextVariant: string;
218
232
  imageInfoText: string;
219
- title: string;
220
- description: string;
221
- hasDiscount: boolean;
222
- price: string;
223
- oldPrice: string;
224
- oldPricePeriod: string;
225
- slug: string;
226
- period: string;
227
- discountRate: number;
228
- isResponsive: boolean;
229
- image: import("react/jsx-runtime").JSX.Element;
230
- hasCustomBadge: boolean;
231
- customBadge: import("react/jsx-runtime").JSX.Element;
232
- hasNewImageType: boolean;
233
- hasOutOfStock: boolean;
234
- hasBeltBadge: boolean;
235
- beltBadgeVariant: string;
236
- beltBadgeTitle: string;
237
- isShowOldPrice: boolean;
238
- isOldPricePeriodUnderline: boolean;
239
- hasImageOffset: boolean;
233
+ title?: string;
234
+ description?: string;
235
+ hasDiscount?: boolean;
236
+ hasCustomBadge?: boolean;
237
+ price?: string;
238
+ oldPrice?: string;
239
+ oldPricePeriod?: string;
240
+ slug?: string;
241
+ period?: string;
242
+ discountRate?: number;
243
+ isResponsive?: boolean;
244
+ image?: React.ReactNode;
245
+ customBadge?: React.ReactNode;
246
+ hasNewImageType?: boolean;
247
+ hasOutOfStock?: boolean;
248
+ hasBeltBadge?: boolean;
249
+ isShowOldPrice?: boolean;
250
+ beltBadgeVariant?: string;
251
+ beltBadgeTitle?: string;
252
+ isOldPricePeriodUnderline?: boolean;
253
+ hasImageOffset?: boolean;
240
254
  };
241
255
  };
242
256
  export declare const WithoutBeltBadge: {
243
257
  args: {
244
258
  hasBeltBadge: boolean;
245
- title: string;
246
- description: string;
247
- hasDiscount: boolean;
248
- price: string;
249
- oldPrice: string;
250
- oldPricePeriod: string;
251
- slug: string;
252
- period: string;
253
- discountRate: number;
254
- isResponsive: boolean;
255
- image: import("react/jsx-runtime").JSX.Element;
256
- hasCustomBadge: boolean;
257
- customBadge: import("react/jsx-runtime").JSX.Element;
258
- hasNewImageType: boolean;
259
- hasOutOfStock: boolean;
260
- beltBadgeVariant: string;
261
- beltBadgeTitle: string;
262
- imageInfoText: string;
263
- imageInfoTextVariant: string;
264
- isShowOldPrice: boolean;
265
- isOldPricePeriodUnderline: boolean;
266
- hasImageOffset: boolean;
259
+ title?: string;
260
+ description?: string;
261
+ hasDiscount?: boolean;
262
+ hasCustomBadge?: boolean;
263
+ price?: string;
264
+ oldPrice?: string;
265
+ oldPricePeriod?: string;
266
+ slug?: string;
267
+ period?: string;
268
+ discountRate?: number;
269
+ isResponsive?: boolean;
270
+ image?: React.ReactNode;
271
+ customBadge?: React.ReactNode;
272
+ hasNewImageType?: boolean;
273
+ hasOutOfStock?: boolean;
274
+ isShowOldPrice?: boolean;
275
+ beltBadgeVariant?: string;
276
+ beltBadgeTitle?: string;
277
+ imageInfoText?: string;
278
+ imageInfoTextVariant?: string;
279
+ isOldPricePeriodUnderline?: boolean;
280
+ hasImageOffset?: boolean;
267
281
  };
268
282
  };
269
283
  export declare const WithoutImageInfoText: {
270
284
  args: {
271
285
  imageInfoText: any;
272
- title: string;
273
- description: string;
274
- hasDiscount: boolean;
275
- price: string;
276
- oldPrice: string;
277
- oldPricePeriod: string;
278
- slug: string;
279
- period: string;
280
- discountRate: number;
281
- isResponsive: boolean;
282
- image: import("react/jsx-runtime").JSX.Element;
283
- hasCustomBadge: boolean;
284
- customBadge: import("react/jsx-runtime").JSX.Element;
285
- hasNewImageType: boolean;
286
- hasOutOfStock: boolean;
287
- hasBeltBadge: boolean;
288
- beltBadgeVariant: string;
289
- beltBadgeTitle: string;
290
- imageInfoTextVariant: string;
291
- isShowOldPrice: boolean;
292
- isOldPricePeriodUnderline: boolean;
293
- hasImageOffset: boolean;
286
+ title?: string;
287
+ description?: string;
288
+ hasDiscount?: boolean;
289
+ hasCustomBadge?: boolean;
290
+ price?: string;
291
+ oldPrice?: string;
292
+ oldPricePeriod?: string;
293
+ slug?: string;
294
+ period?: string;
295
+ discountRate?: number;
296
+ isResponsive?: boolean;
297
+ image?: React.ReactNode;
298
+ customBadge?: React.ReactNode;
299
+ hasNewImageType?: boolean;
300
+ hasOutOfStock?: boolean;
301
+ hasBeltBadge?: boolean;
302
+ isShowOldPrice?: boolean;
303
+ beltBadgeVariant?: string;
304
+ beltBadgeTitle?: string;
305
+ imageInfoTextVariant?: string;
306
+ isOldPricePeriodUnderline?: boolean;
307
+ hasImageOffset?: boolean;
294
308
  };
295
309
  };
296
310
  export declare const Minimal: {
@@ -301,103 +315,103 @@ export declare const Minimal: {
301
315
  isShowOldPrice: boolean;
302
316
  hasBeltBadge: boolean;
303
317
  imageInfoText: any;
304
- title: string;
305
- description: string;
306
- price: string;
307
- oldPricePeriod: string;
308
- slug: string;
309
- period: string;
310
- isResponsive: boolean;
311
- image: import("react/jsx-runtime").JSX.Element;
312
- hasCustomBadge: boolean;
313
- customBadge: import("react/jsx-runtime").JSX.Element;
314
- hasNewImageType: boolean;
315
- hasOutOfStock: boolean;
316
- beltBadgeVariant: string;
317
- beltBadgeTitle: string;
318
- imageInfoTextVariant: string;
319
- isOldPricePeriodUnderline: boolean;
320
- hasImageOffset: boolean;
318
+ title?: string;
319
+ description?: string;
320
+ hasCustomBadge?: boolean;
321
+ price?: string;
322
+ oldPricePeriod?: string;
323
+ slug?: string;
324
+ period?: string;
325
+ isResponsive?: boolean;
326
+ image?: React.ReactNode;
327
+ customBadge?: React.ReactNode;
328
+ hasNewImageType?: boolean;
329
+ hasOutOfStock?: boolean;
330
+ beltBadgeVariant?: string;
331
+ beltBadgeTitle?: string;
332
+ imageInfoTextVariant?: string;
333
+ isOldPricePeriodUnderline?: boolean;
334
+ hasImageOffset?: boolean;
321
335
  };
322
336
  };
323
337
  export declare const WithoutImageOffset: {
324
338
  args: {
325
339
  hasImageOffset: boolean;
326
- title: string;
327
- description: string;
328
- hasDiscount: boolean;
329
- price: string;
330
- oldPrice: string;
331
- oldPricePeriod: string;
332
- slug: string;
333
- period: string;
334
- discountRate: number;
335
- isResponsive: boolean;
336
- image: import("react/jsx-runtime").JSX.Element;
337
- hasCustomBadge: boolean;
338
- customBadge: import("react/jsx-runtime").JSX.Element;
339
- hasNewImageType: boolean;
340
- hasOutOfStock: boolean;
341
- hasBeltBadge: boolean;
342
- beltBadgeVariant: string;
343
- beltBadgeTitle: string;
344
- imageInfoText: string;
345
- imageInfoTextVariant: string;
346
- isShowOldPrice: boolean;
347
- isOldPricePeriodUnderline: boolean;
340
+ title?: string;
341
+ description?: string;
342
+ hasDiscount?: boolean;
343
+ hasCustomBadge?: boolean;
344
+ price?: string;
345
+ oldPrice?: string;
346
+ oldPricePeriod?: string;
347
+ slug?: string;
348
+ period?: string;
349
+ discountRate?: number;
350
+ isResponsive?: boolean;
351
+ image?: React.ReactNode;
352
+ customBadge?: React.ReactNode;
353
+ hasNewImageType?: boolean;
354
+ hasOutOfStock?: boolean;
355
+ hasBeltBadge?: boolean;
356
+ isShowOldPrice?: boolean;
357
+ beltBadgeVariant?: string;
358
+ beltBadgeTitle?: string;
359
+ imageInfoText?: string;
360
+ imageInfoTextVariant?: string;
361
+ isOldPricePeriodUnderline?: boolean;
348
362
  };
349
363
  };
350
364
  export declare const WithoutOldPrice: {
351
365
  args: {
352
366
  isShowOldPrice: boolean;
353
367
  oldPrice: any;
354
- title: string;
355
- description: string;
356
- hasDiscount: boolean;
357
- price: string;
358
- oldPricePeriod: string;
359
- slug: string;
360
- period: string;
361
- discountRate: number;
362
- isResponsive: boolean;
363
- image: import("react/jsx-runtime").JSX.Element;
364
- hasCustomBadge: boolean;
365
- customBadge: import("react/jsx-runtime").JSX.Element;
366
- hasNewImageType: boolean;
367
- hasOutOfStock: boolean;
368
- hasBeltBadge: boolean;
369
- beltBadgeVariant: string;
370
- beltBadgeTitle: string;
371
- imageInfoText: string;
372
- imageInfoTextVariant: string;
373
- isOldPricePeriodUnderline: boolean;
374
- hasImageOffset: boolean;
368
+ title?: string;
369
+ description?: string;
370
+ hasDiscount?: boolean;
371
+ hasCustomBadge?: boolean;
372
+ price?: string;
373
+ oldPricePeriod?: string;
374
+ slug?: string;
375
+ period?: string;
376
+ discountRate?: number;
377
+ isResponsive?: boolean;
378
+ image?: React.ReactNode;
379
+ customBadge?: React.ReactNode;
380
+ hasNewImageType?: boolean;
381
+ hasOutOfStock?: boolean;
382
+ hasBeltBadge?: boolean;
383
+ beltBadgeVariant?: string;
384
+ beltBadgeTitle?: string;
385
+ imageInfoText?: string;
386
+ imageInfoTextVariant?: string;
387
+ isOldPricePeriodUnderline?: boolean;
388
+ hasImageOffset?: boolean;
375
389
  };
376
390
  };
377
391
  export declare const WithoutOldPriceUnderline: {
378
392
  args: {
379
393
  isOldPricePeriodUnderline: boolean;
380
- title: string;
381
- description: string;
382
- hasDiscount: boolean;
383
- price: string;
384
- oldPrice: string;
385
- oldPricePeriod: string;
386
- slug: string;
387
- period: string;
388
- discountRate: number;
389
- isResponsive: boolean;
390
- image: import("react/jsx-runtime").JSX.Element;
391
- hasCustomBadge: boolean;
392
- customBadge: import("react/jsx-runtime").JSX.Element;
393
- hasNewImageType: boolean;
394
- hasOutOfStock: boolean;
395
- hasBeltBadge: boolean;
396
- beltBadgeVariant: string;
397
- beltBadgeTitle: string;
398
- imageInfoText: string;
399
- imageInfoTextVariant: string;
400
- isShowOldPrice: boolean;
401
- hasImageOffset: boolean;
394
+ title?: string;
395
+ description?: string;
396
+ hasDiscount?: boolean;
397
+ hasCustomBadge?: boolean;
398
+ price?: string;
399
+ oldPrice?: string;
400
+ oldPricePeriod?: string;
401
+ slug?: string;
402
+ period?: string;
403
+ discountRate?: number;
404
+ isResponsive?: boolean;
405
+ image?: React.ReactNode;
406
+ customBadge?: React.ReactNode;
407
+ hasNewImageType?: boolean;
408
+ hasOutOfStock?: boolean;
409
+ hasBeltBadge?: boolean;
410
+ isShowOldPrice?: boolean;
411
+ beltBadgeVariant?: string;
412
+ beltBadgeTitle?: string;
413
+ imageInfoText?: string;
414
+ imageInfoTextVariant?: string;
415
+ hasImageOffset?: boolean;
402
416
  };
403
417
  };