@fremtind/jokul 6.0.0 → 6.1.0-next.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 (70) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/beta/nav-link/NavLink.cjs +1 -1
  3. package/build/cjs/components/beta/nav-link/NavLink.cjs.map +1 -1
  4. package/build/cjs/components/beta/nav-link/types.d.cts +5 -0
  5. package/build/cjs/components/input-panel/InputPanel.cjs +1 -1
  6. package/build/cjs/components/input-panel/InputPanel.cjs.map +1 -1
  7. package/build/es/components/beta/nav-link/NavLink.js +1 -1
  8. package/build/es/components/beta/nav-link/NavLink.js.map +1 -1
  9. package/build/es/components/beta/nav-link/types.d.ts +5 -0
  10. package/build/es/components/input-panel/InputPanel.js +1 -1
  11. package/build/es/components/input-panel/InputPanel.js.map +1 -1
  12. package/package.json +1 -1
  13. package/styles/components/beta/nav-link/navlink.css +14 -15
  14. package/styles/components/beta/nav-link/navlink.min.css +1 -1
  15. package/styles/components/beta/nav-link/navlink.scss +15 -20
  16. package/styles/components/checkbox-panel/checkbox-panel.css +2 -11
  17. package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
  18. package/styles/components/countdown/countdown.css +2 -2
  19. package/styles/components/countdown/countdown.min.css +1 -1
  20. package/styles/components/feedback/feedback.css +2 -2
  21. package/styles/components/feedback/feedback.min.css +1 -1
  22. package/styles/components/file-input/file-input.css +9 -9
  23. package/styles/components/file-input/file-input.min.css +1 -1
  24. package/styles/components/input-group/input-group.css +2 -2
  25. package/styles/components/input-group/input-group.min.css +1 -1
  26. package/styles/components/input-panel/input-panel.css +2 -11
  27. package/styles/components/input-panel/input-panel.min.css +1 -1
  28. package/styles/components/input-panel/input-panel.scss +2 -13
  29. package/styles/components/loader/loader.css +6 -6
  30. package/styles/components/loader/loader.min.css +1 -1
  31. package/styles/components/loader/skeleton-loader.css +3 -3
  32. package/styles/components/loader/skeleton-loader.min.css +1 -1
  33. package/styles/components/message/message.css +2 -2
  34. package/styles/components/message/message.min.css +1 -1
  35. package/styles/components/progress-bar/progress-bar.css +1 -1
  36. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  37. package/styles/components/radio-panel/radio-panel.css +2 -11
  38. package/styles/components/radio-panel/radio-panel.min.css +1 -1
  39. package/styles/components/segmented-control/segmented-control.css +2 -2
  40. package/styles/components/segmented-control/segmented-control.min.css +1 -1
  41. package/styles/components/system-message/system-message.css +2 -2
  42. package/styles/components/system-message/system-message.min.css +1 -1
  43. package/styles/components/toast/toast.css +4 -4
  44. package/styles/components/toast/toast.min.css +1 -1
  45. package/styles/components.css +40 -50
  46. package/styles/components.min.css +2 -2
  47. package/build/cjs/components/card/development/examples/FakturainfoExample.d.cts +0 -4
  48. package/build/cjs/components/card/development/examples/StatuskortExample.d.cts +0 -4
  49. package/build/cjs/components/icon/development/internal/AnimatedIcon.d.cts +0 -7
  50. package/build/cjs/components/icon/development/internal/IconExample.d.cts +0 -7
  51. package/build/cjs/components/icon/development/internal/IconsExampleGrid.d.cts +0 -8
  52. package/build/cjs/components/image/development/internal/props.d.cts +0 -5
  53. package/build/cjs/components/table/stories/assets/table-data.cjs +0 -2
  54. package/build/cjs/components/table/stories/assets/table-data.cjs.map +0 -1
  55. package/build/cjs/components/table/stories/assets/table-data.d.cts +0 -8
  56. package/build/cjs/hooks/stories/content.cjs +0 -2
  57. package/build/cjs/hooks/stories/content.cjs.map +0 -1
  58. package/build/cjs/hooks/stories/content.d.cts +0 -1
  59. package/build/es/components/card/development/examples/FakturainfoExample.d.ts +0 -4
  60. package/build/es/components/card/development/examples/StatuskortExample.d.ts +0 -4
  61. package/build/es/components/icon/development/internal/AnimatedIcon.d.ts +0 -7
  62. package/build/es/components/icon/development/internal/IconExample.d.ts +0 -7
  63. package/build/es/components/icon/development/internal/IconsExampleGrid.d.ts +0 -8
  64. package/build/es/components/image/development/internal/props.d.ts +0 -5
  65. package/build/es/components/table/stories/assets/table-data.d.ts +0 -8
  66. package/build/es/components/table/stories/assets/table-data.js +0 -2
  67. package/build/es/components/table/stories/assets/table-data.js.map +0 -1
  68. package/build/es/hooks/stories/content.d.ts +0 -1
  69. package/build/es/hooks/stories/content.js +0 -2
  70. package/build/es/hooks/stories/content.js.map +0 -1
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ExampleComponentProps, ExampleKnobsProps } from 'utils/dev-example/index.cjs';
3
- export declare const FakturainfoExample: ({ boolValues, choiceValues, }: ExampleComponentProps) => React.JSX.Element;
4
- export declare const fakturainfoExampleProps: ExampleKnobsProps;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ExampleComponentProps, ExampleKnobsProps } from 'utils/dev-example/index.cjs';
3
- export declare const StatuskortExample: ({ boolValues, choiceValues, }: ExampleComponentProps) => React.JSX.Element;
4
- export declare const statuskortExampleProps: ExampleKnobsProps;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- interface AnimatedIconProps {
3
- renderIcon: (arg0: boolean) => React.ReactNode;
4
- iconName?: string;
5
- }
6
- export declare const AnimatedIcon: React.FC<AnimatedIconProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { default as React, ReactNode } from 'react';
2
- interface Props extends React.HTMLAttributes<HTMLDivElement> {
3
- name?: string;
4
- renderIcon: () => ReactNode;
5
- }
6
- export declare const IconExample: React.FC<Props>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import { default as React, CSSProperties } from 'react';
2
- import { WithChildren } from '../../../../utilities/types.cjs';
3
- interface IconsExampleGridProps extends WithChildren {
4
- columns: "two" | "four";
5
- style?: CSSProperties;
6
- }
7
- export declare const IconsExampleGrid: React.FC<IconsExampleGridProps>;
8
- export {};
@@ -1,5 +0,0 @@
1
- export declare const choiceProps: {
2
- name: string;
3
- values: string[];
4
- defaultValue: number;
5
- }[];
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={columns:["Forfallsdato","Type","Beløp","Status","Produkt","Kontonummer","KID","Betalingstype"],rows:[[new Date(2025,10,15),"Skade",612.32,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,9,15),"Person",402.67,"Påminnelse",["Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,8,15),"Person",2412.67,"Inkassovarsel",["Bilforsikring","Katteforsikring","Båtforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,7,15),"Person",719.17,"Faktura",["Båtforsikring","Hundeforsikring","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,6,15),"Skade",992.01,"Faktura",["Bilforsikring","Hundeforsikring","Elsparkesykkel"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,5,15),"Person",772.79,"Faktura",["Bilforsikring","Hus","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,4,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,3,15),"Person",772.79,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,2,15),"Person",772.79,"Faktura",["Bil","Hus","Innbo"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,1,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring","Katteforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,0,15),"Person",772.79,"Faktura",["Hundeforsikring","Barneforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,11,15),"Person",772.79,"Faktura",["Elsparkesykkel"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,10,15),"Person",772.79,"Faktura",["Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,9,15),"Person",772.79,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,8,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"]]};exports.faktura=r,exports.skadesaker={columns:["Dato","Saksnummer","Kundenummer","Kundenavn","Milepæl","Følger saken"],rows:[["24.02.2025","20-1234567","010203 99887","Ola Nordmann","Opprettet","Siri Saksbehandler"],["13.04.2019","20-8382811","010203 99887","Kari Nordkvinne","Opprettet","Siri Saksbehandler"],["31.07.2017","20-1111","010203 99887","Kari Nordkvinne","Opprettet","Per Persen"]]};
2
- //# sourceMappingURL=table-data.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-data.cjs","sources":["../../../../../../src/components/table/stories/assets/table-data.ts"],"sourcesContent":["export const skadesaker = {\n columns: [\n \"Dato\",\n \"Saksnummer\",\n \"Kundenummer\",\n \"Kundenavn\",\n \"Milepæl\",\n \"Følger saken\",\n ],\n rows: [\n [\n \"24.02.2025\",\n \"20-1234567\",\n \"010203 99887\",\n \"Ola Nordmann\",\n \"Opprettet\",\n \"Siri Saksbehandler\",\n ],\n [\n \"13.04.2019\",\n \"20-8382811\",\n \"010203 99887\",\n \"Kari Nordkvinne\",\n \"Opprettet\",\n \"Siri Saksbehandler\",\n ],\n [\n \"31.07.2017\",\n \"20-1111\",\n \"010203 99887\",\n \"Kari Nordkvinne\",\n \"Opprettet\",\n \"Per Persen\",\n ],\n ],\n};\n\nexport const faktura = {\n columns: [\n \"Forfallsdato\",\n \"Type\",\n \"Beløp\",\n \"Status\",\n \"Produkt\",\n \"Kontonummer\",\n \"KID\",\n \"Betalingstype\",\n ],\n rows: [\n [\n new Date(2025, 10, 15),\n \"Skade\",\n 612.32,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 9, 15),\n \"Person\",\n 402.67,\n \"Påminnelse\",\n [\"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 8, 15),\n \"Person\",\n 2412.67,\n \"Inkassovarsel\",\n [\"Bilforsikring\", \"Katteforsikring\", \"Båtforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 7, 15),\n \"Person\",\n 719.17,\n \"Faktura\",\n [\"Båtforsikring\", \"Hundeforsikring\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 6, 15),\n \"Skade\",\n 992.01,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Elsparkesykkel\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 5, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hus\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 4, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 3, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 2, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bil\", \"Hus\", \"Innbo\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 1, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Katteforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 0, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Hundeforsikring\", \"Barneforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 11, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Elsparkesykkel\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 10, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 9, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 8, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n ],\n};\n"],"names":["faktura","columns","rows","Date"],"mappings":"gFAAO,MAqCMA,EAAU,CACnBC,QAAS,CACL,eACA,OACA,QACA,SACA,UACA,cACA,MACA,iBAEJC,KAAM,CACF,CACI,IAAIC,KAAK,KAAM,GAAI,IACnB,QACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,aACA,CAAC,mBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,QACA,gBACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,QACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,kBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,MAAO,iBACzB,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,MAAO,MAAO,SACf,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,mBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,kBAAmB,mBACpB,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,GAAI,IACnB,SACA,OACA,UACA,CAAC,kBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,GAAI,IACnB,SACA,OACA,UACA,CAAC,mBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,mBAClB,gBACA,iBACA,mDArMc,CACtBF,QAAS,CACL,OACA,aACA,cACA,YACA,UACA,gBAEJC,KAAM,CACF,CACI,aACA,aACA,eACA,eACA,YACA,sBAEJ,CACI,aACA,aACA,eACA,kBACA,YACA,sBAEJ,CACI,aACA,UACA,eACA,kBACA,YACA"}
@@ -1,8 +0,0 @@
1
- export declare const skadesaker: {
2
- columns: string[];
3
- rows: string[][];
4
- };
5
- export declare const faktura: {
6
- columns: string[];
7
- rows: (string | number | string[] | Date)[][];
8
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("react");const t=[e.jsx(e.Fragment,{children:e.jsx("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."})}),e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e.jsx("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."})]}),e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e.jsx("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."}),e.jsx("p",{className:"jkl-body",children:"It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})]}),e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e.jsx("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."}),e.jsx("p",{className:"jkl-body",children:"It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}),e.jsx("p",{className:"jkl-body",children:"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old."})]})];exports.randomContentBlock=function e(s){let n=t[Math.floor(Math.random()*t.length)];return n===s&&(n=e(s)),n};
2
- //# sourceMappingURL=content.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.cjs","sources":["../../../../src/hooks/stories/content.tsx"],"sourcesContent":["import React from \"react\";\n\nconst content1 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n </>\n);\n\nconst content2 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n </>\n);\n\nconst content3 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n <p className=\"jkl-body\">\n It was popularised in the 1960s with the release of Letraset sheets\n containing Lorem Ipsum passages, and more recently with desktop\n publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n </p>\n </>\n);\n\nconst content4 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n <p className=\"jkl-body\">\n It was popularised in the 1960s with the release of Letraset sheets\n containing Lorem Ipsum passages, and more recently with desktop\n publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n </p>\n <p className=\"jkl-body\">\n Contrary to popular belief, Lorem Ipsum is not simply random text.\n It has roots in a piece of classical Latin literature from 45 BC,\n making it over 2000 years old.\n </p>\n </>\n);\n\nconst contentBlocks = [content1, content2, content3, content4];\n\nexport function randomContentBlock(except?: JSX.Element): JSX.Element {\n let content =\n contentBlocks[Math.floor(Math.random() * contentBlocks.length)];\n if (content === except) {\n content = randomContentBlock(except);\n }\n return content;\n}\n"],"names":["contentBlocks","jsx","Fragment","children","className","jsxs","randomContentBlock","except","content","Math","floor","random","length"],"mappings":"sIAEA,MAyEMA,EAAgB,CAxElBC,EAAAA,IAAAC,EAAAA,SAAA,CACIC,SAAAF,EAAAA,IAAC,KAAEG,UAAU,WAAWD,oQAU5BE,EAAAA,KAAAH,WAAA,CACIC,SAAA,CAAAF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,gIAQ5BE,EAAAA,KAAAH,WAAA,CACIC,SAAA,CAAAF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,6HAIxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,uNAU5BE,EAAAA,KAAAH,WAAA,CACIC,SAAA,CAAAF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,6HAIxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,oNAMxBF,EAAAA,IAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,uMAUzB,SAASG,EAAmBC,GAC/B,IAAIC,EACAR,EAAcS,KAAKC,MAAMD,KAAKE,SAAWX,EAAcY,SAC3D,OAAIJ,IAAYD,IACZC,EAAUF,EAAmBC,IAE1BC,CACX"}
@@ -1 +0,0 @@
1
- export declare function randomContentBlock(except?: JSX.Element): JSX.Element;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ExampleComponentProps, ExampleKnobsProps } from 'utils/dev-example/index.js';
3
- export declare const FakturainfoExample: ({ boolValues, choiceValues, }: ExampleComponentProps) => React.JSX.Element;
4
- export declare const fakturainfoExampleProps: ExampleKnobsProps;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ExampleComponentProps, ExampleKnobsProps } from 'utils/dev-example/index.js';
3
- export declare const StatuskortExample: ({ boolValues, choiceValues, }: ExampleComponentProps) => React.JSX.Element;
4
- export declare const statuskortExampleProps: ExampleKnobsProps;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- interface AnimatedIconProps {
3
- renderIcon: (arg0: boolean) => React.ReactNode;
4
- iconName?: string;
5
- }
6
- export declare const AnimatedIcon: React.FC<AnimatedIconProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { default as React, ReactNode } from 'react';
2
- interface Props extends React.HTMLAttributes<HTMLDivElement> {
3
- name?: string;
4
- renderIcon: () => ReactNode;
5
- }
6
- export declare const IconExample: React.FC<Props>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import { default as React, CSSProperties } from 'react';
2
- import { WithChildren } from '../../../../utilities/types.js';
3
- interface IconsExampleGridProps extends WithChildren {
4
- columns: "two" | "four";
5
- style?: CSSProperties;
6
- }
7
- export declare const IconsExampleGrid: React.FC<IconsExampleGridProps>;
8
- export {};
@@ -1,5 +0,0 @@
1
- export declare const choiceProps: {
2
- name: string;
3
- values: string[];
4
- defaultValue: number;
5
- }[];
@@ -1,8 +0,0 @@
1
- export declare const skadesaker: {
2
- columns: string[];
3
- rows: string[][];
4
- };
5
- export declare const faktura: {
6
- columns: string[];
7
- rows: (string | number | string[] | Date)[][];
8
- };
@@ -1,2 +0,0 @@
1
- const r={columns:["Dato","Saksnummer","Kundenummer","Kundenavn","Milepæl","Følger saken"],rows:[["24.02.2025","20-1234567","010203 99887","Ola Nordmann","Opprettet","Siri Saksbehandler"],["13.04.2019","20-8382811","010203 99887","Kari Nordkvinne","Opprettet","Siri Saksbehandler"],["31.07.2017","20-1111","010203 99887","Kari Nordkvinne","Opprettet","Per Persen"]]},e={columns:["Forfallsdato","Type","Beløp","Status","Produkt","Kontonummer","KID","Betalingstype"],rows:[[new Date(2025,10,15),"Skade",612.32,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,9,15),"Person",402.67,"Påminnelse",["Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,8,15),"Person",2412.67,"Inkassovarsel",["Bilforsikring","Katteforsikring","Båtforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,7,15),"Person",719.17,"Faktura",["Båtforsikring","Hundeforsikring","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,6,15),"Skade",992.01,"Faktura",["Bilforsikring","Hundeforsikring","Elsparkesykkel"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,5,15),"Person",772.79,"Faktura",["Bilforsikring","Hus","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,4,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring","Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,3,15),"Person",772.79,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,2,15),"Person",772.79,"Faktura",["Bil","Hus","Innbo"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,1,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring","Katteforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2025,0,15),"Person",772.79,"Faktura",["Hundeforsikring","Barneforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,11,15),"Person",772.79,"Faktura",["Elsparkesykkel"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,10,15),"Person",772.79,"Faktura",["Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,9,15),"Person",772.79,"Faktura",["Bilforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"],[new Date(2024,8,15),"Person",772.79,"Faktura",["Bilforsikring","Hundeforsikring"],"9001.17.00771","1631 4283 2245","eFaktura"]]};export{e as faktura,r as skadesaker};
2
- //# sourceMappingURL=table-data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-data.js","sources":["../../../../../../src/components/table/stories/assets/table-data.ts"],"sourcesContent":["export const skadesaker = {\n columns: [\n \"Dato\",\n \"Saksnummer\",\n \"Kundenummer\",\n \"Kundenavn\",\n \"Milepæl\",\n \"Følger saken\",\n ],\n rows: [\n [\n \"24.02.2025\",\n \"20-1234567\",\n \"010203 99887\",\n \"Ola Nordmann\",\n \"Opprettet\",\n \"Siri Saksbehandler\",\n ],\n [\n \"13.04.2019\",\n \"20-8382811\",\n \"010203 99887\",\n \"Kari Nordkvinne\",\n \"Opprettet\",\n \"Siri Saksbehandler\",\n ],\n [\n \"31.07.2017\",\n \"20-1111\",\n \"010203 99887\",\n \"Kari Nordkvinne\",\n \"Opprettet\",\n \"Per Persen\",\n ],\n ],\n};\n\nexport const faktura = {\n columns: [\n \"Forfallsdato\",\n \"Type\",\n \"Beløp\",\n \"Status\",\n \"Produkt\",\n \"Kontonummer\",\n \"KID\",\n \"Betalingstype\",\n ],\n rows: [\n [\n new Date(2025, 10, 15),\n \"Skade\",\n 612.32,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 9, 15),\n \"Person\",\n 402.67,\n \"Påminnelse\",\n [\"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 8, 15),\n \"Person\",\n 2412.67,\n \"Inkassovarsel\",\n [\"Bilforsikring\", \"Katteforsikring\", \"Båtforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 7, 15),\n \"Person\",\n 719.17,\n \"Faktura\",\n [\"Båtforsikring\", \"Hundeforsikring\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 6, 15),\n \"Skade\",\n 992.01,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Elsparkesykkel\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 5, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hus\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 4, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 3, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 2, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bil\", \"Hus\", \"Innbo\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 1, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\", \"Katteforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2025, 0, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Hundeforsikring\", \"Barneforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 11, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Elsparkesykkel\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 10, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 9, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n [\n new Date(2024, 8, 15),\n \"Person\",\n 772.79,\n \"Faktura\",\n [\"Bilforsikring\", \"Hundeforsikring\"],\n \"9001.17.00771\",\n \"1631 4283 2245\",\n \"eFaktura\",\n ],\n ],\n};\n"],"names":["skadesaker","columns","rows","faktura","Date"],"mappings":"AAAO,MAAMA,EAAa,CACtBC,QAAS,CACL,OACA,aACA,cACA,YACA,UACA,gBAEJC,KAAM,CACF,CACI,aACA,aACA,eACA,eACA,YACA,sBAEJ,CACI,aACA,aACA,eACA,kBACA,YACA,sBAEJ,CACI,aACA,UACA,eACA,kBACA,YACA,gBAKCC,EAAU,CACnBF,QAAS,CACL,eACA,OACA,QACA,SACA,UACA,cACA,MACA,iBAEJC,KAAM,CACF,CACI,IAAIE,KAAK,KAAM,GAAI,IACnB,QACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,aACA,CAAC,mBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,QACA,gBACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,QACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,kBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,MAAO,iBACzB,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,iBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,MAAO,MAAO,SACf,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,kBAAmB,mBACrC,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,kBAAmB,mBACpB,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,GAAI,IACnB,SACA,OACA,UACA,CAAC,kBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,GAAI,IACnB,SACA,OACA,UACA,CAAC,mBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,iBACD,gBACA,iBACA,YAEJ,CACI,IAAIA,KAAK,KAAM,EAAG,IAClB,SACA,OACA,UACA,CAAC,gBAAiB,mBAClB,gBACA,iBACA"}
@@ -1 +0,0 @@
1
- export declare function randomContentBlock(except?: JSX.Element): JSX.Element;
@@ -1,2 +0,0 @@
1
- import{jsx as e,Fragment as t,jsxs as n}from"react/jsx-runtime";import"react";const s=[e(t,{children:e("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."})}),n(t,{children:[e("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."})]}),n(t,{children:[e("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."}),e("p",{className:"jkl-body",children:"It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})]}),n(t,{children:[e("p",{className:"jkl-body",children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."}),e("p",{className:"jkl-body",children:"It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."}),e("p",{className:"jkl-body",children:"It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."}),e("p",{className:"jkl-body",children:"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old."})]})];function a(e){let t=s[Math.floor(Math.random()*s.length)];return t===e&&(t=a(e)),t}export{a as randomContentBlock};
2
- //# sourceMappingURL=content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.js","sources":["../../../../src/hooks/stories/content.tsx"],"sourcesContent":["import React from \"react\";\n\nconst content1 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n </>\n);\n\nconst content2 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n </>\n);\n\nconst content3 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n <p className=\"jkl-body\">\n It was popularised in the 1960s with the release of Letraset sheets\n containing Lorem Ipsum passages, and more recently with desktop\n publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n </p>\n </>\n);\n\nconst content4 = (\n <>\n <p className=\"jkl-body\">\n Lorem Ipsum is simply dummy text of the printing and typesetting\n industry. Lorem Ipsum has been the industrys standard dummy text\n ever since the 1500s, when an unknown printer took a galley of type\n and scrambled it to make a type specimen book.\n </p>\n <p className=\"jkl-body\">\n It has survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </p>\n <p className=\"jkl-body\">\n It was popularised in the 1960s with the release of Letraset sheets\n containing Lorem Ipsum passages, and more recently with desktop\n publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n </p>\n <p className=\"jkl-body\">\n Contrary to popular belief, Lorem Ipsum is not simply random text.\n It has roots in a piece of classical Latin literature from 45 BC,\n making it over 2000 years old.\n </p>\n </>\n);\n\nconst contentBlocks = [content1, content2, content3, content4];\n\nexport function randomContentBlock(except?: JSX.Element): JSX.Element {\n let content =\n contentBlocks[Math.floor(Math.random() * contentBlocks.length)];\n if (content === except) {\n content = randomContentBlock(except);\n }\n return content;\n}\n"],"names":["contentBlocks","jsx","Fragment","children","className","jsxs","randomContentBlock","except","content","Math","floor","random","length"],"mappings":"8EAEA,MAyEMA,EAAgB,CAxElBC,EAAAC,EAAA,CACIC,SAAAF,EAAC,KAAEG,UAAU,WAAWD,oQAU5BE,EAAAH,EAAA,CACIC,SAAA,CAAAF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,gIAQ5BE,EAAAH,EAAA,CACIC,SAAA,CAAAF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,6HAIxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,uNAU5BE,EAAAH,EAAA,CACIC,SAAA,CAAAF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,yPAMxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,6HAIxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,oNAMxBF,EAAC,IAAA,CAAEG,UAAU,WAAWD,SAAA,4KAUzB,SAASG,EAAmBC,GAC/B,IAAIC,EACAR,EAAcS,KAAKC,MAAMD,KAAKE,SAAWX,EAAcY,SAC3D,OAAIJ,IAAYD,IACZC,EAAUF,EAAmBC,IAE1BC,CACX"}