@mattilsynet/design 0.1.0 → 0.2.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 (84) hide show
  1. package/mtds/alert/alert.stories.d.ts +3 -1
  2. package/mtds/badge/badge.stories.d.ts +7 -0
  3. package/mtds/breadcrumbs/breadcrumbs.stories.d.ts +1 -1
  4. package/mtds/button/button.stories.d.ts +6 -6
  5. package/mtds/field/field.stories.d.ts +3 -3
  6. package/mtds/fieldset/fieldset.stories.d.ts +1 -1
  7. package/mtds/illustrations/illustrations.json +59 -0
  8. package/mtds/index.iife.js +2 -2
  9. package/mtds/index.iife.js.map +1 -1
  10. package/mtds/input/input.stories.d.ts +4 -0
  11. package/mtds/modal/modal.stories.d.ts +1 -1
  12. package/mtds/nanopop.d.ts +49 -0
  13. package/mtds/nanopop.js +65 -0
  14. package/mtds/nanopop.js.map +1 -0
  15. package/mtds/pagination/pagination.stories.d.ts +3 -3
  16. package/mtds/popover/popover.js +31 -23
  17. package/mtds/popover/popover.js.map +1 -1
  18. package/mtds/popover/popover.stories.d.ts +3 -2
  19. package/mtds/styles.css +1 -2528
  20. package/mtds/styles.json +30 -30
  21. package/mtds/styles.module.css.js +38 -38
  22. package/mtds/table/table.stories.d.ts +1 -1
  23. package/mtds/tag/tag.stories.d.ts +3 -0
  24. package/package.json +6 -9
  25. package/mtds/external/nanopop/dist/nanopop.js +0 -67
  26. package/mtds/external/nanopop/dist/nanopop.js.map +0 -1
  27. package/mtds/illustrations/plants/seaweed.svg +0 -3
  28. /package/mtds/illustrations/{food/apple-cup.svg → apple-cup.svg} +0 -0
  29. /package/mtds/illustrations/{food/apple.svg → apple.svg} +0 -0
  30. /package/mtds/illustrations/{food/banana-apple-cup.svg → banana-apple-cup.svg} +0 -0
  31. /package/mtds/illustrations/{food/banana.svg → banana.svg} +0 -0
  32. /package/mtds/illustrations/{animals/bird.svg → bird.svg} +0 -0
  33. /package/mtds/illustrations/{water/drop.svg → drop.svg} +0 -0
  34. /package/mtds/illustrations/{humans/farmer-inviting.svg → farmer-inviting.svg} +0 -0
  35. /package/mtds/illustrations/{humans/farmer-pig-plant.svg → farmer-pig-plant.svg} +0 -0
  36. /package/mtds/illustrations/{humans/farmer-pitchfork.svg → farmer-pitchfork.svg} +0 -0
  37. /package/mtds/illustrations/{food/farmer-turnip-plant.svg → farmer-turnip-plant.svg} +0 -0
  38. /package/mtds/illustrations/{water/faucet.svg → faucet.svg} +0 -0
  39. /package/mtds/illustrations/{aqua/fish.svg → fish.svg} +0 -0
  40. /package/mtds/illustrations/{cosmetics/flask-perfume.svg → flask-perfume.svg} +0 -0
  41. /package/mtds/illustrations/{cosmetics/flask-pipette.svg → flask-pipette.svg} +0 -0
  42. /package/mtds/illustrations/{cosmetics/flask-pump.svg → flask-pump.svg} +0 -0
  43. /package/mtds/illustrations/{cosmetics/flasks.svg → flasks.svg} +0 -0
  44. /package/mtds/illustrations/{aqua/flounder.svg → flounder.svg} +0 -0
  45. /package/mtds/illustrations/{plants/flower-seeds.svg → flower-seeds.svg} +0 -0
  46. /package/mtds/illustrations/{plants/flower.svg → flower.svg} +0 -0
  47. /package/mtds/illustrations/{plants/grass-bush.svg → grass-bush.svg} +0 -0
  48. /package/mtds/illustrations/{humans/inspector.svg → inspector.svg} +0 -0
  49. /package/mtds/illustrations/{cosmetics/jar.svg → jar.svg} +0 -0
  50. /package/mtds/illustrations/{humans/meeting-plant.svg → meeting-plant.svg} +0 -0
  51. /package/mtds/illustrations/{aqua/mussel-1.svg → mussel-1.svg} +0 -0
  52. /package/mtds/illustrations/{aqua/mussel-2.svg → mussel-2.svg} +0 -0
  53. /package/mtds/illustrations/{aqua/mussel-3.svg → mussel-3.svg} +0 -0
  54. /package/mtds/illustrations/{aqua/mussels.svg → mussels.svg} +0 -0
  55. /package/mtds/illustrations/{plants/oak-leaf.svg → oak-leaf.svg} +0 -0
  56. /package/mtds/illustrations/{food/pear.svg → pear.svg} +0 -0
  57. /package/mtds/illustrations/{vision/person-animal-nature-1.svg → person-animal-nature-1.svg} +0 -0
  58. /package/mtds/illustrations/{vision/person-animal-nature-2.svg → person-animal-nature-2.svg} +0 -0
  59. /package/mtds/illustrations/{humans/person-apron-bush.svg → person-apron-bush.svg} +0 -0
  60. /package/mtds/illustrations/{humans/person-apron.svg → person-apron.svg} +0 -0
  61. /package/mtds/illustrations/{humans/person-arm.svg → person-arm.svg} +0 -0
  62. /package/mtds/illustrations/{water/person-drop.svg → person-drop.svg} +0 -0
  63. /package/mtds/illustrations/{water/person-faucet-drop.svg → person-faucet-drop.svg} +0 -0
  64. /package/mtds/illustrations/{aqua/person-fish-seaweed.svg → person-fish-seaweed.svg} +0 -0
  65. /package/mtds/illustrations/{aqua/person-fish.svg → person-fish.svg} +0 -0
  66. /package/mtds/illustrations/{cosmetics/person-flasks.svg → person-flasks.svg} +0 -0
  67. /package/mtds/illustrations/{humans/person-flower.svg → person-flower.svg} +0 -0
  68. /package/mtds/illustrations/{food/person-fork-bush.svg → person-fork-bush.svg} +0 -0
  69. /package/mtds/illustrations/{food/person-ham.svg → person-ham.svg} +0 -0
  70. /package/mtds/illustrations/{food/person-meat.svg → person-meat.svg} +0 -0
  71. /package/mtds/illustrations/{humans/person-mobile.svg → person-mobile.svg} +0 -0
  72. /package/mtds/illustrations/{aqua/person-mussels.svg → person-mussels.svg} +0 -0
  73. /package/mtds/illustrations/{food/person-pear.svg → person-pear.svg} +0 -0
  74. /package/mtds/illustrations/{cosmetics/person-tubes.svg → person-tubes.svg} +0 -0
  75. /package/mtds/illustrations/{animals/pig.svg → pig.svg} +0 -0
  76. /package/mtds/illustrations/{plants/plant-round-leaves.svg → plant-round-leaves.svg} +0 -0
  77. /package/mtds/illustrations/{plants/plant.svg → plant.svg} +0 -0
  78. /package/mtds/illustrations/{aqua/seaweed.svg → seaweed.svg} +0 -0
  79. /package/mtds/illustrations/{aqua/shrimp.svg → shrimp.svg} +0 -0
  80. /package/mtds/illustrations/{humans/team.svg → team.svg} +0 -0
  81. /package/mtds/illustrations/{cosmetics/tube-1.svg → tube-1.svg} +0 -0
  82. /package/mtds/illustrations/{cosmetics/tube-2.svg → tube-2.svg} +0 -0
  83. /package/mtds/illustrations/{food/turnip.svg → turnip.svg} +0 -0
  84. /package/mtds/illustrations/{aqua/water-plant.svg → water-plant.svg} +0 -0
package/mtds/styles.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
- "alert": "_alert_d52qk_1 _ds-alert_whhdm_1",
3
- "avatar": "_avatar_d52qk_1 _ds-avatar_whhdm_1",
4
- "breadcrumbs": "_breadcrumbs_d52qk_1 _ds-breadcrumbs_whhdm_1",
5
- "button": "_button_d52qk_1 _ds-button_whhdm_1",
6
- "card": "_card_d52qk_1 _ds-card_whhdm_1",
7
- "chip": "_chip_d52qk_1 _ds-chip_whhdm_1",
8
- "details": "_details_d52qk_1 _ds-details_whhdm_1",
9
- "errorsummary": "_errorsummary_d52qk_1 _ds-error-summary_whhdm_1",
10
- "field": "_field_d52qk_1 _ds-field_whhdm_1",
11
- "fieldChildAdded": "_fieldChildAdded_d52qk_1",
12
- "affixes": "_affixes_d52qk_1 _ds-field-affixes_whhdm_1",
13
- "count": "_count_d52qk_1",
14
- "fieldset": "_fieldset_d52qk_1 _ds-fieldset_whhdm_1",
15
- "fieldsetValidationAdded": "_fieldsetValidationAdded_d52qk_1",
16
- "input": "_input_d52qk_1 _ds-input_whhdm_1",
17
- "grid": "_grid_d52qk_1",
18
- "flex": "_flex_d52qk_1",
19
- "box": "_box_d52qk_1",
20
- "link": "_link_d52qk_1",
21
- "logo": "_logo_d52qk_1 _ds-focus_whhdm_1",
22
- "modal": "_modal_d52qk_1 _ds-modal_whhdm_1",
23
- "pagination": "_pagination_d52qk_1 _ds-pagination_whhdm_1",
24
- "popover": "_popover_d52qk_1",
25
- "table": "_table_d52qk_1 _ds-table_whhdm_1",
26
- "scrollShadow": "_scrollShadow_d52qk_1",
27
- "tableChildAdded": "_tableChildAdded_d52qk_1",
28
- "tabs": "_tabs_d52qk_1",
29
- "tag": "_tag_d52qk_1 _ds-tag_whhdm_1",
30
- "validation": "_validation_d52qk_1 _ds-validation-message_whhdm_1",
31
- "body": "_body_d52qk_65"
2
+ "alert": "_alert_zkihy_1 _ds-alert_14y6r_1",
3
+ "avatar": "_avatar_zkihy_1 _ds-avatar_14y6r_1",
4
+ "breadcrumbs": "_breadcrumbs_zkihy_1 _ds-breadcrumbs_14y6r_1",
5
+ "button": "_button_zkihy_1 _ds-button_14y6r_1",
6
+ "card": "_card_zkihy_1 _ds-card_14y6r_1",
7
+ "chip": "_chip_zkihy_1 _ds-chip_14y6r_1",
8
+ "details": "_details_zkihy_1 _ds-details_14y6r_1",
9
+ "errorsummary": "_errorsummary_zkihy_1 _ds-error-summary_14y6r_1",
10
+ "field": "_field_zkihy_1 _ds-field_14y6r_1",
11
+ "fieldChildAdded": "_fieldChildAdded_zkihy_1",
12
+ "affixes": "_affixes_zkihy_1 _ds-field-affixes_14y6r_1",
13
+ "count": "_count_zkihy_1",
14
+ "fieldset": "_fieldset_zkihy_1 _ds-fieldset_14y6r_1",
15
+ "fieldsetValidationAdded": "_fieldsetValidationAdded_zkihy_1",
16
+ "input": "_input_zkihy_1 _ds-input_14y6r_1",
17
+ "grid": "_grid_zkihy_1",
18
+ "flex": "_flex_zkihy_1",
19
+ "box": "_box_zkihy_1",
20
+ "link": "_link_zkihy_1",
21
+ "logo": "_logo_zkihy_1 _ds-focus_14y6r_1",
22
+ "modal": "_modal_zkihy_1 _ds-modal_14y6r_1",
23
+ "pagination": "_pagination_zkihy_1 _ds-pagination_14y6r_1",
24
+ "popover": "_popover_zkihy_1",
25
+ "table": "_table_zkihy_1 _ds-table_14y6r_1",
26
+ "scrollShadow": "_scrollShadow_zkihy_1",
27
+ "tableChildAdded": "_tableChildAdded_zkihy_1",
28
+ "tabs": "_tabs_zkihy_1",
29
+ "tag": "_tag_zkihy_1 _ds-tag_14y6r_1",
30
+ "validation": "_validation_zkihy_1 _ds-validation-message_14y6r_1",
31
+ "body": "_body_zkihy_73"
32
32
  }
@@ -1,65 +1,65 @@
1
- const d = "_alert_d52qk_1 _ds-alert_whhdm_1", _ = "_avatar_d52qk_1 _ds-avatar_whhdm_1", t = "_breadcrumbs_d52qk_1 _ds-breadcrumbs_whhdm_1", s = "_button_d52qk_1 _ds-button_whhdm_1", o = "_card_d52qk_1 _ds-card_whhdm_1", a = "_chip_d52qk_1 _ds-chip_whhdm_1", e = "_details_d52qk_1 _ds-details_whhdm_1", i = "_errorsummary_d52qk_1 _ds-error-summary_whhdm_1", l = "_field_d52qk_1 _ds-field_whhdm_1", n = "_fieldChildAdded_d52qk_1", c = "_affixes_d52qk_1 _ds-field-affixes_whhdm_1", h = "_count_d52qk_1", r = "_fieldset_d52qk_1 _ds-fieldset_whhdm_1", m = "_fieldsetValidationAdded_d52qk_1", k = "_input_d52qk_1 _ds-input_whhdm_1", q = "_grid_d52qk_1", b = "_flex_d52qk_1", f = "_box_d52qk_1", u = "_link_d52qk_1", w = "_logo_d52qk_1 _ds-focus_whhdm_1", p = "_modal_d52qk_1 _ds-modal_whhdm_1", g = "_pagination_d52qk_1 _ds-pagination_whhdm_1", v = "_popover_d52qk_1", x = "_table_d52qk_1 _ds-table_whhdm_1", A = "_scrollShadow_d52qk_1", y = "_tableChildAdded_d52qk_1", C = "_tabs_d52qk_1", S = "_tag_d52qk_1 _ds-tag_whhdm_1", V = "_validation_d52qk_1 _ds-validation-message_whhdm_1", j = "_body_d52qk_65", z = {
2
- alert: d,
3
- avatar: _,
4
- breadcrumbs: t,
5
- button: s,
6
- card: o,
7
- chip: a,
8
- details: e,
9
- errorsummary: i,
1
+ const _ = "_alert_zkihy_1 _ds-alert_14y6r_1", d = "_avatar_zkihy_1 _ds-avatar_14y6r_1", i = "_breadcrumbs_zkihy_1 _ds-breadcrumbs_14y6r_1", t = "_button_zkihy_1 _ds-button_14y6r_1", s = "_card_zkihy_1 _ds-card_14y6r_1", o = "_chip_zkihy_1 _ds-chip_14y6r_1", a = "_details_zkihy_1 _ds-details_14y6r_1", e = "_errorsummary_zkihy_1 _ds-error-summary_14y6r_1", l = "_field_zkihy_1 _ds-field_14y6r_1", r = "_fieldChildAdded_zkihy_1", n = "_affixes_zkihy_1 _ds-field-affixes_14y6r_1", y = "_count_zkihy_1", c = "_fieldset_zkihy_1 _ds-fieldset_14y6r_1", h = "_fieldsetValidationAdded_zkihy_1", k = "_input_zkihy_1 _ds-input_14y6r_1", z = "_grid_zkihy_1", b = "_flex_zkihy_1", f = "_box_zkihy_1", u = "_link_zkihy_1", p = "_logo_zkihy_1 _ds-focus_14y6r_1", m = "_modal_zkihy_1 _ds-modal_14y6r_1", g = "_pagination_zkihy_1 _ds-pagination_14y6r_1", v = "_popover_zkihy_1", x = "_table_zkihy_1 _ds-table_14y6r_1", A = "_scrollShadow_zkihy_1", C = "_tableChildAdded_zkihy_1", w = "_tabs_zkihy_1", S = "_tag_zkihy_1 _ds-tag_14y6r_1", V = "_validation_zkihy_1 _ds-validation-message_14y6r_1", j = "_body_zkihy_73", q = {
2
+ alert: _,
3
+ avatar: d,
4
+ breadcrumbs: i,
5
+ button: t,
6
+ card: s,
7
+ chip: o,
8
+ details: a,
9
+ errorsummary: e,
10
10
  field: l,
11
- fieldChildAdded: n,
12
- affixes: c,
13
- count: h,
14
- fieldset: r,
15
- fieldsetValidationAdded: m,
11
+ fieldChildAdded: r,
12
+ affixes: n,
13
+ count: y,
14
+ fieldset: c,
15
+ fieldsetValidationAdded: h,
16
16
  input: k,
17
- grid: q,
17
+ grid: z,
18
18
  flex: b,
19
19
  box: f,
20
20
  link: u,
21
- logo: w,
22
- modal: p,
21
+ logo: p,
22
+ modal: m,
23
23
  pagination: g,
24
24
  popover: v,
25
25
  table: x,
26
26
  scrollShadow: A,
27
- tableChildAdded: y,
28
- tabs: C,
27
+ tableChildAdded: C,
28
+ tabs: w,
29
29
  tag: S,
30
30
  validation: V,
31
31
  body: j
32
32
  };
33
33
  export {
34
- c as affixes,
35
- d as alert,
36
- _ as avatar,
34
+ n as affixes,
35
+ _ as alert,
36
+ d as avatar,
37
37
  j as body,
38
38
  f as box,
39
- t as breadcrumbs,
40
- s as button,
41
- o as card,
42
- a as chip,
43
- h as count,
44
- z as default,
45
- e as details,
46
- i as errorsummary,
39
+ i as breadcrumbs,
40
+ t as button,
41
+ s as card,
42
+ o as chip,
43
+ y as count,
44
+ q as default,
45
+ a as details,
46
+ e as errorsummary,
47
47
  l as field,
48
- n as fieldChildAdded,
49
- r as fieldset,
50
- m as fieldsetValidationAdded,
48
+ r as fieldChildAdded,
49
+ c as fieldset,
50
+ h as fieldsetValidationAdded,
51
51
  b as flex,
52
- q as grid,
52
+ z as grid,
53
53
  k as input,
54
54
  u as link,
55
- w as logo,
56
- p as modal,
55
+ p as logo,
56
+ m as modal,
57
57
  g as pagination,
58
58
  v as popover,
59
59
  A as scrollShadow,
60
60
  x as table,
61
- y as tableChildAdded,
62
- C as tabs,
61
+ C as tableChildAdded,
62
+ w as tabs,
63
63
  S as tag,
64
64
  V as validation
65
65
  };
@@ -18,7 +18,7 @@ export declare const ExpandableSimple: Story;
18
18
  export declare const ExpandableTanstack: Story;
19
19
  export declare const CheckableSimple: Story;
20
20
  export declare const CheckableTanstack: Story;
21
- export declare const HorizontalTitles: Story;
21
+ export declare const WithHorizontalTitles: Story;
22
22
  export declare const FixedWidths: Story;
23
23
  export declare const NumericValues: Story;
24
24
  export declare const Footer: Story;
@@ -5,3 +5,6 @@ declare const meta: {
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof meta>;
7
7
  export declare const Default: Story;
8
+ export declare const Sizes: Story;
9
+ export declare const WithIcons: Story;
10
+ export declare const WithTooltip: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattilsynet/design",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "main": "./mtds/index.js",
6
6
  "types": "./mtds/index.d.ts",
@@ -8,8 +8,8 @@
8
8
  "mtds"
9
9
  ],
10
10
  "engines": {
11
- "npm": "^10.x",
12
- "node": "^20.x"
11
+ "npm": ">=10.0.0",
12
+ "node": ">=20.0.0"
13
13
  },
14
14
  "exports": {
15
15
  ".": {
@@ -35,14 +35,10 @@
35
35
  "storybook": "storybook dev -p 6006",
36
36
  "storybook:build": "npm run build && storybook build"
37
37
  },
38
- "dependencies": {
39
- "nanopop": "^2.4.2"
40
- },
41
38
  "devDependencies": {
42
39
  "@biomejs/biome": "^1.9.4",
43
- "@digdir/designsystemet-css": "^1.0.0-next.44",
44
- "@digdir/designsystemet-theme": "^1.0.0-next.44",
45
- "@navikt/aksel-icons": "^7.9.0",
40
+ "@digdir/designsystemet-css": "^1.0.0-next.45",
41
+ "@digdir/designsystemet-theme": "^1.0.0-next.45",
46
42
  "@phosphor-icons/react": "^2.1.7",
47
43
  "@storybook/addon-essentials": "^8.4.7",
48
44
  "@storybook/addon-storysource": "^8.4.7",
@@ -55,6 +51,7 @@
55
51
  "@types/node": "^22.10.2",
56
52
  "@types/react": "^18.3.12",
57
53
  "@types/react-dom": "^18.3.1",
54
+ "@u-elements/u-datalist": "0.0.9",
58
55
  "@u-elements/u-details": "^0.1.0",
59
56
  "@u-elements/u-tabs": "^0.0.8",
60
57
  "@vitejs/plugin-react": "^4.3.4",
@@ -1,67 +0,0 @@
1
- /*! NanoPop 2.4.2 MIT | https://github.com/Simonwep/nanopop */
2
- const T = {
3
- variantFlipOrder: { start: "sme", middle: "mse", end: "ems" },
4
- positionFlipOrder: { top: "tbrl", right: "rltb", bottom: "btrl", left: "lrbt" },
5
- position: "bottom",
6
- margin: 8,
7
- padding: 0
8
- }, V = (F, o, O) => {
9
- const {
10
- container: $,
11
- arrow: d,
12
- margin: s,
13
- padding: b,
14
- position: B,
15
- variantFlipOrder: C,
16
- positionFlipOrder: R
17
- } = {
18
- container: document.documentElement.getBoundingClientRect(),
19
- ...T,
20
- ...O
21
- }, { left: E, top: j } = o.style;
22
- o.style.left = "0", o.style.top = "0";
23
- const t = F.getBoundingClientRect(), e = o.getBoundingClientRect(), k = {
24
- t: t.top - e.height - s,
25
- b: t.bottom + s,
26
- r: t.right + s,
27
- l: t.left - e.width - s
28
- }, q = {
29
- vs: t.left,
30
- vm: t.left + t.width / 2 - e.width / 2,
31
- ve: t.left + t.width - e.width,
32
- hs: t.top,
33
- hm: t.bottom - t.height / 2 - e.height / 2,
34
- he: t.bottom - e.height
35
- }, [z, A = "middle"] = B.split("-"), D = R[z], G = C[A], { top: u, left: w, bottom: y, right: v } = $;
36
- for (const l of D) {
37
- const i = l === "t" || l === "b";
38
- let n = k[l];
39
- const [p, g] = i ? ["top", "left"] : ["left", "top"], [f, m] = i ? [e.height, e.width] : [e.width, e.height], [H, I] = i ? [y, v] : [v, y], [J, K] = i ? [u, w] : [w, u];
40
- if (!(n < J || n + f + b > H))
41
- for (const a of G) {
42
- let r = q[(i ? "v" : "h") + a];
43
- if (!(r < K || r + m + b > I)) {
44
- if (r -= e[g], n -= e[p], o.style[g] = `${r}px`, o.style[p] = `${n}px`, d) {
45
- const c = i ? t.width / 2 : t.height / 2, h = m / 2, x = c > h, L = {
46
- s: x ? h : c,
47
- m: h,
48
- e: x ? h : m - c
49
- }, M = {
50
- t: f,
51
- b: 0,
52
- r: 0,
53
- l: f
54
- }, P = r + L[a], S = n + M[l];
55
- d.style[g] = `${P}px`, d.style[p] = `${S}px`;
56
- }
57
- return l + a;
58
- }
59
- }
60
- }
61
- return o.style.left = E, o.style.top = j, null;
62
- };
63
- export {
64
- T as defaults,
65
- V as reposition
66
- };
67
- //# sourceMappingURL=nanopop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nanopop.js","sources":["../../../../node_modules/nanopop/dist/nanopop.mjs"],"sourcesContent":["/*! NanoPop 2.4.2 MIT | https://github.com/Simonwep/nanopop */\nconst N = \"2.4.2\", I = {\n variantFlipOrder: { start: \"sme\", middle: \"mse\", end: \"ems\" },\n positionFlipOrder: { top: \"tbrl\", right: \"rltb\", bottom: \"btrl\", left: \"lrbt\" },\n position: \"bottom\",\n margin: 8,\n padding: 0\n}, J = (n, i, m) => {\n const {\n container: r,\n arrow: a,\n margin: e,\n padding: l,\n position: V,\n variantFlipOrder: C,\n positionFlipOrder: M\n } = {\n container: document.documentElement.getBoundingClientRect(),\n ...I,\n ...m\n }, { left: F, top: K } = i.style;\n i.style.left = \"0\", i.style.top = \"0\";\n const t = n.getBoundingClientRect(), o = i.getBoundingClientRect(), P = {\n t: t.top - o.height - e,\n b: t.bottom + e,\n r: t.right + e,\n l: t.left - o.width - e\n }, R = {\n vs: t.left,\n vm: t.left + t.width / 2 - o.width / 2,\n ve: t.left + t.width - o.width,\n hs: t.top,\n hm: t.bottom - t.height / 2 - o.height / 2,\n he: t.bottom - o.height\n }, [$, E = \"middle\"] = V.split(\"-\"), L = M[$], j = C[E], { top: y, left: x, bottom: B, right: O } = r;\n for (const c of L) {\n const s = c === \"t\" || c === \"b\";\n let p = P[c];\n const [d, g] = s ? [\"top\", \"left\"] : [\"left\", \"top\"], [u, v] = s ? [o.height, o.width] : [o.width, o.height], [z, T] = s ? [B, O] : [O, B], [H, k] = s ? [y, x] : [x, y];\n if (!(p < H || p + u + l > z))\n for (const b of j) {\n let f = R[(s ? \"v\" : \"h\") + b];\n if (!(f < k || f + v + l > T)) {\n if (f -= o[g], p -= o[d], i.style[g] = `${f}px`, i.style[d] = `${p}px`, a) {\n const w = s ? t.width / 2 : t.height / 2, h = v / 2, S = w > h, q = {\n s: S ? h : w,\n m: h,\n e: S ? h : v - w\n }, A = {\n t: u,\n b: 0,\n r: 0,\n l: u\n }, D = f + q[b], G = p + A[c];\n a.style[g] = `${D}px`, a.style[d] = `${G}px`;\n }\n return c + b;\n }\n }\n }\n return i.style.left = F, i.style.top = K, null;\n}, Q = (n, i, m) => {\n const r = typeof n == \"object\" && !(n instanceof HTMLElement) ? n : { reference: n, popper: i, ...m };\n return {\n /**\n * Repositions the current popper.\n * @param options Optional options which get merged with the current ones.\n */\n update(a = r) {\n const { reference: e, popper: l } = Object.assign(r, a);\n if (!l || !e)\n throw new Error(\"Popper- or reference-element missing.\");\n return J(e, l, r);\n }\n };\n};\nexport {\n Q as createPopper,\n I as defaults,\n J as reposition,\n N as version\n};\n//# sourceMappingURL=nanopop.mjs.map\n"],"names":["I","J","n","i","m","r","a","e","l","V","M","F","K","o","P","R","$","E","L","j","y","x","B","O","c","s","p","d","u","v","z","T","H","k","b","f","w","S","q","A","D","G"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="221" height="256" viewBox="0 0 221 256">
2
- <path fill="#054449" d="m220.1 67.18c-.06-.7-.22-3.2-.47-3.34-.54-.28-7.18.37-10.35 1.36-2.82.88-4.4 1.78-6.63 2.58-1.99.71-4.02 1.45-6.31 1.7.34-.42 2.25-3.06 4.75-5.7 2.7-2.85 4.9-4.67 6.64-6.54 1.05-1.12 2.12-2.44 1.27-3.12-.85-.67-2.35-1.82-3.97-3.07-2.1-1.63-2.18-1.34-3.59-.17-1.4 1.17-4.02 4.06-4.74 4.85-2.96 3.2-6.02 6.53-8.22 10.47-1.67 2.99-4.13 4.26-7.73 3.97a20.98 20.98 0 0 0 -6 .3c-7.4 1.63-11.66 5.7-13 12.4 0 0-.42 2.16-.64 2.92-1.32 4.73-3.32 8.22-6.3 10.97-2.28 2.09-9.48 9.52-10.95 10.94-1.09 1.05-4.48 3.72-4.96 4.14a38.5 38.5 0 0 1 -5.33 3.68 18.08 18.08 0 0 1 3.16-5.84c1.74-2.2 3.48-4.48 5.15-6.69 1.4-1.82 2.83-3.72 4.28-5.54a34.18 34.18 0 0 0 6.15-12.5c1.3-4.9 2.23-10.21 2.85-16.2.43-3.97 2.12-6.47 5.74-8.39 5.68-3 11.3-6.37 16.7-9.65l2.02-1.2c2.34-1.4 6.38-4.76 6.62-5.37.23-.6.17-.67-.38-1.52-.56-.84-2.56-4.01-3.14-3.87s-1.47.75-2.19 1.13c-1.54.85-3.14 1.7-4.77 2.52-1.62.83-5.8 2.74-5.8 2.74l2.53-4.25c1.9-3.21 3.87-6.51 5.72-9.79 1.32-1.85 2.64-5.28 2.59-5.9-.06-.63-4.46-2.34-5.55-2.88-1.1-.53-1.68-.9-2.23-.87-.42.03-1.18 1.14-1.34 1.43-.67 1.14-1.36 2.28-2.05 3.4-3.3 5.47-6.69 11.1-9.03 17.19-.44 1.14-.97 3.02-3.1 4.68-.15-2.79.56-4.43.8-5.33.7-2.56 1.41-5.19 2.7-7.62 1.38-2.6 2.7-5.5 4.1-9.11.8-2.05 1.5-4.17 2.14-6.22.27-.85.65-1.63.85-2.6.2-.98-7.72-2.49-8.38-1.77s-1.83 3.28-2.52 5.17c-.78 2.12-1.58 4.32-3.23 6.2-.51-1.59-.49-2.97-.47-4.3v-8.07c-.02-1.59.02-3.06-.91-3.41-1.23-.19-5.6 1.28-7.41 2.01-1.72.7-2.12 1-1.62 2.98.5 1.97 1.92 10.43 2.14 11.67.78 4.48.45 14.9.45 14.9-.07 2.37-1.36 7.9-1.45 8.28-.91 4.02-7.73 11.15-8.5 11.75-4.03 3.14-6 7.49-6.03 13.26a82.22 82.22 0 0 0 1.14 10.94c.7 3.88-.23 7.4-2.9 11.08-3.79 5.19-12.08 19.5-14.07 23.53-1.97 4.04-7.49 16.04-14.17 23.96a11.37 11.37 0 0 1 -1.82-3.95c-.65-2.85-1.4-6.09-2.38-9.18a12.28 12.28 0 0 1 -.3-5.81c1.05-6.07 3.1-12.2 6.47-19.26a28.3 28.3 0 0 1 5.37-7.65c1.69-1.7 3.45-3.54 4.86-5.63 3.63-5.4 5.05-11.66 4.25-18.61-.31-2.7-.44-5.89 1.03-9.16 1.53-3.43 2.76-7.02 3.96-10.52 1.45-4.26 2.97-8.62 5.02-12.72 1.02-2.06 3.03-7.34 3.2-7.85.6-1.58 1.2-3.5 1.74-5.2.53-1.69.69-3.35-.18-3.25-.7.08-7.92.93-8.5 1.5-.56.56-1.55 4.54-2.17 6.82-1.07 3.96-2.19 8.04-4.84 11.66 0-.18-.6-2.92-.55-5.4.05-1.96.13-5.3.24-8.04.14-3.61.06-4.66-1.93-4.44-1.76.2-8.37 2.94-8.37 2.94-2.18 1.2-1.27 1.9-.93 9.77.05 1.11.67 5.06.74 5.92.44 5.35-.18 10.74-.8 15.36-.72 5.37-2.08 10.85-7.2 14.55-.7.59-5.1 4.01-5.4 9.7-.14 2.75.36 5.01.9 7.4.9 3.92.57 7.93-1.08 12.65a129.54 129.54 0 0 0 -5.54 22.26c-.05.23-.5 1.1-.58 1.3-.14-.27-1.81-4.7-2.19-5.93-1.02-3.32-5.3-22.96-5.68-24.83-.71-3.6-1.74-7.38-4.41-10.54-2.45-2.9-7.2-8.78-7.33-8.94-1.23-1.47-2.47-3-2.47-5.06 0-8.13-1-14.85 3.3-22.37 4.81-8.51 6.1-18.92 6.64-22.07.55-3.16 4.15-8 5.87-12.76 1.34-3.71 2.78-8.25 3.03-9.41.26-1.16.86-3.1-.42-3.03-1.52.07-7.27.27-7.93.74-.67.46-5.3 11.73-6.92 13.93-.87-.38-.72-1.65-.7-2.53 0-1.36-.29-7.88-.34-9.84-.04-2.2-.26-4.4-.5-6.44-.07-.51 0-1.1-.6-1.44-.53-.29-1.39.17-1.79.37-2.96 1.52-6.33 2.74-9.45 4.46-2.38 1.27-2.03 2.18-1.85 4l1.02 9.86c.18 5.88.38 11.94-.35 17.92 0 0-1.52 12.23-1.45 17.91.05 3.17-.29 6.62-1 10.9-.62 3.77-.65 7.2-.07 10.47.27 1.47.4 4.19.04 6.2-4.33-7.6-4.91-13.21-6.28-18.78-1.02-4.3-1.54-8.53-5.54-13.33-3.7-4.45-7.65-15.55-8.36-17.38-.21-.55-1.01-3.14-1.79-3.2-.78-.07-2.09 1.41-2.73 2.32-1.36 1.88-5.69 7.93-6.43 9.26-1.13 2.03.49 3.22 5.09 10.09.91 1.18 2.98 4.79 3.03 4.86.31.47.46.78.15 1.16a2612.7 2612.7 0 0 1 -14.06-10.78c-.9-.7-1.79-1-2.63-.87-.74.12-1.4.58-1.92 1.36a45.94 45.94 0 0 0 -3.07 5.7c-.27.57-.32 1.54.04 2.08.25.38 2.39 4.06 3.64 4.7 1.84.96 3.52 2.23 5.15 3.46 1.38 1.05 2.78 2.11 4.3 2.99 4.08 2.38 13.2 9.73 13.2 9.73.75 1.14 4.6 8.32 4.87 9 .76 1.94 2.94 8.65 3.05 10.01v.09c0 2.45 0 10.76.62 14.55.51 3.34 2.05 6 4.44 7.69 3.9 2.76 7.84 5.23 12.9 4.81 2.87-.22 5.62.74 8.13 2.9 2.08 1.78 9.32 11.5 9.63 11.92 2.07 2.9 3.34 5.69 3.83 8.51.78 4.49 1.36 8.8 1.7 12.84 1.06 12.6-.34 24.78-2.1 38.25-.02.17-.17 2.34-1.18 2.94-2.67-4.26-12.99-13.55-14.19-14.31-.65-.4-4.79-3.23-6.35-3.95-2.99-1.35-5.37-3.56-7.47-6.95-.23-.36-1.74-2.94-2.45-3.76-3.48-4.17-4.48-9.17-3.06-15.31 1.2-5.17 2.12-9.36 2.85-13.17.6-3.14 2.64-8.78 1.2-9.13-.95-.24-3.03-.44-3.03-.44-2.68-.37-2.2 1.19-2.91 3.5-.8 2.65-1.32 8.67-1.32 8.8 0 .61-.04.79-.91 1.39-.07-.23-2.07-8.8-2.47-10.34-.7-2.79-2.84-6.61-4.42-6.4-.73.1-2.47 2.1-3.07 2.76-4.52 4.98-4.6 4.35.06 9.63 2.74 3.03 4.06 6.22 4 9.76-.03 1.4.2 6.06.2 6.97 0 .52.16 2.75.11 3.01a13.16 13.16 0 0 1 -5.74-4.28c-1.02-1.51-9.71-14.75-11.92-17.83-.29-.42-1.72-1.76-2.2-1.7-.37.06-1.25 1.38-1.9 2.35-.56.94-1.37 2.08-2.54 4.49-.09.17.02.48.28.76l2.6 3.13c1.31 1.6 2.65 3.18 3.96 4.78.07.07.09.23.07.34 0 .02-.2.37-.42.38-.33-.1-7.58-3.7-9.07-4.35-1.16-.49-2.5-.78-3.93-.82-.73 0-1.93.58-2.16 1.22-.11.38-.24.76-.38 1.14-.7 1.96-1.41 6.1-.47 6.44.95.35 18.41 6.82 19.12 7.11 4.04 1.72 6.16 4.21 6.62 7.85.38 2.74 2.2 6.67 4.97 9.2a14.87 14.87 0 0 0 9.61 4.08c5.86-.4 11.48 2.1 12.17 2.54 8.51 5.4 15.84 12.06 20.84 20.44a35.74 35.74 0 0 0 4.39 6.01c2.67 2.9 9.1 9.23 9.1 9.23 3.42 3.39 5.8 6.53 7.44 9.85 3.02 6.2 4.7 11.43 5.25 16.47a13.7 13.7 0 0 0 1.88 5.33c.13.2.4.52.78.53.29.02 7.62.42 7.95-.04 1.23-1.59 2.16-8.12 2.43-11.75.09-1.23.94-5.95 1.3-7.62.42-2 .86-4.1 1.24-6.15 1.1-5.82 2.83-10.35 5.46-14.25 1.27-1.87 7.75-14.06 8.58-15.75a11.42 11.42 0 0 1 4.7-4.84c.53-.29 4.84-2.76 6.5-3.56 4.58-2.23 7.65-4.9 9.66-8.43a65.78 65.78 0 0 0 3.78-7.55c.63-1.5 5.37-6.52 7.74-8.16 2.36-1.63 9.63-6.65 10.03-6.98 3.31-2.81 6.25-8.41 6.3-8.97s-1.17-1.69-2.31-2.34c-1.15-.66-4.25-2.55-4.83-2-1.26.94-2.82 3.84-4.2 5.56-.78.96-5.44 7.09-6.54 8.25a8.58 8.58 0 0 1 -2.29 1.51c0-.2-.13-.96.03-2.1.15-1.13 3.83-12.4 5.3-16.02a54.08 54.08 0 0 0 1.63-4.82c.43-1.49-.9-1.38-3.34-1.13-1.79.18-5.2.44-6.73 1.8-.69 1.14-.7 4.28-.9 6.16a57.16 57.16 0 0 1 -2.36 12.14c-.94 2.74-2.58 4.6-5.08 5.62a208.96 208.96 0 0 1 -7.86 3.1c-2.61.93-7.12 2.4-8.96 4.43-3.61 3.97-5.06 8.96-5.88 15.74-.32 2.5-1.45 5.03-3.44 7.55-2.07 2.65-9.62 13.15-12.03 15.02-.09-.2-1.47-3.09-2.2-8.58-.73-5.5-2.56-11.7-2.88-13.17-1-4.88-1-6.85-.11-14.64.9-7.79 7.58-17.92 11.48-22.2 3.25-3.56 6.84-6.9 10.32-10.16 1.78-1.67 23.93-20.81 25.83-23.13.87-1.07 14.06-14.58 19.2-18.7 5.15-4.12 13.96-8.67 14.6-9.05 4.46-2.6 9.05-5.33 12.15-9.78 2.45-3.57 6.04-4.48 9.2-4.88 5.76-.5 9.24-2.17 11.79-2.56 2.55-.4 2.4-.3 2.36-1.53-.06-1.71-.08-3.98-.13-4.7l-.02.02z"/>
3
- </svg>
File without changes
File without changes
File without changes
File without changes