@handijitcom/ui 3.7.0 → 3.8.0

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 (95) hide show
  1. package/README.md +83 -2
  2. package/build/components/AddToCart/index.cjs +2 -0
  3. package/build/components/AddToCart/index.cjs.map +1 -0
  4. package/build/components/AddToCart/index.d.cts +31 -0
  5. package/build/components/AddToCart/index.d.ts +31 -0
  6. package/build/components/AddToCart/index.js +62 -0
  7. package/build/components/AddToCart/index.js.map +1 -0
  8. package/build/components/AddToCart/style.css +1 -0
  9. package/build/components/CodeText/index.cjs.map +1 -1
  10. package/build/components/CodeText/index.js +11 -11
  11. package/build/components/CodeText/index.js.map +1 -1
  12. package/build/components/Heading/index.cjs +1 -1
  13. package/build/components/Heading/index.cjs.map +1 -1
  14. package/build/components/Heading/index.js +7 -7
  15. package/build/components/Heading/index.js.map +1 -1
  16. package/build/components/PartNumberList/index.cjs +2 -0
  17. package/build/components/PartNumberList/index.cjs.map +1 -0
  18. package/build/components/PartNumberList/index.d.cts +30 -0
  19. package/build/components/PartNumberList/index.d.ts +30 -0
  20. package/build/components/PartNumberList/index.js +36 -0
  21. package/build/components/PartNumberList/index.js.map +1 -0
  22. package/build/components/PartNumberList/style.css +1 -0
  23. package/build/components/ProductCard/index.cjs +2 -0
  24. package/build/components/ProductCard/index.cjs.map +1 -0
  25. package/build/components/ProductCard/index.d.cts +55 -0
  26. package/build/components/ProductCard/index.d.ts +55 -0
  27. package/build/components/ProductCard/index.js +58 -0
  28. package/build/components/ProductCard/index.js.map +1 -0
  29. package/build/components/ProductCard/style.css +1 -0
  30. package/build/components/ProductRow/columns.cjs +2 -0
  31. package/build/components/ProductRow/columns.cjs.map +1 -0
  32. package/build/components/ProductRow/columns.d.cts +27 -0
  33. package/build/components/ProductRow/columns.d.ts +27 -0
  34. package/build/components/ProductRow/columns.js +83 -0
  35. package/build/components/ProductRow/columns.js.map +1 -0
  36. package/build/components/ProductRow/index.cjs +2 -0
  37. package/build/components/ProductRow/index.cjs.map +1 -0
  38. package/build/components/ProductRow/index.d.cts +25 -0
  39. package/build/components/ProductRow/index.d.ts +25 -0
  40. package/build/components/ProductRow/index.js +43 -0
  41. package/build/components/ProductRow/index.js.map +1 -0
  42. package/build/components/ProductRow/parts.cjs +2 -0
  43. package/build/components/ProductRow/parts.cjs.map +1 -0
  44. package/build/components/ProductRow/parts.d.cts +32 -0
  45. package/build/components/ProductRow/parts.d.ts +32 -0
  46. package/build/components/ProductRow/parts.js +31 -0
  47. package/build/components/ProductRow/parts.js.map +1 -0
  48. package/build/components/ProductRow/style.css +1 -0
  49. package/build/components/QuantityStepper/index.cjs +1 -1
  50. package/build/components/QuantityStepper/index.cjs.map +1 -1
  51. package/build/components/QuantityStepper/index.js +28 -28
  52. package/build/components/QuantityStepper/index.js.map +1 -1
  53. package/build/components/SpecTable/index.cjs +2 -0
  54. package/build/components/SpecTable/index.cjs.map +1 -0
  55. package/build/components/SpecTable/index.d.cts +25 -0
  56. package/build/components/SpecTable/index.d.ts +25 -0
  57. package/build/components/SpecTable/index.js +25 -0
  58. package/build/components/SpecTable/index.js.map +1 -0
  59. package/build/components/SpecTable/style.css +1 -0
  60. package/build/components/StatusCell/index.cjs +2 -0
  61. package/build/components/StatusCell/index.cjs.map +1 -0
  62. package/build/components/StatusCell/index.d.cts +28 -0
  63. package/build/components/StatusCell/index.d.ts +28 -0
  64. package/build/components/StatusCell/index.js +24 -0
  65. package/build/components/StatusCell/index.js.map +1 -0
  66. package/build/components/StatusCell/style.css +1 -0
  67. package/build/components/StockStatus/index.cjs +2 -0
  68. package/build/components/StockStatus/index.cjs.map +1 -0
  69. package/build/components/StockStatus/index.d.cts +28 -0
  70. package/build/components/StockStatus/index.d.ts +28 -0
  71. package/build/components/StockStatus/index.js +36 -0
  72. package/build/components/StockStatus/index.js.map +1 -0
  73. package/build/components/StockStatus/style.css +1 -0
  74. package/build/components/Tooltip/index.cjs +1 -1
  75. package/build/components/Tooltip/index.cjs.map +1 -1
  76. package/build/components/Tooltip/index.js +27 -27
  77. package/build/components/Tooltip/index.js.map +1 -1
  78. package/build/components/VehicleTypeList/index.cjs +2 -0
  79. package/build/components/VehicleTypeList/index.cjs.map +1 -0
  80. package/build/components/VehicleTypeList/index.d.cts +17 -0
  81. package/build/components/VehicleTypeList/index.d.ts +17 -0
  82. package/build/components/VehicleTypeList/index.js +47 -0
  83. package/build/components/VehicleTypeList/index.js.map +1 -0
  84. package/build/components/VehicleTypeList/style.css +1 -0
  85. package/build/index.cjs +1 -1
  86. package/build/index.d.cts +8 -0
  87. package/build/index.d.ts +8 -0
  88. package/build/index.js +130 -112
  89. package/build/index.js.map +1 -1
  90. package/build/styles.css +20 -0
  91. package/build/types/theme.type.d.cts +25 -0
  92. package/build/types/theme.type.d.ts +25 -0
  93. package/build/types/types/theme.type.d.cts +25 -0
  94. package/build/types/types/theme.type.d.ts +25 -0
  95. package/package.json +81 -1
@@ -243,6 +243,31 @@ export type UiLabels = Partial<{
243
243
  /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
244
244
  seeAll: Formatter<[label: string]>;
245
245
  }>;
246
+ /** The B2B product parts (3.8): `ProductCard`, `ProductRow`, `productColumns`, `AddToCart`, `PartNumberList`. */
247
+ product: Partial<{
248
+ /** The add-to-cart button ("Sepete ekle"). */
249
+ addToCart: string;
250
+ /** The quantity box of an add-to-cart row ("Adet"). */
251
+ quantity: string;
252
+ /** The list of compatible vehicle types ("Uyumlu araç tipleri"). */
253
+ vehicleTypes: string;
254
+ /** Read after the "+N" of the types not shown, e.g. `count => count + ' araç tipi daha'`. */
255
+ moreVehicleTypes: Formatter<[count: number]>;
256
+ /** Column headings of a product table and a part-number list. */
257
+ image: string;
258
+ partNumber: string;
259
+ name: string;
260
+ brand: string;
261
+ stock: string;
262
+ price: string;
263
+ /** The heading of the visitor's merged stock-and-price column ("Fiyat ve stok"). */
264
+ access: string;
265
+ /** The action column's name ("Sepete ekle"); it has no visible heading. */
266
+ action: string;
267
+ /** `PartNumberList`: the kind of a number ("Tür": OEM, Muadil) and the number ("Numara"). */
268
+ numberType: string;
269
+ number: string;
270
+ }>;
246
271
  /** `BulkPasteInput` (3.1). */
247
272
  bulkPaste: Partial<{
248
273
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
@@ -243,6 +243,31 @@ export type UiLabels = Partial<{
243
243
  /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
244
244
  seeAll: Formatter<[label: string]>;
245
245
  }>;
246
+ /** The B2B product parts (3.8): `ProductCard`, `ProductRow`, `productColumns`, `AddToCart`, `PartNumberList`. */
247
+ product: Partial<{
248
+ /** The add-to-cart button ("Sepete ekle"). */
249
+ addToCart: string;
250
+ /** The quantity box of an add-to-cart row ("Adet"). */
251
+ quantity: string;
252
+ /** The list of compatible vehicle types ("Uyumlu araç tipleri"). */
253
+ vehicleTypes: string;
254
+ /** Read after the "+N" of the types not shown, e.g. `count => count + ' araç tipi daha'`. */
255
+ moreVehicleTypes: Formatter<[count: number]>;
256
+ /** Column headings of a product table and a part-number list. */
257
+ image: string;
258
+ partNumber: string;
259
+ name: string;
260
+ brand: string;
261
+ stock: string;
262
+ price: string;
263
+ /** The heading of the visitor's merged stock-and-price column ("Fiyat ve stok"). */
264
+ access: string;
265
+ /** The action column's name ("Sepete ekle"); it has no visible heading. */
266
+ action: string;
267
+ /** `PartNumberList`: the kind of a number ("Tür": OEM, Muadil) and the number ("Numara"). */
268
+ numberType: string;
269
+ number: string;
270
+ }>;
246
271
  /** `BulkPasteInput` (3.1). */
247
272
  bulkPaste: Partial<{
248
273
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
@@ -243,6 +243,31 @@ export type UiLabels = Partial<{
243
243
  /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
244
244
  seeAll: Formatter<[label: string]>;
245
245
  }>;
246
+ /** The B2B product parts (3.8): `ProductCard`, `ProductRow`, `productColumns`, `AddToCart`, `PartNumberList`. */
247
+ product: Partial<{
248
+ /** The add-to-cart button ("Sepete ekle"). */
249
+ addToCart: string;
250
+ /** The quantity box of an add-to-cart row ("Adet"). */
251
+ quantity: string;
252
+ /** The list of compatible vehicle types ("Uyumlu araç tipleri"). */
253
+ vehicleTypes: string;
254
+ /** Read after the "+N" of the types not shown, e.g. `count => count + ' araç tipi daha'`. */
255
+ moreVehicleTypes: Formatter<[count: number]>;
256
+ /** Column headings of a product table and a part-number list. */
257
+ image: string;
258
+ partNumber: string;
259
+ name: string;
260
+ brand: string;
261
+ stock: string;
262
+ price: string;
263
+ /** The heading of the visitor's merged stock-and-price column ("Fiyat ve stok"). */
264
+ access: string;
265
+ /** The action column's name ("Sepete ekle"); it has no visible heading. */
266
+ action: string;
267
+ /** `PartNumberList`: the kind of a number ("Tür": OEM, Muadil) and the number ("Numara"). */
268
+ numberType: string;
269
+ number: string;
270
+ }>;
246
271
  /** `BulkPasteInput` (3.1). */
247
272
  bulkPaste: Partial<{
248
273
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handijitcom/ui",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "Accessible React component library on SCSS Modules, themed by its own design tokens (@handijitcom/ui/design): light and dark from one set of --hd-* tokens, a CSP-ready theme boot script, and Bootstrap Icons for iconography.",
5
5
  "author": "Ahmet ilhan <ahmetilhan.dev@gmail.com>",
6
6
  "license": "MIT",
@@ -36,6 +36,16 @@
36
36
  "default": "./build/components/Accordion/index.cjs"
37
37
  }
38
38
  },
39
+ "./add-to-cart": {
40
+ "import": {
41
+ "types": "./build/components/AddToCart/index.d.ts",
42
+ "default": "./build/components/AddToCart/index.js"
43
+ },
44
+ "require": {
45
+ "types": "./build/components/AddToCart/index.d.cts",
46
+ "default": "./build/components/AddToCart/index.cjs"
47
+ }
48
+ },
39
49
  "./alert": {
40
50
  "import": {
41
51
  "types": "./build/components/Alert/index.d.ts",
@@ -546,6 +556,16 @@
546
556
  "default": "./build/components/Panel/index.cjs"
547
557
  }
548
558
  },
559
+ "./part-number-list": {
560
+ "import": {
561
+ "types": "./build/components/PartNumberList/index.d.ts",
562
+ "default": "./build/components/PartNumberList/index.js"
563
+ },
564
+ "require": {
565
+ "types": "./build/components/PartNumberList/index.d.cts",
566
+ "default": "./build/components/PartNumberList/index.cjs"
567
+ }
568
+ },
549
569
  "./password-input": {
550
570
  "import": {
551
571
  "types": "./build/components/PasswordInput/index.d.ts",
@@ -586,6 +606,16 @@
586
606
  "default": "./build/components/Price/index.cjs"
587
607
  }
588
608
  },
609
+ "./product-card": {
610
+ "import": {
611
+ "types": "./build/components/ProductCard/index.d.ts",
612
+ "default": "./build/components/ProductCard/index.js"
613
+ },
614
+ "require": {
615
+ "types": "./build/components/ProductCard/index.d.cts",
616
+ "default": "./build/components/ProductCard/index.cjs"
617
+ }
618
+ },
589
619
  "./product-carousel": {
590
620
  "import": {
591
621
  "types": "./build/components/ProductCarousel/index.d.ts",
@@ -596,6 +626,16 @@
596
626
  "default": "./build/components/ProductCarousel/index.cjs"
597
627
  }
598
628
  },
629
+ "./product-row": {
630
+ "import": {
631
+ "types": "./build/components/ProductRow/index.d.ts",
632
+ "default": "./build/components/ProductRow/index.js"
633
+ },
634
+ "require": {
635
+ "types": "./build/components/ProductRow/index.d.cts",
636
+ "default": "./build/components/ProductRow/index.cjs"
637
+ }
638
+ },
599
639
  "./progress": {
600
640
  "import": {
601
641
  "types": "./build/components/Progress/index.d.ts",
@@ -766,6 +806,16 @@
766
806
  "default": "./build/components/SortableList/index.cjs"
767
807
  }
768
808
  },
809
+ "./spec-table": {
810
+ "import": {
811
+ "types": "./build/components/SpecTable/index.d.ts",
812
+ "default": "./build/components/SpecTable/index.js"
813
+ },
814
+ "require": {
815
+ "types": "./build/components/SpecTable/index.d.cts",
816
+ "default": "./build/components/SpecTable/index.cjs"
817
+ }
818
+ },
769
819
  "./spinner": {
770
820
  "import": {
771
821
  "types": "./build/components/Spinner/index.d.ts",
@@ -806,6 +856,16 @@
806
856
  "default": "./build/components/StatStrip/index.cjs"
807
857
  }
808
858
  },
859
+ "./status-cell": {
860
+ "import": {
861
+ "types": "./build/components/StatusCell/index.d.ts",
862
+ "default": "./build/components/StatusCell/index.js"
863
+ },
864
+ "require": {
865
+ "types": "./build/components/StatusCell/index.d.cts",
866
+ "default": "./build/components/StatusCell/index.cjs"
867
+ }
868
+ },
809
869
  "./status-dot": {
810
870
  "import": {
811
871
  "types": "./build/components/StatusDot/index.d.ts",
@@ -836,6 +896,16 @@
836
896
  "default": "./build/components/StickyActionBar/index.cjs"
837
897
  }
838
898
  },
899
+ "./stock-status": {
900
+ "import": {
901
+ "types": "./build/components/StockStatus/index.d.ts",
902
+ "default": "./build/components/StockStatus/index.js"
903
+ },
904
+ "require": {
905
+ "types": "./build/components/StockStatus/index.d.cts",
906
+ "default": "./build/components/StockStatus/index.cjs"
907
+ }
908
+ },
839
909
  "./summary-card": {
840
910
  "import": {
841
911
  "types": "./build/components/SummaryCard/index.d.ts",
@@ -1006,6 +1076,16 @@
1006
1076
  "default": "./build/components/UserMenu/index.cjs"
1007
1077
  }
1008
1078
  },
1079
+ "./vehicle-type-list": {
1080
+ "import": {
1081
+ "types": "./build/components/VehicleTypeList/index.d.ts",
1082
+ "default": "./build/components/VehicleTypeList/index.js"
1083
+ },
1084
+ "require": {
1085
+ "types": "./build/components/VehicleTypeList/index.d.cts",
1086
+ "default": "./build/components/VehicleTypeList/index.cjs"
1087
+ }
1088
+ },
1009
1089
  "./chat": {
1010
1090
  "import": {
1011
1091
  "types": "./build/types/chat/index.d.ts",