@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.
- package/Skeleton/index.js +2 -1
- package/Skeleton/index.js.map +2 -2
- package/TimelineHeading/index.js +2 -2
- package/TimelineHeading/index.js.map +2 -2
- package/cjs/Skeleton/index.js +2 -1
- package/cjs/Skeleton/index.js.map +2 -2
- package/cjs/TimelineHeading/index.js +2 -2
- package/cjs/TimelineHeading/index.js.map +2 -2
- package/cjs/lazy/index.js +244 -1220
- package/cjs/lazy.js.map +3 -3
- package/cjs/registry/index.js +211 -593
- package/cjs/registry.js.map +3 -3
- package/index.js +1 -1
- package/lazy/index.js +246 -1226
- package/package.json +3 -3
- package/registry/index.js +287 -670
- package/src/Skeleton/index.tsx +3 -2
- package/src/TimelineHeading/__snapshots__/index.test.tsx.snap +2 -2
- package/src/TimelineHeading/index.tsx +2 -2
- package/src/lazy.js +244 -1220
- package/src/registry.js +463 -843
- package/lazy.d.ts +0 -247
- package/lazy.js.map +0 -7
- package/registry.d.ts +0 -265
- package/registry.js.map +0 -7
package/src/Skeleton/index.tsx
CHANGED
|
@@ -90,13 +90,14 @@ export const Skeleton = React.forwardRef<HTMLSpanElement, SkeletonProps>(
|
|
|
90
90
|
}}
|
|
91
91
|
>
|
|
92
92
|
{variant === 'button' && (
|
|
93
|
-
<
|
|
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
|
-
></
|
|
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
|
|
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
|
|
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
|
|
57
|
-
'ds-timeline__heading
|
|
56
|
+
'ds-timeline__heading-md': size === 'md',
|
|
57
|
+
'ds-timeline__heading-sm': size === 'sm',
|
|
58
58
|
})}
|
|
59
59
|
{...props}
|
|
60
60
|
>
|