@alfalab/core-components-tabs 8.7.0 → 8.7.1

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 (75) hide show
  1. package/components/primary-tablist/Component.collapsible.js +2 -2
  2. package/components/primary-tablist/Component.desktop.js +1 -1
  3. package/components/primary-tablist/Component.mobile.js +2 -2
  4. package/components/primary-tablist/index.css +133 -133
  5. package/components/primary-tablist/mobile.css +394 -368
  6. package/components/scroll-controls/Component.js +1 -1
  7. package/components/scroll-controls/index.css +12 -12
  8. package/components/scrollable-container/Component.js +1 -1
  9. package/components/scrollable-container/index.css +6 -6
  10. package/components/secondary-tablist/Component.desktop.js +1 -1
  11. package/components/secondary-tablist/Component.mobile.js +2 -2
  12. package/components/secondary-tablist/index.css +11 -11
  13. package/components/secondary-tablist/mobile.css +186 -160
  14. package/components/tab/Component.js +1 -1
  15. package/components/tab/index.css +3 -3
  16. package/components/title/Component.d.ts +1 -1
  17. package/cssm/components/primary-tablist/Component.collapsible.js +1 -1
  18. package/cssm/components/primary-tablist/index.module.css +1 -1
  19. package/cssm/components/title/Component.d.ts +1 -1
  20. package/cssm/hooks/use-tablist-titles.d.ts +1 -1
  21. package/cssm/typings.d.ts +2 -2
  22. package/esm/components/primary-tablist/Component.collapsible.js +2 -2
  23. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  24. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  25. package/esm/components/primary-tablist/index.css +133 -133
  26. package/esm/components/primary-tablist/mobile.css +394 -368
  27. package/esm/components/scroll-controls/Component.js +1 -1
  28. package/esm/components/scroll-controls/index.css +12 -12
  29. package/esm/components/scrollable-container/Component.js +1 -1
  30. package/esm/components/scrollable-container/index.css +6 -6
  31. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  32. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  33. package/esm/components/secondary-tablist/index.css +11 -11
  34. package/esm/components/secondary-tablist/mobile.css +186 -160
  35. package/esm/components/tab/Component.js +1 -1
  36. package/esm/components/tab/index.css +3 -3
  37. package/esm/components/title/Component.d.ts +1 -1
  38. package/esm/hooks/use-tablist-titles.d.ts +1 -1
  39. package/esm/index.module-7f53615c.js +4 -0
  40. package/esm/index.module-f25eb728.js +4 -0
  41. package/esm/typings.d.ts +2 -2
  42. package/hooks/use-tablist-titles.d.ts +1 -1
  43. package/index.module-1eb43fb9.js +6 -0
  44. package/index.module-c88e5a5a.js +6 -0
  45. package/modern/components/primary-tablist/Component.collapsible.js +2 -2
  46. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  47. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  48. package/modern/components/primary-tablist/index.css +133 -133
  49. package/modern/components/primary-tablist/mobile.css +394 -368
  50. package/modern/components/scroll-controls/Component.js +1 -1
  51. package/modern/components/scroll-controls/index.css +12 -12
  52. package/modern/components/scrollable-container/Component.js +1 -1
  53. package/modern/components/scrollable-container/index.css +6 -6
  54. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  55. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  56. package/modern/components/secondary-tablist/index.css +11 -11
  57. package/modern/components/secondary-tablist/mobile.css +186 -160
  58. package/modern/components/tab/Component.js +1 -1
  59. package/modern/components/tab/index.css +3 -3
  60. package/modern/components/title/Component.d.ts +1 -1
  61. package/modern/hooks/use-tablist-titles.d.ts +1 -1
  62. package/modern/index.module-8121bd57.js +4 -0
  63. package/modern/index.module-c6da7192.js +4 -0
  64. package/modern/typings.d.ts +2 -2
  65. package/package.json +3 -3
  66. package/src/components/primary-tablist/Component.collapsible.tsx +1 -1
  67. package/src/components/title/Component.tsx +4 -1
  68. package/src/typings.ts +2 -2
  69. package/typings.d.ts +2 -2
  70. package/esm/index.module-522924c0.js +0 -4
  71. package/esm/index.module-6e695481.js +0 -4
  72. package/index.module-bc99adbf.js +0 -6
  73. package/index.module-d225f504.js +0 -6
  74. package/modern/index.module-7c0d4d6d.js +0 -4
  75. package/modern/index.module-f6dfd116.js +0 -4
@@ -6,7 +6,7 @@ import { ChevronLeftCompactSIcon } from '@alfalab/icons-glyph/ChevronLeftCompact
6
6
  import { ChevronRightCompactSIcon } from '@alfalab/icons-glyph/ChevronRightCompactSIcon';
7
7
  import { getDisabledState, scrollIntoFirstTab, scrollIntoLastTab } from './utils.js';
8
8
 
9
- const styles = {"component":"tabs__component_mtmaf","primary":"tabs__primary_mtmaf","button":"tabs__button_mtmaf","xl":"tabs__xl_mtmaf","secondary":"tabs__secondary_mtmaf","xs":"tabs__xs_mtmaf","borderVisible":"tabs__borderVisible_mtmaf"};
9
+ const styles = {"component":"tabs__component_1hetu","primary":"tabs__primary_1hetu","button":"tabs__button_1hetu","xl":"tabs__xl_1hetu","secondary":"tabs__secondary_1hetu","xs":"tabs__xs_1hetu","borderVisible":"tabs__borderVisible_1hetu"};
10
10
  require('./index.css')
11
11
 
12
12
  const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp, className }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: uqrs5 */
1
+ /* hash: domqp */
2
2
  :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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
@@ -44,14 +44,14 @@
44
44
  /* size l */
45
45
 
46
46
  /* size xl */
47
- } .tabs__component_mtmaf {
47
+ } .tabs__component_1hetu {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0;
51
- } .tabs__primary_mtmaf {
51
+ } .tabs__primary_1hetu {
52
52
  align-items: flex-start;
53
53
  justify-content: flex-end
54
- } .tabs__primary_mtmaf:after {
54
+ } .tabs__primary_1hetu:after {
55
55
  content: '';
56
56
  display: block;
57
57
  position: absolute;
@@ -59,18 +59,18 @@
59
59
  height: 1px;
60
60
  width: 100%;
61
61
  background-color: var(--primary-tablist-bottom-border-color);
62
- } .tabs__primary_mtmaf {
62
+ } .tabs__primary_1hetu {
63
63
 
64
- .tabs__button_mtmaf:first-child {
64
+ .tabs__button_1hetu:first-child {
65
65
  padding-left: var(--gap-xs);
66
66
  margin-right: var(--gap-xs);
67
67
  }
68
- } .tabs__primary_mtmaf.tabs__xl_mtmaf .tabs__button_mtmaf:first-child {
68
+ } .tabs__primary_1hetu.tabs__xl_1hetu .tabs__button_1hetu:first-child {
69
69
  margin-right: var(--gap-2xs);
70
- } .tabs__secondary_mtmaf {
70
+ } .tabs__secondary_1hetu {
71
71
  align-items: center;
72
72
  justify-content: center
73
- } .tabs__secondary_mtmaf:before {
73
+ } .tabs__secondary_1hetu:before {
74
74
  content: '';
75
75
  display: block;
76
76
  position: absolute;
@@ -80,12 +80,12 @@
80
80
  background-color: transparent;
81
81
  transition: background-color 0.3s ease;
82
82
  bottom: 0;
83
- } .tabs__secondary_mtmaf.tabs__xs_mtmaf {
83
+ } .tabs__secondary_1hetu.tabs__xs_1hetu {
84
84
  width: 76px;
85
85
 
86
- .tabs__button_mtmaf:first-child {
86
+ .tabs__button_1hetu:first-child {
87
87
  margin-right: var(--gap-2xs);
88
88
  }
89
- } .tabs__borderVisible_mtmaf:before {
89
+ } .tabs__borderVisible_1hetu:before {
90
90
  background-color: var(--color-light-neutral-translucent-300);
91
91
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { compute } from 'compute-scroll-into-view';
4
4
  import { ScrollControls } from '../scroll-controls/Component.js';
5
5
 
6
- const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_tdezt","container":"tabs__container_tdezt","fullWidthScroll":"tabs__fullWidthScroll_tdezt"};
6
+ const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_13pvh","container":"tabs__container_13pvh","fullWidthScroll":"tabs__fullWidthScroll_13pvh"};
7
7
  require('./index.css')
8
8
 
9
9
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 43r0u */
1
+ /* hash: 5f0v0 */
2
2
  :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 */ /* 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 */
3
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
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 */
@@ -42,9 +42,9 @@
42
42
  /* size l */
43
43
 
44
44
  /* size xl */
45
- } .tabs__scrollableContainerWrapper_tdezt {
45
+ } .tabs__scrollableContainerWrapper_13pvh {
46
46
  display: flex;
47
- } .tabs__container_tdezt {
47
+ } .tabs__container_13pvh {
48
48
  position: relative;
49
49
  overflow-x: auto;
50
50
  overflow-y: hidden;
@@ -55,11 +55,11 @@
55
55
  /* focus-outline fix */
56
56
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
57
57
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
58
- } .tabs__container_tdezt::-webkit-scrollbar {
58
+ } .tabs__container_13pvh::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_tdezt > * {
60
+ } .tabs__container_13pvh > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_tdezt {
62
+ } .tabs__fullWidthScroll_13pvh {
63
63
  padding-left: 0;
64
64
  margin: var(--gap-2xs-neg) var(--gap-m-neg);
65
65
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TagDesktop } from '@alfalab/core-components-tag/modern/desktop';
3
3
  import { SecondaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-7c0d4d6d.js';
4
+ import { c as commonStyles } from '../../index.module-8121bd57.js';
5
5
 
6
6
  const SecondaryTabListDesktop = ({ size = 's', ...restProps }) => (React.createElement(SecondaryTabList, { ...restProps, TagComponent: TagDesktop, size: size, styles: commonStyles, tagSize: size, platform: 'desktop' }));
7
7
 
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TagMobile } from '@alfalab/core-components-tag/modern/mobile';
4
4
  import { SecondaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-7c0d4d6d.js';
5
+ import { c as commonStyles } from '../../index.module-8121bd57.js';
6
6
 
7
- const mobileStyles = {"title":"tabs__title_ajujo tabs__title_1ewic","mobile":"tabs__mobile_ajujo"};
7
+ const mobileStyles = {"title":"tabs__title_ymzw1 tabs__title_1rzwq","mobile":"tabs__mobile_ymzw1"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const styles = {
@@ -1,4 +1,4 @@
1
- /* hash: lyql0 */
1
+ /* hash: 1b5pn */
2
2
  :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 */ /* 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 */
3
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
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 */
@@ -50,29 +50,29 @@
50
50
 
51
51
  /* size xl */
52
52
  --secondary-tablist-xl-gaps: var(--gap-m);
53
- } .tabs__component_1ewic {
53
+ } .tabs__component_1rzwq {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_1ewic {
56
+ } .tabs__fullWidthScroll_1rzwq {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_1ewic {
58
+ } .tabs__container_1rzwq {
59
59
  overflow: hidden;
60
60
 
61
61
  /* focus-outline fix */
62
62
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
63
63
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
64
- } .tabs__title_1ewic {
64
+ } .tabs__title_1rzwq {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
66
+ } /* sizes */ .tabs__xxs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
68
+ } .tabs__xs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
70
+ } .tabs__s_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
72
+ } .tabs__m_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
74
+ } .tabs__l_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_1ewic .tabs__title_1ewic + .tabs__title_1ewic {
76
+ } .tabs__xl_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }