se-design 0.0.97 → 0.0.98

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 (131) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Dropdown/index.d.ts +1 -1
  3. package/dist/components/Header/index.d.ts +1 -1
  4. package/dist/components/Icon/index.d.ts +1 -1
  5. package/dist/components/Popover/index.d.ts +2 -2
  6. package/dist/components/Tabs/index.d.ts +14 -0
  7. package/dist/components/Toggle/index.d.ts +1 -0
  8. package/dist/components/Tooltip/index.d.ts +2 -1
  9. package/dist/components/index.d.ts +1 -0
  10. package/dist/index.js +30 -28
  11. package/dist/index.js.map +1 -1
  12. package/dist/index10.js +30 -22
  13. package/dist/index10.js.map +1 -1
  14. package/dist/index11.js +29 -30
  15. package/dist/index11.js.map +1 -1
  16. package/dist/index12.js +18 -21
  17. package/dist/index12.js.map +1 -1
  18. package/dist/index13.js +100 -5
  19. package/dist/index13.js.map +1 -1
  20. package/dist/index14.js +27 -63
  21. package/dist/index14.js.map +1 -1
  22. package/dist/index15.js +67 -12
  23. package/dist/index15.js.map +1 -1
  24. package/dist/index16.js +70 -36
  25. package/dist/index16.js.map +1 -1
  26. package/dist/index17.js +20 -32
  27. package/dist/index17.js.map +1 -1
  28. package/dist/index18.js +22 -9
  29. package/dist/index18.js.map +1 -1
  30. package/dist/index19.js +58 -18
  31. package/dist/index19.js.map +1 -1
  32. package/dist/index20.js +133 -30
  33. package/dist/index20.js.map +1 -1
  34. package/dist/index21.js +18 -47
  35. package/dist/index21.js.map +1 -1
  36. package/dist/index22.js +43 -5
  37. package/dist/index22.js.map +1 -1
  38. package/dist/index23.js +28 -21
  39. package/dist/index23.js.map +1 -1
  40. package/dist/index24.js +2 -6
  41. package/dist/index24.js.map +1 -1
  42. package/dist/index25.js +1 -1
  43. package/dist/index25.js.map +1 -1
  44. package/dist/index26.js +1 -1
  45. package/dist/index26.js.map +1 -1
  46. package/dist/index27.js +1 -1
  47. package/dist/index27.js.map +1 -1
  48. package/dist/index28.js +1 -1
  49. package/dist/index28.js.map +1 -1
  50. package/dist/index29.js +1 -1
  51. package/dist/index29.js.map +1 -1
  52. package/dist/index3.js +69 -0
  53. package/dist/index3.js.map +1 -0
  54. package/dist/index30.js +2 -2
  55. package/dist/index30.js.map +1 -1
  56. package/dist/index31.js +2 -2
  57. package/dist/index31.js.map +1 -1
  58. package/dist/index32.js +149 -2
  59. package/dist/index32.js.map +1 -1
  60. package/dist/index35.js +13 -0
  61. package/dist/index35.js.map +1 -0
  62. package/dist/index36.js +10 -2
  63. package/dist/index36.js.map +1 -1
  64. package/dist/index37.js +4 -32
  65. package/dist/index37.js.map +1 -1
  66. package/dist/index38.js +163 -398
  67. package/dist/index38.js.map +1 -1
  68. package/dist/index39.js +11 -2
  69. package/dist/index39.js.map +1 -1
  70. package/dist/index4.js +31 -41
  71. package/dist/index4.js.map +1 -1
  72. package/dist/index40.js +6 -2
  73. package/dist/index40.js.map +1 -1
  74. package/dist/index41.js +5 -9
  75. package/dist/index41.js.map +1 -1
  76. package/dist/index42.js +36 -8
  77. package/dist/index42.js.map +1 -1
  78. package/dist/index43.js +2 -5
  79. package/dist/index43.js.map +1 -1
  80. package/dist/index44.js +8 -170
  81. package/dist/index44.js.map +1 -1
  82. package/dist/index45.js +327 -11
  83. package/dist/index45.js.map +1 -1
  84. package/dist/index46.js +49 -5
  85. package/dist/index46.js.map +1 -1
  86. package/dist/index47.js +2 -6
  87. package/dist/index47.js.map +1 -1
  88. package/dist/index48.js +73 -35
  89. package/dist/index48.js.map +1 -1
  90. package/dist/index49.js +93 -2
  91. package/dist/index49.js.map +1 -1
  92. package/dist/index5.js +63 -14
  93. package/dist/index5.js.map +1 -1
  94. package/dist/index50.js +49 -5
  95. package/dist/index50.js.map +1 -1
  96. package/dist/index51.js +7 -326
  97. package/dist/index51.js.map +1 -1
  98. package/dist/index52.js +4 -49
  99. package/dist/index52.js.map +1 -1
  100. package/dist/index53.js +52 -2
  101. package/dist/index53.js.map +1 -1
  102. package/dist/index54.js +2 -76
  103. package/dist/index54.js.map +1 -1
  104. package/dist/index55.js +2 -93
  105. package/dist/index55.js.map +1 -1
  106. package/dist/index6.js +24 -35
  107. package/dist/index6.js.map +1 -1
  108. package/dist/index7.js +7 -40
  109. package/dist/index7.js.map +1 -1
  110. package/dist/index8.js +28 -3
  111. package/dist/index8.js.map +1 -1
  112. package/dist/index9.js +33 -24
  113. package/dist/index9.js.map +1 -1
  114. package/package.json +11 -6
  115. package/dist/assets/colors.css +0 -1
  116. package/dist/assets/src/components/SidebarOverlay/style.css +0 -1
  117. package/dist/assets/src/components/TableContentLoader/style.css +0 -1
  118. package/dist/index33.js +0 -152
  119. package/dist/index33.js.map +0 -1
  120. package/dist/index56.js +0 -55
  121. package/dist/index56.js.map +0 -1
  122. package/dist/index57.js +0 -11
  123. package/dist/index57.js.map +0 -1
  124. package/dist/index58.js +0 -8
  125. package/dist/index58.js.map +0 -1
  126. package/dist/index59.js +0 -55
  127. package/dist/index59.js.map +0 -1
  128. package/dist/index60.js +0 -5
  129. package/dist/index60.js.map +0 -1
  130. package/dist/index61.js +0 -5
  131. package/dist/index61.js.map +0 -1
package/dist/index23.js CHANGED
@@ -1,26 +1,33 @@
1
- import { j as o } from "./index24.js";
2
- import { Icon as v } from "./index5.js";
3
- import { useEffect as t } from "react";
4
- /* empty css */
5
- const N = (d) => {
6
- const { content: c, className: n = "", alignment: m, noShadow: u, position: s = "fxd", isOpen: a, displayCloseSidebar: h, onClose: f, onSidebarUnmount: r, onPathChange: l, style: p, automationId: y, currentPath: i = "" } = d;
7
- t(() => () => {
8
- r && r();
9
- }, []), t(() => (document.body.style.overflow = a ? "hidden" : "scroll", () => {
10
- document.body.style.overflow = "auto";
11
- }), [a]), t(() => {
12
- l && l(i);
13
- }, [i]);
14
- const b = () => {
15
- let e = "sidebar-overlay-container";
16
- return e += n.length > 0 ? ` ${n}` : "", e += m === "left" ? " left-aligned" : " right-aligned", e += u ? " no-shadow" : "", e += s.length > 0 ? ` ${s}` : "", e += a ? " open-sidebar" : " closed-sidebar", e;
1
+ import r, { useState as a, useEffect as v } from "react";
2
+ const p = ({
3
+ defaultActiveTab: t,
4
+ tabs: c,
5
+ onTabChange: l
6
+ }) => {
7
+ const n = t || (c[0] ? c[0].id : ""), [o, s] = a(n);
8
+ v(() => {
9
+ s(t || "");
10
+ }, [t]);
11
+ const d = (e) => {
12
+ s(e == null ? void 0 : e.id), l == null || l(e == null ? void 0 : e.id);
17
13
  };
18
- return /* @__PURE__ */ o.jsx("div", { className: b(), style: p, "data-automation-id": y, children: /* @__PURE__ */ o.jsxs("div", { className: "overlay-content", children: [
19
- h && /* @__PURE__ */ o.jsx("span", { className: "overlay-close", onClick: f, "data-automation-id": "sidebar_overlay_close", children: /* @__PURE__ */ o.jsx(v, { name: "close" }) }),
20
- c
21
- ] }) });
14
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("div", {
15
+ className: "flex items-center gap-4"
16
+ }, c.map((e) => {
17
+ const m = o === e.id, i = e.disabled;
18
+ return /* @__PURE__ */ r.createElement("div", {
19
+ key: e.label,
20
+ onClick: () => !i && d(e),
21
+ className: `text-sm ${i ? "text-[var(--color-gray-400)] cursor-not-allowed" : m ? "text-[var(--color-gray-900)] font-bold hover:cursor-pointer" : "text-[var(--color-gray-700)] font-normal hover:text-[var(--color-gray-900)] cursor-pointer"}`
22
+ }, e.label);
23
+ })), /* @__PURE__ */ r.createElement("div", {
24
+ className: "tab-content"
25
+ }, c.map((e) => /* @__PURE__ */ r.createElement("div", {
26
+ key: e.id,
27
+ className: `${o === e.id ? "block" : "hidden"}`
28
+ }, e.content))));
22
29
  };
23
30
  export {
24
- N as SidebarOverlay
31
+ p as Tabs
25
32
  };
26
33
  //# sourceMappingURL=index23.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index23.js","sources":["../src/components/SidebarOverlay/index.tsx"],"sourcesContent":["import { Icon } from 'components/Icon';\nimport React, { FC, useEffect } from 'react';\n\nimport './style.scss';\n\nexport interface SidebarOverlayProps {\n content: React.ReactNode;\n className?: string;\n alignment?: 'left' | 'right';\n style?: React.CSSProperties;\n noShadow?: boolean;\n automationId?: string;\n position?: 'abs' | 'fxd';\n isOpen?: boolean;\n displayCloseSidebar?: boolean;\n onClose?: () => void;\n onSidebarUnmount?: () => void;\n onPathChange?: (route: string) => void;\n currentPath?: string;\n}\n\nexport const SidebarOverlay: FC<SidebarOverlayProps> = (props) => {\n const { content, className = '', alignment, noShadow, position = 'fxd', isOpen, displayCloseSidebar, onClose, onSidebarUnmount, onPathChange, style, automationId, currentPath = '' } = props;\n\n useEffect(() => {\n return () => {\n onSidebarUnmount && onSidebarUnmount();\n };\n }, []);\n\n // This is to prevent the body from scrolling when the sidebar is open\n useEffect(() => {\n document.body.style.overflow = isOpen ? 'hidden' : 'scroll';\n\n return () => {\n document.body.style.overflow = 'auto'; // Cleanup on unmount\n };\n }, [isOpen]);\n\n useEffect(() => {\n onPathChange && onPathChange(currentPath);\n }, [currentPath]);\n\n const getSidebarClassName = () => {\n let defaultClass = 'sidebar-overlay-container';\n\n defaultClass += className.length > 0 ? ` ${className}` : '';\n defaultClass += alignment === 'left' ? ' left-aligned' : ' right-aligned';\n defaultClass += noShadow ? ' no-shadow' : '';\n defaultClass += position.length > 0 ? ` ${position}` : '';\n defaultClass += isOpen ? ' open-sidebar' : ' closed-sidebar';\n return defaultClass;\n };\n\n return (\n <div className={getSidebarClassName()} style={style} data-automation-id={automationId}>\n <div className=\"overlay-content\">\n {displayCloseSidebar && (\n <span className=\"overlay-close\" onClick={onClose} data-automation-id=\"sidebar_overlay_close\">\n <Icon name=\"close\" />\n </span>\n )}\n {content}\n </div>\n </div>\n );\n};\n"],"names":["jsxRuntimeExports","Icon","useEffect","SidebarOverlay","props","content","className","alignment","noShadow","position","isOpen","displayCloseSidebar","onClose","onSidebarUnmount","onPathChange","style","automationId","currentPath","getSidebarClassName","defaultClass","js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QAAQ,CAAA,GACrB;AAAA,IAEDI;AAAA,EAAA,EAAA,CACH,EACF,CAAA;AAEJ;"}
1
+ {"version":3,"file":"index23.js","sources":["../src/components/Tabs/index.tsx"],"sourcesContent":["import React, { FC, ReactNode, useState, useEffect } from 'react';\n\ninterface TabProps {\n label: string;\n id: string;\n disabled?: boolean;\n content: ReactNode;\n}\n\ninterface TabsProps {\n defaultActiveTab?: string;\n tabs: TabProps[];\n onTabChange?: (tabId: string) => void;\n}\n\nexport const Tabs: FC<TabsProps> = ({ defaultActiveTab, tabs, onTabChange }) => {\n const defaultTabId = defaultActiveTab || (tabs[0] ? tabs[0].id : '');\n const [activeTab, setActiveTab] = useState(defaultTabId);\n\n useEffect(() => {\n setActiveTab(defaultActiveTab || '');\n }, [defaultActiveTab]);\n\n const handleTabClick = (tab: TabProps) => {\n setActiveTab(tab?.id);\n onTabChange?.(tab?.id);\n };\n\n return (\n <>\n {/* Tab Headers */}\n <div className=\"flex items-center gap-4\">\n {tabs.map((tab) => {\n const isActive = activeTab === tab.id;\n const isDisabled = tab.disabled;\n return (\n <div\n key={tab.label}\n onClick={() => !isDisabled && handleTabClick(tab)}\n className={`text-sm ${\n isDisabled \n ? 'text-[var(--color-gray-400)] cursor-not-allowed'\n : isActive\n ? 'text-[var(--color-gray-900)] font-bold hover:cursor-pointer'\n : 'text-[var(--color-gray-700)] font-normal hover:text-[var(--color-gray-900)] cursor-pointer'\n }`}\n >\n {tab.label}\n </div>\n );\n })}\n </div>\n\n {/* Tab Content */}\n <div className=\"tab-content\">\n {tabs.map((tab) => (\n <div\n key={tab.id}\n className={`${activeTab === tab.id ? 'block' : 'hidden'}`}\n >\n {tab.content}\n </div>\n ))}\n </div>\n </>\n );\n};"],"names":["Tabs","defaultActiveTab","tabs","onTabChange","defaultTabId","id","activeTab","setActiveTab","useState","useEffect","handleTabClick","tab","createElement","React","Fragment","className","map","isActive","isDisabled","disabled","key","label","onClick","content"],"mappings":";AAeO,MAAMA,IAAsBA,CAAC;AAAA,EAAEC,kBAAAA;AAAAA,EAAkBC,MAAAA;AAAAA,EAAMC,aAAAA;AAAY,MAAM;AACxEC,QAAAA,IAAeH,MAAqBC,EAAK,CAAC,IAAIA,EAAK,CAAC,EAAEG,KAAK,KAC3D,CAACC,GAAWC,CAAY,IAAIC,EAASJ,CAAY;AAEvDK,EAAAA,EAAU,MAAM;AACdF,IAAAA,EAAaN,KAAoB,EAAE;AAAA,EAAA,GAClC,CAACA,CAAgB,CAAC;AAEfS,QAAAA,IAAiBA,CAACC,MAAkB;AACxCJ,IAAAA,EAAaI,KAAAA,gBAAAA,EAAKN,EAAE,GACpBF,KAAAA,QAAAA,EAAcQ,KAAAA,gBAAAA,EAAKN;AAAAA,EACrB;AAEA,2BACEO,cAAAC,EAAAC,UAAA,MAEED,gBAAAA,EAAAD,cAAA,OAAA;AAAA,IAAKG,WAAU;AAAA,EAAA,GACZb,EAAKc,IAAKL,CAAQA,MAAA;AACXM,UAAAA,IAAWX,MAAcK,EAAIN,IAC7Ba,IAAaP,EAAIQ;AAErBN,WAAAA,gBAAAA,EAAAD,cAAA,OAAA;AAAA,MACEQ,KAAKT,EAAIU;AAAAA,MACTC,SAASA,MAAM,CAACJ,KAAcR,EAAeC,CAAG;AAAA,MAChDI,WAAW,WACTG,IACI,oDACAD,IACE,gEACA,4FAA4F;AAAA,IAAA,GAGnGN,EAAIU,KACF;AAAA,EAER,CAAA,CACE,GAGLR,gBAAAA,EAAAD,cAAA,OAAA;AAAA,IAAKG,WAAU;AAAA,EAAA,GACZb,EAAKc,IAAKL,CACTE,MAAAA,gBAAAA,EAAAD,cAAA,OAAA;AAAA,IACEQ,KAAKT,EAAIN;AAAAA,IACTU,WAAW,GAAGT,MAAcK,EAAIN,KAAK,UAAU,QAAQ;AAAA,EAAA,GAEtDM,EAAIY,OACF,CACN,CACE,CACL;AAEN;"}
package/dist/index24.js CHANGED
@@ -1,9 +1,5 @@
1
- import { __module as e } from "./index36.js";
2
- import { __require as r } from "./index37.js";
3
- import { __require as o } from "./index38.js";
4
- process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
5
- var m = e.exports;
1
+ const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.2727%2010.0535H2'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.49198%2014.5454L2%2010.0535L6.49198%205.56149'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
6
2
  export {
7
- m as j
3
+ e as default
8
4
  };
9
5
  //# sourceMappingURL=index24.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index24.js","sources":["../node_modules/react/jsx-runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["jsxRuntime","requireReactJsxRuntime_production","requireReactJsxRuntime_development","jsxRuntimeModule","require$$0","require$$1"],"mappings":"AAEA,SAAA,YAAAA,SAAA;AAAA,SAAA,aAAAC,SAAA;AAAA,SAAA,aAAAC,SAAA;AAAI,QAAQ,IAAI,aAAa,eAC3BC,EAAA,UAAiBC,EAAgD,IAEjED,EAAA,UAAiBE,EAAiD;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index24.js","sources":["../src/assets/icons/back.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.2727%2010.0535H2'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.49198%2014.5454L2%2010.0535L6.49198%205.56149'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_0"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index25.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.2727%2010.0535H2'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.49198%2014.5454L2%2010.0535L6.49198%205.56149'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index25.js","sources":["../src/assets/icons/back.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.2727%2010.0535H2'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.49198%2014.5454L2%2010.0535L6.49198%205.56149'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_0"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index25.js","sources":["../src/assets/icons/close.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_1"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index26.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M6.66669%209.33275L10%2012.6661L13.3334%209.33275'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index26.js","sources":["../src/assets/icons/close.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_1"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index26.js","sources":["../src/assets/icons/down.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M6.66669%209.33275L10%2012.6661L13.3334%209.33275'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_2"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index27.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M6.66669%209.33275L10%2012.6661L13.3334%209.33275'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%208.25H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2014H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2019.75H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index27.js","sources":["../src/assets/icons/down.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M6.66669%209.33275L10%2012.6661L13.3334%209.33275'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_2"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index27.js","sources":["../src/assets/icons/hamburger.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%208.25H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2014H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2019.75H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_3"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index28.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%208.25H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2014H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2019.75H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index28.js","sources":["../src/assets/icons/hamburger.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%208.25H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2014H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6%2019.75H22'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_3"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index28.js","sources":["../src/assets/icons/kebab-menu-blue.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_4"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index29.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index29.js","sources":["../src/assets/icons/kebab-menu-blue.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20fill='%231088E7'/%3e%3cpath%20d='M12%2014C12.5523%2014%2013%2013.5523%2013%2013C13%2012.4477%2012.5523%2012%2012%2012C11.4477%2012%2011%2012.4477%2011%2013C11%2013.5523%2011.4477%2014%2012%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2014C19.5523%2014%2020%2013.5523%2020%2013C20%2012.4477%2019.5523%2012%2019%2012C18.4477%2012%2018%2012.4477%2018%2013C18%2013.5523%2018.4477%2014%2019%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2014C5.55228%2014%206%2013.5523%206%2013C6%2012.4477%205.55228%2012%205%2012C4.44772%2012%204%2012.4477%204%2013C4%2013.5523%204.44772%2014%205%2014Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_4"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index29.js","sources":["../src/assets/icons/kebab-menu.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_5"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index3.js ADDED
@@ -0,0 +1,69 @@
1
+ var s = Object.getOwnPropertySymbols;
2
+ var p = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
3
+ var b = (e, a) => {
4
+ var o = {};
5
+ for (var r in e)
6
+ p.call(e, r) && a.indexOf(r) < 0 && (o[r] = e[r]);
7
+ if (e != null && s)
8
+ for (var r of s(e))
9
+ a.indexOf(r) < 0 && h.call(e, r) && (o[r] = e[r]);
10
+ return o;
11
+ };
12
+ import l from "react";
13
+ import { Icon as d } from "./index4.js";
14
+ function n() {
15
+ return n = Object.assign ? Object.assign.bind() : function(e) {
16
+ for (var a = 1; a < arguments.length; a++) {
17
+ var o = arguments[a];
18
+ for (var r in o) ({}).hasOwnProperty.call(o, r) && (e[r] = o[r]);
19
+ }
20
+ return e;
21
+ }, n.apply(null, arguments);
22
+ }
23
+ const t = "focus-visible:outline outline-2 outline-[var(--color-blue-400)] outline-offset-2", y = {
24
+ primary: "bg-[var(--color-gray-200)] text-[var(--color-gray-600)] pointer-events-none cursor-not-allowed",
25
+ secondary: "text-[var(--color-gray-600)] border border-[var(--color-gray-300)] pointer-events-none cursor-not-allowed",
26
+ link: "text-[var(--color-gray-600)] pointer-events-none cursor-not-allowed"
27
+ }, g = {
28
+ primary: `bg-[var(--color-blue-500)] text-[var(--color-white)] hover:bg-[var(--color-blue-600)] ${t}`,
29
+ secondary: `bg-[var(--color-white)] text-[var(--color-gray-800)] hover:bg-[var(--color-gray-50)] border border-[var(--color-gray-400)] hover:border-[var(--color-gray-500)] ${t}`,
30
+ purchase: `bg-[var(--color-green-500)] text-[var(--color-white)] hover:bg-[var(--color-green-700)] border border-[var(--color-green-300)] ${t}`,
31
+ "purchase-secondary": `bg-[var(--color-green-50)] text-[var(--color-green-500)] hover:bg-[var(--color-green-400)] border border-[var(--color-green-500)] hover:border-[var(--color-green-700)] ${t}`,
32
+ negative: `bg-[var(--color-red-400)] text-[var(--color-white)] hover:bg-[var(--color-red-400)] border border-[var(--color-red-400)] hover:border-[var(--color-red-400)] ${t}`,
33
+ "negative-secondary": `bg-[var(--color-red-50)] text-[var(--color-red-400)] hover:bg-[var(--color-red-50)] border border-[var(--color-red-400)] hover:border-[var(--color-red-400)] ${t}`,
34
+ link: `text-[var(--color-blue-500)] px-1 py-0 hover:text-[var(--color-blue-600)] hover:bg-[var(--color-blue-200)] ${t}`,
35
+ sm: "px-3 py-1",
36
+ md: "px-4 py-2",
37
+ smRow: "px-3 py-0.5"
38
+ }, N = (x) => {
39
+ var v = x, {
40
+ type: e = "primary",
41
+ size: a = "md",
42
+ label: o = "",
43
+ icon: r = "",
44
+ iconPosition: c = "left",
45
+ disabled: u = !1
46
+ } = v, i = b(v, [
47
+ "type",
48
+ "size",
49
+ "label",
50
+ "icon",
51
+ "iconPosition",
52
+ "disabled"
53
+ ]);
54
+ const m = e !== "link" ? g[a] : "";
55
+ return /* @__PURE__ */ l.createElement("button", n({
56
+ type: "button",
57
+ className: `rounded-[6px] text-base font-normal flex gap-1 items-center ${m} ${u ? y[e] : g[e]}`
58
+ }, i), r && c === "left" && /* @__PURE__ */ l.createElement(d, {
59
+ name: r,
60
+ className: ""
61
+ }), o, r && c === "right" && /* @__PURE__ */ l.createElement(d, {
62
+ name: r,
63
+ className: ""
64
+ }));
65
+ };
66
+ export {
67
+ N as Button
68
+ };
69
+ //# sourceMappingURL=index3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index3.js","sources":["../src/components/Button/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { Icon } from '../Icon';\n\nexport interface ButtonProps {\n /**\n * Type of the button\n */\n type?: 'primary' | 'secondary' | 'negative' | 'negative-secondary' | 'purchase' | 'purchase-secondary' | 'link';\n /**\n * Size of the button\n */\n size?: 'sm' | 'md' | 'smRow';\n /**\n * Button contents\n */\n label: string;\n /**\n * Icon name\n */\n icon?: string;\n /**\n * Icon position\n */\n iconPosition?: 'left' | 'right';\n /**\n * Disabled state\n */\n disabled?: boolean;\n /**\n * Optional click handler\n */\n onClick?: () => void;\n}\n\nconst focusClass = 'focus-visible:outline outline-2 outline-[var(--color-blue-400)] outline-offset-2';\nconst disabledClassNames: Map = {\n primary: 'bg-[var(--color-gray-200)] text-[var(--color-gray-600)] pointer-events-none cursor-not-allowed',\n secondary: 'text-[var(--color-gray-600)] border border-[var(--color-gray-300)] pointer-events-none cursor-not-allowed',\n link: 'text-[var(--color-gray-600)] pointer-events-none cursor-not-allowed'\n};\nconst classNames: Map = {\n primary: `bg-[var(--color-blue-500)] text-[var(--color-white)] hover:bg-[var(--color-blue-600)] ${focusClass}`,\n secondary: `bg-[var(--color-white)] text-[var(--color-gray-800)] hover:bg-[var(--color-gray-50)] border border-[var(--color-gray-400)] hover:border-[var(--color-gray-500)] ${focusClass}`,\n purchase: `bg-[var(--color-green-500)] text-[var(--color-white)] hover:bg-[var(--color-green-700)] border border-[var(--color-green-300)] ${focusClass}`,\n 'purchase-secondary': `bg-[var(--color-green-50)] text-[var(--color-green-500)] hover:bg-[var(--color-green-400)] border border-[var(--color-green-500)] hover:border-[var(--color-green-700)] ${focusClass}`,\n negative: `bg-[var(--color-red-400)] text-[var(--color-white)] hover:bg-[var(--color-red-400)] border border-[var(--color-red-400)] hover:border-[var(--color-red-400)] ${focusClass}`,\n 'negative-secondary': `bg-[var(--color-red-50)] text-[var(--color-red-400)] hover:bg-[var(--color-red-50)] border border-[var(--color-red-400)] hover:border-[var(--color-red-400)] ${focusClass}`,\n 'link': `text-[var(--color-blue-500)] px-1 py-0 hover:text-[var(--color-blue-600)] hover:bg-[var(--color-blue-200)] ${focusClass}`,\n sm: 'px-3 py-1',\n md: 'px-4 py-2',\n smRow: 'px-3 py-0.5'\n};\n\nexport const Button: FC<ButtonProps> = ({\n type = 'primary',\n size = 'md',\n label = '',\n icon = '',\n iconPosition = 'left',\n disabled = false,\n ...props\n}) => {\n const sizeClassName = type !== 'link' ? classNames[size] : ''\n\n return (\n <button\n type=\"button\"\n className={`rounded-[6px] text-base font-normal flex gap-1 items-center ${sizeClassName} ${disabled ? disabledClassNames[type] : classNames[type]}`}\n {...props}\n >\n {icon && iconPosition === 'left' && <Icon name={icon} className=\"\" />}\n {label}\n {icon && iconPosition === 'right' && <Icon name={icon} className=\"\" />}\n </button>\n );\n};\n"],"names":["focusClass","disabledClassNames","primary","secondary","link","classNames","purchase","negative","sm","md","smRow","Button","_a","_b","type","size","label","icon","iconPosition","disabled","props","sizeClassName","React","createElement","_extends","className","Icon","name"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmCA,MAAMA,IAAa,oFACbC,IAA0B;AAAA,EAC9BC,SAAS;AAAA,EACTC,WAAW;AAAA,EACXC,MAAM;AACR,GACMC,IAAkB;AAAA,EACtBH,SAAS,yFAAyFF,CAAU;AAAA,EAC5GG,WAAW,mKAAmKH,CAAU;AAAA,EACxLM,UAAU,kIAAkIN,CAAU;AAAA,EACtJ,sBAAsB,2KAA2KA,CAAU;AAAA,EAC3MO,UAAU,gKAAgKP,CAAU;AAAA,EACpL,sBAAsB,gKAAgKA,CAAU;AAAA,EAChM,MAAQ,gHAAgHA,CAAU;AAAA,EAClIQ,IAAI;AAAA,EACJC,IAAI;AAAA,EACJC,OAAO;AACT,GAEaC,IAA0BA,CAACC,MAQlC;AARkC,MAAAC,IAAAD,GACtCE;AAAAA,UAAAA,IAAO;AAAA,IACPC,MAAAA,IAAO;AAAA,IACPC,OAAAA,IAAQ;AAAA,IACRC,MAAAA,IAAO;AAAA,IACPC,cAAAA,IAAe;AAAA,IACfC,UAAAA,IAAW;AAAA,MAN2BN,GAOnCO,IAAAA,EAPmCP,GAOnCO;AAAAA,IANHN;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACAC;AAAAA;AAGA,QAAME,IAAgBP,MAAS,SAAST,EAAWU,CAAI,IAAI;AAGzDO,SAAAA,gBAAAA,EAAAC,cAAA,UAAAC,EAAA;AAAA,IACEV,MAAK;AAAA,IACLW,WAAW,+DAA+DJ,CAAa,IAAIF,IAAWlB,EAAmBa,CAAI,IAAIT,EAAWS,CAAI,CAAC;AAAA,EAAA,GAC7IM,CAAK,GAERH,KAAQC,MAAiB,UAAUI,gBAAAA,EAAAC,cAACG,GAAI;AAAA,IAACC,MAAMV;AAAAA,IAAMQ,WAAU;AAAA,EAAA,CAAI,GACnET,GACAC,KAAQC,MAAiB,WAAWI,gBAAAA,EAAAC,cAACG,GAAI;AAAA,IAACC,MAAMV;AAAAA,IAAMQ,WAAU;AAAA,EAAA,CAAI,CAC/D;AAEZ;"}
package/dist/index30.js CHANGED
@@ -1,5 +1,5 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const t = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e";
2
2
  export {
3
- e as default
3
+ t as default
4
4
  };
5
5
  //# sourceMappingURL=index30.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index30.js","sources":["../src/assets/icons/kebab-menu.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20fill='%235E6673'/%3e%3cpath%20d='M12%2013C12.5523%2013%2013%2012.5523%2013%2012C13%2011.4477%2012.5523%2011%2012%2011C11.4477%2011%2011%2011.4477%2011%2012C11%2012.5523%2011.4477%2013%2012%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19%2013C19.5523%2013%2020%2012.5523%2020%2012C20%2011.4477%2019.5523%2011%2019%2011C18.4477%2011%2018%2011.4477%2018%2012C18%2012.5523%2018.4477%2013%2019%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5%2013C5.55228%2013%206%2012.5523%206%2012C6%2011.4477%205.55228%2011%205%2011C4.44772%2011%204%2011.4477%204%2012C4%2012.5523%204.44772%2013%205%2013Z'%20stroke='%235E6673'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_5"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index30.js","sources":["../src/assets/icons/pages.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_6"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index31.js CHANGED
@@ -1,5 +1,5 @@
1
- const t = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
- t as default
3
+ e as default
4
4
  };
5
5
  //# sourceMappingURL=index31.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index31.js","sources":["../src/assets/icons/pages.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_6"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index31.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_7"],"mappings":"AAAA,MAAeA,IAAA;"}
package/dist/index32.js CHANGED
@@ -1,5 +1,152 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ import N from "./index35.js";
2
+ import R from "./index36.js";
3
+ import D from "./index37.js";
4
+ import { SVGInjector as A } from "./index38.js";
5
+ import { p as t } from "./index39.js";
6
+ import * as h from "react";
7
+ var O = function(s) {
8
+ var o = (s == null ? void 0 : s.ownerDocument) || document;
9
+ return o.defaultView || window;
10
+ }, U = function(s, o) {
11
+ for (var r in s)
12
+ if (!(r in o))
13
+ return !0;
14
+ for (var e in o)
15
+ if (s[e] !== o[e])
16
+ return !0;
17
+ return !1;
18
+ }, H = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], v = "http://www.w3.org/2000/svg", q = "http://www.w3.org/1999/xlink", V = /* @__PURE__ */ function(c) {
19
+ function s() {
20
+ for (var r, e = arguments.length, n = new Array(e), a = 0; a < e; a++)
21
+ n[a] = arguments[a];
22
+ return r = c.call.apply(c, [this].concat(n)) || this, r.initialState = {
23
+ hasError: !1,
24
+ isLoading: !0
25
+ }, r.state = r.initialState, r._isMounted = !1, r.reactWrapper = void 0, r.nonReactWrapper = void 0, r.refCallback = function(u) {
26
+ r.reactWrapper = u;
27
+ }, r;
28
+ }
29
+ D(s, c);
30
+ var o = s.prototype;
31
+ return o.renderSVG = function() {
32
+ var e = this;
33
+ if (this.reactWrapper instanceof O(this.reactWrapper).Node) {
34
+ var n = this.props, a = n.desc, u = n.evalScripts, S = n.httpRequestWithCredentials, E = n.renumerateIRIElements, G = n.src, b = n.title, g = n.useRequestCache, w = this.props.onError, x = this.props.beforeInjection, y = this.props.afterInjection, f = this.props.wrapper, l, p;
35
+ f === "svg" ? (l = document.createElementNS(v, f), l.setAttribute("xmlns", v), l.setAttribute("xmlns:xlink", q), p = document.createElementNS(v, f)) : (l = document.createElement(f), p = document.createElement(f)), l.appendChild(p), p.dataset.src = G, this.nonReactWrapper = this.reactWrapper.appendChild(l);
36
+ var I = function(i) {
37
+ if (e.removeSVG(), !e._isMounted) {
38
+ w(i);
39
+ return;
40
+ }
41
+ e.setState(function() {
42
+ return {
43
+ hasError: !0,
44
+ isLoading: !1
45
+ };
46
+ }, function() {
47
+ w(i);
48
+ });
49
+ }, L = function(i, d) {
50
+ if (i) {
51
+ I(i);
52
+ return;
53
+ }
54
+ e._isMounted && e.setState(function() {
55
+ return {
56
+ isLoading: !1
57
+ };
58
+ }, function() {
59
+ try {
60
+ y(d);
61
+ } catch (m) {
62
+ I(m);
63
+ }
64
+ });
65
+ }, M = function(i) {
66
+ if (i.setAttribute("role", "img"), a) {
67
+ var d = i.querySelector(":scope > desc");
68
+ d && i.removeChild(d);
69
+ var m = document.createElement("desc");
70
+ m.innerHTML = a, i.prepend(m);
71
+ }
72
+ if (b) {
73
+ var j = i.querySelector(":scope > title");
74
+ j && i.removeChild(j);
75
+ var C = document.createElement("title");
76
+ C.innerHTML = b, i.prepend(C);
77
+ }
78
+ try {
79
+ x(i);
80
+ } catch (k) {
81
+ I(k);
82
+ }
83
+ };
84
+ A(p, {
85
+ afterEach: L,
86
+ beforeEach: M,
87
+ cacheRequests: g,
88
+ evalScripts: u,
89
+ httpRequestWithCredentials: S,
90
+ renumerateIRIElements: E
91
+ });
92
+ }
93
+ }, o.removeSVG = function() {
94
+ var e;
95
+ (e = this.nonReactWrapper) != null && e.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), this.nonReactWrapper = null);
96
+ }, o.componentDidMount = function() {
97
+ this._isMounted = !0, this.renderSVG();
98
+ }, o.componentDidUpdate = function(e) {
99
+ var n = this;
100
+ U(R({}, e), this.props) && this.setState(function() {
101
+ return n.initialState;
102
+ }, function() {
103
+ n.removeSVG(), n.renderSVG();
104
+ });
105
+ }, o.componentWillUnmount = function() {
106
+ this._isMounted = !1, this.removeSVG();
107
+ }, o.render = function() {
108
+ var e = this.props, n = e.fallback, a = e.loading, u = e.wrapper, S = N(e, H), E = u;
109
+ return /* @__PURE__ */ h.createElement(E, R({}, S, {
110
+ ref: this.refCallback
111
+ }, u === "svg" ? {
112
+ xmlns: v,
113
+ xmlnsXlink: q
114
+ } : {}), this.state.isLoading && a && /* @__PURE__ */ h.createElement(a, null), this.state.hasError && n && /* @__PURE__ */ h.createElement(n, null));
115
+ }, s;
116
+ }(h.Component);
117
+ V.defaultProps = {
118
+ afterInjection: function() {
119
+ },
120
+ beforeInjection: function() {
121
+ },
122
+ desc: "",
123
+ evalScripts: "never",
124
+ fallback: null,
125
+ httpRequestWithCredentials: !1,
126
+ loading: null,
127
+ onError: function() {
128
+ },
129
+ renumerateIRIElements: !0,
130
+ title: "",
131
+ useRequestCache: !0,
132
+ wrapper: "div"
133
+ };
134
+ V.propTypes = {
135
+ afterInjection: t.func,
136
+ beforeInjection: t.func,
137
+ desc: t.string,
138
+ evalScripts: t.oneOf(["always", "once", "never"]),
139
+ fallback: t.oneOfType([t.func, t.object, t.string]),
140
+ httpRequestWithCredentials: t.bool,
141
+ loading: t.oneOfType([t.func, t.object, t.string]),
142
+ onError: t.func,
143
+ renumerateIRIElements: t.bool,
144
+ src: t.string.isRequired,
145
+ title: t.string,
146
+ useRequestCache: t.bool,
147
+ wrapper: t.oneOf(["div", "span", "svg"])
148
+ };
2
149
  export {
3
- e as default
150
+ V as ReactSVG
4
151
  };
5
152
  //# sourceMappingURL=index32.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index32.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_7"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index32.js","sources":["../node_modules/react-svg/dist/react-svg.esm.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _inheritsLoose from '@babel/runtime/helpers/inheritsLoose';\nimport { SVGInjector } from '@tanem/svg-injector';\nimport * as PropTypes from 'prop-types';\nimport * as React from 'react';\n\n// Hat-tip: https://github.com/mui/material-ui/tree/master/packages/mui-utils/src.\nvar ownerWindow = function ownerWindow(node) {\n var doc = (node == null ? undefined : node.ownerDocument) || document;\n return doc.defaultView || window;\n};\n\n// Hat-tip: https://github.com/developit/preact-compat/blob/master/src/index.js#L402.\nvar shallowDiffers = function shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) {\n return true;\n }\n }\n for (var _i in b) {\n if (a[_i] !== b[_i]) {\n return true;\n }\n }\n return false;\n};\n\nvar _excluded = [\"afterInjection\", \"beforeInjection\", \"desc\", \"evalScripts\", \"fallback\", \"httpRequestWithCredentials\", \"loading\", \"renumerateIRIElements\", \"src\", \"title\", \"useRequestCache\", \"wrapper\"];\nvar svgNamespace = 'http://www.w3.org/2000/svg';\nvar xlinkNamespace = 'http://www.w3.org/1999/xlink';\nvar ReactSVG = /*#__PURE__*/function (_React$Component) {\n function ReactSVG() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.initialState = {\n hasError: false,\n isLoading: true\n };\n _this.state = _this.initialState;\n _this._isMounted = false;\n _this.reactWrapper = undefined;\n _this.nonReactWrapper = undefined;\n _this.refCallback = function (reactWrapper) {\n _this.reactWrapper = reactWrapper;\n };\n return _this;\n }\n _inheritsLoose(ReactSVG, _React$Component);\n var _proto = ReactSVG.prototype;\n _proto.renderSVG = function renderSVG() {\n var _this2 = this;\n /* istanbul ignore else */\n if (this.reactWrapper instanceof ownerWindow(this.reactWrapper).Node) {\n var _this$props = this.props,\n desc = _this$props.desc,\n evalScripts = _this$props.evalScripts,\n httpRequestWithCredentials = _this$props.httpRequestWithCredentials,\n renumerateIRIElements = _this$props.renumerateIRIElements,\n src = _this$props.src,\n title = _this$props.title,\n useRequestCache = _this$props.useRequestCache;\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n var onError = this.props.onError;\n var beforeInjection = this.props.beforeInjection;\n var afterInjection = this.props.afterInjection;\n var wrapper = this.props.wrapper;\n var nonReactWrapper;\n var nonReactTarget;\n if (wrapper === 'svg') {\n nonReactWrapper = document.createElementNS(svgNamespace, wrapper);\n nonReactWrapper.setAttribute('xmlns', svgNamespace);\n nonReactWrapper.setAttribute('xmlns:xlink', xlinkNamespace);\n nonReactTarget = document.createElementNS(svgNamespace, wrapper);\n } else {\n nonReactWrapper = document.createElement(wrapper);\n nonReactTarget = document.createElement(wrapper);\n }\n nonReactWrapper.appendChild(nonReactTarget);\n nonReactTarget.dataset.src = src;\n this.nonReactWrapper = this.reactWrapper.appendChild(nonReactWrapper);\n var handleError = function handleError(error) {\n _this2.removeSVG();\n if (!_this2._isMounted) {\n onError(error);\n return;\n }\n _this2.setState(function () {\n return {\n hasError: true,\n isLoading: false\n };\n }, function () {\n onError(error);\n });\n };\n var afterEach = function afterEach(error, svg) {\n if (error) {\n handleError(error);\n return;\n }\n // TODO (Tane): It'd be better to cleanly unsubscribe from SVGInjector\n // callbacks instead of tracking a property like this.\n if (_this2._isMounted) {\n _this2.setState(function () {\n return {\n isLoading: false\n };\n }, function () {\n try {\n afterInjection(svg);\n } catch (afterInjectionError) {\n handleError(afterInjectionError);\n }\n });\n }\n };\n var beforeEach = function beforeEach(svg) {\n svg.setAttribute('role', 'img');\n if (desc) {\n var originalDesc = svg.querySelector(':scope > desc');\n if (originalDesc) {\n svg.removeChild(originalDesc);\n }\n var newDesc = document.createElement('desc');\n newDesc.innerHTML = desc;\n svg.prepend(newDesc);\n }\n if (title) {\n var originalTitle = svg.querySelector(':scope > title');\n if (originalTitle) {\n svg.removeChild(originalTitle);\n }\n var newTitle = document.createElement('title');\n newTitle.innerHTML = title;\n svg.prepend(newTitle);\n }\n try {\n beforeInjection(svg);\n } catch (error) {\n handleError(error);\n }\n };\n SVGInjector(nonReactTarget, {\n afterEach: afterEach,\n beforeEach: beforeEach,\n cacheRequests: useRequestCache,\n evalScripts: evalScripts,\n httpRequestWithCredentials: httpRequestWithCredentials,\n renumerateIRIElements: renumerateIRIElements\n });\n }\n };\n _proto.removeSVG = function removeSVG() {\n var _this$nonReactWrapper;\n if ((_this$nonReactWrapper = this.nonReactWrapper) != null && _this$nonReactWrapper.parentNode) {\n this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper);\n this.nonReactWrapper = null;\n }\n };\n _proto.componentDidMount = function componentDidMount() {\n this._isMounted = true;\n this.renderSVG();\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this3 = this;\n if (shallowDiffers(_extends({}, prevProps), this.props)) {\n this.setState(function () {\n return _this3.initialState;\n }, function () {\n _this3.removeSVG();\n _this3.renderSVG();\n });\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._isMounted = false;\n this.removeSVG();\n };\n _proto.render = function render() {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n var _this$props2 = this.props;\n _this$props2.afterInjection;\n _this$props2.beforeInjection;\n _this$props2.desc;\n _this$props2.evalScripts;\n var Fallback = _this$props2.fallback;\n _this$props2.httpRequestWithCredentials;\n var Loading = _this$props2.loading;\n _this$props2.renumerateIRIElements;\n _this$props2.src;\n _this$props2.title;\n _this$props2.useRequestCache;\n var wrapper = _this$props2.wrapper,\n rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);\n /* eslint-enable @typescript-eslint/no-unused-vars */\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n var Wrapper = wrapper;\n return /*#__PURE__*/React.createElement(Wrapper, _extends({}, rest, {\n ref: this.refCallback\n }, wrapper === 'svg' ? {\n xmlns: svgNamespace,\n xmlnsXlink: xlinkNamespace\n } : {}), this.state.isLoading && Loading && /*#__PURE__*/React.createElement(Loading, null), this.state.hasError && Fallback && /*#__PURE__*/React.createElement(Fallback, null));\n };\n return ReactSVG;\n}(React.Component);\nReactSVG.defaultProps = {\n afterInjection: function afterInjection() {\n return undefined;\n },\n beforeInjection: function beforeInjection() {\n return undefined;\n },\n desc: '',\n evalScripts: 'never',\n fallback: null,\n httpRequestWithCredentials: false,\n loading: null,\n onError: function onError() {\n return undefined;\n },\n renumerateIRIElements: true,\n title: '',\n useRequestCache: true,\n wrapper: 'div'\n};\nReactSVG.propTypes = {\n afterInjection: PropTypes.func,\n beforeInjection: PropTypes.func,\n desc: PropTypes.string,\n evalScripts: PropTypes.oneOf(['always', 'once', 'never']),\n fallback: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n httpRequestWithCredentials: PropTypes.bool,\n loading: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n onError: PropTypes.func,\n renumerateIRIElements: PropTypes.bool,\n src: PropTypes.string.isRequired,\n title: PropTypes.string,\n useRequestCache: PropTypes.bool,\n wrapper: PropTypes.oneOf(['div', 'span', 'svg'])\n} ;\n\nexport { ReactSVG };\n//# sourceMappingURL=react-svg.esm.js.map\n"],"names":["_objectWithoutPropertiesLoose","_extends","_inheritsLoose","SVGInjector","propTypesExports","React","ownerWindow","node","doc","shallowDiffers","a","b","i","_i","_excluded","svgNamespace","xlinkNamespace","ReactSVG","_React$Component","_this","_len","args","_key","reactWrapper","_proto","_this2","_this$props","desc","evalScripts","httpRequestWithCredentials","renumerateIRIElements","src","title","useRequestCache","onError","beforeInjection","afterInjection","wrapper","nonReactWrapper","nonReactTarget","handleError","error","afterEach","svg","afterInjectionError","beforeEach","originalDesc","newDesc","originalTitle","newTitle","_this$nonReactWrapper","prevProps","_this3","_this$props2","Fallback","Loading","rest","Wrapper","PropTypes.func","PropTypes.string","PropTypes.oneOf","PropTypes.oneOfType","PropTypes.object","PropTypes.bool"],"mappings":"AAOA,OAAAA,OAAA;AAAA,OAAAC,OAAA;AAAA,OAAAC,OAAA;AAAA,SAAA,eAAAC,SAAA;AAAA,SAAA,KAAAC,SAAA;AAAA,YAAAC,OAAA;AACA,IAAI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,EAAc;AAAA,EAC1C,SAASF,EAAAA,UAAoB,CAACH,EAAc,MAAEI,EAAgB,QAAEH,EAAgB,MAAA,CAAC;AAAA,EACjF,SAASD,EAAc;AAAA,EACvB,uBAAuBK,EAAc;AAAA,EACrC,KAAKJ,EAAgB,OAAC;AAAA,EACtB,OAAOA,EAAgB;AAAA,EACvB,iBAAiBI,EAAc;AAAA,EAC/B,SAASH,EAAAA,MAAgB,CAAC,OAAO,QAAQ,KAAK,CAAC;AACjD;","x_google_ignoreList":[0]}
@@ -0,0 +1,13 @@
1
+ function r(t, i) {
2
+ if (t == null) return {};
3
+ var o = {};
4
+ for (var e in t) if ({}.hasOwnProperty.call(t, e)) {
5
+ if (i.indexOf(e) !== -1) continue;
6
+ o[e] = t[e];
7
+ }
8
+ return o;
9
+ }
10
+ export {
11
+ r as default
12
+ };
13
+ //# sourceMappingURL=index35.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index35.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };"],"names":["_objectWithoutPropertiesLoose","r","e","t","n"],"mappings":"AAAA,SAASA,EAA8BC,GAAGC,GAAG;AAC3C,MAAYD,KAAR,KAAW,QAAO,CAAE;AACxB,MAAIE,IAAI,CAAE;AACV,WAASC,KAAKH,EAAG,KAAI,CAAA,EAAG,eAAe,KAAKA,GAAGG,CAAC,GAAG;AACjD,QAAWF,EAAE,QAAQE,CAAC,MAAlB,GAAqB;AACzB,IAAAD,EAAEC,CAAC,IAAIH,EAAEG,CAAC;AAAA,EACd;AACE,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index36.js CHANGED
@@ -1,5 +1,13 @@
1
- var e = { exports: {} };
1
+ function e() {
2
+ return e = Object.assign ? Object.assign.bind() : function(t) {
3
+ for (var n = 1; n < arguments.length; n++) {
4
+ var a = arguments[n];
5
+ for (var r in a) ({}).hasOwnProperty.call(a, r) && (t[r] = a[r]);
6
+ }
7
+ return t;
8
+ }, e.apply(null, arguments);
9
+ }
2
10
  export {
3
- e as __module
11
+ e as default
4
12
  };
5
13
  //# sourceMappingURL=index36.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index36.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index36.js","sources":["../node_modules/@babel/runtime/helpers/esm/extends.js"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };"],"names":["_extends","n","e","t"],"mappings":"AAAA,SAASA,IAAW;AAClB,SAAOA,IAAW,OAAO,SAAS,OAAO,OAAO,KAAI,IAAK,SAAUC,GAAG;AACpE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AACzC,UAAIC,IAAI,UAAUD,CAAC;AACnB,eAAS,KAAKC,EAAG,EAAC,CAAE,GAAE,eAAe,KAAKA,GAAG,CAAC,MAAMF,EAAE,CAAC,IAAIE,EAAE,CAAC;AAAA,IACpE;AACI,WAAOF;AAAA,EACR,GAAED,EAAS,MAAM,MAAM,SAAS;AACnC;","x_google_ignoreList":[0]}