@tedi-design-system/react 15.0.0-rc.4 → 15.0.0-rc.6

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 (93) hide show
  1. package/_virtual/index.cjs10.js +1 -1
  2. package/_virtual/index.cjs11.js +1 -1
  3. package/_virtual/index.cjs12.js +1 -1
  4. package/_virtual/index.cjs13.js +1 -1
  5. package/_virtual/index.cjs5.js +1 -1
  6. package/_virtual/index.cjs6.js +1 -1
  7. package/_virtual/index.cjs7.js +1 -1
  8. package/_virtual/index.cjs8.js +1 -1
  9. package/_virtual/index.cjs9.js +1 -1
  10. package/_virtual/index.es10.js +1 -1
  11. package/_virtual/index.es11.js +1 -1
  12. package/_virtual/index.es12.js +1 -1
  13. package/_virtual/index.es13.js +4 -2
  14. package/_virtual/index.es5.js +2 -4
  15. package/_virtual/index.es6.js +1 -1
  16. package/_virtual/index.es7.js +1 -1
  17. package/_virtual/index.es8.js +1 -1
  18. package/_virtual/index.es9.js +1 -1
  19. package/bundle-stats.html +1 -1
  20. package/community.cjs.js +1 -1
  21. package/community.es.js +213 -215
  22. package/external/@mui/system/colorManipulator.cjs.js +1 -1
  23. package/external/@mui/system/colorManipulator.es.js +2 -2
  24. package/external/@mui/system/createStyled.cjs.js +1 -1
  25. package/external/@mui/system/createStyled.es.js +6 -6
  26. package/external/@mui/system/useThemeWithoutDefault.cjs.js +1 -1
  27. package/external/@mui/system/useThemeWithoutDefault.es.js +1 -1
  28. package/external/hoist-non-react-statics/external/react-is/cjs/react-is.development.cjs.js +1 -1
  29. package/external/hoist-non-react-statics/external/react-is/cjs/react-is.development.es.js +1 -1
  30. package/external/hoist-non-react-statics/external/react-is/cjs/react-is.production.min.cjs.js +1 -1
  31. package/external/hoist-non-react-statics/external/react-is/cjs/react-is.production.min.es.js +1 -1
  32. package/external/hoist-non-react-statics/external/react-is/index.cjs.js +1 -1
  33. package/external/hoist-non-react-statics/external/react-is/index.es.js +1 -1
  34. package/external/prop-types/external/react-is/cjs/react-is.development.cjs.js +1 -1
  35. package/external/prop-types/external/react-is/cjs/react-is.development.es.js +1 -1
  36. package/external/prop-types/external/react-is/cjs/react-is.production.min.cjs.js +1 -1
  37. package/external/prop-types/external/react-is/cjs/react-is.production.min.es.js +1 -1
  38. package/external/prop-types/external/react-is/index.cjs.js +1 -1
  39. package/external/prop-types/external/react-is/index.es.js +1 -1
  40. package/external/toposort/index.cjs.js +1 -1
  41. package/external/toposort/index.es.js +1 -1
  42. package/index.css +1 -1
  43. package/package.json +3 -3
  44. package/src/community/components/button-content/button-content.cjs.js +1 -1
  45. package/src/community/components/button-content/button-content.d.ts +1 -1
  46. package/src/community/components/button-content/button-content.es.js +39 -33
  47. package/src/community/components/form/select/select.cjs.js +1 -1
  48. package/src/community/components/form/select/select.es.js +30 -30
  49. package/src/community/components/form/text-editor/components/style-button.cjs.js +1 -1
  50. package/src/community/components/form/text-editor/components/style-button.es.js +2 -2
  51. package/src/community/components/form/toggle/toggle.cjs.js +1 -1
  52. package/src/community/components/form/toggle/toggle.es.js +4 -4
  53. package/src/community/components/layout/breadcrumbs/crumb/crumb.cjs.js +1 -1
  54. package/src/community/components/layout/breadcrumbs/crumb/crumb.es.js +7 -7
  55. package/src/community/components/layout/footer/footer.cjs.js +1 -1
  56. package/src/community/components/layout/footer/footer.d.ts +1 -1
  57. package/src/community/components/layout/footer/footer.es.js +20 -20
  58. package/src/community/components/layout/header/components/header-notification/header-notification.cjs.js +1 -1
  59. package/src/community/components/layout/header/components/header-notification/header-notification.es.js +4 -4
  60. package/src/community/components/layout/sidenav/sidenav.cjs.js +1 -1
  61. package/src/community/components/layout/sidenav/sidenav.d.ts +1 -1
  62. package/src/community/components/layout/sidenav/sidenav.es.js +39 -34
  63. package/src/community/components/placeholder/placeholder.cjs.js +1 -1
  64. package/src/community/components/placeholder/placeholder.d.ts +1 -1
  65. package/src/community/components/placeholder/placeholder.es.js +20 -19
  66. package/src/community/components/stepper/stepper-nav.cjs.js +1 -1
  67. package/src/community/components/stepper/stepper-nav.es.js +1 -1
  68. package/src/community/components/table/components/helpers.cjs.js +1 -1
  69. package/src/community/components/table/components/helpers.es.js +1 -1
  70. package/src/community/components/table/components/pagination/PaginationNextButton.cjs.js +1 -1
  71. package/src/community/components/table/components/pagination/PaginationNextButton.es.js +1 -1
  72. package/src/community/components/table-of-contents/table-of-contents-item.cjs.js +1 -1
  73. package/src/community/components/table-of-contents/table-of-contents-item.es.js +10 -10
  74. package/src/community/components/table-of-contents/table-of-contents-modal.cjs.js +1 -1
  75. package/src/community/components/table-of-contents/table-of-contents-modal.es.js +1 -1
  76. package/src/community/components/toggle-open/toggle-open.d.ts +1 -1
  77. package/src/community/components/tooltip/tooltip-trigger.cjs.js +1 -1
  78. package/src/community/components/tooltip/tooltip-trigger.es.js +1 -1
  79. package/src/community/components/vertical-progress/vertical-progress-item.cjs.js +1 -1
  80. package/src/community/components/vertical-progress/vertical-progress-item.es.js +4 -4
  81. package/src/community/index.d.ts +0 -1
  82. package/src/tedi/components/base/icon/icon.d.ts +1 -1
  83. package/src/tedi/components/base/icon/icon.module.scss.cjs.js +1 -1
  84. package/src/tedi/components/base/icon/icon.module.scss.es.js +1 -0
  85. package/src/tedi/components/buttons/collapse/collapse.cjs.js +1 -1
  86. package/src/tedi/components/buttons/collapse/collapse.d.ts +6 -0
  87. package/src/tedi/components/buttons/collapse/collapse.es.js +63 -62
  88. package/src/community/components/icon/icon.cjs.js +0 -1
  89. package/src/community/components/icon/icon.d.ts +0 -49
  90. package/src/community/components/icon/icon.es.js +0 -47
  91. package/src/community/components/icon/icon.module.scss.cjs.js +0 -1
  92. package/src/community/components/icon/icon.module.scss.es.js +0 -9
  93. package/src/tedi/providers/storybook-provider/storybook-provider.d.ts +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tedi-design-system/react",
3
- "version": "15.0.0-rc.4",
3
+ "version": "15.0.0-rc.6",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -22,7 +22,7 @@
22
22
  "build": "rm -rf dist && vite build --config vite.config.ts && replace-in-file //fonts//g \"./fonts/\" dist/index.css --isRegex",
23
23
  "build:sb": "storybook build -c .storybook -o dist/storybook-static",
24
24
  "lint": "npx stylelint \"src/**/*.scss\" --fix && eslint \"src/**/*.{ts,tsx}\" --no-ignore --fix",
25
- "lint:ci": "npx stylelint \"src/**/*.scss\" && eslint --quiet",
25
+ "lint:ci": "npx stylelint \"src/**/*.scss\" --quiet && npx eslint . --quiet",
26
26
  "test": "jest --config ./jest.config.ts --passWithNoTests",
27
27
  "test:coverage": "jest --config ./jest.config.ts --coverage",
28
28
  "release": "npx semantic-release",
@@ -43,7 +43,7 @@
43
43
  "@mui/material": "^5.15.13",
44
44
  "@mui/x-date-pickers": "^5.0.20",
45
45
  "@tanstack/react-table": "^8.13.2",
46
- "@tedi-design-system/core": "3.0.0",
46
+ "@tedi-design-system/core": "3.0.1",
47
47
  "classnames": "^2.5.1",
48
48
  "draft-js": "^0.11.7",
49
49
  "draftjs-md-converter": "^1.5.2",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),l=require("../../../../external/classnames/index.cjs.js"),H=require("react"),q=require("../../../tedi/components/loaders/spinner/spinner.cjs.js"),O=require("../../../tedi/components/misc/print/print.cjs.js"),R=require("../icon/icon.cjs.js"),t=require("./button-content.module.scss.cjs.js"),C=H.forwardRef(({children:f,as:y,text:$,className:i,visualType:B="primary",color:h="default",size:b,icon:s,iconLeft:r,iconRight:u,underline:v=!1,isHovered:I,isActive:M,isLoading:n=!1,noStyle:m,renderWrapperElement:z,fullWidth:p,onClick:_,...x},E)=>{const P=y||"button",N=s||r||u,w=m?l.default(t.default["btn--no-style"],i,{[t.default["btn--full-width"]]:p}):l.default(t.default.btn,t.default[`btn--${B}`],t.default[`btn--${h}`],i,{[t.default[`btn--${b}`]]:b},{[t.default["btn--underline"]]:v},{[t.default["btn--is-hovered"]]:I},{[t.default["btn--is-active"]]:M},{[t.default["btn--is-loading"]]:n},{[t.default["btn--icon-only"]]:s},{[t.default["btn--icon"]]:N},{[t.default["btn--full-width"]]:p}),d=(o,a)=>{const c={size:16,className:l.default(t.default.btn__icon,t.default[`btn__icon--${o}`],{[t.default.btn__spinner]:n})},j=typeof a=="string"?{...c,name:a}:{...c,...a,className:l.default(c.className,a==null?void 0:a.className)};return n?e.jsx(q.Spinner,{className:j.className}):e.jsx(R.Icon,{...j})},S=()=>e.jsxs("span",{className:t.default.btn__inner,children:[s&&d("centre",s),r&&d("left",r),e.jsx("span",{className:t.default.btn__text,children:f}),n&&!N&&e.jsx(q.Spinner,{position:"absolute",className:t.default.btn__spinner}),u&&d("right",u)]}),k=o=>{_&&!n&&_(o)};return e.jsx(O.Print,{visibility:"hide",children:e.jsx(P,{"data-name":"button-content",...x,"aria-disabled":n||x["aria-disabled"],onClick:k,ref:E,className:w,children:m?f:S()})})});C.displayName="ButtonContent";const T=C;exports.default=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),l=require("../../../../external/classnames/index.cjs.js"),H=require("react"),O=require("../../../tedi/components/base/icon/icon.cjs.js"),h=require("../../../tedi/components/loaders/spinner/spinner.cjs.js"),R=require("../../../tedi/components/misc/print/print.cjs.js"),t=require("./button-content.module.scss.cjs.js"),q=H.forwardRef(({children:i,as:C,text:$,className:f,visualType:v="primary",color:y="default",size:b,icon:s,iconLeft:r,iconRight:u,underline:B=!1,isHovered:I,isActive:M,isLoading:n=!1,noStyle:m,renderWrapperElement:g,fullWidth:p,onClick:_,...x},E)=>{const P=C||"button",N=s||r||u,w=m?l.default(t.default["btn--no-style"],f,{[t.default["btn--full-width"]]:p}):l.default(t.default.btn,t.default[`btn--${v}`],t.default[`btn--${y}`],f,{[t.default[`btn--${b}`]]:b},{[t.default["btn--underline"]]:B},{[t.default["btn--is-hovered"]]:I},{[t.default["btn--is-active"]]:M},{[t.default["btn--is-loading"]]:n},{[t.default["btn--icon-only"]]:s},{[t.default["btn--icon"]]:N},{[t.default["btn--full-width"]]:p}),o=(d,a)=>{const c={size:16,className:l.default(t.default.btn__icon,t.default[`btn__icon--${d}`],{[t.default.btn__spinner]:n})},j=typeof a=="string"?{...c,name:a,color:"inherit"}:{...c,...a,color:"inherit",background:void 0,className:l.default(c.className,a==null?void 0:a.className)};return n?e.jsx(h.Spinner,{className:j.className}):e.jsx(O.Icon,{...j})},S=()=>e.jsxs("span",{className:t.default.btn__inner,children:[s&&o("centre",s),r&&o("left",r),e.jsx("span",{className:t.default.btn__text,children:i}),n&&!N&&e.jsx(h.Spinner,{position:"absolute",className:t.default.btn__spinner}),u&&o("right",u)]}),k=d=>{_&&!n&&_(d)};return e.jsx(R.Print,{visibility:"hide",children:e.jsx(P,{"data-name":"button-content",...x,"aria-disabled":n||x["aria-disabled"],onClick:k,ref:E,className:w,children:m?i:S()})})});q.displayName="ButtonContent";const T=q;exports.default=T;
@@ -1,8 +1,8 @@
1
1
  import { default as React } from 'react';
2
+ import { IconProps } from '../../../tedi/components/base/icon/icon';
2
3
  import { AllowedHTMLTags, PolymorphicComponentPropWithRef } from '../../helpers/polymorphic/types';
3
4
  import { IntentionalAny } from '../../types';
4
5
  import { ButtonColor, ButtonType } from '../button/button';
5
- import { IconProps } from '../icon/icon';
6
6
  export type ButtonContentProps<C extends React.ElementType, P extends Record<string, IntentionalAny>, A> = PolymorphicComponentPropWithRef<AllowedHTMLTags<C, A>, {
7
7
  /**
8
8
  * Button children
@@ -1,60 +1,66 @@
1
1
  import { jsx as s, jsxs as q } from "react/jsx-runtime";
2
- import a from "../../../../external/classnames/index.es.js";
2
+ import o from "../../../../external/classnames/index.es.js";
3
3
  import { forwardRef as z } from "react";
4
- import { Spinner as C } from "../../../tedi/components/loaders/spinner/spinner.es.js";
5
- import { Print as A } from "../../../tedi/components/misc/print/print.es.js";
6
- import { Icon as D } from "../icon/icon.es.js";
4
+ import { Icon as A } from "../../../tedi/components/base/icon/icon.es.js";
5
+ import { Spinner as B } from "../../../tedi/components/loaders/spinner/spinner.es.js";
6
+ import { Print as D } from "../../../tedi/components/misc/print/print.es.js";
7
7
  import t from "./button-content.module.scss.es.js";
8
- const h = z(
8
+ const C = z(
9
9
  ({
10
- children: p,
10
+ children: i,
11
11
  as: x,
12
12
  text: F,
13
- className: i,
13
+ className: p,
14
14
  visualType: I = "primary",
15
- color: E = "default",
16
- size: f,
15
+ color: v = "default",
16
+ size: d,
17
17
  icon: r,
18
- iconLeft: o,
18
+ iconLeft: a,
19
19
  iconRight: l,
20
- underline: $ = !1,
21
- isHovered: v,
20
+ underline: E = !1,
21
+ isHovered: $,
22
22
  isActive: w,
23
23
  isLoading: n = !1,
24
- noStyle: d,
24
+ noStyle: f,
25
25
  renderWrapperElement: G,
26
26
  fullWidth: u,
27
27
  onClick: _,
28
28
  ...N
29
29
  }, M) => {
30
- const P = x || "button", y = r || o || l, j = d ? a(t["btn--no-style"], i, { [t["btn--full-width"]]: u }) : a(
30
+ const P = x || "button", h = r || a || l, j = f ? o(t["btn--no-style"], p, { [t["btn--full-width"]]: u }) : o(
31
31
  t.btn,
32
32
  t[`btn--${I}`],
33
- t[`btn--${E}`],
34
- i,
35
- { [t[`btn--${f}`]]: f },
36
- { [t["btn--underline"]]: $ },
37
- { [t["btn--is-hovered"]]: v },
33
+ t[`btn--${v}`],
34
+ p,
35
+ { [t[`btn--${d}`]]: d },
36
+ { [t["btn--underline"]]: E },
37
+ { [t["btn--is-hovered"]]: $ },
38
38
  { [t["btn--is-active"]]: w },
39
39
  { [t["btn--is-loading"]]: n },
40
40
  { [t["btn--icon-only"]]: r },
41
- { [t["btn--icon"]]: y },
41
+ { [t["btn--icon"]]: h },
42
42
  { [t["btn--full-width"]]: u }
43
- ), m = (b, e) => {
44
- const c = { size: 16, className: a(t.btn__icon, t[`btn__icon--${b}`], {
43
+ ), m = (c, e) => {
44
+ const b = { size: 16, className: o(t.btn__icon, t[`btn__icon--${c}`], {
45
45
  [t.btn__spinner]: n
46
- }) }, B = typeof e == "string" ? { ...c, name: e } : { ...c, ...e, className: a(c.className, e == null ? void 0 : e.className) };
47
- return n ? /* @__PURE__ */ s(C, { className: B.className }) : /* @__PURE__ */ s(D, { ...B });
46
+ }) }, y = typeof e == "string" ? { ...b, name: e, color: "inherit" } : {
47
+ ...b,
48
+ ...e,
49
+ color: "inherit",
50
+ background: void 0,
51
+ className: o(b.className, e == null ? void 0 : e.className)
52
+ };
53
+ return n ? /* @__PURE__ */ s(B, { className: y.className }) : /* @__PURE__ */ s(A, { ...y });
48
54
  }, k = () => /* @__PURE__ */ q("span", { className: t.btn__inner, children: [
49
55
  r && m("centre", r),
50
- o && m("left", o),
51
- /* @__PURE__ */ s("span", { className: t.btn__text, children: p }),
52
- n && !y && /* @__PURE__ */ s(C, { position: "absolute", className: t.btn__spinner }),
56
+ a && m("left", a),
57
+ /* @__PURE__ */ s("span", { className: t.btn__text, children: i }),
58
+ n && !h && /* @__PURE__ */ s(B, { position: "absolute", className: t.btn__spinner }),
53
59
  l && m("right", l)
54
- ] }), H = (b) => {
55
- _ && !n && _(b);
60
+ ] }), H = (c) => {
61
+ _ && !n && _(c);
56
62
  };
57
- return /* @__PURE__ */ s(A, { visibility: "hide", children: /* @__PURE__ */ s(
63
+ return /* @__PURE__ */ s(D, { visibility: "hide", children: /* @__PURE__ */ s(
58
64
  P,
59
65
  {
60
66
  "data-name": "button-content",
@@ -63,13 +69,13 @@ const h = z(
63
69
  onClick: H,
64
70
  ref: M,
65
71
  className: j,
66
- children: d ? p : k()
72
+ children: f ? i : k()
67
73
  }
68
74
  ) });
69
75
  }
70
76
  );
71
- h.displayName = "ButtonContent";
72
- const W = h;
77
+ C.displayName = "ButtonContent";
78
+ const W = C;
73
79
  export {
74
80
  W as default
75
81
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),n=require("../../../../../external/classnames/index.cjs.js"),b=require("react"),Se=require("../../../../../external/react-select/dist/react-select.esm.cjs.js"),Oe=require("../../../../../external/react-select/async/dist/react-select-async.esm.cjs.js"),pe=require("../../../../tedi/components/base/typography/text/text.cjs.js"),Pe=require("../../../../tedi/components/form/feedback-text/feedback-text.cjs.js"),ke=require("../../../../tedi/components/form/form-label/form-label.cjs.js"),p=require("../../button/button.cjs.js"),qe=require("../../icon/icon.cjs.js"),ye=require("../../tag/tag.cjs.js"),He=require("../check/check.cjs.js"),t=require("./select.module.scss.cjs.js"),c=require("../../../../../external/react-select/dist/index-641ee5b8.esm.cjs.js"),Le=require("../../../../tedi/providers/label-provider/use-labels.cjs.js"),Be=require("../../../helpers/background-colors/background-colors.cjs.js"),Re=s=>{const x=n.default(t.default.select__control,s.className,{[t.default["select__control--focused"]]:s.isFocused});return l.jsx(c.c.Control,{...s,className:x})},we=s=>l.jsx(c.c.Input,{...s,className:n.default(s.className,t.default.select__input),isHidden:s.selectProps.inputIsHidden!==void 0?s.selectProps.inputIsHidden:s.isHidden}),Fe=s=>l.jsx(c.c.Menu,{...s,className:n.default(s.className,t.default.select__menu)}),Te=s=>l.jsx(c.c.MenuPortal,{...s,className:n.default(s.className,t.default["select__menu-portal"])}),j=b.forwardRef((s,x)=>{const{options:P,defaultOptions:k,id:d,name:q,iconName:y="arrow_drop_down",label:H,required:v,value:L,defaultValue:B,tagsDirection:C="row",onChange:h,onInputChange:R,inputValue:w,loadOptions:F,isLoading:T,isTagRemovable:V=!1,openMenuOnFocus:G=!1,openMenuOnClick:D=!0,tabSelectsValue:E=!1,disabled:$=!1,className:z,hideLabel:A=!1,helper:o,placeholder:J,invalid:K,size:m,async:Q=!1,renderOption:f,renderMessageListFooter:M,noOptionsMessage:U,loadingMessage:W,multiple:N=!1,closeMenuOnSelect:X=!N,blurInputOnSelect:I=!1,autoFocus:Y=!1,isClearable:Z=!0,isClearIndicatorVisible:ee=!1,isSearchable:S=!0,menuIsOpen:te,onMenuClose:le,onMenuOpen:ae,onBlur:se,inputIsHidden:ne,optionGroupHeadingText:ce={modifiers:"small",color:"tertiary"},optionGroupBackgroundColor:oe,cacheOptions:ie=!0,...ue}=s,O=o?(o==null?void 0:o.id)??`${d}-helper`:void 0,g=b.useRef(null),{getLabel:_}=Le.useLabels();b.useImperativeHandle(x,()=>g.current);const re=e=>{var a;h==null||h(e),!I&&g.current&&((a=g.current.inputRef)==null||a.focus())},de=()=>l.jsx(qe.Icon,{name:y,size:24,className:t.default.select__arrow}),me=e=>l.jsx(c.c.Placeholder,{...e,className:n.default(e.className,"inline-block")}),fe=b.useCallback(e=>l.jsxs("div",{className:t.default["select__menu-list-wrapper"],children:[l.jsx(c.c.MenuList,{...e,className:n.default(e.className,t.default["select__menu-list"]),children:e.children}),M&&l.jsx("div",{className:t.default["select__menu-list-footer"],children:M(e)})]}),[M]),ge=e=>{const a=n.default(t.default.select__option,{[t.default["select__option--disabled"]]:e.isDisabled},{[t.default["select__option--focused"]]:e.isFocused}),{tabIndex:i,...u}=e.innerProps;return l.jsx(c.c.Option,{...e,innerProps:{...u,role:"option","aria-selected":e.isSelected},className:a,children:f?f(e):l.jsxs(l.Fragment,{children:[l.jsx("span",{className:"sr-only",children:e.label}),l.jsx(He.Check,{id:e.data.value,label:e.label,"aria-hidden":!0,className:t.default.select__checkbox,value:e.data.value,name:e.data.value,checked:e.isSelected,onChange:(r,Ie)=>null,disabled:e.isDisabled,hover:e.isFocused})]})})},_e=e=>{const a=n.default(t.default.select__option,{[t.default["select__option--disabled"]]:e.isDisabled},{[t.default["select__option--selected"]]:e.isSelected},{[t.default["select__option--focused"]]:e.isFocused}),{tabIndex:i,...u}=e.innerProps;return l.jsx(c.c.Option,{...e,innerProps:{...u,role:"option","aria-selected":e.isSelected},className:a,children:f?f(e):e.children})},be=e=>N?ge(e):_e(e),xe=({children:e,components:{Remove:a},data:i,selectProps:u,removeProps:r,...Ie})=>l.jsxs(ye.Tag,{color:"default",type:"secondary",className:n.default(t.default["select__multi-value-item"],{[t.default["select__multi-value-item--big"]]:m!=="small"}),children:[e,V&&l.jsx(a,{data:i,selectProps:u,innerProps:r})]}),he=({data:e,innerProps:a})=>l.jsx(p.Button,{icon:{name:"clear",color:"muted"},className:t.default["select__multi-value-clear"],visualType:"link",tabIndex:-1,...a,children:`${_("remove")} ${e.label}`}),Me=({innerProps:{ref:e,...a}})=>ee?l.jsx(p.Button,{icon:{name:"clear",color:"muted"},visualType:"link",tabIndex:-1,ref:e,...a,children:_("clear")}):null,Ne=e=>{const a=n.default(t.default.select__group);return l.jsx(c.c.Group,{...e,className:a,children:e.children})},je=e=>{const a=n.default(t.default["select__group-heading"],Be.getBackgroundColorClass(e.data.backgroundColor||oe||"transparent")),i=e.data.text||ce;return l.jsx(c.c.GroupHeading,{...e,className:a,children:l.jsx(pe.Text,{...i,children:e.data.label})})},ve=()=>{const e={ClearIndicator:Me,DropdownIndicator:de,IndicatorSeparator:()=>null,MenuPortal:Te,Menu:Fe,MenuList:fe,Option:be,Control:Re,Input:we,MultiValue:xe,MultiValueRemove:he,Placeholder:me,Group:Ne,GroupHeading:je},a=Q?Oe.default:Se.default,i=()=>_("select.no-options"),u=()=>_("select.loading");return l.jsx(a,{id:d,"aria-describedby":O,autoFocus:Y,ref:g,instanceId:d,className:"select__wrapper",name:q,options:P,defaultOptions:k,value:L,defaultValue:B,cacheOptions:ie,onChange:re,onInputChange:R,onBlur:se,inputValue:w,inputId:`${d}-input`,loadOptions:F,isLoading:T,noOptionsMessage:U||i,loadingMessage:W||u,classNamePrefix:"select",components:e,isDisabled:$,isSearchable:S,menuIsOpen:te,openMenuOnFocus:G,openMenuOnClick:D,tabSelectsValue:E,onMenuClose:le,onMenuOpen:ae,placeholder:J||"",isClearable:Z,backspaceRemovesValue:!0,menuShouldScrollIntoView:!0,isMulti:N,hideSelectedOptions:!1,closeMenuOnSelect:X,blurInputOnSelect:I,menuPosition:"fixed",menuPlacement:"auto",inputIsHidden:ne,required:v,theme:r=>({...r,colors:{...r.colors,primary:"#005aa3",danger:"#b50000",dangerLight:"#fceeee"}}),styles:{input:r=>({...r,gridTemplateColumns:"0fr"})}})},Ce=n.default(t.default.select,z,{[t.default["select--invalid"]]:K||(o==null?void 0:o.type)==="error"},{[t.default[`select--${m}`]]:m},{[t.default[`select--tags-${C}`]]:C},{[t.default["select--searchable"]]:S});return l.jsxs("div",{"data-name":"select",...ue,className:Ce,children:[l.jsxs("div",{className:t.default.select__inner,children:[l.jsx(ke.FormLabel,{id:`${d}-input`,label:H,required:v,hideLabel:A,size:m}),ve()]}),o&&l.jsx(Pe.FeedbackText,{...o,id:O})]})});j.displayName="Select";exports.Select=j;exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),n=require("../../../../../external/classnames/index.cjs.js"),b=require("react"),Se=require("../../../../../external/react-select/dist/react-select.esm.cjs.js"),Oe=require("../../../../../external/react-select/async/dist/react-select-async.esm.cjs.js"),pe=require("../../../../tedi/components/base/icon/icon.cjs.js"),Pe=require("../../../../tedi/components/base/typography/text/text.cjs.js"),p=require("../../../../tedi/components/buttons/button/button.cjs.js"),ke=require("../../../../tedi/components/form/feedback-text/feedback-text.cjs.js"),qe=require("../../../../tedi/components/form/form-label/form-label.cjs.js"),ye=require("../../tag/tag.cjs.js"),He=require("../check/check.cjs.js"),t=require("./select.module.scss.cjs.js"),c=require("../../../../../external/react-select/dist/index-641ee5b8.esm.cjs.js"),Le=require("../../../../tedi/providers/label-provider/use-labels.cjs.js"),Be=require("../../../helpers/background-colors/background-colors.cjs.js"),Re=s=>{const x=n.default(t.default.select__control,s.className,{[t.default["select__control--focused"]]:s.isFocused});return l.jsx(c.c.Control,{...s,className:x})},we=s=>l.jsx(c.c.Input,{...s,className:n.default(s.className,t.default.select__input),isHidden:s.selectProps.inputIsHidden!==void 0?s.selectProps.inputIsHidden:s.isHidden}),Fe=s=>l.jsx(c.c.Menu,{...s,className:n.default(s.className,t.default.select__menu)}),Te=s=>l.jsx(c.c.MenuPortal,{...s,className:n.default(s.className,t.default["select__menu-portal"])}),j=b.forwardRef((s,x)=>{const{options:P,defaultOptions:k,id:d,name:q,iconName:y="arrow_drop_down",label:H,required:v,value:L,defaultValue:B,tagsDirection:C="row",onChange:h,onInputChange:R,inputValue:w,loadOptions:F,isLoading:T,isTagRemovable:V=!1,openMenuOnFocus:G=!1,openMenuOnClick:D=!0,tabSelectsValue:E=!1,disabled:$=!1,className:z,hideLabel:A=!1,helper:o,placeholder:J,invalid:K,size:m,async:Q=!1,renderOption:f,renderMessageListFooter:M,noOptionsMessage:U,loadingMessage:W,multiple:N=!1,closeMenuOnSelect:X=!N,blurInputOnSelect:I=!1,autoFocus:Y=!1,isClearable:Z=!0,isClearIndicatorVisible:ee=!1,isSearchable:S=!0,menuIsOpen:te,onMenuClose:le,onMenuOpen:ae,onBlur:se,inputIsHidden:ne,optionGroupHeadingText:ce={modifiers:"small",color:"tertiary"},optionGroupBackgroundColor:oe,cacheOptions:ie=!0,...ue}=s,O=o?(o==null?void 0:o.id)??`${d}-helper`:void 0,g=b.useRef(null),{getLabel:_}=Le.useLabels();b.useImperativeHandle(x,()=>g.current);const re=e=>{var a;h==null||h(e),!I&&g.current&&((a=g.current.inputRef)==null||a.focus())},de=()=>l.jsx(pe.Icon,{name:y,size:24,className:t.default.select__arrow,color:"inherit"}),me=e=>l.jsx(c.c.Placeholder,{...e,className:n.default(e.className,"inline-block")}),fe=b.useCallback(e=>l.jsxs("div",{className:t.default["select__menu-list-wrapper"],children:[l.jsx(c.c.MenuList,{...e,className:n.default(e.className,t.default["select__menu-list"]),children:e.children}),M&&l.jsx("div",{className:t.default["select__menu-list-footer"],children:M(e)})]}),[M]),ge=e=>{const a=n.default(t.default.select__option,{[t.default["select__option--disabled"]]:e.isDisabled},{[t.default["select__option--focused"]]:e.isFocused}),{tabIndex:i,...u}=e.innerProps;return l.jsx(c.c.Option,{...e,innerProps:{...u,role:"option","aria-selected":e.isSelected},className:a,children:f?f(e):l.jsxs(l.Fragment,{children:[l.jsx("span",{className:"sr-only",children:e.label}),l.jsx(He.Check,{id:e.data.value,label:e.label,"aria-hidden":!0,className:t.default.select__checkbox,value:e.data.value,name:e.data.value,checked:e.isSelected,onChange:(r,Ie)=>null,disabled:e.isDisabled,hover:e.isFocused})]})})},_e=e=>{const a=n.default(t.default.select__option,{[t.default["select__option--disabled"]]:e.isDisabled},{[t.default["select__option--selected"]]:e.isSelected},{[t.default["select__option--focused"]]:e.isFocused}),{tabIndex:i,...u}=e.innerProps;return l.jsx(c.c.Option,{...e,innerProps:{...u,role:"option","aria-selected":e.isSelected},className:a,children:f?f(e):e.children})},be=e=>N?ge(e):_e(e),xe=({children:e,components:{Remove:a},data:i,selectProps:u,removeProps:r,...Ie})=>l.jsxs(ye.Tag,{color:"default",type:"secondary",className:n.default(t.default["select__multi-value-item"],{[t.default["select__multi-value-item--big"]]:m!=="small"}),children:[e,V&&l.jsx(a,{data:i,selectProps:u,innerProps:r})]}),he=({data:e,innerProps:a})=>l.jsx(p.Button,{icon:{name:"clear",color:"secondary"},className:t.default["select__multi-value-clear"],visualType:"link",tabIndex:-1,...a,children:`${_("remove")} ${e.label}`}),Me=({innerProps:{ref:e,...a}})=>ee?l.jsx(p.Button,{icon:{name:"clear",color:"secondary"},visualType:"link",tabIndex:-1,ref:e,...a,children:_("clear")}):null,Ne=e=>{const a=n.default(t.default.select__group);return l.jsx(c.c.Group,{...e,className:a,children:e.children})},je=e=>{const a=n.default(t.default["select__group-heading"],Be.getBackgroundColorClass(e.data.backgroundColor||oe||"transparent")),i=e.data.text||ce;return l.jsx(c.c.GroupHeading,{...e,className:a,children:l.jsx(Pe.Text,{...i,children:e.data.label})})},ve=()=>{const e={ClearIndicator:Me,DropdownIndicator:de,IndicatorSeparator:()=>null,MenuPortal:Te,Menu:Fe,MenuList:fe,Option:be,Control:Re,Input:we,MultiValue:xe,MultiValueRemove:he,Placeholder:me,Group:Ne,GroupHeading:je},a=Q?Oe.default:Se.default,i=()=>_("select.no-options"),u=()=>_("select.loading");return l.jsx(a,{id:d,"aria-describedby":O,autoFocus:Y,ref:g,instanceId:d,className:"select__wrapper",name:q,options:P,defaultOptions:k,value:L,defaultValue:B,cacheOptions:ie,onChange:re,onInputChange:R,onBlur:se,inputValue:w,inputId:`${d}-input`,loadOptions:F,isLoading:T,noOptionsMessage:U||i,loadingMessage:W||u,classNamePrefix:"select",components:e,isDisabled:$,isSearchable:S,menuIsOpen:te,openMenuOnFocus:G,openMenuOnClick:D,tabSelectsValue:E,onMenuClose:le,onMenuOpen:ae,placeholder:J||"",isClearable:Z,backspaceRemovesValue:!0,menuShouldScrollIntoView:!0,isMulti:N,hideSelectedOptions:!1,closeMenuOnSelect:X,blurInputOnSelect:I,menuPosition:"fixed",menuPlacement:"auto",inputIsHidden:ne,required:v,theme:r=>({...r,colors:{...r.colors,primary:"#005aa3",danger:"#b50000",dangerLight:"#fceeee"}}),styles:{input:r=>({...r,gridTemplateColumns:"0fr"})}})},Ce=n.default(t.default.select,z,{[t.default["select--invalid"]]:K||(o==null?void 0:o.type)==="error"},{[t.default[`select--${m}`]]:m},{[t.default[`select--tags-${C}`]]:C},{[t.default["select--searchable"]]:S});return l.jsxs("div",{"data-name":"select",...ue,className:Ce,children:[l.jsxs("div",{className:t.default.select__inner,children:[l.jsx(qe.FormLabel,{id:`${d}-input`,label:H,required:v,hideLabel:A,size:m}),ve()]}),o&&l.jsx(ke.FeedbackText,{...o,id:O})]})});j.displayName="Select";exports.Select=j;exports.default=j;
@@ -1,13 +1,13 @@
1
1
  import { jsxs as m, jsx as n, Fragment as Se } from "react/jsx-runtime";
2
2
  import s from "../../../../../external/classnames/index.es.js";
3
3
  import v, { forwardRef as Pe } from "react";
4
- import xe from "../../../../../external/react-select/dist/react-select.esm.es.js";
5
- import ke from "../../../../../external/react-select/async/dist/react-select-async.esm.es.js";
6
- import { Text as ye } from "../../../../tedi/components/base/typography/text/text.es.js";
7
- import { FeedbackText as He } from "../../../../tedi/components/form/feedback-text/feedback-text.es.js";
8
- import { FormLabel as we } from "../../../../tedi/components/form/form-label/form-label.es.js";
9
- import { Button as x } from "../../button/button.es.js";
10
- import { Icon as Be } from "../../icon/icon.es.js";
4
+ import ye from "../../../../../external/react-select/dist/react-select.esm.es.js";
5
+ import xe from "../../../../../external/react-select/async/dist/react-select-async.esm.es.js";
6
+ import { Icon as ke } from "../../../../tedi/components/base/icon/icon.es.js";
7
+ import { Text as He } from "../../../../tedi/components/base/typography/text/text.es.js";
8
+ import { Button as y } from "../../../../tedi/components/buttons/button/button.es.js";
9
+ import { FeedbackText as we } from "../../../../tedi/components/form/feedback-text/feedback-text.es.js";
10
+ import { FormLabel as Be } from "../../../../tedi/components/form/form-label/form-label.es.js";
11
11
  import { Tag as Fe } from "../../tag/tag.es.js";
12
12
  import { Check as Le } from "../check/check.es.js";
13
13
  import t from "./select.module.scss.es.js";
@@ -15,10 +15,10 @@ import { c as o } from "../../../../../external/react-select/dist/index-641ee5b8
15
15
  import { useLabels as Re } from "../../../../tedi/providers/label-provider/use-labels.es.js";
16
16
  import { getBackgroundColorClass as Ve } from "../../../helpers/background-colors/background-colors.es.js";
17
17
  const Ge = (a) => {
18
- const h = s(t.select__control, a.className, {
18
+ const b = s(t.select__control, a.className, {
19
19
  [t["select__control--focused"]]: a.isFocused
20
20
  });
21
- return /* @__PURE__ */ n(o.Control, { ...a, className: h });
21
+ return /* @__PURE__ */ n(o.Control, { ...a, className: b });
22
22
  }, $e = (a) => /* @__PURE__ */ n(
23
23
  o.Input,
24
24
  {
@@ -27,10 +27,10 @@ const Ge = (a) => {
27
27
  isHidden: a.selectProps.inputIsHidden !== void 0 ? a.selectProps.inputIsHidden : a.isHidden
28
28
  }
29
29
  ), De = (a) => /* @__PURE__ */ n(o.Menu, { ...a, className: s(a.className, t.select__menu) }), Te = (a) => /* @__PURE__ */ n(o.MenuPortal, { ...a, className: s(a.className, t["select__menu-portal"]) }), Ee = Pe(
30
- (a, h) => {
30
+ (a, b) => {
31
31
  const {
32
- options: k,
33
- defaultOptions: y,
32
+ options: x,
33
+ defaultOptions: k,
34
34
  id: u,
35
35
  name: H,
36
36
  iconName: w = "arrow_drop_down",
@@ -76,15 +76,15 @@ const Ge = (a) => {
76
76
  optionGroupBackgroundColor: ce,
77
77
  cacheOptions: ie = !0,
78
78
  ...re
79
- } = a, P = c ? (c == null ? void 0 : c.id) ?? `${u}-helper` : void 0, f = v.useRef(null), { getLabel: b } = Re();
79
+ } = a, P = c ? (c == null ? void 0 : c.id) ?? `${u}-helper` : void 0, f = v.useRef(null), { getLabel: h } = Re();
80
80
  v.useImperativeHandle(
81
- h,
81
+ b,
82
82
  () => f.current
83
83
  );
84
84
  const de = (e) => {
85
85
  var l;
86
86
  p == null || p(e), !O && f.current && ((l = f.current.inputRef) == null || l.focus());
87
- }, ue = () => /* @__PURE__ */ n(Be, { name: w, size: 24, className: t.select__arrow }), me = (e) => /* @__PURE__ */ n(o.Placeholder, { ...e, className: s(e.className, "inline-block") }), ge = v.useCallback(
87
+ }, ue = () => /* @__PURE__ */ n(ke, { name: w, size: 24, className: t.select__arrow, color: "inherit" }), me = (e) => /* @__PURE__ */ n(o.Placeholder, { ...e, className: s(e.className, "inline-block") }), ge = v.useCallback(
88
88
  (e) => /* @__PURE__ */ m("div", { className: t["select__menu-list-wrapper"], children: [
89
89
  /* @__PURE__ */ n(o.MenuList, { ...e, className: s(e.className, t["select__menu-list"]), children: e.children }),
90
90
  N && /* @__PURE__ */ n("div", { className: t["select__menu-list-footer"], children: N(e) })
@@ -138,7 +138,7 @@ const Ge = (a) => {
138
138
  children: _ ? _(e) : e.children
139
139
  }
140
140
  );
141
- }, be = (e) => M ? _e(e) : fe(e), he = ({
141
+ }, he = (e) => M ? _e(e) : fe(e), be = ({
142
142
  children: e,
143
143
  components: { Remove: l },
144
144
  data: i,
@@ -159,24 +159,24 @@ const Ge = (a) => {
159
159
  ]
160
160
  }
161
161
  ), pe = ({ data: e, innerProps: l }) => /* @__PURE__ */ n(
162
- x,
162
+ y,
163
163
  {
164
- icon: { name: "clear", color: "muted" },
164
+ icon: { name: "clear", color: "secondary" },
165
165
  className: t["select__multi-value-clear"],
166
166
  visualType: "link",
167
167
  tabIndex: -1,
168
168
  ...l,
169
- children: `${b("remove")} ${e.label}`
169
+ children: `${h("remove")} ${e.label}`
170
170
  }
171
171
  ), Ne = ({ innerProps: { ref: e, ...l } }) => ee ? /* @__PURE__ */ n(
172
- x,
172
+ y,
173
173
  {
174
- icon: { name: "clear", color: "muted" },
174
+ icon: { name: "clear", color: "secondary" },
175
175
  visualType: "link",
176
176
  tabIndex: -1,
177
177
  ref: e,
178
178
  ...l,
179
- children: b("clear")
179
+ children: h("clear")
180
180
  }
181
181
  ) : null, Me = (e) => {
182
182
  const l = s(t.select__group);
@@ -186,7 +186,7 @@ const Ge = (a) => {
186
186
  t["select__group-heading"],
187
187
  Ve(e.data.backgroundColor || ce || "transparent")
188
188
  ), i = e.data.text || oe;
189
- return /* @__PURE__ */ n(o.GroupHeading, { ...e, className: l, children: /* @__PURE__ */ n(ye, { ...i, children: e.data.label }) });
189
+ return /* @__PURE__ */ n(o.GroupHeading, { ...e, className: l, children: /* @__PURE__ */ n(He, { ...i, children: e.data.label }) });
190
190
  }, Ie = () => {
191
191
  const e = {
192
192
  ClearIndicator: Ne,
@@ -195,15 +195,15 @@ const Ge = (a) => {
195
195
  MenuPortal: Te,
196
196
  Menu: De,
197
197
  MenuList: ge,
198
- Option: be,
198
+ Option: he,
199
199
  Control: Ge,
200
200
  Input: $e,
201
- MultiValue: he,
201
+ MultiValue: be,
202
202
  MultiValueRemove: pe,
203
203
  Placeholder: me,
204
204
  Group: Me,
205
205
  GroupHeading: ve
206
- }, l = Q ? ke : xe, i = () => b("select.no-options"), r = () => b("select.loading");
206
+ }, l = Q ? xe : ye, i = () => h("select.no-options"), r = () => h("select.loading");
207
207
  return /* @__PURE__ */ n(
208
208
  l,
209
209
  {
@@ -214,8 +214,8 @@ const Ge = (a) => {
214
214
  instanceId: u,
215
215
  className: "select__wrapper",
216
216
  name: H,
217
- options: k,
218
- defaultOptions: y,
217
+ options: x,
218
+ defaultOptions: k,
219
219
  value: F,
220
220
  defaultValue: L,
221
221
  cacheOptions: ie,
@@ -277,10 +277,10 @@ const Ge = (a) => {
277
277
  );
278
278
  return /* @__PURE__ */ m("div", { "data-name": "select", ...re, className: Ce, children: [
279
279
  /* @__PURE__ */ m("div", { className: t.select__inner, children: [
280
- /* @__PURE__ */ n(we, { id: `${u}-input`, label: B, required: I, hideLabel: A, size: g }),
280
+ /* @__PURE__ */ n(Be, { id: `${u}-input`, label: B, required: I, hideLabel: A, size: g }),
281
281
  Ie()
282
282
  ] }),
283
- c && /* @__PURE__ */ n(He, { ...c, id: P })
283
+ c && /* @__PURE__ */ n(we, { ...c, id: P })
284
284
  ] });
285
285
  }
286
286
  );
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("../../../../../../external/classnames/index.cjs.js"),b=require("../../../icon/icon.cjs.js"),t=require("../text-editor.module.scss.cjs.js"),n=o=>{const{active:l,style:u,label:s,onToggle:r}=o,c=d.default(t.default["style-button"],{[t.default["style-button--active"]]:l}),i=a=>{a.preventDefault(),r(u)};return e.jsx("button",{type:"button",className:c,onClick:i,children:e.jsx(b.Icon,{name:s,size:24})})};exports.StyleButton=n;exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("../../../../../../external/classnames/index.cjs.js"),y=require("../../../../../tedi/components/base/icon/icon.cjs.js"),t=require("../text-editor.module.scss.cjs.js"),o=n=>{const{active:l,style:u,label:s,onToggle:r}=n,c=d.default(t.default["style-button"],{[t.default["style-button--active"]]:l}),i=a=>{a.preventDefault(),r(u)};return e.jsx("button",{type:"button",className:c,onClick:i,children:e.jsx(y.Icon,{name:s,size:24,color:"secondary"})})};exports.StyleButton=o;exports.default=o;
@@ -1,12 +1,12 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import m from "../../../../../../external/classnames/index.es.js";
3
- import { Icon as i } from "../../../icon/icon.es.js";
3
+ import { Icon as i } from "../../../../../tedi/components/base/icon/icon.es.js";
4
4
  import o from "../text-editor.module.scss.es.js";
5
5
  const b = (e) => {
6
6
  const { active: n, style: l, label: s, onToggle: r } = e, a = m(o["style-button"], { [o["style-button--active"]]: n });
7
7
  return /* @__PURE__ */ t("button", { type: "button", className: a, onClick: (c) => {
8
8
  c.preventDefault(), r(l);
9
- }, children: /* @__PURE__ */ t(i, { name: s, size: 24 }) });
9
+ }, children: /* @__PURE__ */ t(i, { name: s, size: 24, color: "secondary" }) });
10
10
  };
11
11
  export {
12
12
  b as StyleButton,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),k=require("../../../../../external/classnames/index.cjs.js"),i=require("react"),$=require("../../../../tedi/components/loaders/spinner/spinner.cjs.js"),j=require("../../button/button.cjs.js"),w=require("../../icon/icon.cjs.js"),e=require("./toggle.module.scss.cjs.js"),c=i.forwardRef((r,C)=>{const{ariaLabel:N,className:q,checked:n,defaultChecked:y,onChange:a,size:u=r.icon?"large":"medium",color:v="default",type:g,icon:S,disabled:f=!1,isLoading:d=!1,extraContent:m,label:_,...l}=r,[h,T]=i.useState(y||!1),o=i.useMemo(()=>a&&typeof n<"u"?n:h,[a,h,n]),M=k.default(e.default.toggle,e.default[`toggle--${u}`],e.default[`toggle--${v}`],{[e.default["toggle--active"]]:o,[e.default["toggle--disabled"]]:f,[e.default[`toggle--${g}`]]:g},q),b=()=>{if(d)return;const s=!o;typeof n>"u"&&T(s),a==null||a(s)},p={noStyle:!0,type:"button","aria-label":N,"aria-pressed":o,disabled:f,"aria-disabled":d,...l,onClick:b};return t.jsxs("div",{className:e.default["toggle-wrapper"],children:[t.jsx(j.Button,{...p,onClick:s=>{var x;(x=l==null?void 0:l.onClick)==null||x.call(l,s),b()},ref:C,"data-name":"toggle",className:M,children:t.jsx("span",{className:e.default.toggle__dot,children:d?t.jsx($.Spinner,{size:u==="large"?16:10,className:k.default(e.default.toggle__icon,e.default.toggle__spinner)}):S?t.jsx(w.Icon,{className:e.default.toggle__icon,name:o?"lock_open_right":"lock",size:16}):null})}),_&&t.jsx(j.Button,{...p,className:e.default.toggle__label,"aria-hidden":!0,tabIndex:-1,children:_}),m&&t.jsx("div",{className:e.default["toggle__extra-content"],children:m})]})});c.displayName="Toggle";exports.Toggle=c;exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),k=require("../../../../../external/classnames/index.cjs.js"),i=require("react"),$=require("../../../../tedi/components/base/icon/icon.cjs.js"),w=require("../../../../tedi/components/loaders/spinner/spinner.cjs.js"),j=require("../../button/button.cjs.js"),e=require("./toggle.module.scss.cjs.js"),c=i.forwardRef((r,C)=>{const{ariaLabel:N,className:q,checked:n,defaultChecked:y,onChange:a,size:u=r.icon?"large":"medium",color:v="default",type:g,icon:S,disabled:f=!1,isLoading:d=!1,extraContent:m,label:_,...l}=r,[h,T]=i.useState(y||!1),o=i.useMemo(()=>a&&typeof n<"u"?n:h,[a,h,n]),M=k.default(e.default.toggle,e.default[`toggle--${u}`],e.default[`toggle--${v}`],{[e.default["toggle--active"]]:o,[e.default["toggle--disabled"]]:f,[e.default[`toggle--${g}`]]:g},q),b=()=>{if(d)return;const s=!o;typeof n>"u"&&T(s),a==null||a(s)},p={noStyle:!0,type:"button","aria-label":N,"aria-pressed":o,disabled:f,"aria-disabled":d,...l,onClick:b};return t.jsxs("div",{className:e.default["toggle-wrapper"],children:[t.jsx(j.Button,{...p,onClick:s=>{var x;(x=l==null?void 0:l.onClick)==null||x.call(l,s),b()},ref:C,"data-name":"toggle",className:M,children:t.jsx("span",{className:e.default.toggle__dot,children:d?t.jsx(w.Spinner,{size:u==="large"?16:10,className:k.default(e.default.toggle__icon,e.default.toggle__spinner)}):S?t.jsx($.Icon,{className:e.default.toggle__icon,name:o?"lock_open_right":"lock",size:16}):null})}),_&&t.jsx(j.Button,{...p,className:e.default.toggle__label,"aria-hidden":!0,tabIndex:-1,children:_}),m&&t.jsx("div",{className:e.default["toggle__extra-content"],children:m})]})});c.displayName="Toggle";exports.Toggle=c;exports.default=c;
@@ -1,9 +1,9 @@
1
1
  import { jsxs as T, jsx as t } from "react/jsx-runtime";
2
2
  import k from "../../../../../external/classnames/index.es.js";
3
3
  import b, { forwardRef as $ } from "react";
4
- import { Spinner as j } from "../../../../tedi/components/loaders/spinner/spinner.es.js";
4
+ import { Icon as j } from "../../../../tedi/components/base/icon/icon.es.js";
5
+ import { Spinner as B } from "../../../../tedi/components/loaders/spinner/spinner.es.js";
5
6
  import { Button as N } from "../../button/button.es.js";
6
- import { Icon as B } from "../../icon/icon.es.js";
7
7
  import e from "./toggle.module.scss.es.js";
8
8
  const L = $((r, C) => {
9
9
  const {
@@ -59,12 +59,12 @@ const L = $((r, C) => {
59
59
  "data-name": "toggle",
60
60
  className: S,
61
61
  children: /* @__PURE__ */ t("span", { className: e.toggle__dot, children: i ? /* @__PURE__ */ t(
62
- j,
62
+ B,
63
63
  {
64
64
  size: c === "large" ? 16 : 10,
65
65
  className: k(e.toggle__icon, e.toggle__spinner)
66
66
  }
67
- ) : z ? /* @__PURE__ */ t(B, { className: e.toggle__icon, name: n ? "lock_open_right" : "lock", size: 16 }) : null })
67
+ ) : z ? /* @__PURE__ */ t(j, { className: e.toggle__icon, name: n ? "lock_open_right" : "lock", size: 16 }) : null })
68
68
  }
69
69
  ),
70
70
  f && /* @__PURE__ */ t(N, { ..._, className: e.toggle__label, "aria-hidden": !0, tabIndex: -1, children: f }),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("../../../../../../external/classnames/index.cjs.js"),u=require("../../../../../tedi/components/base/typography/text/text.cjs.js"),l=require("../../../../../tedi/components/misc/print/print.cjs.js"),d=require("../../../anchor/anchor.cjs.js"),b=require("../../../icon/icon.cjs.js"),i=require("../breadcrumbs.module.scss.cjs.js"),m=o=>{const{isLast:r=!1,children:s,singleCrumb:t,...n}=o,a=c.default(i.default.breadcrumbs__item);return e.jsxs("li",{"data-name":"crumb",className:a,children:[e.jsx(l.Print,{visibility:"show",children:r?e.jsx(u.Text,{color:"secondary",children:s}):e.jsx(d.Anchor,{iconLeft:t?"keyboard_arrow_left":void 0,...n,children:s})}),!t&&!r?e.jsx(b.Icon,{className:i.default.breadcrumbs__separator,size:16,name:"keyboard_arrow_right"}):null]})};exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("../../../../../../external/classnames/index.cjs.js"),u=require("../../../../../tedi/components/base/icon/icon.cjs.js"),l=require("../../../../../tedi/components/base/typography/text/text.cjs.js"),d=require("../../../../../tedi/components/misc/print/print.cjs.js"),b=require("../../../anchor/anchor.cjs.js"),i=require("../breadcrumbs.module.scss.cjs.js"),m=o=>{const{isLast:r=!1,children:s,singleCrumb:t,...n}=o,a=c.default(i.default.breadcrumbs__item);return e.jsxs("li",{"data-name":"crumb",className:a,children:[e.jsx(d.Print,{visibility:"show",children:r?e.jsx(l.Text,{color:"secondary",children:s}):e.jsx(b.Anchor,{iconLeft:t?"keyboard_arrow_left":void 0,...n,children:s})}),!t&&!r?e.jsx(u.Icon,{className:i.default.breadcrumbs__separator,size:16,name:"keyboard_arrow_right"}):null]})};exports.default=m;
@@ -1,20 +1,20 @@
1
1
  import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import l from "../../../../../../external/classnames/index.es.js";
3
- import { Text as n } from "../../../../../tedi/components/base/typography/text/text.es.js";
4
- import { Print as d } from "../../../../../tedi/components/misc/print/print.es.js";
5
- import { Anchor as f } from "../../../anchor/anchor.es.js";
6
- import { Icon as b } from "../../../icon/icon.es.js";
3
+ import { Icon as n } from "../../../../../tedi/components/base/icon/icon.es.js";
4
+ import { Text as d } from "../../../../../tedi/components/base/typography/text/text.es.js";
5
+ import { Print as f } from "../../../../../tedi/components/misc/print/print.es.js";
6
+ import { Anchor as b } from "../../../anchor/anchor.es.js";
7
7
  import m from "../breadcrumbs.module.scss.es.js";
8
8
  const N = (t) => {
9
9
  const { isLast: o = !1, children: s, singleCrumb: e, ...a } = t, i = l(m.breadcrumbs__item);
10
10
  return /* @__PURE__ */ c("li", { "data-name": "crumb", className: i, children: [
11
- /* @__PURE__ */ r(d, { visibility: "show", children: o ? /* @__PURE__ */ r(n, { color: "secondary", children: s }) : (
11
+ /* @__PURE__ */ r(f, { visibility: "show", children: o ? /* @__PURE__ */ r(d, { color: "secondary", children: s }) : (
12
12
  // TODO: Remove ts-ignore
13
13
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
14
14
  // @ts-ignore
15
- /* @__PURE__ */ r(f, { iconLeft: e ? "keyboard_arrow_left" : void 0, ...a, children: s })
15
+ /* @__PURE__ */ r(b, { iconLeft: e ? "keyboard_arrow_left" : void 0, ...a, children: s })
16
16
  ) }),
17
- !e && !o ? /* @__PURE__ */ r(b, { className: m.breadcrumbs__separator, size: 16, name: "keyboard_arrow_right" }) : null
17
+ !e && !o ? /* @__PURE__ */ r(n, { className: m.breadcrumbs__separator, size: 16, name: "keyboard_arrow_right" }) : null
18
18
  ] });
19
19
  };
20
20
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("../../../../../external/classnames/index.cjs.js"),a=require("../../../../tedi/components/base/typography/text/text.cjs.js"),g=require("../../../../tedi/components/misc/print/print.cjs.js"),_=require("../../../../tedi/components/misc/stretch-content/stretch-content.cjs.js"),p=require("../../icon/icon.cjs.js"),o=require("./footer.module.scss.cjs.js"),q=require("../../../../tedi/components/layout/grid/row.cjs.js"),f=require("../../../../tedi/components/layout/grid/col.cjs.js"),m=require("../../../../tedi/components/layout/vertical-spacing/vertical-spacing.cjs.js"),b=require("../../../../tedi/providers/label-provider/use-labels.cjs.js"),h=d=>{const{logo:r,categories:i,className:l,bottomElement:n,...t}=d,{getLabel:s}=b.useLabels(),u=c.default(o.default.footer,l);return e.jsx(g.Print,{visibility:"hide",children:e.jsxs("footer",{"data-name":"footer",...t,className:u,children:[e.jsx(a.Text,{className:"visually-hidden",element:"h2",children:s("footer.title")}),e.jsxs("div",{className:o.default.footer__inner,children:[i.map((x,j)=>e.jsx(_.StretchContent,{direction:"vertical",children:e.jsx(y,{...x})},j)),r&&e.jsx("img",{className:o.default.footer__logo,src:r.src,alt:r.alt,style:r.style})]}),n&&e.jsx(a.Text,{color:"white",element:"div",className:o.default.footer__bottom,children:n})]})})},y=d=>{const{heading:r,icon:i,elements:l}=d,n=t=>{const s={size:16},u=typeof t=="string"?{...s,name:t}:{...s,...t};return e.jsx(p.Icon,{...u})};return e.jsxs(q.Row,{children:[i&&e.jsx(f.Col,{width:"auto",className:c.default("text-inverted",o.default["footer__category-icon"]),children:n(i)}),e.jsx(f.Col,{width:"auto",children:e.jsxs(m.VerticalSpacing,{className:c.default("text-small",o.default.footer__category),size:.5,children:[e.jsx(a.Text,{color:"white",modifiers:["bold","normal"],element:"h3",children:r}),e.jsx(m.VerticalSpacing,{element:"ul",size:.5,className:c.default(o.default["footer__category-list"]),children:l==null?void 0:l.map((t,s)=>e.jsx("li",{children:e.jsx(a.Text,{color:"white",element:"span",modifiers:"break-all",children:t})},s))})]})})]})};exports.Footer=h;exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("../../../../../external/classnames/index.cjs.js"),j=require("../../../../tedi/components/base/icon/icon.cjs.js"),a=require("../../../../tedi/components/base/typography/text/text.cjs.js"),_=require("../../../../tedi/components/misc/print/print.cjs.js"),b=require("../../../../tedi/components/misc/stretch-content/stretch-content.cjs.js"),o=require("./footer.module.scss.cjs.js"),v=require("../../../../tedi/components/layout/grid/row.cjs.js"),f=require("../../../../tedi/components/layout/grid/col.cjs.js"),m=require("../../../../tedi/components/layout/vertical-spacing/vertical-spacing.cjs.js"),p=require("../../../../tedi/providers/label-provider/use-labels.cjs.js"),h=d=>{const{logo:r,categories:l,className:i,bottomElement:n,...t}=d,{getLabel:s}=p.useLabels(),u=c.default(o.default.footer,i);return e.jsx(_.Print,{visibility:"hide",children:e.jsxs("footer",{"data-name":"footer",...t,className:u,children:[e.jsx(a.Text,{className:"visually-hidden",element:"h2",children:s("footer.title")}),e.jsxs("div",{className:o.default.footer__inner,children:[l.map((x,g)=>e.jsx(b.StretchContent,{direction:"vertical",children:e.jsx(q,{...x})},g)),r&&e.jsx("img",{className:o.default.footer__logo,src:r.src,alt:r.alt,style:r.style})]}),n&&e.jsx(a.Text,{color:"white",element:"div",className:o.default.footer__bottom,children:n})]})})},q=d=>{const{heading:r,icon:l,elements:i}=d,n=t=>{const s={size:16,color:"inherit",background:void 0},u=typeof t=="string"?{...s,name:t,background:void 0}:{...s,...t,background:void 0};return e.jsx(j.Icon,{...u})};return e.jsxs(v.Row,{children:[l&&e.jsx(f.Col,{width:"auto",className:c.default("text-inverted",o.default["footer__category-icon"]),children:n(l)}),e.jsx(f.Col,{width:"auto",children:e.jsxs(m.VerticalSpacing,{className:c.default("text-small",o.default.footer__category),size:.5,children:[e.jsx(a.Text,{color:"white",modifiers:["bold","normal"],element:"h3",children:r}),e.jsx(m.VerticalSpacing,{element:"ul",size:.5,className:c.default(o.default["footer__category-list"]),children:i==null?void 0:i.map((t,s)=>e.jsx("li",{children:e.jsx(a.Text,{color:"white",element:"span",modifiers:"break-all",children:t})},s))})]})})]})};exports.Footer=h;exports.default=h;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { IconProps } from '../../icon/icon';
2
+ import { IconProps } from '../../../../tedi/components/base/icon/icon';
3
3
  export type FooterCategory = {
4
4
  /**
5
5
  * Category elements
@@ -1,34 +1,34 @@
1
- import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
- import a from "../../../../../external/classnames/index.es.js";
1
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
+ import n from "../../../../../external/classnames/index.es.js";
3
+ import { Icon as _ } from "../../../../tedi/components/base/icon/icon.es.js";
3
4
  import { Text as m } from "../../../../tedi/components/base/typography/text/text.es.js";
4
- import { Print as u } from "../../../../tedi/components/misc/print/print.es.js";
5
+ import { Print as b } from "../../../../tedi/components/misc/print/print.es.js";
5
6
  import { StretchContent as y } from "../../../../tedi/components/misc/stretch-content/stretch-content.es.js";
6
- import { Icon as N } from "../../icon/icon.es.js";
7
7
  import t from "./footer.module.scss.es.js";
8
- import { Row as b } from "../../../../tedi/components/layout/grid/row.es.js";
8
+ import { Row as N } from "../../../../tedi/components/layout/grid/row.es.js";
9
9
  import { Col as h } from "../../../../tedi/components/layout/grid/col.es.js";
10
10
  import { VerticalSpacing as p } from "../../../../tedi/components/layout/vertical-spacing/vertical-spacing.es.js";
11
11
  import { useLabels as v } from "../../../../tedi/providers/label-provider/use-labels.es.js";
12
12
  const B = (d) => {
13
- const { logo: r, categories: s, className: l, bottomElement: c, ...o } = d, { getLabel: i } = v(), f = a(t.footer, l);
14
- return /* @__PURE__ */ e(u, { visibility: "hide", children: /* @__PURE__ */ n("footer", { "data-name": "footer", ...o, className: f, children: [
15
- /* @__PURE__ */ e(m, { className: "visually-hidden", element: "h2", children: i("footer.title") }),
16
- /* @__PURE__ */ n("div", { className: t.footer__inner, children: [
17
- s.map((g, _) => /* @__PURE__ */ e(y, { direction: "vertical", children: /* @__PURE__ */ e(w, { ...g }) }, _)),
18
- r && /* @__PURE__ */ e("img", { className: t.footer__logo, src: r.src, alt: r.alt, style: r.style })
13
+ const { logo: r, categories: s, className: l, bottomElement: c, ...e } = d, { getLabel: i } = v(), f = n(t.footer, l);
14
+ return /* @__PURE__ */ o(b, { visibility: "hide", children: /* @__PURE__ */ a("footer", { "data-name": "footer", ...e, className: f, children: [
15
+ /* @__PURE__ */ o(m, { className: "visually-hidden", element: "h2", children: i("footer.title") }),
16
+ /* @__PURE__ */ a("div", { className: t.footer__inner, children: [
17
+ s.map((g, u) => /* @__PURE__ */ o(y, { direction: "vertical", children: /* @__PURE__ */ o(w, { ...g }) }, u)),
18
+ r && /* @__PURE__ */ o("img", { className: t.footer__logo, src: r.src, alt: r.alt, style: r.style })
19
19
  ] }),
20
- c && /* @__PURE__ */ e(m, { color: "white", element: "div", className: t.footer__bottom, children: c })
20
+ c && /* @__PURE__ */ o(m, { color: "white", element: "div", className: t.footer__bottom, children: c })
21
21
  ] }) });
22
22
  }, w = (d) => {
23
- const { heading: r, icon: s, elements: l } = d, c = (o) => {
24
- const i = { size: 16 }, f = typeof o == "string" ? { ...i, name: o } : { ...i, ...o };
25
- return /* @__PURE__ */ e(N, { ...f });
23
+ const { heading: r, icon: s, elements: l } = d, c = (e) => {
24
+ const i = { size: 16, color: "inherit", background: void 0 }, f = typeof e == "string" ? { ...i, name: e, background: void 0 } : { ...i, ...e, background: void 0 };
25
+ return /* @__PURE__ */ o(_, { ...f });
26
26
  };
27
- return /* @__PURE__ */ n(b, { children: [
28
- s && /* @__PURE__ */ e(h, { width: "auto", className: a("text-inverted", t["footer__category-icon"]), children: c(s) }),
29
- /* @__PURE__ */ e(h, { width: "auto", children: /* @__PURE__ */ n(p, { className: a("text-small", t.footer__category), size: 0.5, children: [
30
- /* @__PURE__ */ e(m, { color: "white", modifiers: ["bold", "normal"], element: "h3", children: r }),
31
- /* @__PURE__ */ e(p, { element: "ul", size: 0.5, className: a(t["footer__category-list"]), children: l == null ? void 0 : l.map((o, i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(m, { color: "white", element: "span", modifiers: "break-all", children: o }) }, i)) })
27
+ return /* @__PURE__ */ a(N, { children: [
28
+ s && /* @__PURE__ */ o(h, { width: "auto", className: n("text-inverted", t["footer__category-icon"]), children: c(s) }),
29
+ /* @__PURE__ */ o(h, { width: "auto", children: /* @__PURE__ */ a(p, { className: n("text-small", t.footer__category), size: 0.5, children: [
30
+ /* @__PURE__ */ o(m, { color: "white", modifiers: ["bold", "normal"], element: "h3", children: r }),
31
+ /* @__PURE__ */ o(p, { element: "ul", size: 0.5, className: n(t["footer__category-list"]), children: l == null ? void 0 : l.map((e, i) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(m, { color: "white", element: "span", modifiers: "break-all", children: e }) }, i)) })
32
32
  ] }) })
33
33
  ] });
34
34
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),s=require("../../../../../../tedi/components/misc/print/print.cjs.js"),a=require("../../../../icon/icon.cjs.js"),d=require("./header-notification.module.scss.cjs.js"),u=require("../../../../card/card.cjs.js"),l=require("../../../../card/card-content/card-content.cjs.js"),h=require("../../../../../../tedi/components/layout/grid/row.cjs.js"),r=require("../../../../../../tedi/components/layout/grid/col.cjs.js"),i=t=>{const{children:n,icon:o="info",background:c="primary-highlight"}=t;return e.jsx(s.Print,{visibility:"hide",children:e.jsx(u.Card,{borderless:!0,background:c,borderRadius:!1,className:d.default["header-notification"],children:e.jsx(l.CardContent,{children:e.jsxs(h.Row,{justifyContent:"between",alignItems:"center",gap:1,gutter:0,children:[e.jsx(r.Col,{width:"auto",children:e.jsx(a.Icon,{name:o})}),e.jsx(r.Col,{children:n})]})})})})};exports.HeaderNotification=i;exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),s=require("../../../../../../tedi/components/base/icon/icon.cjs.js"),a=require("../../../../../../tedi/components/misc/print/print.cjs.js"),d=require("./header-notification.module.scss.cjs.js"),u=require("../../../../card/card.cjs.js"),l=require("../../../../card/card-content/card-content.cjs.js"),h=require("../../../../../../tedi/components/layout/grid/row.cjs.js"),r=require("../../../../../../tedi/components/layout/grid/col.cjs.js"),i=t=>{const{children:n,icon:o="info",background:c="primary-highlight"}=t;return e.jsx(a.Print,{visibility:"hide",children:e.jsx(u.Card,{borderless:!0,background:c,borderRadius:!1,className:d.default["header-notification"],children:e.jsx(l.CardContent,{children:e.jsxs(h.Row,{justifyContent:"between",alignItems:"center",gap:1,gutter:0,children:[e.jsx(r.Col,{width:"auto",children:e.jsx(s.Icon,{name:o})}),e.jsx(r.Col,{children:n})]})})})})};exports.HeaderNotification=i;exports.default=i;
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
- import { Print as a } from "../../../../../../tedi/components/misc/print/print.es.js";
3
- import { Icon as d } from "../../../../icon/icon.es.js";
2
+ import { Icon as a } from "../../../../../../tedi/components/base/icon/icon.es.js";
3
+ import { Print as d } from "../../../../../../tedi/components/misc/print/print.es.js";
4
4
  import s from "./header-notification.module.scss.es.js";
5
5
  import { Card as c } from "../../../../card/card.es.js";
6
6
  import { CardContent as l } from "../../../../card/card-content/card-content.es.js";
@@ -8,8 +8,8 @@ import { Row as f } from "../../../../../../tedi/components/layout/grid/row.es.j
8
8
  import { Col as i } from "../../../../../../tedi/components/layout/grid/col.es.js";
9
9
  const w = (o) => {
10
10
  const { children: t, icon: e = "info", background: n = "primary-highlight" } = o;
11
- return /* @__PURE__ */ r(a, { visibility: "hide", children: /* @__PURE__ */ r(c, { borderless: !0, background: n, borderRadius: !1, className: s["header-notification"], children: /* @__PURE__ */ r(l, { children: /* @__PURE__ */ m(f, { justifyContent: "between", alignItems: "center", gap: 1, gutter: 0, children: [
12
- /* @__PURE__ */ r(i, { width: "auto", children: /* @__PURE__ */ r(d, { name: e }) }),
11
+ return /* @__PURE__ */ r(d, { visibility: "hide", children: /* @__PURE__ */ r(c, { borderless: !0, background: n, borderRadius: !1, className: s["header-notification"], children: /* @__PURE__ */ r(l, { children: /* @__PURE__ */ m(f, { justifyContent: "between", alignItems: "center", gap: 1, gutter: 0, children: [
12
+ /* @__PURE__ */ r(i, { width: "auto", children: /* @__PURE__ */ r(a, { name: e }) }),
13
13
  /* @__PURE__ */ r(i, { children: t })
14
14
  ] }) }) }) });
15
15
  };