krl-alfred 2.25.2 → 2.25.4

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 (67) hide show
  1. package/dist/components/Button/Button.js +1 -1
  2. package/dist/components/Button/Button.test.js +40 -2
  3. package/dist/components/Dropdown/Dropdown.d.ts +2 -2
  4. package/dist/components/Dropdown/Dropdown.js +89 -19
  5. package/dist/components/Dropdown/Dropdown.styled.d.ts +2 -1
  6. package/dist/components/Dropdown/Dropdown.styled.js +4 -39
  7. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  8. package/dist/components/Dropdown/Dropdown.test.js +254 -0
  9. package/dist/components/Dropdown/props.d.ts +17 -9
  10. package/dist/components/Dropdown/props.js +3 -0
  11. package/dist/components/Dropdown/stories/Dropdown.stories.d.ts +44 -2
  12. package/dist/components/Dropdown/stories/Dropdown.stories.js +6 -3
  13. package/dist/components/Input/Input.d.ts +1 -1
  14. package/dist/components/Input/Input.js +45 -17
  15. package/dist/components/Input/Input.styled.js +1 -1
  16. package/dist/components/Input/Input.test.js +290 -7
  17. package/dist/components/Input/props.d.ts +5 -0
  18. package/dist/components/Input/props.js +5 -0
  19. package/dist/components/Input/stories/Input.stories.d.ts +74 -0
  20. package/dist/components/Input/stories/Input.stories.js +69 -1
  21. package/dist/components/PaymentCart/PaymentCart.d.ts +1 -1
  22. package/dist/components/PaymentCart/PaymentCart.js +4 -4
  23. package/dist/components/PaymentCart/PaymentCart.styled.js +1 -1
  24. package/dist/components/PaymentCart/PaymentCart.test.d.ts +1 -0
  25. package/dist/components/PaymentCart/PaymentCart.test.js +137 -0
  26. package/dist/components/PaymentCart/props.d.ts +3 -1
  27. package/dist/components/PaymentCart/props.js +2 -0
  28. package/dist/components/PaymentCart/stories/PaymentCart.stories.d.ts +63 -0
  29. package/dist/components/PaymentCart/stories/PaymentCart.stories.js +10 -2
  30. package/dist/components/ProductCardHorizontal/ProductCardHorizontal.js +1 -1
  31. package/dist/components/ProductCardHorizontal/ProductCardHorizontal.test.d.ts +1 -0
  32. package/dist/components/ProductCardHorizontal/ProductCardHorizontal.test.js +32 -0
  33. package/dist/components/QuantitySelector/QuantitySelector.d.ts +1 -1
  34. package/dist/components/QuantitySelector/QuantitySelector.js +5 -3
  35. package/dist/components/QuantitySelector/QuantitySelector.test.js +141 -35
  36. package/dist/components/QuantitySelector/props.d.ts +6 -0
  37. package/dist/components/QuantitySelector/props.js +3 -0
  38. package/dist/components/QuantitySelector/stories/QuantitySelector.stories.d.ts +43 -1
  39. package/dist/components/QuantitySelector/stories/QuantitySelector.stories.js +6 -0
  40. package/dist/components/SearchBox/SearchBox.js +76 -52
  41. package/dist/components/SearchBox/SearchBox.styled.js +1 -1
  42. package/dist/components/SearchBox/SearchBox.test.d.ts +1 -0
  43. package/dist/components/SearchBox/SearchBox.test.js +371 -0
  44. package/dist/components/SearchBox/props.d.ts +6 -0
  45. package/dist/components/SearchBox/props.js +3 -0
  46. package/dist/components/SearchBox/stories/SearchBox.stories.d.ts +23 -0
  47. package/dist/components/SearchBox/stories/SearchBox.stories.js +4 -0
  48. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.d.ts +1 -1
  49. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.js +2 -2
  50. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.test.js +67 -0
  51. package/dist/components/ShoppingCartProduct/props.d.ts +6 -0
  52. package/dist/components/ShoppingCartProduct/props.js +3 -0
  53. package/dist/components/ShoppingCartProduct/stories/ShoppingCartProduct.stories.d.ts +78 -0
  54. package/dist/components/ShoppingCartProduct/stories/ShoppingCartProduct.stories.js +6 -0
  55. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  56. package/dist/components/Tooltip/Tooltip.js +34 -3
  57. package/dist/components/Tooltip/Tooltip.styled.d.ts +1 -1
  58. package/dist/components/Tooltip/Tooltip.styled.js +3 -3
  59. package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
  60. package/dist/components/Tooltip/Tooltip.test.js +152 -0
  61. package/dist/components/Tooltip/props.d.ts +1 -0
  62. package/dist/components/Tooltip/props.js +1 -0
  63. package/dist/components/Tooltip/stories/Tooltip.stories.d.ts +22 -0
  64. package/dist/components/Tooltip/stories/Tooltip.stories.js +2 -0
  65. package/dist/i18n/locales/english.json +12 -0
  66. package/dist/i18n/locales/turkish.json +12 -0
  67. package/package.json +1 -1
@@ -27,6 +27,9 @@ declare const _default: {
27
27
  selectorTitle: {
28
28
  control: string;
29
29
  };
30
+ selectorAriaLabel: {
31
+ control: string;
32
+ };
30
33
  popupWidth: {
31
34
  control: string;
32
35
  };
@@ -65,6 +68,7 @@ export declare const Default: {
65
68
  popupRight: string;
66
69
  popupRightSm: string;
67
70
  id: string;
71
+ selectorAriaLabel: string;
68
72
  };
69
73
  };
70
74
  export declare const Open: {
@@ -84,6 +88,7 @@ export declare const Open: {
84
88
  popupRight: string;
85
89
  popupRightSm: string;
86
90
  id: string;
91
+ selectorAriaLabel: string;
87
92
  };
88
93
  };
89
94
  export declare const WithClickAction: {
@@ -103,6 +108,7 @@ export declare const WithClickAction: {
103
108
  popupRight: string;
104
109
  popupRightSm: string;
105
110
  id: string;
111
+ selectorAriaLabel: string;
106
112
  };
107
113
  };
108
114
  export declare const WithCloseOnOutsideClick: {
@@ -122,6 +128,7 @@ export declare const WithCloseOnOutsideClick: {
122
128
  popupRight: string;
123
129
  popupRightSm: string;
124
130
  id: string;
131
+ selectorAriaLabel: string;
125
132
  };
126
133
  };
127
134
  export declare const Small: {
@@ -141,6 +148,7 @@ export declare const Small: {
141
148
  popupRight: string;
142
149
  popupRightSm: string;
143
150
  id: string;
151
+ selectorAriaLabel: string;
144
152
  };
145
153
  };
146
154
  export declare const Medium: {
@@ -160,6 +168,7 @@ export declare const Medium: {
160
168
  popupRight: string;
161
169
  popupRightSm: string;
162
170
  id: string;
171
+ selectorAriaLabel: string;
163
172
  };
164
173
  };
165
174
  export declare const BottomCenter: {
@@ -179,6 +188,7 @@ export declare const BottomCenter: {
179
188
  popupRight: string;
180
189
  popupRightSm: string;
181
190
  id: string;
191
+ selectorAriaLabel: string;
182
192
  };
183
193
  };
184
194
  export declare const BottomRight: {
@@ -198,6 +208,7 @@ export declare const BottomRight: {
198
208
  popupRight: string;
199
209
  popupRightSm: string;
200
210
  id: string;
211
+ selectorAriaLabel: string;
201
212
  };
202
213
  };
203
214
  export declare const BottomLeft: {
@@ -217,6 +228,7 @@ export declare const BottomLeft: {
217
228
  popupRight: string;
218
229
  popupRightSm: string;
219
230
  id: string;
231
+ selectorAriaLabel: string;
220
232
  };
221
233
  };
222
234
  export declare const TopCenter: {
@@ -236,6 +248,7 @@ export declare const TopCenter: {
236
248
  popupRight: string;
237
249
  popupRightSm: string;
238
250
  id: string;
251
+ selectorAriaLabel: string;
239
252
  };
240
253
  };
241
254
  export declare const TopRight: {
@@ -255,6 +268,7 @@ export declare const TopRight: {
255
268
  popupRight: string;
256
269
  popupRightSm: string;
257
270
  id: string;
271
+ selectorAriaLabel: string;
258
272
  };
259
273
  };
260
274
  export declare const TopLeft: {
@@ -274,6 +288,7 @@ export declare const TopLeft: {
274
288
  popupRight: string;
275
289
  popupRightSm: string;
276
290
  id: string;
291
+ selectorAriaLabel: string;
277
292
  };
278
293
  };
279
294
  export declare const WithoutTitle: {
@@ -293,6 +308,7 @@ export declare const WithoutTitle: {
293
308
  popupRight: string;
294
309
  popupRightSm: string;
295
310
  id: string;
311
+ selectorAriaLabel: string;
296
312
  };
297
313
  };
298
314
  export declare const WithoutSelectorTitle: {
@@ -312,6 +328,7 @@ export declare const WithoutSelectorTitle: {
312
328
  popupRight: string;
313
329
  popupRightSm: string;
314
330
  id: string;
331
+ selectorAriaLabel: string;
315
332
  };
316
333
  };
317
334
  export declare const LargeIcon: {
@@ -331,6 +348,7 @@ export declare const LargeIcon: {
331
348
  popupRight: string;
332
349
  popupRightSm: string;
333
350
  id: string;
351
+ selectorAriaLabel: string;
334
352
  };
335
353
  };
336
354
  export declare const WidePopup: {
@@ -350,6 +368,7 @@ export declare const WidePopup: {
350
368
  popupRight: string;
351
369
  popupRightSm: string;
352
370
  id: string;
371
+ selectorAriaLabel: string;
353
372
  };
354
373
  };
355
374
  export declare const CustomOffsets: {
@@ -369,6 +388,7 @@ export declare const CustomOffsets: {
369
388
  popupWidth: string;
370
389
  selectorTitle: string;
371
390
  id: string;
391
+ selectorAriaLabel: string;
372
392
  };
373
393
  };
374
394
  export declare const AllPositions: {
@@ -388,6 +408,7 @@ export declare const AllPositions: {
388
408
  popupRight: string;
389
409
  popupRightSm: string;
390
410
  id: string;
411
+ selectorAriaLabel: string;
391
412
  };
392
413
  render: (args: any) => React.JSX.Element;
393
414
  };
@@ -408,5 +429,6 @@ export declare const Complete: {
408
429
  popupRight: string;
409
430
  popupRightSm: string;
410
431
  id: string;
432
+ selectorAriaLabel: string;
411
433
  };
412
434
  };
@@ -34,6 +34,7 @@ var baseArgs = {
34
34
  popupRight: "",
35
35
  popupRightSm: "",
36
36
  id: "tooltip",
37
+ selectorAriaLabel: "Daha fazla bilgi",
37
38
  };
38
39
  var Frame = function (_a) {
39
40
  var children = _a.children;
@@ -51,6 +52,7 @@ exports.default = {
51
52
  isOpen: { control: "boolean" },
52
53
  title: { control: "text" },
53
54
  selectorTitle: { control: "text" },
55
+ selectorAriaLabel: { control: "text" },
54
56
  popupWidth: { control: "text" },
55
57
  iconWidth: { control: "text" },
56
58
  iconHeight: { control: "text" },
@@ -11,7 +11,19 @@
11
11
  "CHOOSE_PRIMARY_CART": "Birincil kart olarak seç",
12
12
  "CHOOSE_SPARE_CART": "Yedek kart olarak seç",
13
13
  "DELETE_CART": "Kartı sil",
14
+ "PAYMENT_CARD_ACTIONS": "Payment card actions",
15
+ "PAYMENT_CARD_INFORMATION": "Payment card information",
14
16
  "SEARCH": "search",
17
+ "SEARCH_LOADING": "Search results are loading",
18
+ "INCREASE_QUANTITY": "Increase quantity",
19
+ "DECREASE_QUANTITY": "Decrease quantity",
20
+ "REMOVE_ITEM": "Remove item",
21
+ "DATE_PICKER_PREVIOUS_YEAR": "Previous year",
22
+ "DATE_PICKER_PREVIOUS_MONTH": "Previous month",
23
+ "DATE_PICKER_NEXT_MONTH": "Next month",
24
+ "DATE_PICKER_NEXT_YEAR": "Next year",
25
+ "DATE_PICKER_CHOOSE_DAY": "Choose date",
26
+ "DATE_PICKER_DISABLED_DAY": "Not available",
15
27
  "NO_OPTIONS_FOUND": "Not found",
16
28
  "GO": "Go",
17
29
  "OPTIONAL": "Optional",
@@ -11,7 +11,19 @@
11
11
  "CHOOSE_PRIMARY_CART": "Birincil kart olarak seç",
12
12
  "CHOOSE_SPARE_CART": "Yedek kart olarak seç",
13
13
  "DELETE_CART": "Kartı sil",
14
+ "PAYMENT_CARD_ACTIONS": "Ödeme kartı işlemleri",
15
+ "PAYMENT_CARD_INFORMATION": "Ödeme kartı hakkında bilgi",
14
16
  "SEARCH": "Arama yap",
17
+ "SEARCH_LOADING": "Arama sonuçları yükleniyor",
18
+ "INCREASE_QUANTITY": "Adedi artır",
19
+ "DECREASE_QUANTITY": "Adedi azalt",
20
+ "REMOVE_ITEM": "Ürünü kaldır",
21
+ "DATE_PICKER_PREVIOUS_YEAR": "Önceki yıl",
22
+ "DATE_PICKER_PREVIOUS_MONTH": "Önceki ay",
23
+ "DATE_PICKER_NEXT_MONTH": "Sonraki ay",
24
+ "DATE_PICKER_NEXT_YEAR": "Sonraki yıl",
25
+ "DATE_PICKER_CHOOSE_DAY": "Tarih seç",
26
+ "DATE_PICKER_DISABLED_DAY": "Seçilemez",
15
27
  "NO_OPTIONS_FOUND": "Sonuç bulunamadı",
16
28
  "GO": "Git",
17
29
  "OPTIONAL": "Opsiyonel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krl-alfred",
3
- "version": "2.25.2",
3
+ "version": "2.25.4",
4
4
  "files": [
5
5
  "dist"
6
6
  ],