@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.
- package/mtds/app/app-observer.js +1 -1
- package/mtds/app/app-toggle.js +10 -26
- package/mtds/app/app-toggle.js.map +1 -1
- package/mtds/app/app-toggle2.js +26 -10
- package/mtds/app/app-toggle2.js.map +1 -1
- package/mtds/app/app.js +1 -1
- package/mtds/atlas/atlas-element.js +1 -1
- package/mtds/atlas/atlas-element.js.map +1 -1
- package/mtds/atlas/cluster.js.map +1 -1
- package/mtds/illustrations/barn-water.svg +1 -0
- package/mtds/illustrations/barn.svg +1 -0
- package/mtds/illustrations/bowl-food-stacked.svg +1 -0
- package/mtds/illustrations/bowl.svg +1 -0
- package/mtds/illustrations/debatt.svg +26 -1
- package/mtds/illustrations/fertilizer.svg +1 -0
- package/mtds/illustrations/flagg-eu.svg +1 -0
- package/mtds/illustrations/flask-lab.svg +1 -0
- package/mtds/illustrations/flowerpot.svg +1 -0
- package/mtds/illustrations/fork-sausage.svg +1 -0
- package/mtds/illustrations/glas.svg +1 -0
- package/mtds/illustrations/index.json +166 -0
- package/mtds/illustrations/leaf.svg +1 -0
- package/mtds/illustrations/parasite.svg +1 -0
- package/mtds/illustrations/person-ham.svg +1 -1
- package/mtds/illustrations/person-inspect-border.svg +1 -0
- package/mtds/illustrations/person-inspect-kitchen.svg +1 -0
- package/mtds/illustrations/person-inspect-meat.svg +1 -0
- package/mtds/illustrations/person-inspect-plants.svg +1 -0
- package/mtds/illustrations/person-lab-clipboard.svg +1 -0
- package/mtds/illustrations/person-lab-greet.svg +1 -0
- package/mtds/illustrations/person-meat.svg +1 -22
- package/mtds/illustrations/person-pear.svg +1 -2
- package/mtds/illustrations/pitchfork-soil.svg +1 -0
- package/mtds/illustrations/plant-pot.svg +1 -0
- package/mtds/illustrations/sailboat-people.svg +1 -0
- package/mtds/illustrations/salami.svg +1 -0
- package/mtds/illustrations/sausage.svg +1 -0
- package/mtds/illustrations/seed-group.svg +1 -0
- package/mtds/illustrations/seed.svg +1 -0
- package/mtds/illustrations/shopping-basket.svg +1 -0
- package/mtds/illustrations/skinke.svg +1 -1
- package/mtds/illustrations/sprouts-soil.svg +1 -0
- package/mtds/illustrations/stove.svg +1 -0
- package/mtds/illustrations/supplement-group.svg +1 -1
- package/mtds/illustrations/supplement-jar.svg +1 -1
- package/mtds/illustrations/supplement-tube.svg +1 -1
- package/mtds/illustrations/test-tube-wide.svg +1 -0
- package/mtds/illustrations/test-tube.svg +1 -0
- package/mtds/illustrations/tractor-pesticides.svg +1 -0
- package/mtds/illustrations/turnip-meat.svg +1 -1
- package/mtds/illustrations/virus.svg +1 -0
- package/mtds/index.iife.js +31 -19
- package/mtds/package.json.js +1 -1
- package/mtds/steps/steps.d.ts +2 -0
- package/mtds/steps/steps.js.map +1 -1
- package/mtds/steps/steps.stories.d.ts +1 -0
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +45 -45
- package/mtds/styles.module.css.js +60 -60
- package/package.json +19 -19
package/mtds/package.json.js
CHANGED
package/mtds/steps/steps.d.ts
CHANGED
|
@@ -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>>;
|
package/mtds/steps/steps.js.map
CHANGED
|
@@ -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":";;;;
|
|
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;
|