@mattilsynet/design 3.1.19 → 3.2.1

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 (60) hide show
  1. package/mtds/app/app-observer.js +1 -1
  2. package/mtds/app/app-toggle.js +10 -26
  3. package/mtds/app/app-toggle.js.map +1 -1
  4. package/mtds/app/app-toggle2.js +26 -10
  5. package/mtds/app/app-toggle2.js.map +1 -1
  6. package/mtds/app/app.js +1 -1
  7. package/mtds/atlas/atlas-element.js +1 -1
  8. package/mtds/atlas/atlas-element.js.map +1 -1
  9. package/mtds/atlas/cluster.js.map +1 -1
  10. package/mtds/illustrations/barn-water.svg +1 -0
  11. package/mtds/illustrations/barn.svg +1 -0
  12. package/mtds/illustrations/bowl-food-stacked.svg +1 -0
  13. package/mtds/illustrations/bowl.svg +1 -0
  14. package/mtds/illustrations/debatt.svg +26 -1
  15. package/mtds/illustrations/fertilizer.svg +1 -0
  16. package/mtds/illustrations/flagg-eu.svg +1 -0
  17. package/mtds/illustrations/flask-lab.svg +1 -0
  18. package/mtds/illustrations/flowerpot.svg +1 -0
  19. package/mtds/illustrations/fork-sausage.svg +1 -0
  20. package/mtds/illustrations/glas.svg +1 -0
  21. package/mtds/illustrations/index.json +166 -0
  22. package/mtds/illustrations/leaf.svg +1 -0
  23. package/mtds/illustrations/parasite.svg +1 -0
  24. package/mtds/illustrations/person-ham.svg +1 -1
  25. package/mtds/illustrations/person-inspect-border.svg +1 -0
  26. package/mtds/illustrations/person-inspect-kitchen.svg +1 -0
  27. package/mtds/illustrations/person-inspect-meat.svg +1 -0
  28. package/mtds/illustrations/person-inspect-plants.svg +1 -0
  29. package/mtds/illustrations/person-lab-clipboard.svg +1 -0
  30. package/mtds/illustrations/person-lab-greet.svg +1 -0
  31. package/mtds/illustrations/person-meat.svg +1 -22
  32. package/mtds/illustrations/person-pear.svg +1 -2
  33. package/mtds/illustrations/pitchfork-soil.svg +1 -0
  34. package/mtds/illustrations/plant-pot.svg +1 -0
  35. package/mtds/illustrations/sailboat-people.svg +1 -0
  36. package/mtds/illustrations/salami.svg +1 -0
  37. package/mtds/illustrations/sausage.svg +1 -0
  38. package/mtds/illustrations/seed-group.svg +1 -0
  39. package/mtds/illustrations/seed.svg +1 -0
  40. package/mtds/illustrations/shopping-basket.svg +1 -0
  41. package/mtds/illustrations/skinke.svg +1 -1
  42. package/mtds/illustrations/sprouts-soil.svg +1 -0
  43. package/mtds/illustrations/stove.svg +1 -0
  44. package/mtds/illustrations/supplement-group.svg +1 -1
  45. package/mtds/illustrations/supplement-jar.svg +1 -1
  46. package/mtds/illustrations/supplement-tube.svg +1 -1
  47. package/mtds/illustrations/test-tube-wide.svg +1 -0
  48. package/mtds/illustrations/test-tube.svg +1 -0
  49. package/mtds/illustrations/tractor-pesticides.svg +1 -0
  50. package/mtds/illustrations/turnip-meat.svg +1 -1
  51. package/mtds/illustrations/virus.svg +1 -0
  52. package/mtds/index.iife.js +31 -19
  53. package/mtds/package.json.js +1 -1
  54. package/mtds/steps/steps.d.ts +2 -0
  55. package/mtds/steps/steps.js.map +1 -1
  56. package/mtds/steps/steps.stories.d.ts +1 -0
  57. package/mtds/styles.css +1 -1
  58. package/mtds/styles.json +45 -45
  59. package/mtds/styles.module.css.js +60 -60
  60. package/package.json +19 -19
@@ -1,4 +1,4 @@
1
- const o = "3.1.19";
1
+ const o = "3.2.1";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -2,9 +2,11 @@ export type StepsProps = React.ComponentPropsWithoutRef<"ol"> & {
2
2
  "data-direction"?: "right" | "up" | "down";
3
3
  "data-fade"?: boolean | "true" | "false" | "none" | "start" | "end";
4
4
  "data-state"?: "complete";
5
+ "data-variant"?: "filled";
5
6
  };
6
7
  export declare const Steps: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & {
7
8
  "data-direction"?: "right" | "up" | "down";
8
9
  "data-fade"?: boolean | "true" | "false" | "none" | "start" | "end";
9
10
  "data-state"?: "complete";
11
+ "data-variant"?: "filled";
10
12
  } & import('react').RefAttributes<HTMLOListElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"steps.js","sources":["../../designsystem/steps/steps.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { forwardRef } from \"react\";\nimport styles from \"../styles.module.css\";\n\nexport type StepsProps = React.ComponentPropsWithoutRef<\"ol\"> & {\n\t\"data-direction\"?: \"right\" | \"up\" | \"down\";\n\t\"data-fade\"?: boolean | \"true\" | \"false\" | \"none\" | \"start\" | \"end\";\n\t\"data-state\"?: \"complete\";\n};\nexport const Steps = forwardRef<HTMLOListElement, StepsProps>(function Steps(\n\t{ className, ...rest }: StepsProps,\n\tref,\n) {\n\treturn <ol className={clsx(styles.steps, className)} ref={ref} {...rest} />;\n});\n"],"names":["Steps","forwardRef","className","rest","ref","jsx","clsx","styles"],"mappings":";;;;AASO,MAAMA,IAAQC,EAAyC,SAC7D,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAChBC,GACC;AACD,SAAO,gBAAAC,EAAC,MAAA,EAAG,WAAWC,EAAKC,EAAO,OAAOL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC;"}
1
+ {"version":3,"file":"steps.js","sources":["../../designsystem/steps/steps.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { forwardRef } from \"react\";\nimport styles from \"../styles.module.css\";\n\nexport type StepsProps = React.ComponentPropsWithoutRef<\"ol\"> & {\n\t\"data-direction\"?: \"right\" | \"up\" | \"down\";\n\t\"data-fade\"?: boolean | \"true\" | \"false\" | \"none\" | \"start\" | \"end\";\n\t\"data-state\"?: \"complete\";\n\t\"data-variant\"?: \"filled\";\n};\nexport const Steps = forwardRef<HTMLOListElement, StepsProps>(function Steps(\n\t{ className, ...rest }: StepsProps,\n\tref,\n) {\n\treturn <ol className={clsx(styles.steps, className)} ref={ref} {...rest} />;\n});\n"],"names":["Steps","forwardRef","className","rest","ref","jsx","clsx","styles"],"mappings":";;;;AAUO,MAAMA,IAAQC,EAAyC,SAC7D,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAChBC,GACC;AACD,SAAO,gBAAAC,EAAC,MAAA,EAAG,WAAWC,EAAKC,EAAO,OAAOL,CAAS,GAAG,KAAAE,GAAW,GAAGD,EAAA,CAAM;AAC1E,CAAC;"}
@@ -17,5 +17,6 @@ export declare const WithDirection: Story;
17
17
  export declare const WithFade: Story;
18
18
  export declare const WithFadeAndDirection: Story;
19
19
  export declare const WithColors: Story;
20
+ export declare const WithVariantFilled: Story;
20
21
  export declare const WithInteraction: Story;
21
22
  export declare const Timeline: Story;