@navikt/ds-react 5.4.1 → 5.5.0
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/_docs.json +650 -454
- package/cjs/index.js +1 -0
- package/cjs/layout/box/Box.js +84 -0
- package/cjs/layout/box/index.js +5 -0
- package/cjs/layout/box/package.json +6 -0
- package/cjs/layout/utilities/css.js +21 -13
- package/cjs/layout/utilities/types.js +2 -0
- package/cjs/skeleton/Skeleton.js +1 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/layout/box/Box.d.ts +78 -0
- package/esm/layout/box/Box.js +56 -0
- package/esm/layout/box/Box.js.map +1 -0
- package/esm/layout/box/index.d.ts +1 -0
- package/esm/layout/box/index.js +2 -0
- package/esm/layout/box/index.js.map +1 -0
- package/esm/layout/utilities/css.d.ts +7 -7
- package/esm/layout/utilities/css.js +18 -10
- package/esm/layout/utilities/css.js.map +1 -1
- package/esm/layout/utilities/types.d.ts +9 -0
- package/esm/layout/utilities/types.js +2 -0
- package/esm/layout/utilities/types.js.map +1 -0
- package/esm/skeleton/Skeleton.js +1 -0
- package/esm/skeleton/Skeleton.js.map +1 -1
- package/package.json +3 -2
- package/src/grid/grid.stories.tsx +1 -1
- package/src/index.ts +1 -0
- package/src/layout/box/Box.stories.tsx +384 -0
- package/src/layout/box/Box.tsx +148 -0
- package/src/layout/box/index.ts +1 -0
- package/src/layout/grid/h-grid.stories.tsx +1 -1
- package/src/layout/responsive/hide.stories.tsx +1 -1
- package/src/layout/responsive/show.stories.tsx +1 -1
- package/src/layout/stack/stack.stories.tsx +1 -1
- package/src/layout/utilities/css.ts +34 -16
- package/src/layout/utilities/types.ts +14 -0
- package/src/skeleton/Skeleton.tsx +1 -0
- package/src/skeleton/skeleton.stories.tsx +4 -3
|
@@ -121,9 +121,10 @@ export const InlineText = {
|
|
|
121
121
|
render: () => (
|
|
122
122
|
<BodyLong>
|
|
123
123
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur
|
|
124
|
-
voluptas sint dolore <Skeleton as="span"
|
|
125
|
-
beatae vero cum officia debitis. Quidem debitis omnis reprehenderit nobis
|
|
126
|
-
rerum. Nulla, magnam? Saepe,
|
|
124
|
+
voluptas sint dolore <Skeleton width="40px" as="span" variant="text" />{" "}
|
|
125
|
+
beatae vero cum officia debitis. Quidem debitis omnis reprehenderit nobis{" "}
|
|
126
|
+
<Skeleton as="span">test text</Skeleton> rerum. Nulla, magnam? Saepe,
|
|
127
|
+
eveniet?
|
|
127
128
|
</BodyLong>
|
|
128
129
|
),
|
|
129
130
|
};
|