@navikt/ds-react 6.6.1 → 6.7.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.
Files changed (55) hide show
  1. package/cjs/index.d.ts +1 -0
  2. package/cjs/index.js +4 -2
  3. package/cjs/index.js.map +1 -1
  4. package/cjs/progress-bar/ProgressBar.d.ts +60 -0
  5. package/cjs/progress-bar/ProgressBar.js +76 -0
  6. package/cjs/progress-bar/ProgressBar.js.map +1 -0
  7. package/cjs/progress-bar/index.d.ts +1 -0
  8. package/cjs/progress-bar/index.js +10 -0
  9. package/cjs/progress-bar/index.js.map +1 -0
  10. package/cjs/typography/BodyLong.d.ts +7 -7
  11. package/cjs/typography/BodyLong.js +5 -5
  12. package/cjs/typography/BodyShort.d.ts +5 -5
  13. package/cjs/typography/BodyShort.js +3 -3
  14. package/cjs/typography/Detail.d.ts +5 -5
  15. package/cjs/typography/Detail.js +3 -3
  16. package/cjs/typography/ErrorMessage.d.ts +5 -5
  17. package/cjs/typography/ErrorMessage.js +3 -3
  18. package/cjs/typography/Heading.d.ts +6 -6
  19. package/cjs/typography/Heading.js +3 -3
  20. package/cjs/typography/Label.d.ts +5 -5
  21. package/cjs/typography/Label.js +3 -3
  22. package/cjs/typography/types.d.ts +3 -3
  23. package/esm/index.d.ts +1 -0
  24. package/esm/index.js +1 -0
  25. package/esm/index.js.map +1 -1
  26. package/esm/progress-bar/ProgressBar.d.ts +60 -0
  27. package/esm/progress-bar/ProgressBar.js +47 -0
  28. package/esm/progress-bar/ProgressBar.js.map +1 -0
  29. package/esm/progress-bar/index.d.ts +1 -0
  30. package/esm/progress-bar/index.js +3 -0
  31. package/esm/progress-bar/index.js.map +1 -0
  32. package/esm/typography/BodyLong.d.ts +7 -7
  33. package/esm/typography/BodyLong.js +5 -5
  34. package/esm/typography/BodyShort.d.ts +5 -5
  35. package/esm/typography/BodyShort.js +3 -3
  36. package/esm/typography/Detail.d.ts +5 -5
  37. package/esm/typography/Detail.js +3 -3
  38. package/esm/typography/ErrorMessage.d.ts +5 -5
  39. package/esm/typography/ErrorMessage.js +3 -3
  40. package/esm/typography/Heading.d.ts +6 -6
  41. package/esm/typography/Heading.js +3 -3
  42. package/esm/typography/Label.d.ts +5 -5
  43. package/esm/typography/Label.js +3 -3
  44. package/esm/typography/types.d.ts +3 -3
  45. package/package.json +13 -3
  46. package/src/index.ts +1 -0
  47. package/src/progress-bar/ProgressBar.tsx +124 -0
  48. package/src/progress-bar/index.ts +2 -0
  49. package/src/typography/BodyLong.tsx +7 -7
  50. package/src/typography/BodyShort.tsx +5 -5
  51. package/src/typography/Detail.tsx +5 -5
  52. package/src/typography/ErrorMessage.tsx +5 -5
  53. package/src/typography/Heading.tsx +6 -6
  54. package/src/typography/Label.tsx +5 -5
  55. package/src/typography/types.ts +3 -3
@@ -12,15 +12,15 @@ export type TypoProps = {
12
12
  */
13
13
  align?: "start" | "center" | "end";
14
14
  /**
15
- * Visually hide text. Text will still be accessible for screenreaders
15
+ * Visually hide text. Text will still be accessible for screenreaders.
16
16
  */
17
17
  visuallyHidden?: boolean;
18
18
  /**
19
- * Adds spacing below text
19
+ * Adds spacing below text.
20
20
  */
21
21
  spacing?: boolean;
22
22
  /**
23
- * Adjusts color
23
+ * Adjusts color.
24
24
  */
25
25
  textColor?: "default" | "subtle";
26
26
  };