@digigov/react-core 2.0.0-rc.25 → 2.0.0-rc.27

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.
@@ -90,13 +90,14 @@ export const Skeleton = React.forwardRef<HTMLSpanElement, SkeletonProps>(
90
90
  }}
91
91
  >
92
92
  {variant === 'button' && (
93
- <span
93
+ <Base
94
+ as="span"
94
95
  className={clsx({
95
96
  'ds-skeleton__line': true,
96
97
  'ds-skeleton__line--size-default':
97
98
  width === undefined && height === undefined,
98
99
  })}
99
- ></span>
100
+ ></Base>
100
101
  )}
101
102
  {typeof children != 'string' && children}
102
103
  </Base>
@@ -16,7 +16,7 @@ exports[`renders the TimelineHeading with size = "md" prop 1`] = `
16
16
  <body>
17
17
  <div>
18
18
  <h3
19
- class="ds-timeline__heading ds-timeline__heading--md"
19
+ class="ds-timeline__heading ds-timeline__heading-md"
20
20
  >
21
21
  hello
22
22
  </h3>
@@ -28,7 +28,7 @@ exports[`renders the TimelineHeading with size = "sm" prop 1`] = `
28
28
  <body>
29
29
  <div>
30
30
  <h4
31
- class="ds-timeline__heading ds-timeline__heading--sm"
31
+ class="ds-timeline__heading ds-timeline__heading-sm"
32
32
  >
33
33
  hello
34
34
  </h4>
@@ -53,8 +53,8 @@ export const TimelineHeading = React.forwardRef<
53
53
  ref={ref}
54
54
  className={clsx(className, {
55
55
  'ds-timeline__heading': true,
56
- 'ds-timeline__heading--md': size === 'md',
57
- 'ds-timeline__heading--sm': size === 'sm',
56
+ 'ds-timeline__heading-md': size === 'md',
57
+ 'ds-timeline__heading-sm': size === 'sm',
58
58
  })}
59
59
  {...props}
60
60
  >