@cloud-ru/ds-tabs 1.0.4 → 1.0.6

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.
@@ -26,7 +26,7 @@ export function ScrollButton({ size, onClick, direction, orientation }: ScrollBu
26
26
  data-direction={direction}
27
27
  data-size={size}
28
28
  data-orientation={orientation}
29
- data-testid={`tabs__scroll-button-${direction}`}
29
+ data-test-id={`tabs__scroll-button-${direction}`}
30
30
  >
31
31
  <Button
32
32
  tabIndex={-1}
@@ -117,7 +117,7 @@ export function Tab({ label, value, disabled = false, className, onClick, counte
117
117
  <button
118
118
  type='button'
119
119
  role='tab'
120
- data-testid={`tabs__tab-${value}`}
120
+ data-test-id={`tabs__tab-${value}`}
121
121
  {...extractSupportProps(otherProps)}
122
122
  id={value}
123
123
  ref={ref}
@@ -140,7 +140,7 @@ export function Tab({ label, value, disabled = false, className, onClick, counte
140
140
  appearance={counter.appearance}
141
141
  roleAppearance={counter.roleAppearance}
142
142
  value={counter.label}
143
- data-testid={`tabs__tab-counter-${value}`}
143
+ data-test-id={`tabs__tab-counter-${value}`}
144
144
  {...counterProps}
145
145
  />
146
146
  )}
@@ -256,7 +256,7 @@ export function TabBar({
256
256
 
257
257
  {slotActionButton && (
258
258
  <div
259
- data-testid='tabs__bar__after'
259
+ data-test-id='tabs__bar__after'
260
260
  data-orientation={orientation}
261
261
  data-size={size}
262
262
  className={styles.tabBarAfter}
@@ -24,9 +24,9 @@ export function TabContent({ children, value, className, ...rest }: TabContentPr
24
24
  className={className}
25
25
  role='tabpanel'
26
26
  id={getTabContentId(value)}
27
- {...extractSupportProps(rest)}
28
27
  aria-labelledby={value}
29
- data-testid={`tabs__tab-content-${value}`}
28
+ data-test-id={`tabs__tab-content-${value}`}
29
+ {...extractSupportProps(rest)}
30
30
  >
31
31
  {children}
32
32
  </div>