@ogcio/design-system-react 1.31.0 → 1.32.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 (87) hide show
  1. package/dist/Heading.d.ts +5 -0
  2. package/dist/Heading.js +22 -0
  3. package/dist/alert/alert.d.ts +3 -0
  4. package/dist/alert/alert.js +46 -61
  5. package/dist/atoms/{DsButton.d.ts → Button.d.ts} +3 -3
  6. package/dist/atoms/{DsButton.js → Button.js} +20 -35
  7. package/dist/atoms/heading/H1.d.ts +3 -0
  8. package/dist/atoms/heading/H1.js +20 -0
  9. package/dist/atoms/heading/H2.d.ts +3 -0
  10. package/dist/atoms/heading/H2.js +20 -0
  11. package/dist/atoms/heading/H3.d.ts +3 -0
  12. package/dist/atoms/heading/H3.js +20 -0
  13. package/dist/atoms/heading/H4.d.ts +3 -0
  14. package/dist/atoms/heading/H4.js +20 -0
  15. package/dist/atoms/heading/H5.d.ts +3 -0
  16. package/dist/atoms/heading/H5.js +20 -0
  17. package/dist/atoms/heading/H6.d.ts +3 -0
  18. package/dist/atoms/heading/H6.js +20 -0
  19. package/dist/atoms/heading/index.d.ts +9 -0
  20. package/dist/atoms/heading/index.js +18 -0
  21. package/dist/atoms/heading/styles.d.ts +65 -0
  22. package/dist/atoms/heading/styles.js +17 -0
  23. package/dist/atoms/heading/types.d.ts +15 -0
  24. package/dist/atoms/heading/types.js +11 -0
  25. package/dist/atoms/heading/utils.d.ts +2 -0
  26. package/dist/atoms/heading/utils.js +5 -0
  27. package/dist/atoms/icons/ArrowLeft.d.ts +3 -0
  28. package/dist/atoms/icons/ArrowLeft.js +23 -0
  29. package/dist/atoms/icons/ArrowRight.d.ts +3 -0
  30. package/dist/atoms/icons/ArrowRight.js +23 -0
  31. package/dist/atoms/icons/CheckCircle.d.ts +3 -0
  32. package/dist/atoms/icons/CheckCircle.js +23 -0
  33. package/dist/atoms/icons/Error.d.ts +3 -0
  34. package/dist/atoms/icons/Error.js +23 -0
  35. package/dist/atoms/icons/FirstPage.d.ts +3 -0
  36. package/dist/atoms/icons/FirstPage.js +23 -0
  37. package/dist/atoms/icons/Info.d.ts +3 -0
  38. package/dist/atoms/icons/Info.js +23 -0
  39. package/dist/atoms/icons/KeyboardArrowLeft.d.ts +3 -0
  40. package/dist/atoms/icons/KeyboardArrowLeft.js +23 -0
  41. package/dist/atoms/icons/KeyboardArrowRight.d.ts +3 -0
  42. package/dist/atoms/icons/KeyboardArrowRight.js +23 -0
  43. package/dist/atoms/icons/LastPage.d.ts +3 -0
  44. package/dist/atoms/icons/LastPage.js +23 -0
  45. package/dist/atoms/icons/Warning.d.ts +3 -0
  46. package/dist/atoms/icons/Warning.js +23 -0
  47. package/dist/atoms/icons/index.d.ts +12 -2
  48. package/dist/atoms/icons/index.js +30 -10
  49. package/dist/atoms/icons/logos/LogoBlack.js +1 -1
  50. package/dist/atoms/icons/logos/LogoGoldGreen.js +1 -1
  51. package/dist/atoms/icons/logos/LogoGoldWhite.js +8 -8
  52. package/dist/atoms/icons/logos/LogoHarpBlack.js +1 -1
  53. package/dist/atoms/icons/logos/LogoWhite.js +1 -1
  54. package/dist/atoms/index.d.ts +2 -1
  55. package/dist/atoms/index.js +48 -12
  56. package/dist/atoms/storybook/Heading.meta.d.ts +60 -0
  57. package/dist/atoms/storybook/Heading.meta.js +70 -0
  58. package/dist/atoms/storybook/Icons.meta.d.ts +51 -0
  59. package/dist/atoms/storybook/Icons.meta.js +130 -0
  60. package/dist/atoms/storybook/InsetText.meta.d.ts +52 -0
  61. package/dist/atoms/storybook/InsetText.meta.js +64 -0
  62. package/dist/atoms/storybook/Logos.meta.d.ts +35 -0
  63. package/dist/atoms/storybook/Logos.meta.js +54 -0
  64. package/dist/breadcrumbs/breadcrumbs.js +20 -19
  65. package/dist/header/components/header-menu.js +21 -21
  66. package/dist/header/components/header-search.js +4 -4
  67. package/dist/icon/icon.js +85 -63
  68. package/dist/icon/icons.d.ts +1 -1
  69. package/dist/icons/index.d.ts +1 -1
  70. package/dist/icons/index.js +19 -10
  71. package/dist/index-Bh2cTIps.js +33899 -0
  72. package/dist/index.d.ts +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/input-text/input-text.js +1 -1
  75. package/dist/input-text/type.d.ts +1 -1
  76. package/dist/modal/modal.d.ts +1 -1
  77. package/dist/modal/modal.js +1 -1
  78. package/dist/pagination/pagination.js +139 -135
  79. package/dist/paragraph/paragraph.d.ts +1 -1
  80. package/dist/paragraph/paragraph.js +13 -11
  81. package/dist/side-nav/side-nav.js +4 -4
  82. package/dist/side-nav/types.d.ts +1 -1
  83. package/dist/styles.css +1 -1
  84. package/dist/table/table-pagination.js +17 -13
  85. package/package.json +6 -5
  86. package/dist/heading/heading.d.ts +0 -150
  87. package/dist/heading/heading.js +0 -50
@@ -0,0 +1,23 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ function a(e) {
3
+ return /* @__PURE__ */ l(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: e.size ?? 24,
9
+ height: e.size ?? 24,
10
+ className: e.className,
11
+ id: e.id,
12
+ role: e.label ? "img" : void 0,
13
+ "aria-label": e.label,
14
+ "aria-hidden": !e.label,
15
+ fill: e.color ?? "currentColor",
16
+ "data-testid": e.dataTestId ?? "check_circle",
17
+ children: /* @__PURE__ */ l("path", { d: "m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ a as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function Error(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Error;
@@ -0,0 +1,23 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ function l(t) {
3
+ return /* @__PURE__ */ e(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: t.size ?? 24,
9
+ height: t.size ?? 24,
10
+ className: t.className,
11
+ id: t.id,
12
+ role: t.label ? "img" : void 0,
13
+ "aria-label": t.label,
14
+ "aria-hidden": !t.label,
15
+ fill: t.color ?? "currentColor",
16
+ "data-testid": t.dataTestId ?? "error",
17
+ children: /* @__PURE__ */ e("path", { d: "M508.5-291.5Q520-303 520-320t-11.5-28.5Q497-360 480-360t-28.5 11.5Q440-337 440-320t11.5 28.5Q463-280 480-280t28.5-11.5ZM440-440h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ l as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function FirstPage(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default FirstPage;
@@ -0,0 +1,23 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ function l(a) {
3
+ return /* @__PURE__ */ e(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: a.size ?? 24,
9
+ height: a.size ?? 24,
10
+ className: a.className,
11
+ id: a.id,
12
+ role: a.label ? "img" : void 0,
13
+ "aria-label": a.label,
14
+ "aria-hidden": !a.label,
15
+ fill: a.color ?? "currentColor",
16
+ "data-testid": a.dataTestId ?? "first_page",
17
+ children: /* @__PURE__ */ e("path", { d: "M240-240v-480h80v480h-80Zm440 0L440-480l240-240 56 56-184 184 184 184-56 56Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ l as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function Info(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Info;
@@ -0,0 +1,23 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ function i(t) {
3
+ return /* @__PURE__ */ a(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: t.size ?? 24,
9
+ height: t.size ?? 24,
10
+ className: t.className,
11
+ id: t.id,
12
+ role: t.label ? "img" : void 0,
13
+ "aria-label": t.label,
14
+ "aria-hidden": !t.label,
15
+ fill: t.color ?? "currentColor",
16
+ "data-testid": t.dataTestId ?? "info",
17
+ children: /* @__PURE__ */ a("path", { d: "M440-280h80v-240h-80v240Zm68.5-331.5Q520-623 520-640t-11.5-28.5Q497-680 480-680t-28.5 11.5Q440-657 440-640t11.5 28.5Q463-600 480-600t28.5-11.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ i as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function KeyboardArrowLeft(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default KeyboardArrowLeft;
@@ -0,0 +1,23 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ function t(e) {
3
+ return /* @__PURE__ */ a(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: e.size ?? 24,
9
+ height: e.size ?? 24,
10
+ className: e.className,
11
+ id: e.id,
12
+ role: e.label ? "img" : void 0,
13
+ "aria-label": e.label,
14
+ "aria-hidden": !e.label,
15
+ fill: e.color ?? "currentColor",
16
+ "data-testid": e.dataTestId ?? "keyboard_arrow_left",
17
+ children: /* @__PURE__ */ a("path", { d: "M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ t as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function KeyboardArrowRight(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default KeyboardArrowRight;
@@ -0,0 +1,23 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ function l(a) {
3
+ return /* @__PURE__ */ e(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: a.size ?? 24,
9
+ height: a.size ?? 24,
10
+ className: a.className,
11
+ id: a.id,
12
+ role: a.label ? "img" : void 0,
13
+ "aria-label": a.label,
14
+ "aria-hidden": !a.label,
15
+ fill: a.color ?? "currentColor",
16
+ "data-testid": a.dataTestId ?? "keyboard_arrow_right",
17
+ children: /* @__PURE__ */ e("path", { d: "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ l as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function LastPage(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default LastPage;
@@ -0,0 +1,23 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ function t(a) {
3
+ return /* @__PURE__ */ e(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: a.size ?? 24,
9
+ height: a.size ?? 24,
10
+ className: a.className,
11
+ id: a.id,
12
+ role: a.label ? "img" : void 0,
13
+ "aria-label": a.label,
14
+ "aria-hidden": !a.label,
15
+ fill: a.color ?? "currentColor",
16
+ "data-testid": a.dataTestId ?? "last_page",
17
+ children: /* @__PURE__ */ e("path", { d: "m280-240-56-56 184-184-184-184 56-56 240 240-240 240Zm360 0v-480h80v480h-80Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ t as default
23
+ };
@@ -0,0 +1,3 @@
1
+ import { IconProps } from './types';
2
+ declare function Warning(props: IconProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Warning;
@@ -0,0 +1,23 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ function i(a) {
3
+ return /* @__PURE__ */ t(
4
+ "svg",
5
+ {
6
+ viewBox: "0 -960 960 960",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: a.size ?? 24,
9
+ height: a.size ?? 24,
10
+ className: a.className,
11
+ id: a.id,
12
+ role: a.label ? "img" : void 0,
13
+ "aria-label": a.label,
14
+ "aria-hidden": !a.label,
15
+ fill: a.color ?? "currentColor",
16
+ "data-testid": a.dataTestId ?? "warning",
17
+ children: /* @__PURE__ */ t("path", { d: "m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm330.5-51.5Q520-263 520-280t-11.5-28.5Q497-320 480-320t-28.5 11.5Q440-297 440-280t11.5 28.5Q463-240 480-240t28.5-11.5ZM440-360h80v-200h-80v200Zm40-100Z" })
18
+ }
19
+ );
20
+ }
21
+ export {
22
+ i as default
23
+ };
@@ -1,6 +1,16 @@
1
- export { default as KeyboardArrowDown } from './KeyboardArrowDown';
2
- export { default as KeyboardArrowUp } from './KeyboardArrowUp';
3
1
  export { default as Close } from './Close';
4
2
  export { default as Visibility } from './Visibility';
5
3
  export { default as VisibilityOff } from './VisibilityOff';
4
+ export { default as KeyboardArrowLeft } from './KeyboardArrowLeft';
5
+ export { default as KeyboardArrowRight } from './KeyboardArrowRight';
6
+ export { default as KeyboardArrowDown } from './KeyboardArrowDown';
7
+ export { default as KeyboardArrowUp } from './KeyboardArrowUp';
8
+ export { default as ArrowLeft } from './ArrowLeft';
9
+ export { default as ArrowRight } from './ArrowRight';
10
+ export { default as FirstPage } from './FirstPage';
11
+ export { default as LastPage } from './LastPage';
12
+ export { default as Info } from './Info';
13
+ export { default as Error } from './Error';
14
+ export { default as Warning } from './Warning';
15
+ export { default as CheckCircle } from './CheckCircle';
6
16
  export * from './types';
@@ -1,12 +1,32 @@
1
- import { default as e } from "./KeyboardArrowDown.js";
2
- import { default as f } from "./KeyboardArrowUp.js";
3
- import { default as i } from "./Close.js";
4
- import { default as s } from "./Visibility.js";
5
- import { default as p } from "./VisibilityOff.js";
1
+ import { default as e } from "./Close.js";
2
+ import { default as t } from "./Visibility.js";
3
+ import { default as s } from "./VisibilityOff.js";
4
+ import { default as l } from "./KeyboardArrowLeft.js";
5
+ import { default as m } from "./KeyboardArrowRight.js";
6
+ import { default as x } from "./KeyboardArrowDown.js";
7
+ import { default as w } from "./KeyboardArrowUp.js";
8
+ import { default as y } from "./ArrowLeft.js";
9
+ import { default as g } from "./ArrowRight.js";
10
+ import { default as K } from "./FirstPage.js";
11
+ import { default as C } from "./LastPage.js";
12
+ import { default as c } from "./Info.js";
13
+ import { default as R } from "./Error.js";
14
+ import { default as k } from "./Warning.js";
15
+ import { default as E } from "./CheckCircle.js";
6
16
  export {
7
- i as Close,
8
- e as KeyboardArrowDown,
9
- f as KeyboardArrowUp,
10
- s as Visibility,
11
- p as VisibilityOff
17
+ y as ArrowLeft,
18
+ g as ArrowRight,
19
+ E as CheckCircle,
20
+ e as Close,
21
+ R as Error,
22
+ K as FirstPage,
23
+ c as Info,
24
+ x as KeyboardArrowDown,
25
+ l as KeyboardArrowLeft,
26
+ m as KeyboardArrowRight,
27
+ w as KeyboardArrowUp,
28
+ C as LastPage,
29
+ t as Visibility,
30
+ s as VisibilityOff,
31
+ k as Warning
12
32
  };
@@ -14,7 +14,7 @@ function M(L) {
14
14
  "aria-label": L.label,
15
15
  "data-testid": L.dataTestId,
16
16
  children: [
17
- /* @__PURE__ */ V("g", { "clip-path": "url(#clip0_209_1004)", children: [
17
+ /* @__PURE__ */ V("g", { clipPath: "url(#clip0_209_1004)", children: [
18
18
  /* @__PURE__ */ C(
19
19
  "path",
20
20
  {
@@ -14,7 +14,7 @@ function M(L) {
14
14
  "aria-label": L.label,
15
15
  "data-testid": L.dataTestId,
16
16
  children: [
17
- /* @__PURE__ */ V("g", { "clip-path": "url(#clip0_175_13114)", children: [
17
+ /* @__PURE__ */ V("g", { clipPath: "url(#clip0_175_13114)", children: [
18
18
  /* @__PURE__ */ C(
19
19
  "path",
20
20
  {
@@ -24,8 +24,8 @@ function l(L) {
24
24
  /* @__PURE__ */ C(
25
25
  "path",
26
26
  {
27
- "fill-rule": "evenodd",
28
- "clip-rule": "evenodd",
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
29
  d: "M62.4848 17.4042C62.8713 18.6147 62.9885 19.1072 62.9885 19.9775C62.9885 23.7614 59.7379 26.3717 55.0163 26.3717C53.9325 26.3717 53.3138 26.2963 51.8043 25.9938C51.3399 26.561 51.1077 27.0912 51.1077 27.583C51.1077 28.5287 51.9979 28.9451 54.204 29.1344L57.6097 29.3991C60.5509 29.6261 60.8603 29.7015 61.8669 30.2694C62.8721 30.7989 63.5694 32.124 63.5694 33.41C63.5694 37.4963 59.1578 40.3721 53.1202 40.3721C48.6315 40.3721 45.6517 38.5559 45.6517 35.8694C45.6517 34.9991 45.7288 33.4854 49.0573 32.0102C47.5485 30.9882 47.0062 30.421 47.0062 29.4745C47.0062 28.264 47.5478 27.3937 50.7212 25.7284C49.251 24.9719 48.748 24.631 47.9736 23.8368C47.0062 22.891 46.4647 21.6043 46.4647 20.28C46.4647 16.9124 49.9475 14.3398 54.5148 14.3398C55.3649 14.3398 56.5274 14.4529 57.9976 14.7177C59.2357 14.9447 60.1259 15.0586 60.6288 15.0586C61.6347 15.0586 63.0672 14.7938 64.8853 14.2636L65.1561 16.8747L62.4848 17.4042ZM56.2937 33.0321L50.2183 32.5403C49.7532 33.4107 49.6768 33.7509 49.6768 34.5081C49.6768 37.043 51.4185 38.4812 54.5141 38.4812C57.261 38.4812 59.4679 37.0437 59.4679 35.1137C59.4672 33.6747 58.6148 33.183 56.2937 33.0321ZM50.7205 20.5077C50.7205 18.2368 52.2686 16.4207 54.6676 16.4207C57.1839 16.4207 58.6541 18.0859 58.6549 20.5077C58.6549 22.9672 57.0288 24.5186 54.5905 24.5186C52.1143 24.5186 50.7205 22.9295 50.7205 20.5077Z",
30
30
  fill: "white"
31
31
  }
@@ -33,8 +33,8 @@ function l(L) {
33
33
  /* @__PURE__ */ C(
34
34
  "path",
35
35
  {
36
- "fill-rule": "evenodd",
37
- "clip-rule": "evenodd",
36
+ fillRule: "evenodd",
37
+ clipRule: "evenodd",
38
38
  d: "M65.9647 24.367C65.9647 29.8916 68.7509 32.8051 74.1305 32.8051C80.013 32.8051 83.8438 29.0205 83.843 22.5886C83.843 17.1394 81.0182 14.1505 75.8715 14.1505C69.8347 14.1505 65.9647 18.1237 65.9647 24.367ZM71.0342 23.1565C71.0342 18.994 72.5445 16.1559 74.7885 16.1559C77.1882 16.1559 78.7742 19.2587 78.7735 23.9507C78.7735 28.1509 77.3811 30.8374 74.9814 30.8374C72.428 30.8374 71.0342 27.9616 71.0342 23.1565Z",
39
39
  fill: "white"
40
40
  }
@@ -56,8 +56,8 @@ function l(L) {
56
56
  /* @__PURE__ */ C(
57
57
  "path",
58
58
  {
59
- "fill-rule": "evenodd",
60
- "clip-rule": "evenodd",
59
+ fillRule: "evenodd",
60
+ clipRule: "evenodd",
61
61
  d: "M112.902 7.75558C112.902 8.96682 113.831 9.95032 115.03 9.95032C116.191 9.95032 117.158 8.96609 117.158 7.75558C117.158 6.50662 116.19 5.52312 115.03 5.52312C113.831 5.52312 112.902 6.50662 112.902 7.75558ZM110.503 31.1021V32.0102H119.016V31.1021C117.623 30.8374 116.888 30.4587 116.617 29.7777C116.462 29.3621 116.346 28.4156 116.346 27.0535V19.7128L116.656 14.7938L116.153 14.2644L111.547 15.324V16.0805C113.057 16.7231 113.444 17.5558 113.444 20.1668C113.444 20.3554 113.444 20.5824 113.405 20.7717L113.173 27.0528C113.018 30.1563 112.631 30.7612 110.503 31.1021Z",
62
62
  fill: "white"
63
63
  }
@@ -65,8 +65,8 @@ function l(L) {
65
65
  /* @__PURE__ */ C(
66
66
  "path",
67
67
  {
68
- "fill-rule": "evenodd",
69
- "clip-rule": "evenodd",
68
+ fillRule: "evenodd",
69
+ clipRule: "evenodd",
70
70
  d: "M121.413 23.9884C121.413 28.9828 124.2 32.4265 128.225 32.4265C131.631 32.4265 135.23 30.648 135.695 28.755L134.92 28.6042C132.405 29.5122 131.515 29.7393 130.083 29.7393C126.483 29.7393 124.355 27.2044 124.355 22.9287V21.9452H135.308C135.5 20.8479 135.578 19.8636 135.578 19.1072C135.578 16.1182 133.566 14.3775 130.044 14.3775C124.741 14.3775 121.413 18.0482 121.413 23.9884ZM129.348 16.0798C131.205 16.0798 132.637 17.3665 132.637 18.9556L132.636 19.7498L132.095 20.3931H124.626C125.516 17.5935 127.18 16.0798 129.348 16.0798Z",
71
71
  fill: "white"
72
72
  }
@@ -14,7 +14,7 @@ function l(L) {
14
14
  "aria-label": L.label,
15
15
  "data-testid": L.dataTestId,
16
16
  children: [
17
- /* @__PURE__ */ M("g", { "clip-path": "url(#clip0_212_1062)", children: [
17
+ /* @__PURE__ */ M("g", { clipPath: "url(#clip0_212_1062)", children: [
18
18
  /* @__PURE__ */ C(
19
19
  "path",
20
20
  {
@@ -14,7 +14,7 @@ function l(L) {
14
14
  "aria-label": L.label,
15
15
  "data-testid": L.dataTestId,
16
16
  children: [
17
- /* @__PURE__ */ V("g", { "clip-path": "url(#clip0_175_13118)", children: [
17
+ /* @__PURE__ */ V("g", { clipPath: "url(#clip0_175_13118)", children: [
18
18
  /* @__PURE__ */ C(
19
19
  "path",
20
20
  {
@@ -1,3 +1,4 @@
1
- export { default as DsButton } from './DsButton';
1
+ export { default as Button } from './Button';
2
2
  export { default as InsetText } from './InsetText';
3
+ export * from './heading';
3
4
  export * from './icons';
@@ -1,16 +1,52 @@
1
- import { default as t } from "./DsButton.js";
1
+ import { default as o } from "./Button.js";
2
2
  import { default as a } from "./InsetText.js";
3
- import { default as s } from "./icons/KeyboardArrowDown.js";
4
- import { default as d } from "./icons/KeyboardArrowUp.js";
5
- import { default as p } from "./icons/Close.js";
6
- import { default as x } from "./icons/Visibility.js";
7
- import { default as b } from "./icons/VisibilityOff.js";
3
+ import { default as s } from "./heading/H1.js";
4
+ import { default as l } from "./heading/H2.js";
5
+ import { default as x } from "./heading/H3.js";
6
+ import { default as u } from "./heading/H4.js";
7
+ import { default as g } from "./heading/H5.js";
8
+ import { default as w } from "./heading/H6.js";
9
+ import { default as b } from "./heading/styles.js";
10
+ import { getSize as H } from "./heading/utils.js";
11
+ import { default as K } from "./icons/Close.js";
12
+ import { default as L } from "./icons/Visibility.js";
13
+ import { default as I } from "./icons/VisibilityOff.js";
14
+ import { default as R } from "./icons/KeyboardArrowLeft.js";
15
+ import { default as V } from "./icons/KeyboardArrowRight.js";
16
+ import { default as z } from "./icons/KeyboardArrowDown.js";
17
+ import { default as D } from "./icons/KeyboardArrowUp.js";
18
+ import { default as F } from "./icons/ArrowLeft.js";
19
+ import { default as T } from "./icons/ArrowRight.js";
20
+ import { default as W } from "./icons/FirstPage.js";
21
+ import { default as q } from "./icons/LastPage.js";
22
+ import { default as G } from "./icons/Info.js";
23
+ import { default as M } from "./icons/Error.js";
24
+ import { default as Q } from "./icons/Warning.js";
25
+ import { default as Y } from "./icons/CheckCircle.js";
8
26
  export {
9
- p as Close,
10
- t as DsButton,
27
+ F as ArrowLeft,
28
+ T as ArrowRight,
29
+ o as Button,
30
+ Y as CheckCircle,
31
+ K as Close,
32
+ M as Error,
33
+ W as FirstPage,
34
+ s as H1,
35
+ l as H2,
36
+ x as H3,
37
+ u as H4,
38
+ g as H5,
39
+ w as H6,
40
+ G as Info,
11
41
  a as InsetText,
12
- s as KeyboardArrowDown,
13
- d as KeyboardArrowUp,
14
- x as Visibility,
15
- b as VisibilityOff
42
+ z as KeyboardArrowDown,
43
+ R as KeyboardArrowLeft,
44
+ V as KeyboardArrowRight,
45
+ D as KeyboardArrowUp,
46
+ q as LastPage,
47
+ L as Visibility,
48
+ I as VisibilityOff,
49
+ Q as Warning,
50
+ H as getSize,
51
+ b as headingStyles
16
52
  };
@@ -0,0 +1,60 @@
1
+ import { StoryContext, Renderer } from '@storybook/types';
2
+ export declare const headingMeta: {
3
+ tags: string[];
4
+ title: string;
5
+ args: {
6
+ id: string;
7
+ };
8
+ argTypes: {
9
+ readonly size: {
10
+ readonly control: {
11
+ readonly type: "select";
12
+ };
13
+ readonly options: readonly ["", ...("sm" | "md" | "lg" | "xl" | "xs" | "2xs")[]];
14
+ readonly description: "Font size of the heading. Defaults to the size mapped to the heading level.";
15
+ readonly table: {
16
+ readonly type: {
17
+ readonly summary: string;
18
+ };
19
+ };
20
+ };
21
+ readonly id: {
22
+ readonly control: false;
23
+ readonly description: "Optional id for linking/targeting and aria references.";
24
+ };
25
+ readonly className: {
26
+ readonly control: false;
27
+ readonly description: "Additional CSS classes to apply to the heading element.";
28
+ readonly table: {
29
+ readonly type: {
30
+ readonly summary: "string";
31
+ };
32
+ };
33
+ };
34
+ readonly dataTestId: {
35
+ readonly control: false;
36
+ readonly description: "Test id for targeting the element in automated tests.";
37
+ readonly table: {
38
+ readonly type: {
39
+ readonly summary: "string";
40
+ };
41
+ };
42
+ };
43
+ };
44
+ parameters: {
45
+ docs: {
46
+ description: {
47
+ component: string;
48
+ };
49
+ };
50
+ };
51
+ };
52
+ export declare const Default: {
53
+ tags: string[];
54
+ args: {
55
+ id: string;
56
+ };
57
+ };
58
+ export declare const AllHeadingLevels: {
59
+ play: ({ canvasElement, step }: StoryContext<Renderer>) => Promise<void>;
60
+ };
@@ -0,0 +1,70 @@
1
+ import { K as i, n as t } from "../../index-Bh2cTIps.js";
2
+ import { Size as s } from "../heading/types.js";
3
+ const o = {
4
+ tags: ["autodocs"],
5
+ title: "Typography/Heading",
6
+ args: {
7
+ id: "heading-id"
8
+ },
9
+ argTypes: {
10
+ size: {
11
+ control: {
12
+ type: "select"
13
+ },
14
+ options: ["", ...Object.values(s)],
15
+ description: "Font size of the heading. Defaults to the size mapped to the heading level.",
16
+ table: {
17
+ type: {
18
+ summary: Object.values(s).map((a) => `"${a}"`).join(" | ")
19
+ }
20
+ }
21
+ },
22
+ id: {
23
+ control: !1,
24
+ description: "Optional id for linking/targeting and aria references."
25
+ },
26
+ className: {
27
+ control: !1,
28
+ description: "Additional CSS classes to apply to the heading element.",
29
+ table: {
30
+ type: {
31
+ summary: "string"
32
+ }
33
+ }
34
+ },
35
+ dataTestId: {
36
+ control: !1,
37
+ description: "Test id for targeting the element in automated tests.",
38
+ table: {
39
+ type: {
40
+ summary: "string"
41
+ }
42
+ }
43
+ }
44
+ },
45
+ parameters: {
46
+ docs: {
47
+ description: {
48
+ component: "Heading component for rendering semantic heading elements (h1–h6) with consistent typography styles."
49
+ }
50
+ }
51
+ }
52
+ }, r = {
53
+ tags: ["skip-playwright"],
54
+ args: o.args
55
+ }, l = {
56
+ play: async ({
57
+ canvasElement: a,
58
+ step: n
59
+ }) => {
60
+ const e = i(a);
61
+ await n("renders h1 to h6 with the correct semantic tags", async () => {
62
+ t(e.getByTestId("heading-1").tagName).toBe("H1"), t(e.getByTestId("heading-2").tagName).toBe("H2"), t(e.getByTestId("heading-3").tagName).toBe("H3"), t(e.getByTestId("heading-4").tagName).toBe("H4"), t(e.getByTestId("heading-5").tagName).toBe("H5"), t(e.getByTestId("heading-6").tagName).toBe("H6");
63
+ });
64
+ }
65
+ };
66
+ export {
67
+ l as AllHeadingLevels,
68
+ r as Default,
69
+ o as headingMeta
70
+ };
@@ -0,0 +1,51 @@
1
+ import { StoryContext, Renderer } from '@storybook/types';
2
+ import { default as ArrowLeft } from '../icons/ArrowLeft';
3
+ export declare const iconList: {
4
+ Component: typeof ArrowLeft;
5
+ name: string;
6
+ selector: string;
7
+ }[];
8
+ export declare const iconsMeta: {
9
+ tags: string[];
10
+ title: string;
11
+ args: {
12
+ size: number;
13
+ color: string;
14
+ label: string;
15
+ className: string;
16
+ };
17
+ argTypes: {
18
+ size: {
19
+ control: "number";
20
+ description: string;
21
+ };
22
+ color: {
23
+ control: "color";
24
+ description: string;
25
+ };
26
+ label: {
27
+ control: "text";
28
+ description: string;
29
+ };
30
+ className: {
31
+ control: "text";
32
+ description: string;
33
+ };
34
+ };
35
+ parameters: {
36
+ docs: {
37
+ description: {
38
+ component: string;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export declare const Default: {
44
+ args: {
45
+ size: number;
46
+ color: string;
47
+ label: string;
48
+ className: string;
49
+ };
50
+ play: ({ canvasElement, step }: StoryContext<Renderer>) => Promise<void>;
51
+ };