@alfalab/core-components-tabs 7.3.9 → 7.3.11

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 (142) hide show
  1. package/Component-3885b0d7.d.ts +5 -0
  2. package/Component-3e68f8db.d.ts +2 -2
  3. package/{esm/Component-cac440c1.d.ts → Component-a8deae7f.d.ts} +1 -1
  4. package/component-3885b0d7.d.ts +216 -0
  5. package/components/primary-tablist/Component.desktop.js +1 -1
  6. package/components/primary-tablist/Component.mobile.js +2 -2
  7. package/components/primary-tablist/Component.responsive.js +1 -1
  8. package/components/primary-tablist/index.css +31 -31
  9. package/components/primary-tablist/mobile.css +105 -34
  10. package/components/scrollable-container/Component.js +1 -1
  11. package/components/scrollable-container/index.css +7 -7
  12. package/components/secondary-tablist/Component.desktop.js +1 -1
  13. package/components/secondary-tablist/Component.mobile.js +2 -2
  14. package/components/secondary-tablist/Component.responsive.js +1 -1
  15. package/components/secondary-tablist/index.css +13 -13
  16. package/components/secondary-tablist/mobile.css +86 -15
  17. package/components/tab/Component.js +1 -1
  18. package/components/tab/index.css +3 -3
  19. package/components/tabs/Component.desktop.js +2 -2
  20. package/components/tabs/Component.mobile.js +2 -2
  21. package/components/tabs/Component.responsive.js +2 -2
  22. package/cssm/Component-3885b0d7.d.ts +5 -0
  23. package/cssm/Component-3e68f8db.d.ts +2 -2
  24. package/{Component-cac440c1.d.ts → cssm/Component-a8deae7f.d.ts} +1 -1
  25. package/cssm/component-3885b0d7.d.ts +216 -0
  26. package/cssm/components/primary-tablist/index.module.css +2 -2
  27. package/cssm/components/primary-tablist/mobile.module.css +2 -2
  28. package/cssm/components/scrollable-container/index.module.css +2 -2
  29. package/cssm/components/secondary-tablist/index.module.css +2 -2
  30. package/cssm/components/secondary-tablist/mobile.module.css +2 -2
  31. package/cssm/{getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
  32. package/cssm/index-3e68f8db.d.ts +3 -3
  33. package/cssm/index-48646db0.d.ts +1 -1
  34. package/cssm/index-7ca84eff.d.ts +1 -215
  35. package/cssm/index-e81c389f.d.ts +3 -141
  36. package/cssm/index-ebda875c.d.ts +1 -1
  37. package/cssm/types-ebda875c.d.ts +113 -0
  38. package/cssm/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
  39. package/cssm/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
  40. package/cssm/vars.css +2 -2
  41. package/desktop.js +2 -2
  42. package/esm/Component-3885b0d7.d.ts +5 -0
  43. package/esm/Component-3e68f8db.d.ts +2 -2
  44. package/{modern/Component-cac440c1.d.ts → esm/Component-a8deae7f.d.ts} +1 -1
  45. package/esm/component-3885b0d7.d.ts +216 -0
  46. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  47. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  48. package/esm/components/primary-tablist/Component.responsive.js +1 -1
  49. package/esm/components/primary-tablist/index.css +31 -31
  50. package/esm/components/primary-tablist/mobile.css +105 -34
  51. package/esm/components/scrollable-container/Component.js +1 -1
  52. package/esm/components/scrollable-container/index.css +7 -7
  53. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  54. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  55. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  56. package/esm/components/secondary-tablist/index.css +13 -13
  57. package/esm/components/secondary-tablist/mobile.css +86 -15
  58. package/esm/components/tab/Component.js +1 -1
  59. package/esm/components/tab/index.css +3 -3
  60. package/esm/components/tabs/Component.desktop.js +2 -2
  61. package/esm/components/tabs/Component.mobile.js +2 -2
  62. package/esm/components/tabs/Component.responsive.js +2 -2
  63. package/esm/desktop.js +2 -2
  64. package/{getDataTestId-3fe0d3e6.d.ts → esm/index-3885b0d7.d.ts} +2 -1
  65. package/esm/index-3e68f8db.d.ts +3 -3
  66. package/esm/index-48646db0.d.ts +1 -1
  67. package/esm/index-7ca84eff.d.ts +1 -215
  68. package/esm/index-e81c389f.d.ts +3 -141
  69. package/esm/index-ebda875c.d.ts +1 -1
  70. package/esm/index.js +2 -2
  71. package/esm/index.module-1865aaf0.js +4 -0
  72. package/esm/index.module-e818c324.js +4 -0
  73. package/esm/mobile.js +2 -2
  74. package/esm/responsive.js +2 -2
  75. package/esm/types-ebda875c.d.ts +113 -0
  76. package/esm/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
  77. package/esm/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
  78. package/{esm/getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
  79. package/index-3e68f8db.d.ts +3 -3
  80. package/index-48646db0.d.ts +1 -1
  81. package/index-7ca84eff.d.ts +1 -215
  82. package/index-e81c389f.d.ts +3 -141
  83. package/index-ebda875c.d.ts +1 -1
  84. package/index.js +2 -2
  85. package/index.module-07471830.js +6 -0
  86. package/index.module-38e2880e.js +6 -0
  87. package/mobile.js +2 -2
  88. package/modern/Component-3885b0d7.d.ts +5 -0
  89. package/modern/Component-3e68f8db.d.ts +2 -2
  90. package/{cssm/Component-cac440c1.d.ts → modern/Component-a8deae7f.d.ts} +1 -1
  91. package/modern/component-3885b0d7.d.ts +216 -0
  92. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  93. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  94. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  95. package/modern/components/primary-tablist/index.css +31 -31
  96. package/modern/components/primary-tablist/mobile.css +105 -34
  97. package/modern/components/scrollable-container/Component.js +1 -1
  98. package/modern/components/scrollable-container/index.css +7 -7
  99. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  100. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  101. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  102. package/modern/components/secondary-tablist/index.css +13 -13
  103. package/modern/components/secondary-tablist/mobile.css +86 -15
  104. package/modern/components/tab/Component.js +1 -1
  105. package/modern/components/tab/index.css +3 -3
  106. package/modern/components/tabs/Component.desktop.js +2 -2
  107. package/modern/components/tabs/Component.mobile.js +2 -2
  108. package/modern/components/tabs/Component.responsive.js +2 -2
  109. package/modern/desktop.js +2 -2
  110. package/modern/{getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
  111. package/modern/index-3e68f8db.d.ts +3 -3
  112. package/modern/index-48646db0.d.ts +1 -1
  113. package/modern/index-7ca84eff.d.ts +1 -215
  114. package/modern/index-e81c389f.d.ts +3 -141
  115. package/modern/index-ebda875c.d.ts +1 -1
  116. package/modern/index.js +2 -2
  117. package/modern/index.module-540790c1.js +4 -0
  118. package/modern/index.module-a26a42c3.js +4 -0
  119. package/modern/mobile.js +2 -2
  120. package/modern/responsive.js +2 -2
  121. package/modern/types-ebda875c.d.ts +113 -0
  122. package/modern/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
  123. package/modern/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
  124. package/package.json +3 -3
  125. package/responsive.js +2 -2
  126. package/types-ebda875c.d.ts +113 -0
  127. package/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
  128. package/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
  129. package/Component-7ca84eff.d.ts +0 -5
  130. package/cssm/Component-7ca84eff.d.ts +0 -5
  131. package/cssm/index-3fe0d3e6.d.ts +0 -3
  132. package/esm/Component-7ca84eff.d.ts +0 -5
  133. package/esm/index-3fe0d3e6.d.ts +0 -3
  134. package/esm/index.module-b06e730b.js +0 -4
  135. package/esm/index.module-ea1e031b.js +0 -4
  136. package/index-3fe0d3e6.d.ts +0 -3
  137. package/index.module-9aac8027.js +0 -6
  138. package/index.module-dde2566f.js +0 -6
  139. package/modern/Component-7ca84eff.d.ts +0 -5
  140. package/modern/index-3fe0d3e6.d.ts +0 -3
  141. package/modern/index.module-1428a125.js +0 -4
  142. package/modern/index.module-1e6e4859.js +0 -4
@@ -1,7 +1,7 @@
1
- /* hash: 1g2cq */
1
+ /* hash: 1pm5d */
2
2
  :root {
3
- }/* deprecated */:root {
4
- }:root {
3
+ }/* deprecated */:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ }:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  }:root {
6
6
  }:root {
7
7
 
@@ -51,30 +51,30 @@
51
51
 
52
52
  /* size xl */
53
53
  --secondary-tablist-xl-gaps: var(--gap-m);
54
- }.tabs__component_1ki8z {
54
+ }.tabs__component_131lr {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_1ki8z {
57
+ }.tabs__fullWidthScroll_131lr {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_1ki8z {
59
+ }.tabs__container_131lr {
60
60
  overflow: hidden;
61
61
 
62
62
  /* focus-outline fix */
63
63
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
64
64
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
65
- }.tabs__title_1ki8z {
65
+ }.tabs__title_131lr {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
67
+ }/* sizes */.tabs__xxs_131lr .tabs__title_131lr + .tabs__title_131lr {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
69
+ }.tabs__xs_131lr .tabs__title_131lr + .tabs__title_131lr {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
71
+ }.tabs__s_131lr .tabs__title_131lr + .tabs__title_131lr {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
73
+ }.tabs__m_131lr .tabs__title_131lr + .tabs__title_131lr {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
75
+ }.tabs__l_131lr .tabs__title_131lr + .tabs__title_131lr {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_1ki8z .tabs__title_1ki8z + .tabs__title_1ki8z {
77
+ }.tabs__xl_131lr .tabs__title_131lr + .tabs__title_131lr {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35;
@@ -295,6 +295,44 @@
295
295
  --color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
296
296
  --color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
297
297
  --color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
298
+ --color-dark-bg-component: rgba(255, 255, 255, 0.15); /* deprecated */
299
+ --color-dark-bg-component-inverted: rgba(11, 31, 53, 0.07); /* deprecated */
300
+ --color-dark-bg-link-muted: #001c3c; /* deprecated */
301
+ --color-dark-bg-neutral: #485767; /* deprecated */
302
+ --color-dark-bg-nulled: rgba(11, 31, 53, 0); /* deprecated */
303
+ --color-dark-bg-primary-grouped: #0b1f35; /* deprecated */
304
+ --color-dark-bg-secondary-grouped: #233549; /* deprecated */
305
+ --color-dark-bg-tertiary-grouped: #3c4c5d; /* deprecated */
306
+ --color-dark-graphic-neutral: #485767; /* deprecated */
307
+ --color-dark-specialbg-overlay: rgba(0, 0, 0, 0.6); /* deprecated */
308
+ --color-dark-text-disabled-transparent: rgba(255, 255, 255, 0.25); /* deprecated */
309
+ --color-dark-text-secondary-inverted-transparent: rgba(11, 31, 53, 0.7); /* deprecated */
310
+ --color-dark-text-secondary-transparent: rgba(255, 255, 255, 0.7); /* deprecated */
311
+ --color-dark-text-tertiary-inverted-transparent: rgba(11, 31, 53, 0.3); /* deprecated */
312
+ --color-dark-text-tertiary-transparent: rgba(255, 255, 255, 0.4); /* deprecated */
313
+ --color-light-bg-component: rgba(11, 31, 53, 0.07); /* deprecated */
314
+ --color-light-bg-component-inverted: rgba(255, 255, 255, 0.15); /* deprecated */
315
+ --color-light-bg-link-muted: #d6e8fc; /* deprecated */
316
+ --color-light-bg-neutral: #dbdee1; /* deprecated */
317
+ --color-light-bg-nulled: rgba(11, 31, 53, 0); /* deprecated */
318
+ --color-light-bg-primary-grouped: #f3f4f5; /* deprecated */
319
+ --color-light-bg-secondary-grouped: #fff; /* deprecated */
320
+ --color-light-bg-tertiary-grouped: #f3f4f5; /* deprecated */
321
+ --color-light-graphic-neutral: #dbdee1; /* deprecated */
322
+ --color-light-specialbg-overlay: rgba(0, 0, 0, 0.6); /* deprecated */
323
+ --color-light-text-disabled-transparent: rgba(11, 31, 53, 0.15); /* deprecated */
324
+ --color-light-text-secondary-inverted-transparent: rgba(255, 255, 255, 0.7); /* deprecated */
325
+ --color-light-text-secondary-transparent: rgba(11, 31, 53, 0.7); /* deprecated */
326
+ --color-light-text-tertiary-inverted-transparent: rgba(255, 255, 255, 0.4); /* deprecated */
327
+ --color-light-text-tertiary-transparent: rgba(11, 31, 53, 0.3); /* deprecated */
328
+ --color-static-bg-dark: #000; /* deprecated */
329
+ --color-static-bg-light: #fff; /* deprecated */
330
+ --color-static-bg-neutral-dark: #485767; /* deprecated */
331
+ --color-static-bg-neutral-light: #dbdee1; /* deprecated */
332
+ --color-static-text-secondary-dark-transparent: rgba(11, 31, 53, 0.6); /* deprecated */
333
+ --color-static-text-secondary-light-transparent: rgba(255, 255, 255, 0.7); /* deprecated */
334
+ --color-static-text-tertiary-dark-transparent: rgba(11, 31, 53, 0.3); /* deprecated */
335
+ --color-static-text-tertiary-light-transparent: rgba(255, 255, 255, 0.4); /* deprecated */
298
336
  --color-dark-bg-accent-alpha-30: rgba(239, 49, 36, 0.3);
299
337
  --color-dark-bg-accent-shade-15: rgb(203, 42, 31);
300
338
  --color-dark-bg-accent-shade-20: rgb(191, 39, 29);
@@ -358,6 +396,7 @@
358
396
  --color-dark-graphic-accent-tint-10: rgb(241, 70, 58);
359
397
  --color-dark-graphic-accent-tint-15: rgb(241, 80, 69);
360
398
  --color-dark-graphic-accent-tint-30: rgb(244, 111, 102);
399
+ --color-dark-graphic-link-alpha-15: rgba(0, 122, 255, 0.15);
361
400
  --color-dark-graphic-negative-alpha-10: rgba(241, 80, 69, 0.1);
362
401
  --color-dark-graphic-negative-alpha-30: rgba(241, 80, 69, 0.3);
363
402
  --color-dark-graphic-negative-alpha-40: rgba(241, 80, 69, 0.4);
@@ -508,6 +547,7 @@
508
547
  --color-light-graphic-accent-shade-10: rgb(215, 44, 32);
509
548
  --color-light-graphic-accent-shade-15: rgb(203, 42, 31);
510
549
  --color-light-graphic-accent-shade-30: rgb(167, 34, 25);
550
+ --color-light-graphic-link-alpha-15: rgba(0, 122, 255, 0.15);
511
551
  --color-light-graphic-negative-alpha-10: rgba(241, 80, 69, 0.1);
512
552
  --color-light-graphic-negative-alpha-30: rgba(241, 80, 69, 0.3);
513
553
  --color-light-graphic-negative-alpha-40: rgba(241, 80, 69, 0.4);
@@ -688,6 +728,35 @@
688
728
  --color-static-status-purple: #673ab7;
689
729
  --color-static-status-red: #d91d0b;
690
730
  --color-static-status-teal: #219187;
731
+ --color-static-graphic-blue-chill-old: #0f9c8c; /* deprecated */
732
+ --color-static-graphic-boulder-old: #7a7a7a; /* deprecated */
733
+ --color-static-graphic-brink-pink-old: #fc617c; /* deprecated */
734
+ --color-static-graphic-burnt-sienna-old: #eb7a58; /* deprecated */
735
+ --color-static-graphic-chatelle-old: #bfafc6; /* deprecated */
736
+ --color-static-graphic-chathams-blue-old: #155966; /* deprecated */
737
+ --color-static-graphic-curious-blue-light-old: #3b99d9; /* deprecated */
738
+ --color-static-graphic-fun-blue-old: #1d6ab5; /* deprecated */
739
+ --color-static-graphic-hippie-blue-old: #5aa4b0; /* deprecated */
740
+ --color-static-graphic-jaffa-light-old: #f18836; /* deprecated */
741
+ --color-static-graphic-java-old: #15c0e0; /* deprecated */
742
+ --color-static-graphic-mantis-old: #63cd4f; /* deprecated */
743
+ --color-static-graphic-matisse-old: #16548f; /* deprecated */
744
+ --color-static-graphic-maya: #7eb3ff; /* deprecated */
745
+ --color-static-graphic-milano-red-old: #cd1501; /* deprecated */
746
+ --color-static-graphic-mirage-old: #1d2434; /* deprecated */
747
+ --color-static-graphic-nevada-old: #626b75; /* deprecated */
748
+ --color-static-graphic-olivine-old: #87b965; /* deprecated */
749
+ --color-static-graphic-permission: #ff5c5c; /* deprecated */
750
+ --color-static-graphic-pewter-old: #96a5a5; /* deprecated */
751
+ --color-static-graphic-pickled-bluewood-old: #2d3f50; /* deprecated */
752
+ --color-static-graphic-porsche-old: #e7b965; /* deprecated */
753
+ --color-static-graphic-red-damask-old: #da713c; /* deprecated */
754
+ --color-static-graphic-saffron-old: #f0c330; /* deprecated */
755
+ --color-static-graphic-sandybrown-old: #f38f6f; /* deprecated */
756
+ --color-static-graphic-turkish-rose-old: #b56a6b; /* deprecated */
757
+ --color-static-graphic-turquoise-blue-old: #6bd3e6; /* deprecated */
758
+ --color-static-graphic-valencia-old: #d8463b; /* deprecated */
759
+ --color-static-graphic-waikawa-gray-old: #5b6d9c; /* deprecated */
691
760
  --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
692
761
  --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
693
762
  --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
@@ -696,6 +765,7 @@
696
765
  --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
697
766
  --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
698
767
  } :root {
768
+ --color-dynamic-nulled: rgba(0, 0, 0, 0);
699
769
  --color-dynamic-primary-dark: rgba(0, 0, 0, 0.8);
700
770
  --color-dynamic-primary-light: rgba(255, 255, 255, 0.8);
701
771
  --color-dynamic-quaternary-dark: rgba(0, 0, 0, 0.32);
@@ -708,6 +778,7 @@
708
778
  --color-dynamic-senary-light: rgba(255, 255, 255, 0.12);
709
779
  --color-dynamic-tertiary-dark: rgba(0, 0, 0, 0.48);
710
780
  --color-dynamic-tertiary-light: rgba(255, 255, 255, 0.48);
781
+ --color-static-nulled: rgba(0, 0, 0, 0);
711
782
  --color-static-primary-dark: rgba(0, 0, 0, 0.8);
712
783
  --color-static-primary-light: rgba(255, 255, 255, 0.8);
713
784
  --color-static-quaternary-dark: rgba(0, 0, 0, 0.32);
@@ -881,7 +952,7 @@
881
952
 
882
953
  /* size xl */
883
954
  --secondary-tablist-xl-gaps: var(--gap-m);
884
- } .tabs__title_1g837 {
885
- } .tabs__mobile_1g837 .tabs__title_1g837 + .tabs__title_1g837 {
955
+ } .tabs__title_qvupy {
956
+ } .tabs__mobile_qvupy .tabs__title_qvupy + .tabs__title_qvupy {
886
957
  margin-left: var(--secondary-tablist-mobile-gaps);
887
958
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"tabs__component_yzjr9","hidden":"tabs__hidden_yzjr9"};
4
+ var styles = {"component":"tabs__component_1obs9","hidden":"tabs__hidden_1obs9"};
5
5
  require('./index.css')
6
6
 
7
7
  var Tab = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: emr21 */
2
- .tabs__component_yzjr9 {
1
+ /* hash: 1vg2j */
2
+ .tabs__component_1obs9 {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_yzjr9 {
6
+ .tabs__hidden_1obs9 {
7
7
  display: none;
8
8
  }
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
17
17
  import '../scrollable-container/Component.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import '../title/Component.js';
20
- import '../../index.module-ea1e031b.js';
20
+ import '../../index.module-1865aaf0.js';
21
21
  import '../secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import '../../index.module-b06e730b.js';
23
+ import '../../index.module-e818c324.js';
24
24
 
25
25
  var views = {
26
26
  primary: PrimaryTabListDesktop,
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
17
17
  import '../scrollable-container/Component.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import '../title/Component.js';
20
- import '../../index.module-ea1e031b.js';
20
+ import '../../index.module-1865aaf0.js';
21
21
  import '../secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import '../../index.module-b06e730b.js';
23
+ import '../../index.module-e818c324.js';
24
24
 
25
25
  var views = {
26
26
  primary: PrimaryTabListMobile,
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
18
18
  import '../scrollable-container/Component.js';
19
19
  import 'compute-scroll-into-view';
20
20
  import '../title/Component.js';
21
- import '../../index.module-ea1e031b.js';
21
+ import '../../index.module-1865aaf0.js';
22
22
  import '../primary-tablist/Component.mobile.js';
23
23
  import '../secondary-tablist/Component.desktop.js';
24
24
  import '../secondary-tablist/Component.js';
25
25
  import '@alfalab/core-components-tag/esm';
26
- import '../../index.module-b06e730b.js';
26
+ import '../../index.module-e818c324.js';
27
27
  import '../secondary-tablist/Component.mobile.js';
28
28
 
29
29
  var views = {
package/esm/desktop.js CHANGED
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
16
16
  import '@alfalab/hooks';
17
17
  import './synthetic-events.js';
18
18
  import './components/title/Component.js';
19
- import './index.module-ea1e031b.js';
19
+ import './index.module-1865aaf0.js';
20
20
  import 'compute-scroll-into-view';
21
21
  import './components/secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import './index.module-b06e730b.js';
23
+ import './index.module-e818c324.js';
24
24
  import './components/tabs/Component.js';
25
25
  import '@juggle/resize-observer';
@@ -1,2 +1,3 @@
1
1
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
2
- export { getDataTestId };
2
+ declare const isClient: () => boolean;
3
+ export { getDataTestId, isClient };
@@ -2,7 +2,7 @@
2
2
  import React from "react";
3
3
  import { ReactNode } from "react";
4
4
  import { FormControlProps } from "./Component-e67996e9";
5
- import { BaseSelectProps, OptionProps, OptionShape } from "./typings-cac440c1";
5
+ import { BaseSelectProps, OptionProps, OptionShape } from "./typings-a8deae7f";
6
6
  type SelectFieldProps = Omit<FormControlProps, "size"> & Record<string, unknown>;
7
7
  type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
8
8
  /**
@@ -94,5 +94,5 @@ declare const Skeleton: React.FC<SkeletonProps>;
94
94
  export { SelectFieldProps, SelectProps, Select, useSelectWithLoading, useLazyLoading, SkeletonProps, Skeleton };
95
95
  export * from "./hook-edac5428";
96
96
  export * from "./index-48646db0";
97
- export * from "./typings-cac440c1";
98
- export * from "./utils-cac440c1";
97
+ export * from "./typings-a8deae7f";
98
+ export * from "./utils-a8deae7f";
@@ -1,2 +1,2 @@
1
- export * from "./Component-cac440c1";
1
+ export * from "./Component-a8deae7f";
2
2
  export * from "./index-ebda875c";
@@ -1,215 +1 @@
1
- /// <reference types="react-transition-group" />
2
- /// <reference types="react" />
3
- import React from "react";
4
- import { HTMLAttributes, ReactNode, RefObject, FC } from "react";
5
- import { TransitionProps } from "react-transition-group/Transition";
6
- import { BaseModalProps } from "./index-bdb4c6b9";
7
- import { NavigationBarProps } from "./index-e81c389f";
8
- import { SwipeableHandlers } from "react-swipeable/types";
9
- import { BackdropProps } from "./index-ebda875c";
10
- type BottomSheetTitleAlign = "center" | "left";
11
- type BottomSheetProps = {
12
- /**
13
- * Контент
14
- */
15
- children?: ReactNode;
16
- /**
17
- * Управление видимостью
18
- */
19
- open: boolean;
20
- /**
21
- * Заголовок
22
- */
23
- title?: ReactNode;
24
- /**
25
- * Размер заголовка
26
- */
27
- titleSize?: NavigationBarProps["titleSize"];
28
- /**
29
- * Подзаголовок.
30
- */
31
- subtitle?: NavigationBarProps["subtitle"];
32
- /**
33
- * Кнопка действия (обычно, это кнопка закрытия)
34
- */
35
- actionButton?: ReactNode;
36
- /**
37
- * Нода, компонент или функция возвращающая их
38
- *
39
- * Контейнер к которому будут добавляться порталы
40
- */
41
- container?: BaseModalProps["container"];
42
- /**
43
- * Дополнительный класс
44
- */
45
- className?: string;
46
- /**
47
- * Дополнительный класс
48
- */
49
- contentClassName?: string;
50
- /**
51
- * Дополнительные пропсы на контейнер.
52
- */
53
- containerProps?: HTMLAttributes<HTMLDivElement>;
54
- /**
55
- * Дополнительный класс
56
- */
57
- containerClassName?: string;
58
- /**
59
- * Дополнительный класс шапки
60
- */
61
- headerClassName?: string;
62
- /**
63
- * Дополнительный класс футера
64
- */
65
- footerClassName?: string;
66
- /**
67
- * Дополнительный класс для аддонов
68
- */
69
- addonClassName?: string;
70
- /**
71
- * Дополнительный класс для компонента крестика
72
- */
73
- closerClassName?: string;
74
- /**
75
- * Дополнительный класс для компонента стрелки назад
76
- */
77
- backerClassName?: string;
78
- /**
79
- * Дополнительный класс для компонента модального окна
80
- */
81
- modalClassName?: string;
82
- /**
83
- * Дополнительный класс для обертки модального окна
84
- */
85
- modalWrapperClassName?: string;
86
- /**
87
- * TransitionProps, прокидываются в компонент CSSTransitionProps.
88
- */
89
- transitionProps?: Partial<TransitionProps>;
90
- /**
91
- * Идентификатор для систем автоматизированного тестирования
92
- */
93
- dataTestId?: string;
94
- /**
95
- * z-index компонента
96
- */
97
- zIndex?: number;
98
- /**
99
- * Будет ли свайпаться шторка
100
- * @default true
101
- */
102
- swipeable?: boolean;
103
- /**
104
- * Слот слева
105
- */
106
- leftAddons?: ReactNode;
107
- /**
108
- * Слот справа
109
- */
110
- rightAddons?: ReactNode;
111
- /**
112
- * Слот снизу
113
- */
114
- bottomAddons?: ReactNode;
115
- /**
116
- * Наличие компонента крестика
117
- */
118
- hasCloser?: boolean;
119
- /**
120
- * Наличие компонента стрелки назад
121
- */
122
- hasBacker?: boolean;
123
- /**
124
- * Выравнивание заголовка
125
- */
126
- titleAlign?: BottomSheetTitleAlign;
127
- /**
128
- * Фиксирует шапку
129
- */
130
- stickyHeader?: boolean;
131
- /**
132
- * Фиксирует футер
133
- */
134
- stickyFooter?: boolean;
135
- /**
136
- * Высота шторки
137
- */
138
- initialHeight?: "default" | "full";
139
- /**
140
- * Будет ли виден оверлэй
141
- */
142
- hideOverlay?: boolean;
143
- /**
144
- * Будет ли видна шапка
145
- */
146
- hideHeader?: boolean;
147
- /**
148
- * Будет ли обрезан заголовок
149
- */
150
- trimTitle?: boolean;
151
- /**
152
- * Запретить закрытие шторки кликом на оверлэй
153
- */
154
- disableOverlayClick?: boolean;
155
- /**
156
- * Отключает блокировку скролла при открытии модального окна
157
- */
158
- disableBlockingScroll?: boolean;
159
- /**
160
- * @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
161
- * Не анимировать шторку при изменении размера вьюпорта
162
- */
163
- ignoreScreenChange?: boolean;
164
- /**
165
- * Свойства для Бэкдропа
166
- */
167
- backdropProps?: BaseModalProps["backdropProps"];
168
- /**
169
- * Реф на контейнер, в котором происходит скролл
170
- */
171
- scrollableContainerRef?: RefObject<HTMLElement>;
172
- /**
173
- * Обработчик закрытия
174
- */
175
- onClose: () => void;
176
- /**
177
- * Обработчик нажатия на стрелку назад
178
- */
179
- onBack?: () => void;
180
- };
181
- /* Верхний отступ шторки, если она открыта на максимальную высоту */
182
- declare const HEADER_OFFSET = 24;
183
- declare const CLOSE_OFFSET = 0.2;
184
- declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
185
- type FooterProps = {
186
- /**
187
- * Контент футера
188
- */
189
- children?: ReactNode;
190
- /**
191
- * Фиксирует футер
192
- */
193
- sticky?: boolean;
194
- /**
195
- * Дополнительный класс
196
- */
197
- className?: string;
198
- };
199
- declare const Footer: FC<FooterProps>;
200
- type SwipeableBackdropProps = BackdropProps & {
201
- /**
202
- * Прозрачность бэкдропа
203
- */
204
- opacity?: number;
205
- /**
206
- * Обработчики свайпа
207
- */
208
- handlers?: SwipeableHandlers;
209
- /**
210
- * Время анимации opacity
211
- */
212
- opacityTimeout?: number;
213
- };
214
- declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
215
- export { BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop };
1
+ export * from "./component-3885b0d7";
@@ -1,141 +1,3 @@
1
- /// <reference types="react" />
2
- /* eslint-disable complexity */
3
- import React from "react";
4
- import { FC, ReactNode, ButtonHTMLAttributes, ElementType } from "react";
5
- interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
6
- /**
7
- * Вид компонента
8
- */
9
- view: "desktop" | "mobile";
10
- /**
11
- * Дополнительный класс
12
- */
13
- className?: string;
14
- /**
15
- * Позиция крестика
16
- */
17
- align?: "left" | "right";
18
- /**
19
- * Фиксирует крестик
20
- */
21
- sticky?: boolean;
22
- /**
23
- * Иконка
24
- */
25
- icon?: ElementType;
26
- /**
27
- * Идентификатор для систем автоматизированного тестирования
28
- */
29
- dataTestId?: string;
30
- /**
31
- * Коллбэк закрытия.
32
- */
33
- onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
34
- }
35
- declare const Closer: FC<CloserProps>;
36
- type NavigationBarProps = {
37
- /**
38
- * Контент шапки
39
- */
40
- children?: ReactNode;
41
- /**
42
- * Заголовок шапки
43
- */
44
- title?: string;
45
- /**
46
- * Подзаголовок (доступен только в мобильной версии)
47
- */
48
- subtitle?: string;
49
- /**
50
- * Размер заголовка (compact доступен только в мобильной версии)
51
- */
52
- titleSize?: "default" | "compact";
53
- /**
54
- * Доп. класс для аддонов
55
- */
56
- addonClassName?: string;
57
- /**
58
- * Слот слева
59
- */
60
- leftAddons?: ReactNode;
61
- /**
62
- * Слот справа
63
- */
64
- rightAddons?: ReactNode;
65
- /**
66
- * Дополнительный класс для closer
67
- */
68
- closerClassName?: string;
69
- /**
70
- * Слот снизу
71
- */
72
- bottomAddons?: ReactNode;
73
- /**
74
- * Наличие компонента крестика
75
- */
76
- hasCloser?: boolean;
77
- /**
78
- * Наличие кнопки "Назад"
79
- */
80
- hasBackButton?: boolean;
81
- /**
82
- * Дополнительный класс для правого аддона
83
- */
84
- backButtonClassName?: string;
85
- /**
86
- * Дополнительный класс
87
- */
88
- className?: string;
89
- /**
90
- * Дополнительный класс для контента
91
- */
92
- contentClassName?: string;
93
- /**
94
- * Дополнительный класс для нижнего аддона
95
- */
96
- bottomAddonsClassName?: string;
97
- /**
98
- * Выравнивание заголовка
99
- */
100
- align?: "left" | "center";
101
- /**
102
- * Обрезать ли заголовок
103
- */
104
- trim?: boolean;
105
- /**
106
- * Фиксирует шапку
107
- */
108
- sticky?: boolean;
109
- /**
110
- * Идентификатор для систем автоматизированного тестирования
111
- */
112
- dataTestId?: string;
113
- /**
114
- * Фоновое изображение
115
- */
116
- imageUrl?: string;
117
- /**
118
- * Иконка closer.
119
- */
120
- closerIcon?: React.ElementType;
121
- /**
122
- * Обработчик закрытия
123
- */
124
- onClose?: CloserProps["onClose"];
125
- /**
126
- * обработчик клика по кнопке "назад"
127
- */
128
- onBack?: () => void;
129
- /**
130
- * Вид шапки - мобильный или десктоп
131
- */
132
- view: "desktop" | "mobile";
133
- /**
134
- * Ссылка на родительскую ноду overflow: auto
135
- */
136
- scrollableParentRef?: React.RefObject<HTMLDivElement>;
137
- };
138
- declare const NavigationBar: FC<NavigationBarProps>;
139
- export { NavigationBar, CloserProps, Closer };
140
- export * from "./Component-ebda875c";
141
- export type { NavigationBarProps };
1
+ export * from "./Component-3885b0d7";
2
+ export * from "./index-ebda875c";
3
+ export type { NavigationBarProps } from "./types-ebda875c";
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react-transition-group" />
3
- export * from "./Component-cac440c1";
3
+ export * from "./Component-a8deae7f";
package/esm/index.js CHANGED
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
19
19
  import './synthetic-events.js';
20
20
  import './components/title/Component.js';
21
21
  import 'compute-scroll-into-view';
22
- import './index.module-ea1e031b.js';
22
+ import './index.module-1865aaf0.js';
23
23
  import './components/primary-tablist/Component.mobile.js';
24
24
  import './components/secondary-tablist/Component.desktop.js';
25
25
  import './components/secondary-tablist/Component.js';
26
26
  import '@alfalab/core-components-tag/esm';
27
- import './index.module-b06e730b.js';
27
+ import './index.module-e818c324.js';
28
28
  import './components/secondary-tablist/Component.mobile.js';
29
29
  import './components/tabs/Component.js';