@helsenorge/designsystem-react 5.2.0 → 5.4.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 (62) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/Close.js.map +1 -1
  3. package/Panel.js +1 -1
  4. package/Panel.js.map +1 -1
  5. package/components/Close/Close.d.ts +1 -1
  6. package/components/Close/Close.d.ts.map +1 -1
  7. package/components/Close/componentdata.json +1 -1
  8. package/components/Icons/AdditionalIconInformation.js +10 -0
  9. package/components/Icons/Braille.d.ts +5 -0
  10. package/components/Icons/Braille.d.ts.map +1 -0
  11. package/components/Icons/Braille.js +2 -0
  12. package/components/Icons/Braille.js.map +1 -0
  13. package/components/Icons/Ear.d.ts +5 -0
  14. package/components/Icons/Ear.d.ts.map +1 -0
  15. package/components/Icons/Ear.js +2 -0
  16. package/components/Icons/Ear.js.map +1 -0
  17. package/components/Icons/EarDeaf.d.ts +5 -0
  18. package/components/Icons/EarDeaf.d.ts.map +1 -0
  19. package/components/Icons/EarDeaf.js +2 -0
  20. package/components/Icons/EarDeaf.js.map +1 -0
  21. package/components/Icons/EarHearingAid.d.ts +5 -0
  22. package/components/Icons/EarHearingAid.d.ts.map +1 -0
  23. package/components/Icons/EarHearingAid.js +2 -0
  24. package/components/Icons/EarHearingAid.js.map +1 -0
  25. package/components/Icons/EarVolume.d.ts +5 -0
  26. package/components/Icons/EarVolume.d.ts.map +1 -0
  27. package/components/Icons/EarVolume.js +2 -0
  28. package/components/Icons/EarVolume.js.map +1 -0
  29. package/components/Icons/EmergencyCall.d.ts +5 -0
  30. package/components/Icons/EmergencyCall.d.ts.map +1 -0
  31. package/components/Icons/EmergencyCall.js +2 -0
  32. package/components/Icons/EmergencyCall.js.map +1 -0
  33. package/components/Icons/Glasses.d.ts +5 -0
  34. package/components/Icons/Glasses.d.ts.map +1 -0
  35. package/components/Icons/Glasses.js +2 -0
  36. package/components/Icons/Glasses.js.map +1 -0
  37. package/components/Icons/HTMLFile.d.ts +5 -0
  38. package/components/Icons/HTMLFile.d.ts.map +1 -0
  39. package/components/Icons/HTMLFile.js +2 -0
  40. package/components/Icons/HTMLFile.js.map +1 -0
  41. package/components/Icons/HearingProtection.d.ts +5 -0
  42. package/components/Icons/HearingProtection.d.ts.map +1 -0
  43. package/components/Icons/HearingProtection.js +2 -0
  44. package/components/Icons/HearingProtection.js.map +1 -0
  45. package/components/Icons/ScreenReader.d.ts +5 -0
  46. package/components/Icons/ScreenReader.d.ts.map +1 -0
  47. package/components/Icons/ScreenReader.js +2 -0
  48. package/components/Icons/ScreenReader.js.map +1 -0
  49. package/components/Icons/Sun.d.ts +5 -0
  50. package/components/Icons/Sun.d.ts.map +1 -0
  51. package/components/Icons/Sun.js +2 -0
  52. package/components/Icons/Sun.js.map +1 -0
  53. package/components/Label/componentdata.json +1 -1
  54. package/components/Panel/Panel.d.ts +42 -40
  55. package/components/Panel/Panel.d.ts.map +1 -1
  56. package/components/Panel/componentdata.json +1 -1
  57. package/components/Panel/styles.module.scss +137 -191
  58. package/components/Panel/styles.module.scss.d.ts +24 -31
  59. package/components/PopMenu/PopMenu.d.ts.map +1 -1
  60. package/components/PopMenu/index.js +1 -1
  61. package/components/PopMenu/index.js.map +1 -1
  62. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,4 +1,19 @@
1
- ## 5.2.0-beta.0 (2023-11-02)
1
+ ## [5.3.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv5.2.0&targetVersion=GTv5.3.0) (2023-11-17)
2
+
3
+ ### Features
4
+
5
+ - panel refaktorering og contentHeader prop
6
+ ([42b0a03](https://github.com/helsenorge/designsystem/commit/42b0a03fa1f7d28ca966f3105dcaded49bcd886d)), closes
7
+ [#304524](https://github.com/helsenorge/designsystem/issues/304524) [#304573](https://github.com/helsenorge/designsystem/issues/304573)
8
+ [#304575](https://github.com/helsenorge/designsystem/issues/304575) [#304590](https://github.com/helsenorge/designsystem/issues/304590)
9
+
10
+ ### Bug Fixes
11
+
12
+ - popmenu knapp stopper event propagation
13
+ ([baa56a1](https://github.com/helsenorge/designsystem/commit/baa56a1780c027db01989ff0cd9b14fce6faab99)), closes
14
+ [#313765](https://github.com/helsenorge/designsystem/issues/313765)
15
+
16
+ ## [5.2.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv5.1.4&targetVersion=GTv5.2.0) (2023-11-02)
2
17
 
3
18
  ### Bug Fixes
4
19
 
package/Close.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Close.js","sources":["../src/components/Close/Close.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\nimport { Breakpoint, useBreakpoint } from '../../hooks/useBreakpoint';\nimport { useHover } from '../../hooks/useHover';\nimport { palette } from '../../theme/palette';\nimport { mergeRefs } from '../../utils/refs';\nimport Icon from '../Icons';\nimport X from '../Icons/X';\n\nimport styles from './styles.module.scss';\n\nexport interface CloseProps {\n /** Keeps the icon small for all screen sizes */\n small?: boolean;\n /** Function is called when user clicks the button */\n onClick?: () => void;\n /** Sets the aria-label of the button */\n ariaLabel?: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Gives color to the svg */\n color?: string;\n}\n\nconst Close = React.forwardRef(function ButtonForwardedRef(props: CloseProps, ref: React.ForwardedRef<HTMLButtonElement>) {\n const { small, testId, ariaLabel = 'Lukk', onClick, className, color = palette.blueberry600 } = props;\n const breakpoint = useBreakpoint();\n const { hoverRef, isHovered } = useHover();\n\n const iconSize = breakpoint === Breakpoint.xs || small ? 38 : 48;\n\n const closeClasses = classNames(styles.close, { [styles['close--small']]: small }, className);\n\n return (\n <button\n ref={mergeRefs([ref, hoverRef])}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Close}\n className={closeClasses}\n aria-label={ariaLabel}\n onClick={onClick}\n type=\"button\"\n >\n <Icon svgIcon={X} color={color} size={iconSize} isHovered={isHovered} />\n </button>\n );\n});\n\nexport default Close;\n"],"names":["Close","React","props","ref","small","testId","ariaLabel","onClick","className","color","palette","breakpoint","useBreakpoint","hoverRef","isHovered","useHover","iconSize","Breakpoint","closeClasses","classNames","styles","mergeRefs","AnalyticsId","Icon","X","Close$1"],"mappings":"2bA6BA,MAAMA,EAAQC,EAAM,WAAW,SAA4BC,EAAmBC,EAA4C,CAClH,KAAA,CAAE,MAAAC,EAAO,OAAAC,EAAQ,UAAAC,EAAY,OAAQ,QAAAC,EAAS,UAAAC,EAAW,MAAAC,EAAQC,EAAQ,YAAA,EAAiBR,EAC1FS,EAAaC,IACb,CAAE,SAAAC,EAAU,UAAAC,CAAU,EAAIC,EAAS,EAEnCC,EAAWL,IAAeM,EAAW,IAAMb,EAAQ,GAAK,GAExDc,EAAeC,EAAWC,EAAO,MAAO,CAAE,CAACA,EAAO,cAAc,CAAC,EAAGhB,CAAM,EAAGI,CAAS,EAG1F,OAAAP,EAAA,cAAC,SAAA,CACC,IAAKoB,EAAU,CAAClB,EAAKU,CAAQ,CAAC,EAC9B,cAAaR,EACb,mBAAkBiB,EAAY,MAC9B,UAAWJ,EACX,aAAYZ,EACZ,QAAAC,EACA,KAAK,QAAA,kBAEJgB,EAAK,CAAA,QAASC,EAAG,MAAAf,EAAc,KAAMO,EAAU,UAAAF,EAAsB,CAAA,CAG5E,CAAC,EAEDW,EAAezB"}
1
+ {"version":3,"file":"Close.js","sources":["../src/components/Close/Close.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\nimport { Breakpoint, useBreakpoint } from '../../hooks/useBreakpoint';\nimport { useHover } from '../../hooks/useHover';\nimport { palette } from '../../theme/palette';\nimport { mergeRefs } from '../../utils/refs';\nimport Icon from '../Icons';\nimport X from '../Icons/X';\n\nimport styles from './styles.module.scss';\n\nexport interface CloseProps {\n /** Keeps the icon small for all screen sizes */\n small?: boolean;\n /** Function is called when user clicks the button */\n onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;\n /** Sets the aria-label of the button */\n ariaLabel?: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Adds custom classes to the element. */\n className?: string;\n /** Gives color to the svg */\n color?: string;\n}\n\nconst Close = React.forwardRef(function ButtonForwardedRef(props: CloseProps, ref: React.ForwardedRef<HTMLButtonElement>) {\n const { small, testId, ariaLabel = 'Lukk', onClick, className, color = palette.blueberry600 } = props;\n const breakpoint = useBreakpoint();\n const { hoverRef, isHovered } = useHover();\n\n const iconSize = breakpoint === Breakpoint.xs || small ? 38 : 48;\n\n const closeClasses = classNames(styles.close, { [styles['close--small']]: small }, className);\n\n return (\n <button\n ref={mergeRefs([ref, hoverRef])}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Close}\n className={closeClasses}\n aria-label={ariaLabel}\n onClick={onClick}\n type=\"button\"\n >\n <Icon svgIcon={X} color={color} size={iconSize} isHovered={isHovered} />\n </button>\n );\n});\n\nexport default Close;\n"],"names":["Close","React","props","ref","small","testId","ariaLabel","onClick","className","color","palette","breakpoint","useBreakpoint","hoverRef","isHovered","useHover","iconSize","Breakpoint","closeClasses","classNames","styles","mergeRefs","AnalyticsId","Icon","X","Close$1"],"mappings":"2bA6BA,MAAMA,EAAQC,EAAM,WAAW,SAA4BC,EAAmBC,EAA4C,CAClH,KAAA,CAAE,MAAAC,EAAO,OAAAC,EAAQ,UAAAC,EAAY,OAAQ,QAAAC,EAAS,UAAAC,EAAW,MAAAC,EAAQC,EAAQ,YAAA,EAAiBR,EAC1FS,EAAaC,IACb,CAAE,SAAAC,EAAU,UAAAC,CAAU,EAAIC,EAAS,EAEnCC,EAAWL,IAAeM,EAAW,IAAMb,EAAQ,GAAK,GAExDc,EAAeC,EAAWC,EAAO,MAAO,CAAE,CAACA,EAAO,cAAc,CAAC,EAAGhB,CAAM,EAAGI,CAAS,EAG1F,OAAAP,EAAA,cAAC,SAAA,CACC,IAAKoB,EAAU,CAAClB,EAAKU,CAAQ,CAAC,EAC9B,cAAaR,EACb,mBAAkBiB,EAAY,MAC9B,UAAWJ,EACX,aAAYZ,EACZ,QAAAC,EACA,KAAK,QAAA,kBAEJgB,EAAK,CAAA,QAASC,EAAG,MAAAf,EAAc,KAAMO,EAAU,UAAAF,EAAsB,CAAA,CAG5E,CAAC,EAEDW,EAAezB"}
package/Panel.js CHANGED
@@ -1,2 +1,2 @@
1
- import t from"react";import o from"classnames";import{AnalyticsId as re,IconSize as w}from"./constants.js";import{useExpand as se}from"./hooks/useExpand.js";import{useUuid as $}from"./hooks/useUuid.js";import{palette as z}from"./theme/palette.js";import{getAriaLabelAttributes as ie}from"./utils/accessibility.js";import{B as ce}from"./Badge.js";import{B as j}from"./Button.js";import{Icon as _}from"./components/Icons/Icon.js";import pe from"./components/Icons/AlertSignFill.js";import me from"./components/Icons/ArrowRight.js";import de from"./components/Icons/Calendar.js";import ue from"./components/Icons/ChevronDown.js";import _e from"./components/Icons/ChevronUp.js";import ye from"./components/Icons/Pencil.js";import fe from"./components/Icons/Watch.js";import{T as be}from"./Title.js";import e from"./components/Panel/styles.module.scss";var Ee=(a=>(a.normal="normal",a.new="new",a.error="error",a.draft="draft",a))(Ee||{}),ge=(a=>(a.fill="fill",a.white="white",a.stroke="stroke",a.line="line",a))(ge||{}),ve=(a=>(a.layout1="layout1",a.layout2="layout2",a.layout3a="layout3a",a.layout3b="layout3b",a.layout3c="layout3c",a))(ve||{});const he=({status:a,statusMessage:r})=>{const E=()=>a==="error"?{color:z.cherry500,svgIcon:pe}:{color:z.black,svgIcon:ye},s=o(e["status-message"],{[e["status-message--new"]]:a==="new"});return(a==="error"||a==="draft")&&r?t.createElement("div",{className:s,"data-testid":"display-status"},t.createElement(_,{...E(),size:w.XSmall})," ",t.createElement("span",null,r)):null},Ce=({date:a,time:r})=>a||r?t.createElement("div",{className:e["datetime-container"],"data-testid":"datetime"},a&&t.createElement("div",{className:e["datetime-container__icon"]},t.createElement(_,{svgIcon:de,size:w.XSmall}),t.createElement("span",null,a)),r&&t.createElement("div",{className:e["datetime-container__icon"]},t.createElement(_,{svgIcon:fe,size:w.XSmall}),t.createElement("span",null,r))):null,Ie=t.forwardRef(function(r,E){const{children:s,contentA:N,contentB:l,prioritiseMetaDataInContentB:d,className:W,testId:X,title:g,titleHtmlMarkup:F="h2",url:y,target:H="_self",icon:i,iconRight:B=!1,variant:c="fill",status:p="normal",statusMessage:v,buttonText:x="Se detaljer",buttonTextClose:U="Skjul detaljer",buttonAriaLabelledById:k,buttonAriaLabel:L,layout:n="layout2",containerAsButton:h=!1,date:A,time:M,noTopBorder:O,buttonOnClick:u,buttonHtmlMarkup:q="a",expanded:G=!1,onExpand:D,renderChildrenWhenClosed:J=!1,focusable:K=!1}=r,[m,Q]=se(G,D),C=$(),f=$(),S=v&&p==="new",b=["layout3a".toString(),"layout3b".toString(),"layout3c".toString()].includes(n),Y=o(e["panel-wrapper"],W),Z=o(e.panel,{[e["panel--fill"]]:c==="fill",[e["panel--stroke"]]:c==="stroke",[e["panel--white"]]:c==="white",[e["panel--line"]]:c==="line",[e["panel--no-top-border"]]:c==="line"&&O,[e["panel--selected"]]:m,[e["panel--new"]]:p==="new",[e["panel--draft"]]:p==="draft",[e["panel--error"]]:p==="error",[e["panel--status"]]:p&&p!=="normal",[e["panel--with-icon"]]:i,[e["panel--button"]]:h,[e["panel--clickable"]]:s||y||D||u||h}),P=o({[e.panel__container]:n==="layout2"&&l,[e["panel__container--layout1"]]:n==="layout1"&&l,[e["panel__container--layout2"]]:n==="layout2"&&l,[e["panel__container--layout3"]]:b&&l,[e["panel__container--grow"]]:i,[e["panel__container--prioritiseMetaDataInContentB"]]:d}),V=o({[e["panel-content-a"]]:n==="layout2",[e["panel-content-a--layout3a"]]:n==="layout3a",[e["panel-content-a--layout3b"]]:n==="layout3b",[e["panel-content-a--layout3c"]]:n==="layout3c",[e["panel-content-a--non-prioritiseMetaDataInContentB"]]:!d}),ee=o({[e["panel__content-right--layout1"]]:l&&n==="layout1",[e["panel__content-right--layout2"]]:l&&n==="layout2",[e["panel__content-right--layout3"]]:l&&b,[e["panel__content-right--layout3a"]]:l&&n==="layout3a",[e["panel__content-right--layout3b"]]:l&&n==="layout3b",[e["panel__content-right--layout3c"]]:l&&n==="layout3c",[e["panel__content-right--prioritiseMetaDataInContentB"]]:d}),te=o(e["panel-content-b"],{[e["panel-content-b--layout1"]]:n==="layout1",[e["panel-content-b--layout2"]]:n==="layout2",[e["panel-content-b--layout3"]]:b,[e["panel-content-b--prioritiseMetaDataInContentB"]]:d}),ae=o(e["panel-content-a__title"],{[e["panel-content-a__title--badge"]]:S}),ne=()=>{const I=ie({label:L,id:k&&`${f} ${k}`||g&&C&&`${f} ${C}`,prefer:"label"}),R={onClick:u||(()=>Q(!m)),className:h?e.panel__expand:void 0,variant:"borderless",ellipsis:!0,...I};return s?t.createElement(j,{testId:"expand","aria-expanded":m,...R},t.createElement("span",{id:f},m?U:x),t.createElement(_,{svgIcon:m?_e:ue})):t.createElement(j,{testId:"url",htmlMarkup:q,href:y,target:H,...R},t.createElement("span",{id:f},x),t.createElement(_,{svgIcon:me}))},le=o(e["panel__btn-container"],{[e["panel__btn-container--layout3"]]:b,[e["panel__btn-container--no-content-b"]]:!l,[e["panel__btn-container--padding-top"]]:N||l}),oe=()=>{if(!s||!J&&!m)return null;const I=o(e["panel-details"],{[e["panel-details--open"]]:m,[e["panel-details--line"]]:c==="line",[e["panel-details--white"]]:c==="white",[e["panel-details--with-icon"]]:i});return t.createElement("div",{className:I,"data-testid":"panel-details"},t.createElement("div",null,s))},T=t.createElement("div",{className:ee},l&&t.createElement("div",{className:te},l),(s||y||A||M||u)&&t.createElement("div",{className:le},t.createElement(Ce,{date:A,time:M}),(s||y||u)&&t.createElement("div",{className:e["panel__details-btn"]},ne())));return t.createElement("div",{tabIndex:K?-1:void 0,ref:E,"data-testid":X,className:Y,"data-analyticsid":re.Panel},t.createElement("div",{className:Z},i&&!B&&t.createElement("div",{className:e.panel__icon},i),t.createElement("div",{className:P},d&&T,t.createElement("div",{className:V},t.createElement(he,{status:p,statusMessage:v}),g&&t.createElement("div",{className:e["panel-content-a__title-container"]},t.createElement(be,{appearance:"title3",htmlMarkup:F,id:C,className:ae},g),S&&t.createElement("div",{className:e.panel__badge},t.createElement(ce,{color:"blueberry",testId:"badge-status"},v))),N),!d&&T),i&&B&&t.createElement("div",{className:e["panel__icon--right"]},i)),oe())}),Le=Ie;export{Le as P,Ee as a,ge as b,ve as c};
1
+ import t from"react";import r from"classnames";import{AnalyticsId as oe,IconSize as B}from"./constants.js";import{useExpand as se}from"./hooks/useExpand.js";import{useUuid as H}from"./hooks/useUuid.js";import{palette as W}from"./theme/palette.js";import{getAriaLabelAttributes as ce}from"./utils/accessibility.js";import{B as ie}from"./Badge.js";import{B as X}from"./Button.js";import{Icon as C}from"./components/Icons/Icon.js";import me from"./components/Icons/AlertSignFill.js";import ue from"./components/Icons/ArrowRight.js";import pe from"./components/Icons/Calendar.js";import de from"./components/Icons/ChevronDown.js";import _e from"./components/Icons/ChevronUp.js";import Ee from"./components/Icons/Pencil.js";import fe from"./components/Icons/Watch.js";import{T as ye}from"./Title.js";import e from"./components/Panel/styles.module.scss";var ve=(a=>(a.normal="normal",a.new="new",a.error="error",a.draft="draft",a))(ve||{}),be=(a=>(a.fill="fill",a.white="white",a.stroke="stroke",a.line="line",a))(be||{}),Ce=(a=>(a.layout1="layout1",a.layout2="layout2",a.layout3a="layout3a",a.layout3b="layout3b",a.layout3c="layout3c",a))(Ce||{});const S=({status:a,statusMessage:n})=>{const m=()=>a==="error"?{color:W.cherry500,svgIcon:me}:{color:W.black,svgIcon:Ee},s=r(e["status-message"],{[e["status-message--new"]]:a==="new"});return(a==="error"||a==="draft")&&n?t.createElement("div",{className:s,"data-testid":"display-status"},t.createElement(C,{...m(),size:B.XSmall})," ",t.createElement("span",null,n)):null},L=({children:a})=>typeof a>"u"?null:t.createElement("div",{className:e["header-container"]},a),Ne=({date:a,time:n})=>a||n?t.createElement("div",{className:e["datetime-container"],"data-testid":"datetime"},a&&t.createElement("div",{className:e["datetime-container__icon"]},t.createElement(C,{svgIcon:pe,size:B.XSmall}),t.createElement("span",null,a)),n&&t.createElement("div",{className:e["datetime-container__icon"]},t.createElement(C,{svgIcon:fe,size:B.XSmall}),t.createElement("span",null,n))):null,he=({contentA:a,contentB:n,contentHeader:m,ctaContainer:s,icon:l,status:c,statusMessage:p,titleElement:d})=>{const i=r(e["panel__layout-1"],{[e["panel__layout-1--with-icon"]]:l}),o=r(e.panel__icon,e["panel__icon--layout-1"],{[e["panel__icon--no-content"]]:!a&&!n});return t.createElement("div",{className:i},t.createElement(S,{status:c,statusMessage:p}),t.createElement(L,null,m),l&&t.createElement("div",{className:o},l),t.createElement("div",{className:e["panel__layout-1__content-a"]},d,a),n&&t.createElement("div",null,n),s)},we=({contentA:a,contentB:n,contentHeader:m,ctaContainer:s,icon:l,status:c,statusMessage:p,titleElement:d})=>{const i=r(e["panel__layout-2"],{[e["panel__layout-2--with-icon"]]:l}),o=r(e.panel__icon,e["panel__icon--layout-2"],{[e["panel__icon--no-content"]]:!a&&!n}),y=e["panel__layout-2__last-column"];return t.createElement("div",{className:i},t.createElement(S,{status:c,statusMessage:p}),t.createElement(L,null,m),l&&t.createElement("div",{className:o},l),t.createElement("div",{className:e["panel__layout-2__content-a"]},d,a),n&&t.createElement("div",{className:y},n),s&&t.createElement("div",{className:y},s))},Ie=({contentA:a,contentB:n,contentHeader:m,ctaContainer:s,icon:l,layout:c,status:p,statusMessage:d,titleElement:i})=>{const o=r(e["panel__layout-3"],{[e["panel__layout-3--with-icon"]]:l,[e["panel__layout-3--a"]]:c==="layout3a",[e["panel__layout-3--b"]]:c==="layout3b",[e["panel__layout-3--c"]]:c==="layout3c"}),y=r(e.panel__icon,e["panel__icon--layout-3"],{[e["panel__icon--no-content"]]:!a&&!n});return t.createElement("div",{className:o},t.createElement(S,{status:p,statusMessage:d}),t.createElement(L,null,m),l&&t.createElement("div",{className:y},l),t.createElement("div",null,i,a),t.createElement("div",{className:e["panel__layout-3__last-column"]},n&&t.createElement("div",{className:e["panel__layout-3__last-column__content-b"]},n),s))},ge=t.forwardRef(function(n,m){const{buttonAriaLabel:s,buttonAriaLabelledById:l,buttonText:c="Se detaljer",buttonTextClose:p="Skjul detaljer",buttonHtmlMarkup:d="a",buttonOnClick:i,children:o,className:y,containerAsButton:w=!1,contentA:M,contentB:$,contentHeader:F,date:z,expanded:P=!1,focusable:U=!1,icon:I,layout:v="layout2",noTopBorder:O,onExpand:D,renderChildrenWhenClosed:q=!1,status:_="normal",statusMessage:g,target:G="_self",testId:J,time:R,title:x,titleHtmlMarkup:K="h2",url:k,variant:E="fill"}=n,[f,Q]=se(P,D),T=H(),N=H(),j=g&&_==="new",h=typeof $>"u",Y=v==="layout1"||h,Z=!h&&v==="layout2",V=!h&&(v==="layout3a"||v==="layout3b"||v==="layout3c"),ee=r(e["panel-wrapper"],y),te=r(e.panel,{[e["panel--fill"]]:E==="fill",[e["panel--stroke"]]:E==="stroke",[e["panel--white"]]:E==="white",[e["panel--line"]]:E==="line",[e["panel--no-top-border"]]:E==="line"&&O,[e["panel--selected"]]:f,[e["panel--new"]]:_==="new",[e["panel--draft"]]:_==="draft",[e["panel--error"]]:_==="error",[e["panel--status"]]:_&&_!=="normal",[e["panel--with-icon"]]:I,[e["panel--button"]]:w,[e["panel--clickable"]]:o||k||D||i||w}),ae=()=>{const u=o||k||i,b=r(e["panel__btn-container"],{[e["panel__btn-container--no-content-b"]]:h,[e["panel__btn-container--no-button"]]:!u});return(u||z||R)&&t.createElement("div",{className:b},t.createElement(Ne,{date:z,time:R}),u&&t.createElement("div",{className:e["panel__details-btn"]},ne()))},ne=()=>{const u=ce({label:s,id:l&&`${N} ${l}`||x&&T&&`${N} ${T}`,prefer:"label"}),b={onClick:i||(()=>Q(!f)),className:w?e.panel__expand:void 0,variant:"borderless",ellipsis:!0,...u};return o?t.createElement(X,{testId:"expand","aria-expanded":f,...b},t.createElement("span",{id:N},f?p:c),t.createElement(C,{svgIcon:f?_e:de})):t.createElement(X,{testId:"url",htmlMarkup:d,href:k,target:G,...b},t.createElement("span",{id:N},c),t.createElement(C,{svgIcon:ue}))},le=()=>{if(!o||!q&&!f)return null;const u=r(e["panel-details"],{[e["panel-details--open"]]:f,[e["panel-details--line"]]:E==="line",[e["panel-details--white"]]:E==="white",[e["panel-details--with-icon"]]:I});return t.createElement("div",{className:u,"data-testid":"panel-details"},t.createElement("div",null,o))},re=()=>{const u=r(e["title-container"],{[e["title-container--no-content-a"]]:!M}),b=r(e["title-container__title"],{[e["title-container__title--badge"]]:j});return x&&t.createElement("div",{className:u},t.createElement(ye,{appearance:"title3",htmlMarkup:K,id:T,className:b},x),j&&t.createElement("div",{className:e.panel__badge},t.createElement(ie,{color:"blueberry",testId:"badge-status"},g)))},A={contentA:M,contentB:$,contentHeader:F,ctaContainer:ae(),icon:I,status:_,statusMessage:g,titleElement:re()};return t.createElement("div",{tabIndex:U?-1:void 0,ref:m,"data-testid":J,className:ee,"data-analyticsid":oe.Panel},t.createElement("div",{className:te},Y&&t.createElement(he,{...A}),Z&&t.createElement(we,{...A}),V&&t.createElement(Ie,{...A,layout:v})),le())}),Oe=ge;export{Oe as P,ve as a,be as b,Ce as c};
2
2
  //# sourceMappingURL=Panel.js.map
package/Panel.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.js","sources":["../src/components/Panel/Panel.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnchorTarget, AnalyticsId } from '../../constants';\nimport { useExpand } from '../../hooks/useExpand';\nimport { useUuid } from '../../hooks/useUuid';\nimport { palette } from '../../theme/palette';\nimport { AriaLabelAttributes, getAriaLabelAttributes } from '../../utils/accessibility';\nimport Badge from '../Badge';\nimport Button, { ButtonProps, ButtonTags } from '../Button';\nimport Icon, { IconSize, SvgPathProps } from '../Icons';\nimport AlertSignFill from '../Icons/AlertSignFill';\nimport ArrowRight from '../Icons/ArrowRight';\nimport Calendar from '../Icons/Calendar';\nimport ChevronDown from '../Icons/ChevronDown';\nimport ChevronUp from '../Icons/ChevronUp';\nimport Pencil from '../Icons/Pencil';\nimport Watch from '../Icons/Watch';\nimport Title, { TitleTags } from '../Title';\n\nimport panelStyles from './styles.module.scss';\n\nexport enum PanelStatus {\n normal = 'normal',\n new = 'new',\n error = 'error',\n draft = 'draft',\n}\n\nexport enum PanelVariant {\n fill = 'fill',\n white = 'white',\n stroke = 'stroke',\n line = 'line',\n}\n\nexport enum PanelLayout {\n layout1 = 'layout1',\n layout2 = 'layout2',\n layout3a = 'layout3a',\n layout3b = 'layout3b',\n layout3c = 'layout3c',\n}\n\nexport interface PanelProps {\n children?: React.ReactNode;\n /** Title of the panel */\n title?: string;\n /** Changes the underlying element of the title. Default: h2 */\n titleHtmlMarkup?: TitleTags;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Displays a status on the left side: defualt normal */\n status?: keyof typeof PanelStatus;\n /** Displayed on top of the panel with a status icon */\n statusMessage?: string;\n /** Changes the visual representation of the panel. */\n variant?: keyof typeof PanelVariant;\n /** Url to details, renders as a button with anchor tag */\n url?: string;\n /** target used in the button: default is _self */\n target?: AnchorTarget;\n /** Icon displayed in title */\n icon?: React.ReactNode;\n /** Display icon on right */\n iconRight?: boolean;\n /** Panel section A content */\n contentA?: React.ReactNode | string;\n /** Panel section B content*/\n contentB?: React.ReactNode | string;\n /** A version of panel that prioritises content-B visually and audibly */\n prioritiseMetaDataInContentB?: boolean;\n /** Panel button text */\n buttonText?: string;\n /** Panel button close text */\n buttonTextClose?: string;\n /** HTML markup for panel button. Default: a */\n buttonHtmlMarkup?: ButtonTags;\n /** Callback when panel button is clicked */\n buttonOnClick?: ButtonProps['onClick'];\n /** Panel button is aria-labelledby the text in the button itself + the element set in buttonAriaLabelledById. Default: auto-generated id for title (if title is set). */\n buttonAriaLabelledById?: string;\n /** Panel button aria label */\n buttonAriaLabel?: string;\n /** Show close button in bottom of Panel Expand */\n /** @deprecated Has no effect anymore due to accessbility reasons. No close button is shown in expanded content. Will be removed in 2.0.0 */\n showCloseButtonInExpand?: boolean;\n /** Layout (see description) */\n layout?: keyof typeof PanelLayout;\n /** Clicking anywhere on the container will trigger a click on the panel's button */\n containerAsButton?: boolean;\n /** Displays time with icon */\n time?: string;\n /** Displays date with icon */\n date?: string;\n /** Removes top border when variant is \"line\" */\n noTopBorder?: boolean;\n /** Opens or closes the panel */\n expanded?: boolean;\n /** Called when panel is open/closed. */\n onExpand?: (isExpanded: boolean) => void;\n /** Whether to render children when closed (in which case they are hidden with CSS). Default: false */\n renderChildrenWhenClosed?: boolean;\n /** Whether panel is focusable or not */\n focusable?: boolean;\n}\n\nconst StatusText: React.FC<{ status?: keyof typeof PanelStatus; statusMessage?: string }> = ({ status, statusMessage }) => {\n const statusIcon = (): { color: string; svgIcon: React.FC<SvgPathProps> } => {\n if (status === PanelStatus.error) {\n return { color: palette.cherry500, svgIcon: AlertSignFill };\n }\n\n return { color: palette.black, svgIcon: Pencil };\n };\n\n const statusMessageClass = classNames(panelStyles['status-message'], {\n [panelStyles['status-message--new']]: status === PanelStatus.new,\n });\n\n if ((status === PanelStatus.error || status === PanelStatus.draft) && statusMessage) {\n return (\n <div className={statusMessageClass} data-testid=\"display-status\">\n {<Icon {...statusIcon()} size={IconSize.XSmall} />} <span>{statusMessage}</span>\n </div>\n );\n }\n\n return null;\n};\n\nconst DateTime: React.FC<{ date?: string; time?: string }> = ({ date, time }) => {\n if (date || time) {\n return (\n <div className={panelStyles['datetime-container']} data-testid=\"datetime\">\n {date && (\n <div className={panelStyles['datetime-container__icon']}>\n <Icon svgIcon={Calendar} size={IconSize.XSmall} />\n <span>{date}</span>\n </div>\n )}\n {time && (\n <div className={panelStyles['datetime-container__icon']}>\n <Icon svgIcon={Watch} size={IconSize.XSmall} />\n <span>{time}</span>\n </div>\n )}\n </div>\n );\n }\n\n return null;\n};\n\nconst Panel = React.forwardRef(function PanelForwardedRef(props: PanelProps, ref: React.ForwardedRef<HTMLHeadingElement>) {\n const {\n children,\n contentA,\n contentB,\n prioritiseMetaDataInContentB,\n className,\n testId,\n title,\n titleHtmlMarkup = 'h2',\n url,\n target = '_self',\n icon,\n iconRight = false,\n variant = PanelVariant.fill,\n status = PanelStatus.normal,\n statusMessage,\n buttonText = 'Se detaljer',\n buttonTextClose = 'Skjul detaljer',\n buttonAriaLabelledById,\n buttonAriaLabel,\n layout = PanelLayout.layout2,\n containerAsButton = false,\n date,\n time,\n noTopBorder,\n buttonOnClick,\n buttonHtmlMarkup = 'a',\n expanded = false,\n onExpand,\n renderChildrenWhenClosed = false,\n focusable = false,\n } = props;\n\n const [isExpanded, setIsExpanded] = useExpand(expanded, onExpand);\n const titleId = useUuid();\n const buttonTextId = useUuid();\n const hasBadge = statusMessage && status === PanelStatus.new;\n const layout3 = [PanelLayout.layout3a.toString(), PanelLayout.layout3b.toString(), PanelLayout.layout3c.toString()].includes(layout);\n\n const panelWrapperClasses = classNames(panelStyles['panel-wrapper'], className);\n\n const panelClasses = classNames(panelStyles.panel, {\n [panelStyles['panel--fill']]: variant === PanelVariant.fill,\n [panelStyles['panel--stroke']]: variant === PanelVariant.stroke,\n [panelStyles['panel--white']]: variant === PanelVariant.white,\n [panelStyles['panel--line']]: variant === PanelVariant.line,\n [panelStyles['panel--no-top-border']]: variant === PanelVariant.line && noTopBorder,\n [panelStyles['panel--selected']]: isExpanded,\n [panelStyles['panel--new']]: status === PanelStatus.new,\n [panelStyles['panel--draft']]: status === PanelStatus.draft,\n [panelStyles['panel--error']]: status === PanelStatus.error,\n [panelStyles['panel--status']]: status && status !== PanelStatus.normal,\n [panelStyles['panel--with-icon']]: icon,\n [panelStyles['panel--button']]: containerAsButton,\n [panelStyles['panel--clickable']]: children || url || onExpand || buttonOnClick || containerAsButton,\n });\n\n const panelContainerClasses = classNames({\n [panelStyles['panel__container']]: layout === PanelLayout.layout2 && contentB,\n [panelStyles['panel__container--layout1']]: layout === PanelLayout.layout1 && contentB,\n [panelStyles['panel__container--layout2']]: layout === PanelLayout.layout2 && contentB,\n [panelStyles['panel__container--layout3']]: layout3 && contentB,\n [panelStyles['panel__container--grow']]: icon,\n [panelStyles['panel__container--prioritiseMetaDataInContentB']]: prioritiseMetaDataInContentB,\n });\n\n const panelContentLeftClasses = classNames({\n [panelStyles['panel-content-a']]: layout === PanelLayout.layout2,\n [panelStyles['panel-content-a--layout3a']]: layout === PanelLayout.layout3a,\n [panelStyles['panel-content-a--layout3b']]: layout === PanelLayout.layout3b,\n [panelStyles['panel-content-a--layout3c']]: layout === PanelLayout.layout3c,\n [panelStyles['panel-content-a--non-prioritiseMetaDataInContentB']]: !prioritiseMetaDataInContentB,\n });\n\n const panelContentRightClasses = classNames({\n [panelStyles['panel__content-right--layout1']]: contentB && layout === PanelLayout.layout1,\n [panelStyles['panel__content-right--layout2']]: contentB && layout === PanelLayout.layout2,\n [panelStyles['panel__content-right--layout3']]: contentB && layout3,\n [panelStyles['panel__content-right--layout3a']]: contentB && layout === PanelLayout.layout3a,\n [panelStyles['panel__content-right--layout3b']]: contentB && layout === PanelLayout.layout3b,\n [panelStyles['panel__content-right--layout3c']]: contentB && layout === PanelLayout.layout3c,\n [panelStyles['panel__content-right--prioritiseMetaDataInContentB']]: prioritiseMetaDataInContentB,\n });\n\n const panelContentBClasses = classNames(panelStyles['panel-content-b'], {\n [panelStyles['panel-content-b--layout1']]: layout === PanelLayout.layout1,\n [panelStyles['panel-content-b--layout2']]: layout === PanelLayout.layout2,\n [panelStyles['panel-content-b--layout3']]: layout3,\n [panelStyles['panel-content-b--prioritiseMetaDataInContentB']]: prioritiseMetaDataInContentB,\n });\n\n const titleClasses = classNames(panelStyles['panel-content-a__title'], { [panelStyles['panel-content-a__title--badge']]: hasBadge });\n\n const renderDetailsButton = (): JSX.Element => {\n const ariaLabelAttributes = getAriaLabelAttributes({\n label: buttonAriaLabel,\n id: (buttonAriaLabelledById && `${buttonTextId} ${buttonAriaLabelledById}`) || (title && titleId && `${buttonTextId} ${titleId}`),\n prefer: 'label',\n });\n\n const commonProps: Partial<ButtonProps> & AriaLabelAttributes = {\n onClick: buttonOnClick ? buttonOnClick : (): void => setIsExpanded(!isExpanded),\n className: containerAsButton ? panelStyles['panel__expand'] : undefined,\n variant: 'borderless',\n ellipsis: true,\n ...ariaLabelAttributes,\n };\n\n if (children) {\n return (\n <Button testId=\"expand\" aria-expanded={isExpanded} {...commonProps}>\n <span id={buttonTextId}>{isExpanded ? buttonTextClose : buttonText}</span>\n <Icon svgIcon={isExpanded ? ChevronUp : ChevronDown} />\n </Button>\n );\n }\n\n return (\n <Button testId=\"url\" htmlMarkup={buttonHtmlMarkup} href={url} target={target} {...commonProps}>\n <span id={buttonTextId}>{buttonText}</span>\n <Icon svgIcon={ArrowRight} />\n </Button>\n );\n };\n\n const btnContainerClass = classNames(panelStyles['panel__btn-container'], {\n [panelStyles['panel__btn-container--layout3']]: layout3,\n [panelStyles['panel__btn-container--no-content-b']]: !contentB,\n [panelStyles['panel__btn-container--padding-top']]: contentA || contentB,\n });\n\n const renderContent = (): JSX.Element | null => {\n if (!children || (!renderChildrenWhenClosed && !isExpanded)) {\n return null;\n }\n\n const panelDetailsClasses = classNames(panelStyles['panel-details'], {\n [panelStyles['panel-details--open']]: isExpanded,\n [panelStyles['panel-details--line']]: variant === PanelVariant.line,\n [panelStyles['panel-details--white']]: variant === PanelVariant.white,\n [panelStyles['panel-details--with-icon']]: icon,\n });\n\n return (\n <div className={panelDetailsClasses} data-testid=\"panel-details\">\n <div>{children}</div>\n </div>\n );\n };\n\n const contentBElement = (\n <div className={panelContentRightClasses}>\n {contentB && <div className={panelContentBClasses}>{contentB}</div>}\n {(children || url || date || time || buttonOnClick) && (\n <div className={btnContainerClass}>\n {<DateTime date={date} time={time} />}\n {(children || url || buttonOnClick) && <div className={panelStyles['panel__details-btn']}>{renderDetailsButton()}</div>}\n </div>\n )}\n </div>\n );\n\n return (\n <div\n // eslint-disable-next-line no-constant-condition\n tabIndex={focusable ? -1 : undefined}\n ref={ref}\n data-testid={testId}\n className={panelWrapperClasses}\n data-analyticsid={AnalyticsId.Panel}\n >\n <div className={panelClasses}>\n {icon && !iconRight && <div className={panelStyles.panel__icon}>{icon}</div>}\n <div className={panelContainerClasses}>\n {prioritiseMetaDataInContentB && contentBElement}\n <div className={panelContentLeftClasses}>\n <StatusText status={status} statusMessage={statusMessage} />\n {title && (\n <div className={panelStyles['panel-content-a__title-container']}>\n <Title appearance=\"title3\" htmlMarkup={titleHtmlMarkup} id={titleId} className={titleClasses}>\n {title}\n </Title>\n {hasBadge && (\n <div className={panelStyles.panel__badge}>\n <Badge color=\"blueberry\" testId=\"badge-status\">\n {statusMessage}\n </Badge>\n </div>\n )}\n </div>\n )}\n {contentA}\n </div>\n {!prioritiseMetaDataInContentB && contentBElement}\n </div>\n {icon && iconRight && <div className={panelStyles['panel__icon--right']}>{icon}</div>}\n </div>\n {renderContent()}\n </div>\n );\n});\n\nexport default Panel;\n"],"names":["PanelStatus","PanelVariant","PanelLayout","StatusText","status","statusMessage","statusIcon","palette","AlertSignFill","Pencil","statusMessageClass","classNames","panelStyles","Icon","IconSize","React","DateTime","date","time","Calendar","Watch","Panel","props","ref","children","contentA","contentB","prioritiseMetaDataInContentB","className","testId","title","titleHtmlMarkup","url","target","icon","iconRight","variant","buttonText","buttonTextClose","buttonAriaLabelledById","buttonAriaLabel","layout","containerAsButton","noTopBorder","buttonOnClick","buttonHtmlMarkup","expanded","onExpand","renderChildrenWhenClosed","focusable","isExpanded","setIsExpanded","useExpand","titleId","useUuid","buttonTextId","hasBadge","layout3","panelWrapperClasses","panelClasses","panelContainerClasses","panelContentLeftClasses","panelContentRightClasses","panelContentBClasses","titleClasses","renderDetailsButton","ariaLabelAttributes","getAriaLabelAttributes","commonProps","Button","ChevronUp","ChevronDown","ArrowRight","btnContainerClass","renderContent","panelDetailsClasses","contentBElement","AnalyticsId","Title","Badge","Panel$1"],"mappings":"g1BAuBY,IA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,EACtEnB,EAAA,cAAC,OAAI,UAAW6C,CAAA,EACbjC,GAAgCiD,kBAChC,MAAI,CAAA,UAAWf,GACd9C,EAAA,cAACZ,IAAW,OAAAC,EAAgB,cAAAC,EAA8B,EACzDyB,mBACE,MAAI,CAAA,UAAWlB,EAAY,kCAAkC,mBAC3DkE,GAAM,CAAA,WAAW,SAAS,WAAY/C,EAAiB,GAAIsB,EAAS,UAAWW,EAAA,EAC7ElC,CACH,EACC0B,GACEzC,EAAA,cAAA,MAAA,CAAI,UAAWH,EAAY,YAAA,kBACzBmE,GAAM,CAAA,MAAM,YAAY,OAAO,gBAC7B1E,CACH,CACF,CAEJ,EAEDoB,CACH,EACC,CAACE,GAAgCiD,CACpC,EACC1C,GAAQC,mBAAc,MAAI,CAAA,UAAWvB,EAAY,oBAAoB,GAAIsB,CAAK,CACjF,EACCwC,GAAc,CAAA,CAGrB,CAAC,EAEDM,GAAe3D"}
1
+ {"version":3,"file":"Panel.js","sources":["../src/components/Panel/Panel.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnchorTarget, AnalyticsId } from '../../constants';\nimport { useExpand } from '../../hooks/useExpand';\nimport { useUuid } from '../../hooks/useUuid';\nimport { palette } from '../../theme/palette';\nimport { AriaLabelAttributes, getAriaLabelAttributes } from '../../utils/accessibility';\nimport Badge from '../Badge';\nimport Button, { ButtonProps, ButtonTags } from '../Button';\nimport Icon, { IconSize, SvgPathProps } from '../Icons';\nimport AlertSignFill from '../Icons/AlertSignFill';\nimport ArrowRight from '../Icons/ArrowRight';\nimport Calendar from '../Icons/Calendar';\nimport ChevronDown from '../Icons/ChevronDown';\nimport ChevronUp from '../Icons/ChevronUp';\nimport Pencil from '../Icons/Pencil';\nimport Watch from '../Icons/Watch';\nimport Title, { TitleTags } from '../Title';\n\nimport panelStyles from './styles.module.scss';\n\nexport enum PanelStatus {\n normal = 'normal',\n new = 'new',\n error = 'error',\n draft = 'draft',\n}\n\nexport enum PanelVariant {\n fill = 'fill',\n white = 'white',\n stroke = 'stroke',\n line = 'line',\n}\n\nexport enum PanelLayout {\n layout1 = 'layout1',\n layout2 = 'layout2',\n layout3a = 'layout3a',\n layout3b = 'layout3b',\n layout3c = 'layout3c',\n}\n\nexport interface PanelProps {\n /** Adds custom classes to the element. */\n className?: string;\n /** Panel section A content */\n contentA?: React.ReactNode | string;\n /** Panel section B content */\n contentB?: React.ReactNode | string;\n /** Content for a container that renders above A and B regardless of layout */\n contentHeader?: React.ReactNode;\n /** Container acts as a button, clicking anywhere triggers a panel button click */\n containerAsButton?: boolean;\n /** Panel children */\n children?: React.ReactNode;\n /** Displays date with icon */\n date?: string;\n /** Expands or collapses the panel */\n expanded?: boolean;\n /** Whether the panel can be focused */\n focusable?: boolean;\n /** Icon displayed in title */\n icon?: React.ReactNode;\n /** Panel button text */\n buttonText?: string;\n /** Panel button close text */\n buttonTextClose?: string;\n /** HTML markup for panel button. Default: a */\n buttonHtmlMarkup?: ButtonTags;\n /** Callback when the panel button is clicked */\n buttonOnClick?: ButtonProps['onClick'];\n /** Panel button is aria-labelledby the text in the button itself + the element set in buttonAriaLabelledById. Default: auto-generated id for title (if title is set). */\n buttonAriaLabelledById?: string;\n /** Panel button aria label */\n buttonAriaLabel?: string;\n /** Layout of the panel */\n layout?: keyof typeof PanelLayout;\n /** Removes top border when variant is \"line\" */\n noTopBorder?: boolean;\n /** Called when the panel is opened/closed */\n onExpand?: (isExpanded: boolean) => void;\n /** Whether to render children when closed (in which case they are hidden with CSS). Default: false */\n renderChildrenWhenClosed?: boolean;\n /** Displays a status on the left side: default normal */\n status?: keyof typeof PanelStatus;\n /** Displayed on top of the panel with a status icon */\n statusMessage?: string;\n /** Sets the data-testid attribute for testing purposes */\n testId?: string;\n /** Displays time with icon */\n time?: string;\n /** Title of the panel */\n title?: string;\n /** Changes the underlying element of the title. Default: h2 */\n titleHtmlMarkup?: TitleTags;\n /** Changes the visual representation of the panel */\n variant?: keyof typeof PanelVariant;\n /** URL to details, renders as a button with anchor tag */\n url?: string;\n /** target used in the button: default is _self */\n target?: AnchorTarget;\n /** @deprecated Has no effect anymore due to accessibility reasons. No close button is shown in expanded content. Will be removed in 2.0.0 */\n showCloseButtonInExpand?: boolean;\n}\n\nexport interface LayoutProps\n extends Pick<PanelProps, 'contentA' | 'contentB' | 'contentHeader' | 'icon' | 'layout' | 'status' | 'statusMessage'> {\n ctaContainer?: React.ReactNode;\n titleElement: React.ReactNode;\n}\n\nconst StatusText: React.FC<{ status?: keyof typeof PanelStatus; statusMessage?: string }> = ({ status, statusMessage }) => {\n const statusIcon = (): { color: string; svgIcon: React.FC<SvgPathProps> } => {\n if (status === PanelStatus.error) {\n return { color: palette.cherry500, svgIcon: AlertSignFill };\n }\n\n return { color: palette.black, svgIcon: Pencil };\n };\n\n const statusMessageClass = classNames(panelStyles['status-message'], {\n [panelStyles['status-message--new']]: status === PanelStatus.new,\n });\n\n if ((status === PanelStatus.error || status === PanelStatus.draft) && statusMessage) {\n return (\n <div className={statusMessageClass} data-testid=\"display-status\">\n {<Icon {...statusIcon()} size={IconSize.XSmall} />} <span>{statusMessage}</span>\n </div>\n );\n }\n\n return null;\n};\n\nconst PreContainer: React.FC<{ children?: React.ReactNode }> = ({ children }) => {\n if (typeof children === 'undefined') return null;\n return <div className={panelStyles['header-container']}>{children}</div>;\n};\n\nconst DateTime: React.FC<{ date?: string; time?: string }> = ({ date, time }) => {\n if (date || time) {\n return (\n <div className={panelStyles['datetime-container']} data-testid=\"datetime\">\n {date && (\n <div className={panelStyles['datetime-container__icon']}>\n <Icon svgIcon={Calendar} size={IconSize.XSmall} />\n <span>{date}</span>\n </div>\n )}\n {time && (\n <div className={panelStyles['datetime-container__icon']}>\n <Icon svgIcon={Watch} size={IconSize.XSmall} />\n <span>{time}</span>\n </div>\n )}\n </div>\n );\n }\n\n return null;\n};\n\nconst PanelLayout1: React.FC<LayoutProps> = ({\n contentA,\n contentB,\n contentHeader,\n ctaContainer,\n icon,\n status,\n statusMessage,\n titleElement,\n}) => {\n const panelLayoutClasses = classNames(panelStyles['panel__layout-1'], {\n [panelStyles['panel__layout-1--with-icon']]: icon,\n });\n const iconClasses = classNames(panelStyles.panel__icon, panelStyles['panel__icon--layout-1'], {\n [panelStyles['panel__icon--no-content']]: !contentA && !contentB,\n });\n\n return (\n <div className={panelLayoutClasses}>\n <StatusText status={status} statusMessage={statusMessage} />\n <PreContainer>{contentHeader}</PreContainer>\n {icon && <div className={iconClasses}>{icon}</div>}\n <div className={panelStyles['panel__layout-1__content-a']}>\n {titleElement}\n {contentA}\n </div>\n {contentB && <div>{contentB}</div>}\n {ctaContainer}\n </div>\n );\n};\n\nconst PanelLayout2: React.FC<LayoutProps> = ({\n contentA,\n contentB,\n contentHeader,\n ctaContainer,\n icon,\n status,\n statusMessage,\n titleElement,\n}) => {\n const panelLayoutClasses = classNames(panelStyles['panel__layout-2'], {\n [panelStyles['panel__layout-2--with-icon']]: icon,\n });\n const iconClasses = classNames(panelStyles.panel__icon, panelStyles['panel__icon--layout-2'], {\n [panelStyles['panel__icon--no-content']]: !contentA && !contentB,\n });\n const lastColumnClass = panelStyles['panel__layout-2__last-column'];\n\n return (\n <div className={panelLayoutClasses}>\n <StatusText status={status} statusMessage={statusMessage} />\n <PreContainer>{contentHeader}</PreContainer>\n {icon && <div className={iconClasses}>{icon}</div>}\n <div className={panelStyles['panel__layout-2__content-a']}>\n {titleElement}\n {contentA}\n </div>\n {contentB && <div className={lastColumnClass}>{contentB}</div>}\n {ctaContainer && <div className={lastColumnClass}>{ctaContainer}</div>}\n </div>\n );\n};\n\nconst PanelLayout3: React.FC<LayoutProps> = ({\n contentA,\n contentB,\n contentHeader,\n ctaContainer,\n icon,\n layout,\n status,\n statusMessage,\n titleElement,\n}) => {\n const layoutClasses = classNames(panelStyles['panel__layout-3'], {\n [panelStyles['panel__layout-3--with-icon']]: icon,\n [panelStyles['panel__layout-3--a']]: layout === PanelLayout.layout3a,\n [panelStyles['panel__layout-3--b']]: layout === PanelLayout.layout3b,\n [panelStyles['panel__layout-3--c']]: layout === PanelLayout.layout3c,\n });\n const iconClasses = classNames(panelStyles.panel__icon, panelStyles['panel__icon--layout-3'], {\n [panelStyles['panel__icon--no-content']]: !contentA && !contentB,\n });\n\n return (\n <div className={layoutClasses}>\n <StatusText status={status} statusMessage={statusMessage} />\n <PreContainer>{contentHeader}</PreContainer>\n {icon && <div className={iconClasses}>{icon}</div>}\n <div>\n {titleElement}\n {contentA}\n </div>\n <div className={panelStyles['panel__layout-3__last-column']}>\n {contentB && <div className={panelStyles['panel__layout-3__last-column__content-b']}>{contentB}</div>}\n {ctaContainer}\n </div>\n </div>\n );\n};\n\nconst Panel = React.forwardRef(function PanelForwardedRef(props: PanelProps, ref: React.ForwardedRef<HTMLHeadingElement>) {\n const {\n buttonAriaLabel,\n buttonAriaLabelledById,\n buttonText = 'Se detaljer',\n buttonTextClose = 'Skjul detaljer',\n buttonHtmlMarkup = 'a',\n buttonOnClick,\n children,\n className,\n containerAsButton = false,\n contentA,\n contentB,\n contentHeader,\n date,\n expanded = false,\n focusable = false,\n icon,\n layout = PanelLayout.layout2,\n noTopBorder,\n onExpand,\n renderChildrenWhenClosed = false,\n status = PanelStatus.normal,\n statusMessage,\n target = '_self',\n testId,\n time,\n title,\n titleHtmlMarkup = 'h2',\n url,\n variant = PanelVariant.fill,\n } = props;\n\n const [isExpanded, setIsExpanded] = useExpand(expanded, onExpand);\n const titleId = useUuid();\n const buttonTextId = useUuid();\n const hasBadge = statusMessage && status === PanelStatus.new;\n const noContentB = typeof contentB === 'undefined';\n const layout1 = layout === 'layout1' || noContentB;\n const layout2 = !noContentB && layout === 'layout2';\n const layout3 = !noContentB && (layout === 'layout3a' || layout === 'layout3b' || layout === 'layout3c');\n const panelWrapperClasses = classNames(panelStyles['panel-wrapper'], className);\n\n const panelClasses = classNames(panelStyles.panel, {\n [panelStyles['panel--fill']]: variant === PanelVariant.fill,\n [panelStyles['panel--stroke']]: variant === PanelVariant.stroke,\n [panelStyles['panel--white']]: variant === PanelVariant.white,\n [panelStyles['panel--line']]: variant === PanelVariant.line,\n [panelStyles['panel--no-top-border']]: variant === PanelVariant.line && noTopBorder,\n [panelStyles['panel--selected']]: isExpanded,\n [panelStyles['panel--new']]: status === PanelStatus.new,\n [panelStyles['panel--draft']]: status === PanelStatus.draft,\n [panelStyles['panel--error']]: status === PanelStatus.error,\n [panelStyles['panel--status']]: status && status !== PanelStatus.normal,\n [panelStyles['panel--with-icon']]: icon,\n [panelStyles['panel--button']]: containerAsButton,\n [panelStyles['panel--clickable']]: children || url || onExpand || buttonOnClick || containerAsButton,\n });\n\n const renderCTAContainer = () => {\n const hasButton = children || url || buttonOnClick;\n const btnContainerClasses = classNames(panelStyles['panel__btn-container'], {\n [panelStyles['panel__btn-container--no-content-b']]: noContentB,\n [panelStyles['panel__btn-container--no-button']]: !hasButton,\n });\n\n return (\n (hasButton || date || time) && (\n <div className={btnContainerClasses}>\n {<DateTime date={date} time={time} />}\n {hasButton && <div className={panelStyles['panel__details-btn']}>{renderDetailsButton()}</div>}\n </div>\n )\n );\n };\n\n const renderDetailsButton = (): React.ReactNode => {\n const ariaLabelAttributes = getAriaLabelAttributes({\n label: buttonAriaLabel,\n id: (buttonAriaLabelledById && `${buttonTextId} ${buttonAriaLabelledById}`) || (title && titleId && `${buttonTextId} ${titleId}`),\n prefer: 'label',\n });\n\n const commonProps: Partial<ButtonProps> & AriaLabelAttributes = {\n onClick: buttonOnClick ? buttonOnClick : (): void => setIsExpanded(!isExpanded),\n className: containerAsButton ? panelStyles['panel__expand'] : undefined,\n variant: 'borderless',\n ellipsis: true,\n ...ariaLabelAttributes,\n };\n\n if (children) {\n return (\n <Button testId=\"expand\" aria-expanded={isExpanded} {...commonProps}>\n <span id={buttonTextId}>{isExpanded ? buttonTextClose : buttonText}</span>\n <Icon svgIcon={isExpanded ? ChevronUp : ChevronDown} />\n </Button>\n );\n }\n\n return (\n <Button testId=\"url\" htmlMarkup={buttonHtmlMarkup} href={url} target={target} {...commonProps}>\n <span id={buttonTextId}>{buttonText}</span>\n <Icon svgIcon={ArrowRight} />\n </Button>\n );\n };\n\n const renderContent = (): React.ReactNode | null => {\n if (!children || (!renderChildrenWhenClosed && !isExpanded)) {\n return null;\n }\n\n const panelDetailsClasses = classNames(panelStyles['panel-details'], {\n [panelStyles['panel-details--open']]: isExpanded,\n [panelStyles['panel-details--line']]: variant === PanelVariant.line,\n [panelStyles['panel-details--white']]: variant === PanelVariant.white,\n [panelStyles['panel-details--with-icon']]: icon,\n });\n\n return (\n <div className={panelDetailsClasses} data-testid=\"panel-details\">\n <div>{children}</div>\n </div>\n );\n };\n\n const renderTitle = () => {\n const titleContainerClasses = classNames(panelStyles['title-container'], {\n [panelStyles['title-container--no-content-a']]: !contentA,\n });\n const titleClasses = classNames(panelStyles['title-container__title'], {\n [panelStyles['title-container__title--badge']]: hasBadge,\n });\n\n return (\n title && (\n <div className={titleContainerClasses}>\n <Title appearance=\"title3\" htmlMarkup={titleHtmlMarkup} id={titleId} className={titleClasses}>\n {title}\n </Title>\n {hasBadge && (\n <div className={panelStyles.panel__badge}>\n <Badge color=\"blueberry\" testId=\"badge-status\">\n {statusMessage}\n </Badge>\n </div>\n )}\n </div>\n )\n );\n };\n\n const layoutProps: LayoutProps = {\n contentA: contentA,\n contentB: contentB,\n contentHeader: contentHeader,\n ctaContainer: renderCTAContainer(),\n icon: icon,\n status: status,\n statusMessage: statusMessage,\n titleElement: renderTitle(),\n };\n\n return (\n <div\n // eslint-disable-next-line no-constant-condition\n tabIndex={focusable ? -1 : undefined}\n ref={ref}\n data-testid={testId}\n className={panelWrapperClasses}\n data-analyticsid={AnalyticsId.Panel}\n >\n <div className={panelClasses}>\n {layout1 && <PanelLayout1 {...layoutProps} />}\n {layout2 && <PanelLayout2 {...layoutProps} />}\n {layout3 && <PanelLayout3 {...layoutProps} layout={layout} />}\n </div>\n {renderContent()}\n </div>\n );\n});\n\nexport default Panel;\n"],"names":["PanelStatus","PanelVariant","PanelLayout","StatusText","status","statusMessage","statusIcon","palette","AlertSignFill","Pencil","statusMessageClass","classNames","panelStyles","Icon","IconSize","React","PreContainer","children","DateTime","date","time","Calendar","Watch","PanelLayout1","contentA","contentB","contentHeader","ctaContainer","icon","titleElement","panelLayoutClasses","iconClasses","PanelLayout2","lastColumnClass","PanelLayout3","layout","layoutClasses","Panel","props","ref","buttonAriaLabel","buttonAriaLabelledById","buttonText","buttonTextClose","buttonHtmlMarkup","buttonOnClick","className","containerAsButton","expanded","focusable","noTopBorder","onExpand","renderChildrenWhenClosed","target","testId","title","titleHtmlMarkup","url","variant","isExpanded","setIsExpanded","useExpand","titleId","useUuid","buttonTextId","hasBadge","noContentB","layout1","layout2","layout3","panelWrapperClasses","panelClasses","renderCTAContainer","hasButton","btnContainerClasses","renderDetailsButton","ariaLabelAttributes","getAriaLabelAttributes","commonProps","Button","ChevronUp","ChevronDown","ArrowRight","renderContent","panelDetailsClasses","renderTitle","titleContainerClasses","titleClasses","Title","Badge","layoutProps","AnalyticsId","Panel$1"],"mappings":"g1BAuBY,IAAAA,IAAAA,IACVA,EAAA,OAAS,SACTA,EAAA,IAAM,MACNA,EAAA,MAAQ,QACRA,EAAA,MAAQ,QAJEA,IAAAA,IAAA,CAAA,CAAA,EAOAC,IAAAA,IACVA,EAAA,KAAO,OACPA,EAAA,MAAQ,QACRA,EAAA,OAAS,SACTA,EAAA,KAAO,OAJGA,IAAAA,IAAA,CAAA,CAAA,EAOAC,IAAAA,IACVA,EAAA,QAAU,UACVA,EAAA,QAAU,UACVA,EAAA,SAAW,WACXA,EAAA,SAAW,WACXA,EAAA,SAAW,WALDA,IAAAA,IAAA,CAAA,CAAA,EA6EZ,MAAMC,EAAsF,CAAC,CAAE,OAAAC,EAAQ,cAAAC,KAAoB,CACzH,MAAMC,EAAa,IACbF,IAAW,QACN,CAAE,MAAOG,EAAQ,UAAW,QAASC,EAAc,EAGrD,CAAE,MAAOD,EAAQ,MAAO,QAASE,EAAO,EAG3CC,EAAqB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vD,CAAgB,CAAA,CAC7D,EACCgD,GAAc,CAAA,CAGrB,CAAC,EAEDS,GAAevD"}
@@ -3,7 +3,7 @@ export interface CloseProps {
3
3
  /** Keeps the icon small for all screen sizes */
4
4
  small?: boolean;
5
5
  /** Function is called when user clicks the button */
6
- onClick?: () => void;
6
+ onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
7
7
  /** Sets the aria-label of the button */
8
8
  ariaLabel?: string;
9
9
  /** Sets the data-testid attribute. */
@@ -1 +1 @@
1
- {"version":3,"file":"Close.d.ts","sourceRoot":"","sources":["../../../src/components/Close/Close.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,KAAK,sFAsBT,CAAC;AAEH,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Close.d.ts","sourceRoot":"","sources":["../../../src/components/Close/Close.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,KAAK,sFAsBT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"props":{"small":{"defaultValue":null,"description":"Keeps the icon small for all screen sizes","name":"small","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"boolean"}},"onClick":{"defaultValue":null,"description":"Function is called when user clicks the button","name":"onClick","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"(() => void)"}},"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button","name":"ariaLabel","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"color":{"defaultValue":null,"description":"Gives color to the svg","name":"color","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}}}}
1
+ {"props":{"small":{"defaultValue":null,"description":"Keeps the icon small for all screen sizes","name":"small","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"boolean"}},"onClick":{"defaultValue":null,"description":"Function is called when user clicks the button","name":"onClick","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"((e?: MouseEvent<HTMLElement, MouseEvent>) => void)"}},"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button","name":"ariaLabel","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"color":{"defaultValue":null,"description":"Gives color to the svg","name":"color","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}}}}
@@ -285,4 +285,14 @@ export default {
285
285
  healthcarepersonnel: { alternativeName: 'Helsepersonell', categories: 'Generisk, Personer' },
286
286
  healthcareperson: { alternativeName: 'Helseperson', categories: 'Generisk, Personer' },
287
287
  grouptwins: { alternativeName: 'Gruppe Tvillinger', categories: 'Generisk, Personer' },
288
+ sun: { alternativeName: 'Sol', categories: 'Generisk' },
289
+ ear: { alternativeName: 'Øre', categories: 'Generisk' },
290
+ earhearingaid: { alternativeName: 'Øre Høreapparat', categories: 'Generisk' },
291
+ earvolume: { alternativeName: 'Øre Volum', categories: 'Generisk' },
292
+ eardeaf: { alternativeName: 'Øre Døv', categories: 'Generisk' },
293
+ braille: { alternativeName: 'Blindeskrift', categories: 'Generisk' },
294
+ screenreader: { alternativeName: 'Skjermleser', categories: 'Generisk' },
295
+ hearingprotection: { alternativeName: 'Hørselsvern', categories: 'Generisk' },
296
+ htmlfile: { alternativeName: 'HTML-fil', categories: 'Filtyper' },
297
+ emergencycall: { alternativeName: 'Nødsamtale', categories: 'Generisk' },
288
298
  };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const Braille: React.FC<SvgPathProps>;
4
+ export default Braille;
5
+ //# sourceMappingURL=Braille.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Braille.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Braille.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAUnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ import a from"react";import{getIcon as m}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const i=({size:c,isHovered:v})=>m({size:c,isHovered:v,normal:a.createElement("path",{d:"M7.932 9.92a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm22.798-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.925 6.565c.365-.215.808-.324 1.325-.324.96 0 1.573.525 1.907 1.132.313.567.397 1.215.387 1.647v4.543c.37-.191.81-.284 1.313-.284.708 0 1.28.213 1.699.623.049.048.095.098.138.149.054-.053.112-.103.174-.151.406-.31.924-.445 1.526-.445.6 0 1.117.133 1.523.442.32.244.52.561.647.894.347-.215.77-.327 1.26-.327.528 0 .978.137 1.34.4.358.26.583.608.726.953.274.664.282 1.425.282 1.858a391.87 391.87 0 0 1 0 6.995c-.028 2.477-1.558 4.249-2.552 5.021v4.47h-1.3v-4.803a.65.65 0 0 1 .296-.545c.73-.474 2.231-2.002 2.256-4.158.029-2.44.012-5.664 0-6.971v-.006c0-.448-.02-.967-.184-1.364a.892.892 0 0 0-.288-.398c-.11-.08-.282-.152-.575-.152-.339 0-.526.086-.638.175-.119.094-.214.237-.284.444a2.538 2.538 0 0 0-.116.641l-.002.106c-.004.214-.008.425-.008.636h-1.3v-.055l-.001-.067a8.019 8.019 0 0 1 .011-.668c.004-.198.007-.387.005-.567-.003-.419-.03-.751-.098-1.01-.065-.251-.158-.386-.266-.468-.11-.084-.318-.175-.734-.175-.415 0-.624.091-.737.177-.11.084-.204.222-.27.473-.029.107-.05.226-.065.357.032.325.034.645.028.933a26 26 0 0 1-.022.567l-.002.039c-.009.186-.015.338-.015.464l-1.3.006a38.49 38.49 0 0 0-.01-.55v-.003a25.6 25.6 0 0 1-.013-.812c.002-.21.008-.424.026-.636a3.154 3.154 0 0 0-.036-.225c-.07-.339-.183-.57-.331-.715-.133-.13-.357-.252-.79-.252-.46 0-.711.112-.859.232-.152.124-.27.317-.35.615a3.587 3.587 0 0 0-.104.698v1.642h-1.3c0-.133-.003-.3-.006-.478a23.775 23.775 0 0 1-.008-.794c.002-.134.006-.272.014-.41v-7.088c.007-.275-.053-.683-.226-.996-.152-.277-.371-.46-.768-.46-.332 0-.537.07-.666.145a.752.752 0 0 0-.29.311c-.153.291-.18.679-.18 1.017V30h-1.3v-4.315c0-.72-.098-1.294-.388-1.65-.203-.252-.604-.511-1.496-.479v9.59c.035.562.143 1.191.59 1.916.46.745 1.308 1.636 2.91 2.647a.65.65 0 0 1 .303.55v3.82h-1.3v-3.466c-1.53-1.008-2.46-1.964-3.019-2.868-.602-.974-.741-1.84-.782-2.541l-.002-.02v-10.22a.65.65 0 0 1 .56-.643c1.113-.157 1.984-.032 2.623.352v-5.741c0-.352.017-1.026.332-1.623a2.05 2.05 0 0 1 .78-.825ZM38.73 9.92a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM20.5 18a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm0 10.08a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM7.943 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),normalHover:a.createElement("path",{d:"M7.932 10.27a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm22.798-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.925 6.564c.365-.214.808-.324 1.325-.324.96 0 1.573.525 1.907 1.132.313.567.397 1.216.387 1.648v4.543c.37-.191.81-.285 1.313-.285.708 0 1.28.214 1.699.624.049.048.095.097.138.148.054-.052.112-.103.174-.15.406-.311.924-.445 1.526-.445.6 0 1.117.132 1.523.442.32.244.52.56.647.893.347-.215.77-.327 1.26-.327.528 0 .978.137 1.34.401.358.26.584.608.726.953.274.663.282 1.425.282 1.857.012 1.313.029 4.544 0 6.996-.028 2.476-1.558 4.248-2.552 5.02v4.47h-1.3v-4.802a.65.65 0 0 1 .296-.545c.73-.474 2.231-2.002 2.256-4.158.029-2.44.012-5.665 0-6.972v-.006c0-.448-.02-.967-.184-1.364a.894.894 0 0 0-.288-.397c-.11-.08-.282-.153-.575-.153-.339 0-.526.087-.638.175-.119.094-.214.238-.284.445a2.533 2.533 0 0 0-.116.64l-.002.107c-.004.214-.008.425-.008.636h-1.3v-.055l-.001-.068c-.003-.165-.006-.4.011-.668.004-.198.007-.386.005-.567-.003-.418-.03-.75-.097-1.01-.066-.25-.16-.386-.267-.468-.11-.084-.318-.175-.734-.175-.415 0-.624.092-.736.177-.11.085-.205.223-.272.474a2.54 2.54 0 0 0-.064.357c.032.324.034.644.028.932-.005.202-.014.396-.022.568l-.002.038c-.009.187-.015.339-.015.465l-1.3.006a38.49 38.49 0 0 0-.01-.55v-.004c-.008-.276-.014-.56-.013-.812.002-.21.008-.423.026-.635a3.098 3.098 0 0 0-.036-.226c-.07-.338-.183-.57-.331-.714-.133-.13-.357-.253-.79-.253-.46 0-.711.113-.859.233-.152.123-.27.317-.35.615a3.587 3.587 0 0 0-.104.697v1.643h-1.3c0-.133-.003-.3-.006-.479a23.69 23.69 0 0 1-.008-.793c.002-.134.006-.272.014-.411v-7.087c.007-.276-.053-.683-.226-.996-.152-.278-.371-.46-.768-.46-.332 0-.537.07-.666.145a.75.75 0 0 0-.29.31c-.153.292-.18.68-.18 1.017v13.069h-1.3v-4.315c0-.72-.098-1.294-.388-1.651-.203-.252-.604-.51-1.496-.478v9.59c.035.561.143 1.19.59 1.915.46.745 1.308 1.637 2.91 2.647a.65.65 0 0 1 .303.55v3.821h-1.3v-3.467c-1.53-1.008-2.46-1.964-3.019-2.867-.602-.975-.741-1.84-.782-2.542l-.002-.019v-10.22a.65.65 0 0 1 .56-.644c1.113-.157 1.984-.032 2.624.353v-5.742c0-.352.016-1.025.331-1.623a2.05 2.05 0 0 1 .78-.825Zm10.925 5.517a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM20.5 8.272a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM9.93 28.43a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.002-8.08a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})});export{i as default};
2
+ //# sourceMappingURL=Braille.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Braille.js","sources":["../../../src/components/Icons/Braille.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Braille: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M7.932 9.92a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm22.798-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.925 6.565c.365-.215.808-.324 1.325-.324.96 0 1.573.525 1.907 1.132.313.567.397 1.215.387 1.647v4.543c.37-.191.81-.284 1.313-.284.708 0 1.28.213 1.699.623.049.048.095.098.138.149.054-.053.112-.103.174-.151.406-.31.924-.445 1.526-.445.6 0 1.117.133 1.523.442.32.244.52.561.647.894.347-.215.77-.327 1.26-.327.528 0 .978.137 1.34.4.358.26.583.608.726.953.274.664.282 1.425.282 1.858a391.87 391.87 0 0 1 0 6.995c-.028 2.477-1.558 4.249-2.552 5.021v4.47h-1.3v-4.803a.65.65 0 0 1 .296-.545c.73-.474 2.231-2.002 2.256-4.158.029-2.44.012-5.664 0-6.971v-.006c0-.448-.02-.967-.184-1.364a.892.892 0 0 0-.288-.398c-.11-.08-.282-.152-.575-.152-.339 0-.526.086-.638.175-.119.094-.214.237-.284.444a2.538 2.538 0 0 0-.116.641l-.002.106c-.004.214-.008.425-.008.636h-1.3v-.055l-.001-.067a8.019 8.019 0 0 1 .011-.668c.004-.198.007-.387.005-.567-.003-.419-.03-.751-.098-1.01-.065-.251-.158-.386-.266-.468-.11-.084-.318-.175-.734-.175-.415 0-.624.091-.737.177-.11.084-.204.222-.27.473-.029.107-.05.226-.065.357.032.325.034.645.028.933a26 26 0 0 1-.022.567l-.002.039c-.009.186-.015.338-.015.464l-1.3.006a38.49 38.49 0 0 0-.01-.55v-.003a25.6 25.6 0 0 1-.013-.812c.002-.21.008-.424.026-.636a3.154 3.154 0 0 0-.036-.225c-.07-.339-.183-.57-.331-.715-.133-.13-.357-.252-.79-.252-.46 0-.711.112-.859.232-.152.124-.27.317-.35.615a3.587 3.587 0 0 0-.104.698v1.642h-1.3c0-.133-.003-.3-.006-.478a23.775 23.775 0 0 1-.008-.794c.002-.134.006-.272.014-.41v-7.088c.007-.275-.053-.683-.226-.996-.152-.277-.371-.46-.768-.46-.332 0-.537.07-.666.145a.752.752 0 0 0-.29.311c-.153.291-.18.679-.18 1.017V30h-1.3v-4.315c0-.72-.098-1.294-.388-1.65-.203-.252-.604-.511-1.496-.479v9.59c.035.562.143 1.191.59 1.916.46.745 1.308 1.636 2.91 2.647a.65.65 0 0 1 .303.55v3.82h-1.3v-3.466c-1.53-1.008-2.46-1.964-3.019-2.868-.602-.974-.741-1.84-.782-2.541l-.002-.02v-10.22a.65.65 0 0 1 .56-.643c1.113-.157 1.984-.032 2.623.352v-5.741c0-.352.017-1.026.332-1.623a2.05 2.05 0 0 1 .78-.825ZM38.73 9.92a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM20.5 18a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm0 10.08a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM7.943 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z\" />\n );\n\n const normalHover = (\n <path d=\"M7.932 10.27a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm22.798-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.925 6.564c.365-.214.808-.324 1.325-.324.96 0 1.573.525 1.907 1.132.313.567.397 1.216.387 1.648v4.543c.37-.191.81-.285 1.313-.285.708 0 1.28.214 1.699.624.049.048.095.097.138.148.054-.052.112-.103.174-.15.406-.311.924-.445 1.526-.445.6 0 1.117.132 1.523.442.32.244.52.56.647.893.347-.215.77-.327 1.26-.327.528 0 .978.137 1.34.401.358.26.584.608.726.953.274.663.282 1.425.282 1.857.012 1.313.029 4.544 0 6.996-.028 2.476-1.558 4.248-2.552 5.02v4.47h-1.3v-4.802a.65.65 0 0 1 .296-.545c.73-.474 2.231-2.002 2.256-4.158.029-2.44.012-5.665 0-6.972v-.006c0-.448-.02-.967-.184-1.364a.894.894 0 0 0-.288-.397c-.11-.08-.282-.153-.575-.153-.339 0-.526.087-.638.175-.119.094-.214.238-.284.445a2.533 2.533 0 0 0-.116.64l-.002.107c-.004.214-.008.425-.008.636h-1.3v-.055l-.001-.068c-.003-.165-.006-.4.011-.668.004-.198.007-.386.005-.567-.003-.418-.03-.75-.097-1.01-.066-.25-.16-.386-.267-.468-.11-.084-.318-.175-.734-.175-.415 0-.624.092-.736.177-.11.085-.205.223-.272.474a2.54 2.54 0 0 0-.064.357c.032.324.034.644.028.932-.005.202-.014.396-.022.568l-.002.038c-.009.187-.015.339-.015.465l-1.3.006a38.49 38.49 0 0 0-.01-.55v-.004c-.008-.276-.014-.56-.013-.812.002-.21.008-.423.026-.635a3.098 3.098 0 0 0-.036-.226c-.07-.338-.183-.57-.331-.714-.133-.13-.357-.253-.79-.253-.46 0-.711.113-.859.233-.152.123-.27.317-.35.615a3.587 3.587 0 0 0-.104.697v1.643h-1.3c0-.133-.003-.3-.006-.479a23.69 23.69 0 0 1-.008-.793c.002-.134.006-.272.014-.411v-7.087c.007-.276-.053-.683-.226-.996-.152-.278-.371-.46-.768-.46-.332 0-.537.07-.666.145a.75.75 0 0 0-.29.31c-.153.292-.18.68-.18 1.017v13.069h-1.3v-4.315c0-.72-.098-1.294-.388-1.651-.203-.252-.604-.51-1.496-.478v9.59c.035.561.143 1.19.59 1.915.46.745 1.308 1.637 2.91 2.647a.65.65 0 0 1 .303.55v3.821h-1.3v-3.467c-1.53-1.008-2.46-1.964-3.019-2.867-.602-.975-.741-1.84-.782-2.542l-.002-.019v-10.22a.65.65 0 0 1 .56-.644c1.113-.157 1.984-.032 2.624.353v-5.742c0-.352.016-1.025.331-1.623a2.05 2.05 0 0 1 .78-.825Zm10.925 5.517a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM20.5 8.272a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM9.93 28.43a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2.002-8.08a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default Braille;\n"],"names":["Braille","size","isHovered","getIcon","React"],"mappings":"+LAIA,MAAMA,EAAkC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KASxCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAPhCE,EAAA,cAAC,OAAK,CAAA,EAAE,snEAAunE,CAAA,EAOvlE,YAHxCA,EAAA,cAAC,OAAK,CAAA,EAAE,soEAAuoE,CAAA,EAG1lE"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const Ear: React.FC<SvgPathProps>;
4
+ export default Ear;
5
+ //# sourceMappingURL=Ear.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ear.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Ear.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgB/B,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -0,0 +1,2 @@
1
+ import t from"react";import{getIcon as a}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const d=({size:e,isHovered:r})=>{const c=t.createElement(t.Fragment,null,t.createElement("path",{d:"M14.814 13.347c1.374-3.189 4.093-6.455 8.845-6.455 3.365 0 5.6 1.544 7.055 3.49 1.473 1.969 2.14 4.35 2.298 5.925.239 2.386-.18 4.906-.846 7.425-.419 1.586-.92 3.122-1.409 4.617-.295.903-.585 1.79-.848 2.664-.229.757-.427 1.451-.616 2.111a110.6 110.6 0 0 1-.585 1.997c-.378 1.23-.753 2.28-1.207 3.146-.453.861-.972 1.517-1.624 1.98-.649.46-1.473.761-2.586.847-1.737.133-3.15-.63-4.159-2.018-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.65 4.905 1.872 6.588 1.238 1.703 3.065 2.722 5.31 2.55 1.307-.1 2.367-.464 3.239-1.083.868-.616 1.507-1.454 2.022-2.436.513-.977.916-2.12 1.3-3.368.19-.624.39-1.318.598-2.042.194-.677.395-1.38.604-2.072.246-.815.528-1.678.82-2.571.497-1.527 1.025-3.143 1.45-4.754.682-2.578 1.144-5.274.883-7.887-.176-1.758-.908-4.377-2.551-6.575-1.662-2.22-4.26-4.01-8.096-4.01-5.493 0-8.564 3.82-10.039 7.24l1.194.515Z"}),t.createElement("path",{d:"M30.078 15.417c-.917-2.994-3.378-4.879-6.026-5.121-2.68-.245-5.442 1.199-6.918 4.604-1.619 3.732-.163 7.722.991 9.493l.193.295h.352c.673 0 1.249.177 1.687.5.433.318.773.809.933 1.518.156.692.05 1.316-.274 1.84-.328.53-.91 1.01-1.787 1.335l.453 1.218c1.087-.403 1.93-1.043 2.44-1.87.515-.834.662-1.81.436-2.81-.223-.987-.724-1.759-1.43-2.278-.603-.444-1.324-.682-2.087-.74-.983-1.684-2.015-4.985-.714-7.984 1.272-2.935 3.533-4.016 5.607-3.826 2.107.192 4.134 1.702 4.9 4.206l1.244-.38Z"})),l=t.createElement(t.Fragment,null,t.createElement("path",{d:"M13.57 12.407c1.497-3.47 4.456-7.025 9.627-7.025 3.662 0 6.094 1.68 7.677 3.797 1.603 2.143 2.33 4.734 2.502 6.448.26 2.598-.196 5.34-.92 8.081-.457 1.726-1.003 3.398-1.534 5.025-.321.982-.637 1.948-.924 2.9-.248.823-.465 1.578-.67 2.297-.216.753-.42 1.465-.637 2.173-.41 1.337-.819 2.48-1.314 3.423-.492.937-1.056 1.65-1.767 2.155-.706.5-1.603.828-2.814.921-1.89.145-3.428-.686-4.526-2.196-1.113-1.531-1.767-3.767-1.767-6.337h-1.415c0 2.787.707 5.337 2.038 7.169 1.346 1.853 3.335 2.962 5.778 2.775 1.422-.11 2.576-.505 3.525-1.179.945-.67 1.64-1.582 2.201-2.65.558-1.063.996-2.308 1.413-3.666.209-.679.426-1.435.651-2.222.212-.737.431-1.502.659-2.255.267-.887.573-1.826.89-2.798.543-1.662 1.117-3.42 1.58-5.173.742-2.806 1.245-5.74.96-8.584-.191-1.913-.988-4.764-2.776-7.155-1.808-2.417-4.636-4.364-8.81-4.364-5.978 0-9.32 4.157-10.925 7.88l1.299.56Z"}),t.createElement("path",{d:"M30.182 14.659c-.997-3.258-3.675-5.31-6.557-5.573-2.918-.267-5.922 1.305-7.53 5.01-1.76 4.062-.177 8.404 1.08 10.331l.21.322h.382c.733 0 1.36.192 1.837.543.47.347.84.88 1.015 1.652.17.754.054 1.432-.298 2.003-.357.578-.991 1.098-1.945 1.453l.492 1.326c1.184-.44 2.1-1.135 2.656-2.036.56-.907.72-1.969.475-3.057-.243-1.075-.788-1.915-1.557-2.48-.656-.483-1.44-.742-2.27-.804-1.071-1.834-2.193-5.427-.778-8.69 1.385-3.194 3.845-4.37 6.102-4.164 2.293.21 4.5 1.853 5.333 4.578l1.353-.414Z"}));return a({size:e,isHovered:r,normal:c,normalHover:l})};export{d as default};
2
+ //# sourceMappingURL=Ear.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ear.js","sources":["../../../src/components/Icons/Ear.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Ear: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <>\n <path d=\"M14.814 13.347c1.374-3.189 4.093-6.455 8.845-6.455 3.365 0 5.6 1.544 7.055 3.49 1.473 1.969 2.14 4.35 2.298 5.925.239 2.386-.18 4.906-.846 7.425-.419 1.586-.92 3.122-1.409 4.617-.295.903-.585 1.79-.848 2.664-.229.757-.427 1.451-.616 2.111a110.6 110.6 0 0 1-.585 1.997c-.378 1.23-.753 2.28-1.207 3.146-.453.861-.972 1.517-1.624 1.98-.649.46-1.473.761-2.586.847-1.737.133-3.15-.63-4.159-2.018-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.65 4.905 1.872 6.588 1.238 1.703 3.065 2.722 5.31 2.55 1.307-.1 2.367-.464 3.239-1.083.868-.616 1.507-1.454 2.022-2.436.513-.977.916-2.12 1.3-3.368.19-.624.39-1.318.598-2.042.194-.677.395-1.38.604-2.072.246-.815.528-1.678.82-2.571.497-1.527 1.025-3.143 1.45-4.754.682-2.578 1.144-5.274.883-7.887-.176-1.758-.908-4.377-2.551-6.575-1.662-2.22-4.26-4.01-8.096-4.01-5.493 0-8.564 3.82-10.039 7.24l1.194.515Z\" />\n <path d=\"M30.078 15.417c-.917-2.994-3.378-4.879-6.026-5.121-2.68-.245-5.442 1.199-6.918 4.604-1.619 3.732-.163 7.722.991 9.493l.193.295h.352c.673 0 1.249.177 1.687.5.433.318.773.809.933 1.518.156.692.05 1.316-.274 1.84-.328.53-.91 1.01-1.787 1.335l.453 1.218c1.087-.403 1.93-1.043 2.44-1.87.515-.834.662-1.81.436-2.81-.223-.987-.724-1.759-1.43-2.278-.603-.444-1.324-.682-2.087-.74-.983-1.684-2.015-4.985-.714-7.984 1.272-2.935 3.533-4.016 5.607-3.826 2.107.192 4.134 1.702 4.9 4.206l1.244-.38Z\" />\n </>\n );\n\n const normalHover = (\n <>\n <path d=\"M13.57 12.407c1.497-3.47 4.456-7.025 9.627-7.025 3.662 0 6.094 1.68 7.677 3.797 1.603 2.143 2.33 4.734 2.502 6.448.26 2.598-.196 5.34-.92 8.081-.457 1.726-1.003 3.398-1.534 5.025-.321.982-.637 1.948-.924 2.9-.248.823-.465 1.578-.67 2.297-.216.753-.42 1.465-.637 2.173-.41 1.337-.819 2.48-1.314 3.423-.492.937-1.056 1.65-1.767 2.155-.706.5-1.603.828-2.814.921-1.89.145-3.428-.686-4.526-2.196-1.113-1.531-1.767-3.767-1.767-6.337h-1.415c0 2.787.707 5.337 2.038 7.169 1.346 1.853 3.335 2.962 5.778 2.775 1.422-.11 2.576-.505 3.525-1.179.945-.67 1.64-1.582 2.201-2.65.558-1.063.996-2.308 1.413-3.666.209-.679.426-1.435.651-2.222.212-.737.431-1.502.659-2.255.267-.887.573-1.826.89-2.798.543-1.662 1.117-3.42 1.58-5.173.742-2.806 1.245-5.74.96-8.584-.191-1.913-.988-4.764-2.776-7.155-1.808-2.417-4.636-4.364-8.81-4.364-5.978 0-9.32 4.157-10.925 7.88l1.299.56Z\" />\n <path d=\"M30.182 14.659c-.997-3.258-3.675-5.31-6.557-5.573-2.918-.267-5.922 1.305-7.53 5.01-1.76 4.062-.177 8.404 1.08 10.331l.21.322h.382c.733 0 1.36.192 1.837.543.47.347.84.88 1.015 1.652.17.754.054 1.432-.298 2.003-.357.578-.991 1.098-1.945 1.453l.492 1.326c1.184-.44 2.1-1.135 2.656-2.036.56-.907.72-1.969.475-3.057-.243-1.075-.788-1.915-1.557-2.48-.656-.483-1.44-.742-2.27-.804-1.071-1.834-2.193-5.427-.778-8.69 1.385-3.194 3.845-4.37 6.102-4.164 2.293.21 4.5 1.853 5.333 4.578l1.353-.414Z\" />\n </>\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default Ear;\n"],"names":["Ear","size","isHovered","normal","React","normalHover","getIcon"],"mappings":"+LAIA,MAAMA,EAA8B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAAkD,CACvF,MAAAC,EAEFC,EAAA,cAAAA,EAAA,SAAA,KAAAA,EAAA,cAAC,OAAK,CAAA,EAAE,60BAA80B,CAAA,EACr1BA,EAAA,cAAA,OAAA,CAAK,EAAE,seAAue,CAAA,CACjf,EAGIC,EAEFD,EAAA,cAAAA,EAAA,SAAA,KAAAA,EAAA,cAAC,OAAK,CAAA,EAAE,s1BAAu1B,CAAA,EAC91BA,EAAA,cAAA,OAAA,CAAK,EAAE,ueAAwe,CAAA,CAClf,EAGF,OAAOE,EAAQ,CAAE,KAAAL,EAAM,UAAAC,EAAW,OAAAC,EAAQ,YAAAE,EAAa,CACzD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const EarDeaf: React.FC<SvgPathProps>;
4
+ export default EarDeaf;
5
+ //# sourceMappingURL=EarDeaf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarDeaf.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/EarDeaf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAUnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ import c from"react";import{getIcon as t}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:l,isHovered:r})=>t({size:l,isHovered:r,normal:c.createElement("path",{d:"M22.769 6.892c-4.752 0-7.47 3.266-8.845 6.455l-1.194-.514c1.474-3.422 4.546-7.241 10.039-7.241 3.835 0 6.434 1.79 8.095 4.01 1.043 1.394 1.718 2.957 2.118 4.362l6.955-6.022.851.983L33.31 15.4c.046.274.081.534.106.777.261 2.613-.201 5.309-.883 7.887-.426 1.611-.953 3.227-1.45 4.753l-.001.002c-.292.893-.573 1.756-.819 2.57-.209.692-.41 1.395-.605 2.072-.207.724-.406 1.418-.598 2.042-.383 1.248-.786 2.391-1.299 3.368-.515.982-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.24 1.083-2.244.172-4.071-.847-5.309-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.601 4.417 1.624 5.824 1.008 1.388 2.422 2.15 4.158 2.018 1.114-.086 1.938-.387 2.587-.847.652-.463 1.171-1.119 1.623-1.98.455-.867.83-1.916 1.207-3.146.2-.65.387-1.304.585-1.996.19-.66.388-1.355.617-2.112.263-.874.553-1.761.848-2.664.488-1.495.99-3.03 1.41-4.617.655-2.479 1.07-4.96.856-7.313l-10.698 9.264c.096.23.174.476.233.737.226 1 .08 1.975-.436 2.809-.51.827-1.353 1.467-2.44 1.87l-.453-1.218c.877-.326 1.46-.804 1.787-1.335.324-.524.43-1.148.274-1.84a3.4 3.4 0 0 0-.025-.105L8.063 37.262l-.85-.983 12.53-10.85a2.22 2.22 0 0 0-.276-.241c-.438-.323-1.014-.5-1.687-.5h-.352l-.193-.295c-1.154-1.771-2.61-5.761-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603 2.648.242 5.11 2.127 6.026 5.12l-1.243.381c-.767-2.504-2.794-4.014-4.901-4.206-2.074-.19-4.335.89-5.608 3.826-1.3 2.999-.269 6.3.715 7.985.763.057 1.484.295 2.087.739.176.13.34.275.49.435l11.157-9.662c-.329-1.41-.977-3.083-2.062-4.533-1.455-1.945-3.69-3.49-7.054-3.49Z"}),normalHover:c.createElement("path",{d:"M22.769 6.892c-4.752 0-7.47 3.266-8.845 6.455l-1.194-.514c1.474-3.422 4.546-7.241 10.039-7.241 3.835 0 6.434 1.79 8.095 4.01 1.644 2.198 2.376 4.817 2.552 6.575.11 1.11.091 2.236-.02 3.36l11.418-2.908.32 1.26-11.92 3.037a32.645 32.645 0 0 1-.68 3.138c-.427 1.611-.954 3.227-1.452 4.753v.002c-.292.893-.573 1.756-.819 2.57-.209.692-.41 1.395-.605 2.072a118.32 118.32 0 0 1-.598 2.042c-.383 1.248-.786 2.391-1.299 3.368-.515.982-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.24 1.083-2.244.172-4.072-.847-5.309-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.601 4.417 1.624 5.824 1.008 1.388 2.422 2.15 4.158 2.018 1.114-.086 1.938-.387 2.587-.847.652-.463 1.171-1.119 1.623-1.98.455-.867.83-1.916 1.207-3.146.2-.65.387-1.304.585-1.996.19-.66.388-1.355.617-2.112a123.8 123.8 0 0 1 .848-2.664c.488-1.495.99-3.03 1.41-4.617.216-.82.406-1.64.557-2.455l-11.507 2.931c.659.518 1.128 1.266 1.34 2.212.226 1 .08 1.975-.435 2.809-.51.827-1.353 1.467-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.524.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.518a2.6 2.6 0 0 0-1.17-.463l-15.111 3.85-.321-1.26 13.993-3.564c-1.054-1.981-2.06-5.519-.614-8.852 1.476-3.404 4.237-4.848 6.918-4.603 2.648.242 5.109 2.127 6.026 5.12l-1.243.381c-.767-2.504-2.794-4.014-4.901-4.206-2.074-.19-4.335.89-5.608 3.826-1.3 2.999-.269 6.3.715 7.985l.058.005 13.84-3.526c.15-1.213.19-2.41.073-3.575-.157-1.575-.825-3.955-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z"})});export{s as default};
2
+ //# sourceMappingURL=EarDeaf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarDeaf.js","sources":["../../../src/components/Icons/EarDeaf.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst EarDeaf: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M22.769 6.892c-4.752 0-7.47 3.266-8.845 6.455l-1.194-.514c1.474-3.422 4.546-7.241 10.039-7.241 3.835 0 6.434 1.79 8.095 4.01 1.043 1.394 1.718 2.957 2.118 4.362l6.955-6.022.851.983L33.31 15.4c.046.274.081.534.106.777.261 2.613-.201 5.309-.883 7.887-.426 1.611-.953 3.227-1.45 4.753l-.001.002c-.292.893-.573 1.756-.819 2.57-.209.692-.41 1.395-.605 2.072-.207.724-.406 1.418-.598 2.042-.383 1.248-.786 2.391-1.299 3.368-.515.982-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.24 1.083-2.244.172-4.071-.847-5.309-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.601 4.417 1.624 5.824 1.008 1.388 2.422 2.15 4.158 2.018 1.114-.086 1.938-.387 2.587-.847.652-.463 1.171-1.119 1.623-1.98.455-.867.83-1.916 1.207-3.146.2-.65.387-1.304.585-1.996.19-.66.388-1.355.617-2.112.263-.874.553-1.761.848-2.664.488-1.495.99-3.03 1.41-4.617.655-2.479 1.07-4.96.856-7.313l-10.698 9.264c.096.23.174.476.233.737.226 1 .08 1.975-.436 2.809-.51.827-1.353 1.467-2.44 1.87l-.453-1.218c.877-.326 1.46-.804 1.787-1.335.324-.524.43-1.148.274-1.84a3.4 3.4 0 0 0-.025-.105L8.063 37.262l-.85-.983 12.53-10.85a2.22 2.22 0 0 0-.276-.241c-.438-.323-1.014-.5-1.687-.5h-.352l-.193-.295c-1.154-1.771-2.61-5.761-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603 2.648.242 5.11 2.127 6.026 5.12l-1.243.381c-.767-2.504-2.794-4.014-4.901-4.206-2.074-.19-4.335.89-5.608 3.826-1.3 2.999-.269 6.3.715 7.985.763.057 1.484.295 2.087.739.176.13.34.275.49.435l11.157-9.662c-.329-1.41-.977-3.083-2.062-4.533-1.455-1.945-3.69-3.49-7.054-3.49Z\" />\n );\n\n const normalHover = (\n <path d=\"M22.769 6.892c-4.752 0-7.47 3.266-8.845 6.455l-1.194-.514c1.474-3.422 4.546-7.241 10.039-7.241 3.835 0 6.434 1.79 8.095 4.01 1.644 2.198 2.376 4.817 2.552 6.575.11 1.11.091 2.236-.02 3.36l11.418-2.908.32 1.26-11.92 3.037a32.645 32.645 0 0 1-.68 3.138c-.427 1.611-.954 3.227-1.452 4.753v.002c-.292.893-.573 1.756-.819 2.57-.209.692-.41 1.395-.605 2.072a118.32 118.32 0 0 1-.598 2.042c-.383 1.248-.786 2.391-1.299 3.368-.515.982-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.24 1.083-2.244.172-4.072-.847-5.309-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.601 4.417 1.624 5.824 1.008 1.388 2.422 2.15 4.158 2.018 1.114-.086 1.938-.387 2.587-.847.652-.463 1.171-1.119 1.623-1.98.455-.867.83-1.916 1.207-3.146.2-.65.387-1.304.585-1.996.19-.66.388-1.355.617-2.112a123.8 123.8 0 0 1 .848-2.664c.488-1.495.99-3.03 1.41-4.617.216-.82.406-1.64.557-2.455l-11.507 2.931c.659.518 1.128 1.266 1.34 2.212.226 1 .08 1.975-.435 2.809-.51.827-1.353 1.467-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.524.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.518a2.6 2.6 0 0 0-1.17-.463l-15.111 3.85-.321-1.26 13.993-3.564c-1.054-1.981-2.06-5.519-.614-8.852 1.476-3.404 4.237-4.848 6.918-4.603 2.648.242 5.109 2.127 6.026 5.12l-1.243.381c-.767-2.504-2.794-4.014-4.901-4.206-2.074-.19-4.335.89-5.608 3.826-1.3 2.999-.269 6.3.715 7.985l.058.005 13.84-3.526c.15-1.213.19-2.41.073-3.575-.157-1.575-.825-3.955-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z\" />\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default EarDeaf;\n"],"names":["EarDeaf","size","isHovered","getIcon","React"],"mappings":"+LAIA,MAAMA,EAAkC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KASxCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAPhCE,EAAA,cAAC,OAAK,CAAA,EAAE,m9CAAo9C,CAAA,EAOp7C,YAHxCA,EAAA,cAAC,OAAK,CAAA,EAAE,i6CAAk6C,CAAA,EAGr3C"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const EarHearingAid: React.FC<SvgPathProps>;
4
+ export default EarHearingAid;
5
+ //# sourceMappingURL=EarHearingAid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarHearingAid.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/EarHearingAid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAazC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ import c from"react";import{getIcon as l}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const h=({size:t,isHovered:e})=>{const a=c.createElement("path",{d:"M12.892 9.847c1.891-2.167 4.684-3.964 8.708-3.964.366 0 .737.019 1.111.054 1.344.559 2.423 1.159 3.298 1.766-1.252-.6-2.727-.962-4.452-.962-5.493 0-8.564 3.82-10.039 7.241l1.194.515c1.375-3.19 4.094-6.456 8.845-6.456 3.365 0 5.6 1.544 7.055 3.49 1.473 1.97 2.141 4.35 2.299 5.925.238 2.387-.18 4.907-.846 7.426-.42 1.586-.921 3.122-1.41 4.616-.294.903-.584 1.79-.848 2.665-.228.757-.427 1.45-.616 2.111v.001c-.198.691-.386 1.346-.585 1.996-.378 1.23-.752 2.279-1.207 3.145-.453.862-.971 1.517-1.624 1.98-.649.46-1.473.762-2.586.847-1.736.133-3.15-.63-4.159-2.018-1.022-1.407-1.624-3.461-1.624-5.824h-1.3c0 2.562.65 4.905 1.873 6.589 1.237 1.702 3.064 2.721 5.31 2.55 1.306-.1 2.366-.465 3.238-1.084.868-.616 1.507-1.454 2.023-2.436.512-.976.915-2.12 1.299-3.368.191-.623.39-1.318.598-2.041.194-.678.396-1.38.605-2.073.245-.814.527-1.677.818-2.57v-.001c.2-.613.405-1.24.606-1.874l.287.166c1.193.689 2.715.552 3.79.264.687-.184 1.438-.752 2.072-1.465a7.782 7.782 0 0 0 1.588-2.775c.64-2.033 1.154-5.519.514-8.294-.384-1.663-.862-2.947-1.518-4.083-.655-1.135-1.47-2.096-2.491-3.124-2.115-2.13-4.896-3.603-11.807-4.134v.002a13.18 13.18 0 0 0-1.311-.067c-4.468 0-7.599 2.016-9.687 4.41-2.311 2.649-3.663 5.973-3.026 10.254.401 2.7 2.172 4.767 4.353 5.894 1.202.62 2.364.745 3.437.698.626.018 1.164.193 1.579.498.432.319.772.81.932 1.518.156.692.05 1.316-.273 1.84-.328.531-.911 1.01-1.788 1.335l.453 1.219c.4-.149.766-.329 1.095-.539.34.438.706.812 1.153 1.02.67.311 1.368.193 2.128-.146.899-.402 1.487-1.2 1.775-2.192.287-.984.29-2.186.027-3.505-.277-1.386-1.028-2.596-1.964-3.281-.47-.345-1.018-.577-1.595-.591-.592-.016-1.16.2-1.633.656-.237.228-.453.467-.588.73a17.85 17.85 0 0 1-1.056.12c-.978-1.695-1.99-4.974-.697-7.955 1.273-2.935 3.533-4.016 5.607-3.826 2.107.193 4.134 1.702 4.901 4.207l1.243-.38c-.916-2.995-3.377-4.88-6.025-5.122-2.681-.245-5.442 1.2-6.919 4.604-1.35 3.116-.56 6.41.41 8.445a4.9 4.9 0 0 1-1.605-.508c-1.872-.967-3.334-2.707-3.664-4.93-.573-3.855.624-6.807 2.72-9.209Z"}),r=c.createElement(c.Fragment,null,c.createElement("path",{d:"M12.892 9.847c1.902-2.179 4.49-4.106 9.012-4.106.738 0 1.49.028 2.235.083 4.465.946 6.405 2.922 7.42 4.313 1.275 1.748 2.831 5.024 3.007 8.124.206 3.65-.307 5.562-1.278 8.527l-.176.536.506.25c.643.317 1.5.4 2.265.379.78-.021 1.575-.152 2.148-.347.645-.219 1.398-.78 2.041-1.51.654-.742 1.25-1.723 1.524-2.847.514-2.1.605-5.906-.208-8.61-.486-1.612-1.003-2.942-1.762-4.115-.764-1.181-1.752-2.173-3.143-3.143-2.432-1.697-5.33-2.775-12.238-2.852a31.784 31.784 0 0 0-2.341-.088c-4.992 0-7.913 2.17-9.991 4.552-2.311 2.649-3.663 5.973-3.026 10.255.401 2.7 2.172 4.767 4.353 5.893 1.202.62 2.364.745 3.437.698.626.018 1.164.193 1.579.498.432.319.772.81.932 1.518.156.693.05 1.316-.273 1.84-.328.532-.911 1.01-1.788 1.335l.453 1.22c.4-.15.766-.33 1.095-.54.34.438.706.812 1.153 1.02.67.312 1.368.194 2.128-.146.899-.401 1.487-1.199 1.775-2.192.287-.984.29-2.186.027-3.504-.277-1.387-1.028-2.597-1.964-3.282-.47-.344-1.018-.576-1.595-.591-.592-.015-1.16.201-1.633.657-.237.228-.453.466-.588.73a18.02 18.02 0 0 1-1.056.119c-.978-1.694-1.99-4.974-.697-7.954 1.273-2.936 3.533-4.016 5.607-3.827 2.107.193 4.134 1.703 4.901 4.207l1.243-.38c-.916-2.995-3.377-4.88-6.025-5.121-2.681-.245-5.442 1.199-6.919 4.603-1.35 3.116-.56 6.411.41 8.445a4.899 4.899 0 0 1-1.605-.508c-1.872-.967-3.334-2.707-3.664-4.93-.573-3.855.624-6.807 2.72-9.209Z"}),c.createElement("path",{d:"M21.557 8.042c-4.751 0-7.47 3.266-8.845 6.455l-1.194-.515c1.475-3.42 4.546-7.24 10.04-7.24 3.835 0 6.433 1.789 8.095 4.01 1.643 2.197 2.375 4.817 2.551 6.575.261 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753v.001a122.38 122.38 0 0 0-.82 2.57c-.208.693-.41 1.396-.604 2.073v.001c-.208.723-.407 1.417-.598 2.04-.384 1.249-.787 2.392-1.3 3.369-.515.981-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.239 1.083-2.245.172-4.072-.848-5.31-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.602 4.417 1.624 5.824 1.009 1.387 2.423 2.15 4.159 2.017 1.113-.085 1.937-.386 2.586-.846.653-.464 1.172-1.119 1.624-1.98.455-.867.83-1.916 1.207-3.146.2-.65.386-1.303.584-1.995v-.001c.19-.66.389-1.355.617-2.112.264-.874.554-1.761.849-2.664.488-1.495.99-3.03 1.409-4.617.666-2.519 1.084-5.039.846-7.426-.158-1.575-.826-3.955-2.3-5.925-1.454-1.945-3.689-3.49-7.054-3.49Z"}));return l({size:t,isHovered:e,normal:a,normalHover:r})};export{h as default};
2
+ //# sourceMappingURL=EarHearingAid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarHearingAid.js","sources":["../../../src/components/Icons/EarHearingAid.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst EarHearingAid: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path d=\"M12.892 9.847c1.891-2.167 4.684-3.964 8.708-3.964.366 0 .737.019 1.111.054 1.344.559 2.423 1.159 3.298 1.766-1.252-.6-2.727-.962-4.452-.962-5.493 0-8.564 3.82-10.039 7.241l1.194.515c1.375-3.19 4.094-6.456 8.845-6.456 3.365 0 5.6 1.544 7.055 3.49 1.473 1.97 2.141 4.35 2.299 5.925.238 2.387-.18 4.907-.846 7.426-.42 1.586-.921 3.122-1.41 4.616-.294.903-.584 1.79-.848 2.665-.228.757-.427 1.45-.616 2.111v.001c-.198.691-.386 1.346-.585 1.996-.378 1.23-.752 2.279-1.207 3.145-.453.862-.971 1.517-1.624 1.98-.649.46-1.473.762-2.586.847-1.736.133-3.15-.63-4.159-2.018-1.022-1.407-1.624-3.461-1.624-5.824h-1.3c0 2.562.65 4.905 1.873 6.589 1.237 1.702 3.064 2.721 5.31 2.55 1.306-.1 2.366-.465 3.238-1.084.868-.616 1.507-1.454 2.023-2.436.512-.976.915-2.12 1.299-3.368.191-.623.39-1.318.598-2.041.194-.678.396-1.38.605-2.073.245-.814.527-1.677.818-2.57v-.001c.2-.613.405-1.24.606-1.874l.287.166c1.193.689 2.715.552 3.79.264.687-.184 1.438-.752 2.072-1.465a7.782 7.782 0 0 0 1.588-2.775c.64-2.033 1.154-5.519.514-8.294-.384-1.663-.862-2.947-1.518-4.083-.655-1.135-1.47-2.096-2.491-3.124-2.115-2.13-4.896-3.603-11.807-4.134v.002a13.18 13.18 0 0 0-1.311-.067c-4.468 0-7.599 2.016-9.687 4.41-2.311 2.649-3.663 5.973-3.026 10.254.401 2.7 2.172 4.767 4.353 5.894 1.202.62 2.364.745 3.437.698.626.018 1.164.193 1.579.498.432.319.772.81.932 1.518.156.692.05 1.316-.273 1.84-.328.531-.911 1.01-1.788 1.335l.453 1.219c.4-.149.766-.329 1.095-.539.34.438.706.812 1.153 1.02.67.311 1.368.193 2.128-.146.899-.402 1.487-1.2 1.775-2.192.287-.984.29-2.186.027-3.505-.277-1.386-1.028-2.596-1.964-3.281-.47-.345-1.018-.577-1.595-.591-.592-.016-1.16.2-1.633.656-.237.228-.453.467-.588.73a17.85 17.85 0 0 1-1.056.12c-.978-1.695-1.99-4.974-.697-7.955 1.273-2.935 3.533-4.016 5.607-3.826 2.107.193 4.134 1.702 4.901 4.207l1.243-.38c-.916-2.995-3.377-4.88-6.025-5.122-2.681-.245-5.442 1.2-6.919 4.604-1.35 3.116-.56 6.41.41 8.445a4.9 4.9 0 0 1-1.605-.508c-1.872-.967-3.334-2.707-3.664-4.93-.573-3.855.624-6.807 2.72-9.209Z\" />\n );\n\n const normalHover = (\n <>\n <path d=\"M12.892 9.847c1.902-2.179 4.49-4.106 9.012-4.106.738 0 1.49.028 2.235.083 4.465.946 6.405 2.922 7.42 4.313 1.275 1.748 2.831 5.024 3.007 8.124.206 3.65-.307 5.562-1.278 8.527l-.176.536.506.25c.643.317 1.5.4 2.265.379.78-.021 1.575-.152 2.148-.347.645-.219 1.398-.78 2.041-1.51.654-.742 1.25-1.723 1.524-2.847.514-2.1.605-5.906-.208-8.61-.486-1.612-1.003-2.942-1.762-4.115-.764-1.181-1.752-2.173-3.143-3.143-2.432-1.697-5.33-2.775-12.238-2.852a31.784 31.784 0 0 0-2.341-.088c-4.992 0-7.913 2.17-9.991 4.552-2.311 2.649-3.663 5.973-3.026 10.255.401 2.7 2.172 4.767 4.353 5.893 1.202.62 2.364.745 3.437.698.626.018 1.164.193 1.579.498.432.319.772.81.932 1.518.156.693.05 1.316-.273 1.84-.328.532-.911 1.01-1.788 1.335l.453 1.22c.4-.15.766-.33 1.095-.54.34.438.706.812 1.153 1.02.67.312 1.368.194 2.128-.146.899-.401 1.487-1.199 1.775-2.192.287-.984.29-2.186.027-3.504-.277-1.387-1.028-2.597-1.964-3.282-.47-.344-1.018-.576-1.595-.591-.592-.015-1.16.201-1.633.657-.237.228-.453.466-.588.73a18.02 18.02 0 0 1-1.056.119c-.978-1.694-1.99-4.974-.697-7.954 1.273-2.936 3.533-4.016 5.607-3.827 2.107.193 4.134 1.703 4.901 4.207l1.243-.38c-.916-2.995-3.377-4.88-6.025-5.121-2.681-.245-5.442 1.199-6.919 4.603-1.35 3.116-.56 6.411.41 8.445a4.899 4.899 0 0 1-1.605-.508c-1.872-.967-3.334-2.707-3.664-4.93-.573-3.855.624-6.807 2.72-9.209Z\" />\n <path d=\"M21.557 8.042c-4.751 0-7.47 3.266-8.845 6.455l-1.194-.515c1.475-3.42 4.546-7.24 10.04-7.24 3.835 0 6.433 1.789 8.095 4.01 1.643 2.197 2.375 4.817 2.551 6.575.261 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753v.001a122.38 122.38 0 0 0-.82 2.57c-.208.693-.41 1.396-.604 2.073v.001c-.208.723-.407 1.417-.598 2.04-.384 1.249-.787 2.392-1.3 3.369-.515.981-1.154 1.82-2.022 2.436-.872.619-1.932.983-3.239 1.083-2.245.172-4.072-.848-5.31-2.55-1.223-1.683-1.872-4.026-1.872-6.588h1.3c0 2.362.602 4.417 1.624 5.824 1.009 1.387 2.423 2.15 4.159 2.017 1.113-.085 1.937-.386 2.586-.846.653-.464 1.172-1.119 1.624-1.98.455-.867.83-1.916 1.207-3.146.2-.65.386-1.303.584-1.995v-.001c.19-.66.389-1.355.617-2.112.264-.874.554-1.761.849-2.664.488-1.495.99-3.03 1.409-4.617.666-2.519 1.084-5.039.846-7.426-.158-1.575-.826-3.955-2.3-5.925-1.454-1.945-3.689-3.49-7.054-3.49Z\" />\n </>\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default EarHearingAid;\n"],"names":["EarHearingAid","size","isHovered","normal","React","normalHover","getIcon"],"mappings":"+LAIA,MAAMA,EAAwC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAAkD,CACvG,MAAMC,EACJC,EAAA,cAAC,OAAK,CAAA,EAAE,y8DAA08D,CAAA,EAG98DC,EAEFD,EAAA,cAAAA,EAAA,SAAA,KAAAA,EAAA,cAAC,OAAK,CAAA,EAAE,8yCAA+yC,CAAA,EACtzCA,EAAA,cAAA,OAAA,CAAK,EAAE,o2BAAq2B,CAAA,CAC/2B,EAGF,OAAOE,EAAQ,CAAE,KAAAL,EAAM,UAAAC,EAAW,OAAAC,EAAQ,YAAAE,EAAa,CACzD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const EarVolume: React.FC<SvgPathProps>;
4
+ export default EarVolume;
5
+ //# sourceMappingURL=EarVolume.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarVolume.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/EarVolume.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsBrC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import{getIcon as r}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const i=({size:t,isHovered:l})=>{const c=e.createElement(e.Fragment,null,e.createElement("path",{d:"M15.435 7.86c-4.752 0-7.471 3.266-8.846 6.455L5.396 13.8c1.474-3.42 4.546-7.24 10.039-7.24 3.835 0 6.434 1.789 8.095 4.01 1.644 2.197 2.376 4.817 2.551 6.575.262 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753-.126.387-.224.664-.315.919-.118.334-.223.631-.363 1.093l-.159.113c-.396.282-1.001.712-1.595 1.145.193-.636.594-1.85.912-2.811l.305-.927c.488-1.495.99-3.03 1.41-4.617.665-2.519 1.084-5.039.845-7.426-.158-1.575-.826-3.956-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z"}),e.createElement("path",{d:"M15.828 11.264c2.648.242 5.109 2.127 6.025 5.12l-1.243.381c-.766-2.504-2.794-4.014-4.9-4.207-2.074-.19-4.335.891-5.608 3.826-1.3 3-.269 6.3.715 7.986.762.057 1.484.294 2.087.738.706.52 1.207 1.292 1.43 2.28.225 1 .079 1.975-.436 2.809-.511.827-1.354 1.466-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.525.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.519-.439-.323-1.015-.5-1.687-.5h-.352l-.193-.294c-1.155-1.771-2.61-5.762-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603Z"}),e.createElement("path",{fillRule:"evenodd",d:"M36.112 25.523V38.08h6.492V21.21l-6.492 4.314Zm5.492-2.449V37.08h-4.492V26.06l4.492-2.985Zm-13.052 7.532v7.474h6.492V26.292l-6.492 4.314Zm5.492-2.45v8.924h-4.492v-5.938l4.492-2.985Z",clipRule:"evenodd"}),e.createElement("path",{d:"M17.663 38.08h9.878v-6.803l-9.878 6.803Zm1.125 1.964a4.73 4.73 0 0 1-1.136 1.17c-.648.46-1.473.762-2.586.847-1.736.134-3.15-.63-4.158-2.017-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.649 4.905 1.872 6.588 1.237 1.702 3.065 2.722 5.31 2.55 1.306-.1 2.366-.464 3.239-1.083.807-.573 1.416-1.338 1.912-2.231h-1.529Z"})),m=e.createElement(e.Fragment,null,e.createElement("path",{d:"M15.435 7.86c-4.752 0-7.471 3.267-8.846 6.456L5.396 13.8c1.474-3.42 4.546-7.24 10.039-7.24 3.835 0 6.434 1.789 8.095 4.01 1.644 2.197 2.376 4.817 2.551 6.575.262 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753-.126.387-.224.664-.315.919-.118.334-.223.632-.363 1.093l-.159.114c-.396.281-1.001.711-1.595 1.144.193-.636.594-1.85.912-2.811l.305-.927c.488-1.495.99-3.031 1.41-4.617.665-2.519 1.084-5.039.845-7.426-.158-1.575-.826-3.956-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z"}),e.createElement("path",{d:"M15.828 11.265c2.648.242 5.109 2.127 6.025 5.12l-1.243.381c-.766-2.504-2.794-4.014-4.9-4.207-2.074-.19-4.335.891-5.608 3.827-1.3 2.998-.269 6.3.715 7.985.762.057 1.484.294 2.087.738.706.52 1.207 1.292 1.43 2.28.225 1 .079 1.975-.436 2.809-.511.827-1.354 1.466-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.525.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.519-.439-.322-1.015-.5-1.687-.5h-.352l-.193-.294c-1.155-1.771-2.61-5.761-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603Zm1.835 26.816h9.878v-6.803l-9.878 6.803Zm1.125 1.963a4.727 4.727 0 0 1-1.136 1.172c-.648.46-1.473.761-2.586.846-1.736.134-3.15-.63-4.158-2.017-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.649 4.905 1.872 6.588 1.237 1.702 3.065 2.722 5.31 2.55 1.306-.1 2.366-.464 3.239-1.083.807-.573 1.416-1.338 1.912-2.232h-1.529Z"}));return r({size:t,isHovered:l,normal:c,normalHover:m})};export{i as default};
2
+ //# sourceMappingURL=EarVolume.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EarVolume.js","sources":["../../../src/components/Icons/EarVolume.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst EarVolume: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <>\n <path d=\"M15.435 7.86c-4.752 0-7.471 3.266-8.846 6.455L5.396 13.8c1.474-3.42 4.546-7.24 10.039-7.24 3.835 0 6.434 1.789 8.095 4.01 1.644 2.197 2.376 4.817 2.551 6.575.262 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753-.126.387-.224.664-.315.919-.118.334-.223.631-.363 1.093l-.159.113c-.396.282-1.001.712-1.595 1.145.193-.636.594-1.85.912-2.811l.305-.927c.488-1.495.99-3.03 1.41-4.617.665-2.519 1.084-5.039.845-7.426-.158-1.575-.826-3.956-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z\" />\n <path d=\"M15.828 11.264c2.648.242 5.109 2.127 6.025 5.12l-1.243.381c-.766-2.504-2.794-4.014-4.9-4.207-2.074-.19-4.335.891-5.608 3.826-1.3 3-.269 6.3.715 7.986.762.057 1.484.294 2.087.738.706.52 1.207 1.292 1.43 2.28.225 1 .079 1.975-.436 2.809-.511.827-1.354 1.466-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.525.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.519-.439-.323-1.015-.5-1.687-.5h-.352l-.193-.294c-1.155-1.771-2.61-5.762-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603Z\" />\n <path\n fillRule=\"evenodd\"\n d=\"M36.112 25.523V38.08h6.492V21.21l-6.492 4.314Zm5.492-2.449V37.08h-4.492V26.06l4.492-2.985Zm-13.052 7.532v7.474h6.492V26.292l-6.492 4.314Zm5.492-2.45v8.924h-4.492v-5.938l4.492-2.985Z\"\n clipRule=\"evenodd\"\n />\n <path d=\"M17.663 38.08h9.878v-6.803l-9.878 6.803Zm1.125 1.964a4.73 4.73 0 0 1-1.136 1.17c-.648.46-1.473.762-2.586.847-1.736.134-3.15-.63-4.158-2.017-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.649 4.905 1.872 6.588 1.237 1.702 3.065 2.722 5.31 2.55 1.306-.1 2.366-.464 3.239-1.083.807-.573 1.416-1.338 1.912-2.231h-1.529Z\" />\n </>\n );\n\n const normalHover = (\n <>\n <path d=\"M15.435 7.86c-4.752 0-7.471 3.267-8.846 6.456L5.396 13.8c1.474-3.42 4.546-7.24 10.039-7.24 3.835 0 6.434 1.789 8.095 4.01 1.644 2.197 2.376 4.817 2.551 6.575.262 2.613-.2 5.308-.882 7.887-.426 1.611-.953 3.226-1.451 4.753-.126.387-.224.664-.315.919-.118.334-.223.632-.363 1.093l-.159.114c-.396.281-1.001.711-1.595 1.144.193-.636.594-1.85.912-2.811l.305-.927c.488-1.495.99-3.031 1.41-4.617.665-2.519 1.084-5.039.845-7.426-.158-1.575-.826-3.956-2.299-5.925-1.455-1.945-3.69-3.49-7.054-3.49Z\" />\n <path d=\"M15.828 11.265c2.648.242 5.109 2.127 6.025 5.12l-1.243.381c-.766-2.504-2.794-4.014-4.9-4.207-2.074-.19-4.335.891-5.608 3.827-1.3 2.998-.269 6.3.715 7.985.762.057 1.484.294 2.087.738.706.52 1.207 1.292 1.43 2.28.225 1 .079 1.975-.436 2.809-.511.827-1.354 1.466-2.44 1.87l-.453-1.218c.876-.326 1.459-.804 1.787-1.335.324-.525.43-1.148.274-1.84-.16-.71-.5-1.2-.933-1.519-.439-.322-1.015-.5-1.687-.5h-.352l-.193-.294c-1.155-1.771-2.61-5.761-.991-9.494 1.476-3.404 4.237-4.848 6.918-4.603Zm1.835 26.816h9.878v-6.803l-9.878 6.803Zm1.125 1.963a4.727 4.727 0 0 1-1.136 1.172c-.648.46-1.473.761-2.586.846-1.736.134-3.15-.63-4.158-2.017-1.023-1.407-1.624-3.462-1.624-5.824h-1.3c0 2.562.649 4.905 1.872 6.588 1.237 1.702 3.065 2.722 5.31 2.55 1.306-.1 2.366-.464 3.239-1.083.807-.573 1.416-1.338 1.912-2.232h-1.529Z\" />\n </>\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default EarVolume;\n"],"names":["EarVolume","size","isHovered","normal","React","normalHover","getIcon"],"mappings":"+LAIA,MAAMA,EAAoC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAAkD,CAC7F,MAAAC,EAEFC,EAAA,cAAAA,EAAA,SAAA,KAAAA,EAAA,cAAC,OAAK,CAAA,EAAE,yeAA0e,CAAA,EACjfA,EAAA,cAAA,OAAA,CAAK,EAAE,keAAA,CAAme,EAC3eA,EAAA,cAAC,OAAA,CACC,SAAS,UACT,EAAE,wLACF,SAAS,SAAA,CAAA,EAEXA,EAAA,cAAC,OAAK,CAAA,EAAE,+TAAgU,CAAA,CAC1U,EAGIC,EAEFD,EAAA,cAAAA,EAAA,SAAA,KAAAA,EAAA,cAAC,OAAK,CAAA,EAAE,0eAA2e,CAAA,EAClfA,EAAA,cAAA,OAAA,CAAK,EAAE,syBAAuyB,CAAA,CACjzB,EAGF,OAAOE,EAAQ,CAAE,KAAAL,EAAM,UAAAC,EAAW,OAAAC,EAAQ,YAAAE,EAAa,CACzD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const EmergencyCall: React.FC<SvgPathProps>;
4
+ export default EmergencyCall;
5
+ //# sourceMappingURL=EmergencyCall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmergencyCall.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/EmergencyCall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkBzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ import l from"react";import{getIcon as e}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const i=({size:c,isHovered:a})=>e({size:c,isHovered:a,normal:l.createElement("path",{fillRule:"evenodd",d:"M32.175 5.58c-5.59 0-10.12 4.573-10.12 10.162 0 5.59 4.53 10.162 10.12 10.162.078 0 .157 0 .235-.002l.632 6.071 7.164-10.056a10.14 10.14 0 0 0 2.089-6.175c0-5.59-4.531-10.162-10.12-10.162Zm1.732 4.787h-3.465v3.735h-3.735v3.465h3.735v3.735h3.465v-3.735h3.735v-3.465h-3.735v-3.735Zm-21.56 4.514a2.46 2.46 0 0 0-3.475-.196h.001a62.998 62.998 0 0 1-.96.81c-1.152.967-1.72 1.967-2.16 3.522-.436 1.547-.714 4.216.78 8.232 1.238 3.331 4.042 6.166 5.863 8.007l.034.035.204.204.034.034c1.842 1.82 4.676 4.624 8.008 5.863 4.016 1.494 6.684 1.216 8.232.78 1.554-.44 2.555-1.008 3.522-2.16l.136-.162c.225-.269.45-.537.678-.803a2.46 2.46 0 0 0-.2-3.47l-4.504-4.022a2.46 2.46 0 0 0-3.475.196c-.349.39-.703.783-1.059 1.177-.58.642-1.165 1.289-1.738 1.942l-.472-.41h-.001l-1.024-.89a87.451 87.451 0 0 1-3.28-3.117c-1.943-1.942-2.93-3.07-3.08-3.243h-.001l-1.355-1.554c.653-.573 1.3-1.157 1.942-1.738.394-.355.786-.71 1.177-1.059a2.46 2.46 0 0 0 .196-3.474l-4.023-4.504Zm19.866 21.627c.5.446.543 1.214.097 1.714a78.24 78.24 0 0 0-.667.788l-.168.2c-.774.922-1.537 1.375-2.906 1.761-1.284.363-3.682.657-7.458-.747-3.059-1.138-5.723-3.76-7.6-5.616-.066-.064-.13-.129-.194-.194-1.857-1.877-4.479-4.542-5.616-7.6-1.405-3.777-1.11-6.175-.748-7.458.387-1.369.84-2.133 1.762-2.907.094-.08.19-.158.285-.237.235-.196.471-.392.701-.596l.002-.001a1.214 1.214 0 0 1 1.714.097l4.023 4.503c.447.5.403 1.268-.097 1.715l-1.147 1.028c-.965.868-1.924 1.73-2.904 2.576l.413.472c.462.527 1.099 1.258 1.763 2.02l.002.003c.167.192 1.174 1.341 3.139 3.306a88.681 88.681 0 0 0 3.33 3.164l.009.007c.368.322.715.622 1.034.9l.937.813.472.413c.846-.98 1.708-1.938 2.575-2.904l1.03-1.147a1.214 1.214 0 0 1 1.713-.096l4.504 4.023Z",clipRule:"evenodd"}),normalHover:l.createElement("path",{fillRule:"evenodd",d:"M32.175 5.58c-5.59 0-10.12 4.573-10.12 10.162 0 5.59 4.53 10.162 10.12 10.162.078 0 .157 0 .235-.002l.632 6.071 7.164-10.056a10.14 10.14 0 0 0 2.089-6.175c0-5.59-4.531-10.162-10.12-10.162Zm1.732 4.787h-3.465v3.735h-3.735v3.465h3.735v3.735h3.465v-3.735h3.735v-3.465h-3.735v-3.735Zm-17.842 3.084a2.46 2.46 0 0 0-3.305-1.088l.001-.001c-.287.139-.576.273-.866.408l-.271.126c-1.364.636-2.171 1.455-2.998 2.844-.822 1.381-1.781 3.887-1.378 8.152.335 3.54 2.309 7.003 3.591 9.253l.024.042.144.25.025.042c1.307 2.235 3.32 5.677 6.217 7.736 3.492 2.481 6.142 2.904 7.75 2.882 1.615-.021 2.728-.311 3.961-1.174l.173-.12c.287-.202.574-.403.863-.6a2.46 2.46 0 0 0 .704-3.404l-3.309-5.051a2.46 2.46 0 0 0-3.407-.71c-.438.287-.882.574-1.327.862a180.7 180.7 0 0 0-2.182 1.427l-.35-.518a533.1 533.1 0 0 1-.76-1.125 87.36 87.36 0 0 1-2.362-3.86c-1.373-2.38-2.035-3.725-2.135-3.93l-.907-1.852c.779-.385 1.554-.781 2.325-1.176.472-.241.943-.482 1.411-.718a2.46 2.46 0 0 0 1.089-3.305l-2.72-5.392Zm13.592 26.032c.368.56.21 1.313-.35 1.68-.284.194-.566.392-.848.589l-.214.15c-.986.69-1.84.93-3.263.949-1.334.018-3.726-.318-7.01-2.652-2.66-1.89-4.556-5.113-5.889-7.392a25.527 25.527 0 0 1-.136-.237c-1.308-2.294-3.15-5.546-3.458-8.795-.379-4.011.526-6.252 1.209-7.397.727-1.223 1.362-1.843 2.453-2.352.112-.053.225-.104.337-.156.278-.128.557-.257.832-.393l.002-.001a1.214 1.214 0 0 1 1.63.537l2.72 5.391a1.214 1.214 0 0 1-.537 1.63l-1.374.698a195.985 195.985 0 0 1-3.471 1.736l.276.563c.31.628.735 1.498 1.178 2.404l.004.008c.111.227.786 1.598 2.176 4.005a88.624 88.624 0 0 0 2.398 3.918l.006.009.766 1.135c.257.38.49.725.694 1.03l.35.52c1.07-.727 2.15-1.43 3.239-2.138l1.29-.841a1.214 1.214 0 0 1 1.681.35l3.31 5.052Z",clipRule:"evenodd"})});export{i as default};
2
+ //# sourceMappingURL=EmergencyCall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmergencyCall.js","sources":["../../../src/components/Icons/EmergencyCall.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst EmergencyCall: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n d=\"M32.175 5.58c-5.59 0-10.12 4.573-10.12 10.162 0 5.59 4.53 10.162 10.12 10.162.078 0 .157 0 .235-.002l.632 6.071 7.164-10.056a10.14 10.14 0 0 0 2.089-6.175c0-5.59-4.531-10.162-10.12-10.162Zm1.732 4.787h-3.465v3.735h-3.735v3.465h3.735v3.735h3.465v-3.735h3.735v-3.465h-3.735v-3.735Zm-21.56 4.514a2.46 2.46 0 0 0-3.475-.196h.001a62.998 62.998 0 0 1-.96.81c-1.152.967-1.72 1.967-2.16 3.522-.436 1.547-.714 4.216.78 8.232 1.238 3.331 4.042 6.166 5.863 8.007l.034.035.204.204.034.034c1.842 1.82 4.676 4.624 8.008 5.863 4.016 1.494 6.684 1.216 8.232.78 1.554-.44 2.555-1.008 3.522-2.16l.136-.162c.225-.269.45-.537.678-.803a2.46 2.46 0 0 0-.2-3.47l-4.504-4.022a2.46 2.46 0 0 0-3.475.196c-.349.39-.703.783-1.059 1.177-.58.642-1.165 1.289-1.738 1.942l-.472-.41h-.001l-1.024-.89a87.451 87.451 0 0 1-3.28-3.117c-1.943-1.942-2.93-3.07-3.08-3.243h-.001l-1.355-1.554c.653-.573 1.3-1.157 1.942-1.738.394-.355.786-.71 1.177-1.059a2.46 2.46 0 0 0 .196-3.474l-4.023-4.504Zm19.866 21.627c.5.446.543 1.214.097 1.714a78.24 78.24 0 0 0-.667.788l-.168.2c-.774.922-1.537 1.375-2.906 1.761-1.284.363-3.682.657-7.458-.747-3.059-1.138-5.723-3.76-7.6-5.616-.066-.064-.13-.129-.194-.194-1.857-1.877-4.479-4.542-5.616-7.6-1.405-3.777-1.11-6.175-.748-7.458.387-1.369.84-2.133 1.762-2.907.094-.08.19-.158.285-.237.235-.196.471-.392.701-.596l.002-.001a1.214 1.214 0 0 1 1.714.097l4.023 4.503c.447.5.403 1.268-.097 1.715l-1.147 1.028c-.965.868-1.924 1.73-2.904 2.576l.413.472c.462.527 1.099 1.258 1.763 2.02l.002.003c.167.192 1.174 1.341 3.139 3.306a88.681 88.681 0 0 0 3.33 3.164l.009.007c.368.322.715.622 1.034.9l.937.813.472.413c.846-.98 1.708-1.938 2.575-2.904l1.03-1.147a1.214 1.214 0 0 1 1.713-.096l4.504 4.023Z\"\n clipRule=\"evenodd\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n d=\"M32.175 5.58c-5.59 0-10.12 4.573-10.12 10.162 0 5.59 4.53 10.162 10.12 10.162.078 0 .157 0 .235-.002l.632 6.071 7.164-10.056a10.14 10.14 0 0 0 2.089-6.175c0-5.59-4.531-10.162-10.12-10.162Zm1.732 4.787h-3.465v3.735h-3.735v3.465h3.735v3.735h3.465v-3.735h3.735v-3.465h-3.735v-3.735Zm-17.842 3.084a2.46 2.46 0 0 0-3.305-1.088l.001-.001c-.287.139-.576.273-.866.408l-.271.126c-1.364.636-2.171 1.455-2.998 2.844-.822 1.381-1.781 3.887-1.378 8.152.335 3.54 2.309 7.003 3.591 9.253l.024.042.144.25.025.042c1.307 2.235 3.32 5.677 6.217 7.736 3.492 2.481 6.142 2.904 7.75 2.882 1.615-.021 2.728-.311 3.961-1.174l.173-.12c.287-.202.574-.403.863-.6a2.46 2.46 0 0 0 .704-3.404l-3.309-5.051a2.46 2.46 0 0 0-3.407-.71c-.438.287-.882.574-1.327.862a180.7 180.7 0 0 0-2.182 1.427l-.35-.518a533.1 533.1 0 0 1-.76-1.125 87.36 87.36 0 0 1-2.362-3.86c-1.373-2.38-2.035-3.725-2.135-3.93l-.907-1.852c.779-.385 1.554-.781 2.325-1.176.472-.241.943-.482 1.411-.718a2.46 2.46 0 0 0 1.089-3.305l-2.72-5.392Zm13.592 26.032c.368.56.21 1.313-.35 1.68-.284.194-.566.392-.848.589l-.214.15c-.986.69-1.84.93-3.263.949-1.334.018-3.726-.318-7.01-2.652-2.66-1.89-4.556-5.113-5.889-7.392a25.527 25.527 0 0 1-.136-.237c-1.308-2.294-3.15-5.546-3.458-8.795-.379-4.011.526-6.252 1.209-7.397.727-1.223 1.362-1.843 2.453-2.352.112-.053.225-.104.337-.156.278-.128.557-.257.832-.393l.002-.001a1.214 1.214 0 0 1 1.63.537l2.72 5.391a1.214 1.214 0 0 1-.537 1.63l-1.374.698a195.985 195.985 0 0 1-3.471 1.736l.276.563c.31.628.735 1.498 1.178 2.404l.004.008c.111.227.786 1.598 2.176 4.005a88.624 88.624 0 0 0 2.398 3.918l.006.009.766 1.135c.257.38.49.725.694 1.03l.35.52c1.07-.727 2.15-1.43 3.239-2.138l1.29-.841a1.214 1.214 0 0 1 1.681.35l3.31 5.052Z\"\n clipRule=\"evenodd\"\n />\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default EmergencyCall;\n"],"names":["EmergencyCall","size","isHovered","getIcon","React"],"mappings":"+LAIA,MAAMA,EAAwC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiB9CC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAfhCE,EAAA,cAAC,OAAA,CACC,SAAS,UACT,EAAE,opDACF,SAAS,SAAA,CAAA,EAY6B,YAPxCA,EAAA,cAAC,OAAA,CACC,SAAS,UACT,EAAE,mqDACF,SAAS,SAAA,CAAA,EAI0C"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const Glasses: React.FC<SvgPathProps>;
4
+ export default Glasses;
5
+ //# sourceMappingURL=Glasses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Glasses.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Glasses.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkBnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ import c from"react";import{getIcon as e}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const s=({size:l,isHovered:a})=>e({size:l,isHovered:a,normal:c.createElement("path",{fillRule:"evenodd",d:"M13.506 16.478c2.486.255 4.857.897 6.482 1.98.298.2.543.43.742.686a4.32 4.32 0 0 1 .967-.34 8.631 8.631 0 0 1 1.93-.204c.665 0 1.34.066 1.93.204.394.093.795.228 1.131.43.21-.29.477-.553.81-.775 1.625-1.084 3.995-1.726 6.481-1.981 2.5-.256 5.196-.13 7.52.387 1.19.265 1.606.395 1.98.513l.063.02c.35.11.71.217 1.944.464v1.275c-.394.079-.653.299-.854.691-.219.425-.35 1.016-.441 1.752-.045.362-.08.741-.114 1.136l-.011.132c-.03.35-.062.711-.1 1.066-.088.793-.22 1.616-.504 2.327a7.512 7.512 0 0 1-2.012 2.872c-1.26 1.108-3.19 2.037-6.092 2.037-2.876 0-4.771-.788-6.024-1.762-1.241-.966-1.795-2.073-2.055-2.594l-.002-.004c-.268-.535-.921-2.058-1.185-3.686-.136-.836-.182-1.796.046-2.673-.135-.114-.42-.253-.878-.361a7.347 7.347 0 0 0-1.633-.17c-.585 0-1.16.059-1.632.17-.3.07-.524.154-.682.235.268.91.223 1.922.081 2.799-.264 1.628-.917 3.15-1.185 3.686l-.002.005c-.26.52-.814 1.627-2.056 2.593-1.252.974-3.147 1.762-6.024 1.762-2.901 0-4.83-.929-6.091-2.037a7.51 7.51 0 0 1-2.012-2.872c-.284-.71-.416-1.534-.504-2.327a44.99 44.99 0 0 1-.1-1.066l-.011-.132a30.461 30.461 0 0 0-.114-1.136c-.092-.736-.222-1.327-.44-1.752-.203-.392-.462-.612-.855-.691v-1.275c1.234-.247 1.593-.354 1.944-.464l.062-.02c.374-.118.79-.248 1.98-.513 2.325-.516 5.02-.643 7.52-.387Zm-.132 1.293a23.739 23.739 0 0 0-5.816.125c-2.34.61-3.003 1.82-2.92 4.002.025.235.045.471.066.706l.011.132.044.493c.085.658.208 1.386.354 2.19.036.118.075.231.118.34a6.21 6.21 0 0 0 1.663 2.377c1.015.892 2.635 1.714 5.233 1.714 2.624 0 4.229-.713 5.226-1.489 1.006-.781 1.453-1.671 1.693-2.152.232-.464.829-1.858 1.065-3.313.245-1.514.055-2.756-.844-3.356-1.375-.916-3.505-1.524-5.893-1.769Zm28.999 7.647c.146-.803.269-1.53.354-2.19.015-.162.03-.325.043-.49v-.002l.012-.132c.02-.235.041-.471.065-.706.084-2.182-.58-3.392-2.92-4.002a23.739 23.739 0 0 0-5.815-.125c-2.389.245-4.519.853-5.893 1.77-.899.599-1.09 1.84-.844 3.355.236 1.455.832 2.849 1.065 3.313.24.48.687 1.37 1.692 2.152.998.776 2.603 1.489 5.226 1.489 2.598 0 4.22-.822 5.234-1.714a6.211 6.211 0 0 0 1.663-2.378c.043-.108.082-.221.118-.34Z",clipRule:"evenodd"}),normalHover:c.createElement("path",{fillRule:"evenodd",d:"M10.387 12.5a.5.5 0 0 1 .395.18l5 6-.768.64-4.599-5.518-6.574 8.628.103-.032.062-.02c.374-.117.79-.248 1.98-.512 2.325-.517 5.02-.644 7.52-.388 2.486.255 4.857.897 6.482 1.981.298.199.543.43.742.685a4.37 4.37 0 0 1 .967-.34 8.631 8.631 0 0 1 1.93-.204c.665 0 1.34.066 1.93.205.394.092.795.228 1.131.43.21-.291.477-.554.81-.776 1.625-1.084 3.995-1.726 6.481-1.98 2.5-.257 5.196-.13 7.52.387 1.101.244 1.54.374 1.895.486l-6.514-8.55-4.598 5.518-.768-.64 5-6a.5.5 0 0 1 .781.017l7.663 10.058.528.108v1.274c-.394.08-.653.3-.854.692-.219.424-.35 1.016-.441 1.752-.045.361-.08.74-.114 1.135l-.011.132c-.03.35-.062.712-.1 1.067-.088.793-.22 1.616-.504 2.326a7.512 7.512 0 0 1-2.012 2.872c-1.26 1.108-3.19 2.037-6.092 2.037-2.876 0-4.771-.788-6.024-1.762-1.241-.965-1.795-2.072-2.055-2.593l-.002-.004c-.268-.536-.921-2.059-1.185-3.687-.136-.836-.182-1.796.046-2.672-.135-.115-.42-.254-.878-.362a7.347 7.347 0 0 0-1.633-.17c-.585 0-1.16.059-1.632.17-.3.07-.524.154-.682.236.268.91.223 1.922.081 2.798-.264 1.628-.917 3.151-1.185 3.687l-.002.004c-.26.52-.814 1.627-2.056 2.593-1.252.974-3.147 1.762-6.024 1.762-2.901 0-4.83-.929-6.091-2.037a7.51 7.51 0 0 1-2.012-2.872c-.284-.71-.416-1.533-.504-2.326a44.99 44.99 0 0 1-.1-1.066l-.011-.133a30.44 30.44 0 0 0-.114-1.135c-.092-.736-.222-1.328-.44-1.752-.203-.393-.462-.613-.855-.692v-1.274l.301-.061L10 12.697a.5.5 0 0 1 .387-.197ZM7.558 22.896a23.739 23.739 0 0 1 5.816-.124c2.388.245 4.518.853 5.893 1.769.899.599 1.09 1.841.844 3.355-.236 1.455-.833 2.849-1.065 3.313-.24.481-.687 1.371-1.693 2.153-.997.776-2.602 1.488-5.226 1.488-2.598 0-4.218-.821-5.233-1.713a6.21 6.21 0 0 1-1.663-2.378 4.14 4.14 0 0 1-.118-.34 45.06 45.06 0 0 1-.354-2.19 98.04 98.04 0 0 1-.044-.492l-.011-.133c-.02-.234-.041-.47-.065-.706-.084-2.181.579-3.392 2.92-4.002Zm35.17 5.333a45.102 45.102 0 0 1-.355 2.19 4.148 4.148 0 0 1-.118.34 6.211 6.211 0 0 1-1.663 2.378c-1.015.892-2.636 1.713-5.234 1.713-2.623 0-4.228-.712-5.226-1.488-1.005-.782-1.452-1.672-1.692-2.153-.233-.464-.83-1.858-1.065-3.313-.246-1.514-.055-2.756.844-3.355 1.374-.916 3.504-1.524 5.893-1.77a23.739 23.739 0 0 1 5.816.125c2.34.61 3.003 1.82 2.92 4.002-.025.235-.046.472-.066.706l-.011.133-.044.492Z",clipRule:"evenodd"})});export{s as default};
2
+ //# sourceMappingURL=Glasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Glasses.js","sources":["../../../src/components/Icons/Glasses.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst Glasses: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <path\n fillRule=\"evenodd\"\n d=\"M13.506 16.478c2.486.255 4.857.897 6.482 1.98.298.2.543.43.742.686a4.32 4.32 0 0 1 .967-.34 8.631 8.631 0 0 1 1.93-.204c.665 0 1.34.066 1.93.204.394.093.795.228 1.131.43.21-.29.477-.553.81-.775 1.625-1.084 3.995-1.726 6.481-1.981 2.5-.256 5.196-.13 7.52.387 1.19.265 1.606.395 1.98.513l.063.02c.35.11.71.217 1.944.464v1.275c-.394.079-.653.299-.854.691-.219.425-.35 1.016-.441 1.752-.045.362-.08.741-.114 1.136l-.011.132c-.03.35-.062.711-.1 1.066-.088.793-.22 1.616-.504 2.327a7.512 7.512 0 0 1-2.012 2.872c-1.26 1.108-3.19 2.037-6.092 2.037-2.876 0-4.771-.788-6.024-1.762-1.241-.966-1.795-2.073-2.055-2.594l-.002-.004c-.268-.535-.921-2.058-1.185-3.686-.136-.836-.182-1.796.046-2.673-.135-.114-.42-.253-.878-.361a7.347 7.347 0 0 0-1.633-.17c-.585 0-1.16.059-1.632.17-.3.07-.524.154-.682.235.268.91.223 1.922.081 2.799-.264 1.628-.917 3.15-1.185 3.686l-.002.005c-.26.52-.814 1.627-2.056 2.593-1.252.974-3.147 1.762-6.024 1.762-2.901 0-4.83-.929-6.091-2.037a7.51 7.51 0 0 1-2.012-2.872c-.284-.71-.416-1.534-.504-2.327a44.99 44.99 0 0 1-.1-1.066l-.011-.132a30.461 30.461 0 0 0-.114-1.136c-.092-.736-.222-1.327-.44-1.752-.203-.392-.462-.612-.855-.691v-1.275c1.234-.247 1.593-.354 1.944-.464l.062-.02c.374-.118.79-.248 1.98-.513 2.325-.516 5.02-.643 7.52-.387Zm-.132 1.293a23.739 23.739 0 0 0-5.816.125c-2.34.61-3.003 1.82-2.92 4.002.025.235.045.471.066.706l.011.132.044.493c.085.658.208 1.386.354 2.19.036.118.075.231.118.34a6.21 6.21 0 0 0 1.663 2.377c1.015.892 2.635 1.714 5.233 1.714 2.624 0 4.229-.713 5.226-1.489 1.006-.781 1.453-1.671 1.693-2.152.232-.464.829-1.858 1.065-3.313.245-1.514.055-2.756-.844-3.356-1.375-.916-3.505-1.524-5.893-1.769Zm28.999 7.647c.146-.803.269-1.53.354-2.19.015-.162.03-.325.043-.49v-.002l.012-.132c.02-.235.041-.471.065-.706.084-2.182-.58-3.392-2.92-4.002a23.739 23.739 0 0 0-5.815-.125c-2.389.245-4.519.853-5.893 1.77-.899.599-1.09 1.84-.844 3.355.236 1.455.832 2.849 1.065 3.313.24.48.687 1.37 1.692 2.152.998.776 2.603 1.489 5.226 1.489 2.598 0 4.22-.822 5.234-1.714a6.211 6.211 0 0 0 1.663-2.378c.043-.108.082-.221.118-.34Z\"\n clipRule=\"evenodd\"\n />\n );\n\n const normalHover = (\n <path\n fillRule=\"evenodd\"\n d=\"M10.387 12.5a.5.5 0 0 1 .395.18l5 6-.768.64-4.599-5.518-6.574 8.628.103-.032.062-.02c.374-.117.79-.248 1.98-.512 2.325-.517 5.02-.644 7.52-.388 2.486.255 4.857.897 6.482 1.981.298.199.543.43.742.685a4.37 4.37 0 0 1 .967-.34 8.631 8.631 0 0 1 1.93-.204c.665 0 1.34.066 1.93.205.394.092.795.228 1.131.43.21-.291.477-.554.81-.776 1.625-1.084 3.995-1.726 6.481-1.98 2.5-.257 5.196-.13 7.52.387 1.101.244 1.54.374 1.895.486l-6.514-8.55-4.598 5.518-.768-.64 5-6a.5.5 0 0 1 .781.017l7.663 10.058.528.108v1.274c-.394.08-.653.3-.854.692-.219.424-.35 1.016-.441 1.752-.045.361-.08.74-.114 1.135l-.011.132c-.03.35-.062.712-.1 1.067-.088.793-.22 1.616-.504 2.326a7.512 7.512 0 0 1-2.012 2.872c-1.26 1.108-3.19 2.037-6.092 2.037-2.876 0-4.771-.788-6.024-1.762-1.241-.965-1.795-2.072-2.055-2.593l-.002-.004c-.268-.536-.921-2.059-1.185-3.687-.136-.836-.182-1.796.046-2.672-.135-.115-.42-.254-.878-.362a7.347 7.347 0 0 0-1.633-.17c-.585 0-1.16.059-1.632.17-.3.07-.524.154-.682.236.268.91.223 1.922.081 2.798-.264 1.628-.917 3.151-1.185 3.687l-.002.004c-.26.52-.814 1.627-2.056 2.593-1.252.974-3.147 1.762-6.024 1.762-2.901 0-4.83-.929-6.091-2.037a7.51 7.51 0 0 1-2.012-2.872c-.284-.71-.416-1.533-.504-2.326a44.99 44.99 0 0 1-.1-1.066l-.011-.133a30.44 30.44 0 0 0-.114-1.135c-.092-.736-.222-1.328-.44-1.752-.203-.393-.462-.613-.855-.692v-1.274l.301-.061L10 12.697a.5.5 0 0 1 .387-.197ZM7.558 22.896a23.739 23.739 0 0 1 5.816-.124c2.388.245 4.518.853 5.893 1.769.899.599 1.09 1.841.844 3.355-.236 1.455-.833 2.849-1.065 3.313-.24.481-.687 1.371-1.693 2.153-.997.776-2.602 1.488-5.226 1.488-2.598 0-4.218-.821-5.233-1.713a6.21 6.21 0 0 1-1.663-2.378 4.14 4.14 0 0 1-.118-.34 45.06 45.06 0 0 1-.354-2.19 98.04 98.04 0 0 1-.044-.492l-.011-.133c-.02-.234-.041-.47-.065-.706-.084-2.181.579-3.392 2.92-4.002Zm35.17 5.333a45.102 45.102 0 0 1-.355 2.19 4.148 4.148 0 0 1-.118.34 6.211 6.211 0 0 1-1.663 2.378c-1.015.892-2.636 1.713-5.234 1.713-2.623 0-4.228-.712-5.226-1.488-1.005-.782-1.452-1.672-1.692-2.153-.233-.464-.83-1.858-1.065-3.313-.246-1.514-.055-2.756.844-3.355 1.374-.916 3.504-1.524 5.893-1.77a23.739 23.739 0 0 1 5.816.125c2.34.61 3.003 1.82 2.92 4.002-.025.235-.046.472-.066.706l-.011.133-.044.492Z\"\n clipRule=\"evenodd\"\n />\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default Glasses;\n"],"names":["Glasses","size","isHovered","getIcon","React"],"mappings":"+LAIA,MAAMA,EAAkC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAiBxCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OAfhCE,EAAA,cAAC,OAAA,CACC,SAAS,UACT,EAAE,4gEACF,SAAS,SAAA,CAAA,EAY6B,YAPxCA,EAAA,cAAC,OAAA,CACC,SAAS,UACT,EAAE,+oEACF,SAAS,SAAA,CAAA,EAI0C"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const HTMLFile: React.FC<SvgPathProps>;
4
+ export default HTMLFile;
5
+ //# sourceMappingURL=HTMLFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTMLFile.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/HTMLFile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgBpC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import{getIcon as l}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const c=({size:h,isHovered:m})=>{const t=e.createElement(e.Fragment,null,e.createElement("path",{d:"m21.565 22.235-2.292-2.292 2.292-2.292-.707-.707-2.999 3 2.999 2.998.707-.707Zm8.178-2.292-2.998 3-.707-.708 2.291-2.292-2.291-2.292.707-.707 2.998 3Zm4.052 12.441V33h-3.112v-4.722h.75v4.106h2.362Zm-8.377-4.106h-.968V33h.745v-1.63l-.076-2.139L26.727 33h.547l1.612-3.779-.076 2.15V33h.75v-4.722h-.977l-1.58 3.692-1.585-3.692Zm-3.323.62V33h-.746v-4.102H19.74v-.62h3.972v.62h-1.617Zm-3.834 1.463v-2.083h.75V33h-.75v-2.018h-2.448V33h-.75v-4.722h.75v2.083h2.448Z"}),e.createElement("path",{fillRule:"evenodd",d:"M10 7v34h27.6V7H10Zm26.35 1.25h-25.1v31.5h25.1V8.25Z",clipRule:"evenodd"})),v=e.createElement(e.Fragment,null,e.createElement("path",{d:"m19.565 22.235-2.292-2.292 2.292-2.292-.707-.707-2.999 3 2.999 2.998.707-.707Zm12.178-2.292-2.998 3-.707-.708 2.291-2.292-2.291-2.292.707-.707 2.998 3Zm2.052 12.441V33h-3.112v-4.722h.75v4.106h2.362Zm-8.377-4.106h-.968V33h.745v-1.63l-.076-2.139L26.727 33h.547l1.612-3.779-.076 2.15V33h.75v-4.722h-.977l-1.58 3.692-1.585-3.692Zm-3.323.62V33h-.746v-4.102H19.74v-.62h3.972v.62h-1.617Zm-3.834 1.463v-2.083h.75V33h-.75v-2.018h-2.448V33h-.75v-4.722h.75v2.083h2.448Z"}),e.createElement("path",{fillRule:"evenodd",d:"M10 7v34.016h27.6V7H10Zm26.35 1.25h-25.1v31.516h25.1V8.25Z",clipRule:"evenodd"}));return l({size:h,isHovered:m,normal:t,normalHover:v})};export{c as default};
2
+ //# sourceMappingURL=HTMLFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTMLFile.js","sources":["../../../src/components/Icons/HTMLFile.tsx"],"sourcesContent":["import React from 'react';\n\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst HTMLFile: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): React.ReactElement => {\n const normal = (\n <>\n <path d=\"m21.565 22.235-2.292-2.292 2.292-2.292-.707-.707-2.999 3 2.999 2.998.707-.707Zm8.178-2.292-2.998 3-.707-.708 2.291-2.292-2.291-2.292.707-.707 2.998 3Zm4.052 12.441V33h-3.112v-4.722h.75v4.106h2.362Zm-8.377-4.106h-.968V33h.745v-1.63l-.076-2.139L26.727 33h.547l1.612-3.779-.076 2.15V33h.75v-4.722h-.977l-1.58 3.692-1.585-3.692Zm-3.323.62V33h-.746v-4.102H19.74v-.62h3.972v.62h-1.617Zm-3.834 1.463v-2.083h.75V33h-.75v-2.018h-2.448V33h-.75v-4.722h.75v2.083h2.448Z\" />\n <path fillRule=\"evenodd\" d=\"M10 7v34h27.6V7H10Zm26.35 1.25h-25.1v31.5h25.1V8.25Z\" clipRule=\"evenodd\" />\n </>\n );\n\n const normalHover = (\n <>\n <path d=\"m19.565 22.235-2.292-2.292 2.292-2.292-.707-.707-2.999 3 2.999 2.998.707-.707Zm12.178-2.292-2.998 3-.707-.708 2.291-2.292-2.291-2.292.707-.707 2.998 3Zm2.052 12.441V33h-3.112v-4.722h.75v4.106h2.362Zm-8.377-4.106h-.968V33h.745v-1.63l-.076-2.139L26.727 33h.547l1.612-3.779-.076 2.15V33h.75v-4.722h-.977l-1.58 3.692-1.585-3.692Zm-3.323.62V33h-.746v-4.102H19.74v-.62h3.972v.62h-1.617Zm-3.834 1.463v-2.083h.75V33h-.75v-2.018h-2.448V33h-.75v-4.722h.75v2.083h2.448Z\" />\n <path fillRule=\"evenodd\" d=\"M10 7v34.016h27.6V7H10Zm26.35 1.25h-25.1v31.516h25.1V8.25Z\" clipRule=\"evenodd\" />\n </>\n );\n\n return getIcon({ size, isHovered, normal, normalHover });\n};\n\nexport default HTMLFile;\n"],"names":["HTMLFile","size","isHovered","normal","React","normalHover","getIcon"],"mappings":"+LAIA,MAAMA,EAAmC,CAAC,CAAE,KAAAC,EAAM,UAAAC,KAAkD,CAClG,MAAMC,EACJC,EAAA,cAAAA,EAAA,SAAA,KACGA,EAAA,cAAA,OAAA,CAAK,EAAE,4cAA4c,EACndA,EAAA,cAAA,OAAA,CAAK,SAAS,UAAU,EAAE,uDAAuD,SAAS,UAAU,CACvG,EAGIC,EACJD,EAAA,cAAAA,EAAA,SAAA,KACGA,EAAA,cAAA,OAAA,CAAK,EAAE,6cAA6c,EACpdA,EAAA,cAAA,OAAA,CAAK,SAAS,UAAU,EAAE,6DAA6D,SAAS,UAAU,CAC7G,EAGF,OAAOE,EAAQ,CAAE,KAAAL,EAAM,UAAAC,EAAW,OAAAC,EAAQ,YAAAE,EAAa,CACzD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const HearingProtection: React.FC<SvgPathProps>;
4
+ export default HearingProtection;
5
+ //# sourceMappingURL=HearingProtection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HearingProtection.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/HearingProtection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwB7C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}