@anoki/fse-ui 2.1.0-SNAPSHOT1.1 → 2.1.0-SNAPSHOT1.4
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.
- package/dist/components/ui/InfoPopup/InfoPopup.css +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs281.js +2 -0
- package/dist/index.cjs281.js.map +1 -0
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs462.js +27 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -2
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -27
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +2 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/{index.cjs481.js → index.cjs478.js} +1 -1
- package/dist/{index.cjs481.js.map → index.cjs478.js.map} +1 -1
- package/dist/{index.cjs482.js → index.cjs479.js} +1 -1
- package/dist/{index.cjs482.js.map → index.cjs479.js.map} +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs483.js +2 -0
- package/dist/index.cjs483.js.map +1 -0
- package/dist/index.cjs486.js +2 -0
- package/dist/index.cjs486.js.map +1 -0
- package/dist/index.cjs487.js +2 -0
- package/dist/index.cjs487.js.map +1 -0
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs524.js +2 -0
- package/dist/index.cjs524.js.map +1 -0
- package/dist/{index.cjs522.js → index.cjs525.js} +1 -1
- package/dist/index.cjs525.js.map +1 -0
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs624.js +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs636.js +1 -1
- package/dist/index.cjs641.js +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +38 -1
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs664.js.map +1 -1
- package/dist/index.cjs665.js +1 -1
- package/dist/index.cjs665.js.map +1 -1
- package/dist/index.cjs666.js +1 -38
- package/dist/index.cjs666.js.map +1 -1
- package/dist/index.cjs667.js +1 -1
- package/dist/index.cjs667.js.map +1 -1
- package/dist/index.cjs668.js +1 -1
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs7.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.es10.js +2 -2
- package/dist/index.es138.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es185.js +1 -1
- package/dist/index.es186.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es197.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es214.js +1 -1
- package/dist/index.es215.js +1 -1
- package/dist/index.es216.js +1 -1
- package/dist/index.es217.js +1 -1
- package/dist/index.es223.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es226.js +1 -1
- package/dist/index.es227.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es258.js +2 -2
- package/dist/index.es272.js +15 -5
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es279.js +27 -2
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es281.js +5 -0
- package/dist/index.es281.js.map +1 -0
- package/dist/index.es300.js +1 -1
- package/dist/index.es302.js +1 -1
- package/dist/index.es310.js +3 -3
- package/dist/index.es32.js +1 -1
- package/dist/index.es321.js +1 -1
- package/dist/index.es326.js +1 -1
- package/dist/index.es328.js +8 -8
- package/dist/index.es33.js +1 -1
- package/dist/index.es335.js +1 -1
- package/dist/index.es340.js +1 -1
- package/dist/index.es351.js +1 -1
- package/dist/index.es357.js +1 -1
- package/dist/index.es358.js +1 -1
- package/dist/index.es359.js +2 -2
- package/dist/index.es400.js +1 -1
- package/dist/index.es432.js +14 -3
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es441.js +1 -1
- package/dist/index.es449.js +1 -1
- package/dist/index.es460.js +1 -1
- package/dist/index.es461.js +1 -1
- package/dist/index.es462.js +3674 -5
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +5 -520
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +2 -3675
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +5 -5
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +521 -2
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es474.js +1 -1
- package/dist/index.es475.js +8 -8
- package/dist/index.es477.js +6 -15
- package/dist/index.es477.js.map +1 -1
- package/dist/{index.es481.js → index.es478.js} +1 -1
- package/dist/{index.es481.js.map → index.es478.js.map} +1 -1
- package/dist/{index.es482.js → index.es479.js} +1 -1
- package/dist/{index.es482.js.map → index.es479.js.map} +1 -1
- package/dist/index.es480.js +15 -6
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es483.js +18 -0
- package/dist/index.es483.js.map +1 -0
- package/dist/index.es486.js +128 -0
- package/dist/index.es486.js.map +1 -0
- package/dist/index.es487.js +138 -0
- package/dist/index.es487.js.map +1 -0
- package/dist/index.es488.js +14 -15
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +12 -122
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +8 -134
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +50 -14
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +54 -13
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es514.js +1 -1
- package/dist/index.es524.js +8 -0
- package/dist/index.es524.js.map +1 -0
- package/dist/{index.es522.js → index.es525.js} +1 -1
- package/dist/index.es525.js.map +1 -0
- package/dist/index.es526.js +2 -5
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es532.js +1 -1
- package/dist/index.es534.js +1 -1
- package/dist/index.es537.js +2 -14
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +14 -2
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es578.js +3 -3
- package/dist/index.es582.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es618.js +1 -1
- package/dist/index.es619.js +1 -1
- package/dist/index.es624.js +1 -1
- package/dist/index.es628.js +1 -1
- package/dist/index.es629.js +8 -8
- package/dist/index.es636.js +1 -1
- package/dist/index.es641.js +3 -3
- package/dist/index.es645.js +1 -1
- package/dist/index.es647.js +4 -4
- package/dist/index.es65.js +1 -1
- package/dist/index.es662.js +54 -512
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +68 -126
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +8 -128
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +13 -64
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +61 -68
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +521 -7
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +126 -13
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +127 -60
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es68.js +44 -42
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es7.js.map +1 -1
- package/dist/index.es76.js +51 -42
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es80.js +21 -19
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es9.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs280.js +0 -2
- package/dist/index.cjs280.js.map +0 -1
- package/dist/index.cjs493.js +0 -2
- package/dist/index.cjs493.js.map +0 -1
- package/dist/index.cjs494.js +0 -2
- package/dist/index.cjs494.js.map +0 -1
- package/dist/index.cjs495.js +0 -2
- package/dist/index.cjs495.js.map +0 -1
- package/dist/index.cjs522.js.map +0 -1
- package/dist/index.cjs523.js +0 -2
- package/dist/index.cjs523.js.map +0 -1
- package/dist/index.es280.js +0 -30
- package/dist/index.es280.js.map +0 -1
- package/dist/index.es493.js +0 -12
- package/dist/index.es493.js.map +0 -1
- package/dist/index.es494.js +0 -53
- package/dist/index.es494.js.map +0 -1
- package/dist/index.es495.js +0 -59
- package/dist/index.es495.js.map +0 -1
- package/dist/index.es522.js.map +0 -1
- package/dist/index.es523.js +0 -5
- package/dist/index.es523.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.cjs669.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs669.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,CACjD,GAAI,EAAEF,aAAgB,SAClB,MAAO,GAEX,IAAIG,EAAS,OAAO,iBAAiBH,CAAI,EACzC,OAEAG,EAAOD,CAAQ,IAAM,UAEjB,EAAEC,EAAO,YAAcA,EAAO,WAAa,CAACJ,EAAqBC,CAAI,GAAKG,EAAOD,CAAQ,IAAM,UACvG,EACIE,EAA0B,SAAUJ,EAAM,CAAE,OAAOC,EAAqBD,EAAM,WAAW,CAAI,EAC7FK,EAA0B,SAAUL,EAAM,CAAE,OAAOC,EAAqBD,EAAM,WAAW,CAAI,EACtFM,EAA0B,SAAUC,EAAMP,EAAM,CACvD,IAAIQ,EAAgBR,EAAK,cACrBS,EAAUT,EACd,EAAG,CAEK,OAAO,WAAe,KAAeS,aAAmB,aACxDA,EAAUA,EAAQ,MAEtB,IAAIC,EAAeC,EAAuBJ,EAAME,CAAO,EACvD,GAAIC,EAAc,CACd,IAAIE,EAAKC,EAAmBN,EAAME,CAAO,EAAGK,EAAeF,EAAG,CAAC,EAAGG,EAAeH,EAAG,CAAC,EACrF,GAAIE,EAAeC,EACf,MAAO,EAEvB,CACQN,EAAUA,EAAQ,UAC1B,OAAaA,GAAWA,IAAYD,EAAc,MAC9C,MAAO,EACX,EACIQ,EAAsB,SAAUJ,EAAI,CACpC,IAAIK,EAAYL,EAAG,UAAWE,EAAeF,EAAG,aAAcG,EAAeH,EAAG,aAChF,MAAO,CACHK,EACAH,EACAC,CACH,CACL,EACIG,EAAsB,SAAUN,EAAI,CACpC,IAAIO,EAAaP,EAAG,WAAYQ,EAAcR,EAAG,YAAaS,EAAcT,EAAG,YAC/E,MAAO,CACHO,EACAC,EACAC,CACH,CACL,EACIV,EAAyB,SAAUJ,EAAMP,EAAM,CAC/C,OAAOO,IAAS,IAAMH,EAAwBJ,CAAI,EAAIK,EAAwBL,CAAI,CACtF,EACIa,EAAqB,SAAUN,EAAMP,EAAM,CAC3C,OAAOO,IAAS,IAAMS,EAAoBhB,CAAI,EAAIkB,EAAoBlB,CAAI,CAC9E,EACIsB,EAAqB,SAAUf,EAAMgB,EAAW,CAMhD,OAAOhB,IAAS,KAAOgB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUjB,EAAMkB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBf,EAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACzB,EAAG,CACC,IAAIxB,EAAKC,EAAmBN,EAAMwB,CAAM,EAAGM,EAAWzB,EAAG,CAAC,EAAG0B,EAAW1B,EAAG,CAAC,EAAG2B,EAAW3B,EAAG,CAAC,EAC1F4B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR7B,EAAuBJ,EAAMwB,CAAM,IACnCI,GAAmBK,EACnBJ,GAAsBC,GAG1BN,aAAkB,WAClBA,EAASA,EAAO,KAGhBA,EAASA,EAAO,UAEvB,OAEA,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAElE,OAAIG,GACkB,KAAK,IAAIC,CAAe,EAAI,GAGzC,CAACD,GACY,KAAK,IAAIE,CAAkB,EAAI,KACjDH,EAAqB,IAElBA,CACX","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.cjs669.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","selector","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs68.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs247.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs247.js"),E=require("./index.cjs249.js"),q=require("react"),k=require("./index.cjs76.js");require("./index.cjs369.js");const o=require("./index.cjs187.js"),x=require("./index.cjs9.js"),L=({iconColor:a,icon:c=t.jsxRuntimeExports.jsx(o.Favourite,{color:a}),noIcon:i=!1,textLabel:C="Default text",handleAction:R=()=>{},handleIconAction:g=()=>{},classNameComponent:N="fs-7",classNameText:b="",disablePointer:n=!1,iconPosition:r="left",popupInfo:e,positionPopUp:d="right",justifyContent:v="center",alignItems:w="center",children:u=void 0})=>{const m=s=>{!n&&g&&(s.stopPropagation(),e&&j(!l),g())},[l,j]=q.useState(!1),O=q.useMemo(()=>c||t.jsxRuntimeExports.jsx(o.Favourite,{color:a}),[a,c]);return t.jsxRuntimeExports.jsxs(x.Row,{justifyContent:v,alignItems:w,gap:"x8",className:E.clsx("position-relative",n?"text-muted":"cursor-pointer text-primary",N),onClick:()=>R&&!n&&R(),children:[!i&&(r==="left"||r==null)&&!e?t.jsxRuntimeExports.jsx(x.Row,{alignItems:"center",onClick:s=>m(s),children:O}):e&&!i&&(r==="left"||r==null)&&t.jsxRuntimeExports.jsx(k.InfoPopup,{title:e.title,description:e.description,isOpen:l,positionPopUp:d,onClickCloseBtn:()=>j(!l),className:e.className,ariaLabel:e.ariaLabel}),t.jsxRuntimeExports.jsx("p",{className:E.clsx("fw-bold",b),children:C}),!i&&r==="right"&&!e?t.jsxRuntimeExports.jsxs(x.Row,{gap:"x24",alignItems:"center",onClick:s=>m(s),children:[u,c]}):e&&!i&&r==="right"&&t.jsxRuntimeExports.jsx(k.InfoPopup,{title:e.title,description:e.description,isOpen:l,positionPopUp:d,onClickCloseBtn:()=>j(!l),className:e.className,ariaLabel:e.ariaLabel}),i&&u&&t.jsxRuntimeExports.jsx(x.Row,{gap:"x24",alignItems:"center",onClick:s=>m(s),children:u})]})};exports.ActionIconText=L;
|
2
2
|
//# sourceMappingURL=index.cjs68.js.map
|
package/dist/index.cjs68.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs68.js","sources":["../src/components/ui/ActionIconText/index.tsx"],"sourcesContent":["import { Favourite } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\nimport React, { CSSProperties, useMemo } from \"react\";\r\nimport { PropsWithChildren, ReactNode } from \"react\";\r\nimport { InfoPopup, InfoPopupProps } from \"../InfoPopup\";\r\nimport \"./ActionIconText.scss\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { Row } from \"@/components\";\r\n\r\nexport type ActionIconTextProps = PropsWithChildren<{\r\n icon?: ReactNode;\r\n noIcon?: boolean;\r\n textLabel?: string;\r\n handleAction?: () => void;\r\n handleIconAction?: () => void;\r\n classNameComponent?: string;\r\n classNameText?: string;\r\n disablePointer?: boolean;\r\n iconPosition?: \"left\" | \"right\";\r\n popupInfo?: InfoPopupProps;\r\n iconColor?: ColorKeys;\r\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\r\n justifyContent?: CSSProperties[\"justifyContent\"];\r\n alignItems?: CSSProperties[\"alignItems\"];\r\n children?: ReactNode;\r\n}>;\r\n\r\nexport const ActionIconText = ({\r\n iconColor,\r\n icon = <Favourite color={iconColor} />,\r\n noIcon = false,\r\n textLabel = \"Default text\",\r\n handleAction = () => {},\r\n handleIconAction = () => {},\r\n classNameComponent = \"fs-7\",\r\n classNameText = \"\",\r\n disablePointer = false,\r\n iconPosition = \"left\",\r\n popupInfo,\r\n positionPopUp = \"right\",\r\n justifyContent = \"center\",\r\n alignItems = \"center\",\r\n children = undefined,\r\n}: ActionIconTextProps) => {\r\n const runIconAction = (e: React.MouseEvent) => {\r\n if (!disablePointer && handleIconAction) {\r\n e.stopPropagation();\r\n if (popupInfo) {\r\n setPopupIsOpen(!popupIsOpen);\r\n }\r\n handleIconAction();\r\n }\r\n };\r\n\r\n const [popupIsOpen, setPopupIsOpen] = React.useState(false);\r\n\r\n const iconToRender = useMemo(() => {\r\n return icon || <Favourite color={iconColor} />;\r\n }, [iconColor, icon]);\r\n\r\n return (\r\n <Row\r\n justifyContent={justifyContent}\r\n alignItems={alignItems}\r\n gap={\"x8\"}\r\n className={clsx(\r\n \"position-relative\",\r\n disablePointer ? \"text-muted\" : \"cursor-pointer text-primary\",\r\n classNameComponent,\r\n )}\r\n onClick={() => handleAction && !disablePointer && handleAction()}\r\n >\r\n {!noIcon &&\r\n (iconPosition === \"left\" || iconPosition == null) &&\r\n !popupInfo ? (\r\n <Row alignItems={\"center\"} onClick={(e) => runIconAction(e)}>\r\n {iconToRender}\r\n </Row>\r\n ) : (\r\n popupInfo &&\r\n !noIcon &&\r\n (iconPosition === \"left\" || iconPosition == null) && (\r\n <InfoPopup\r\n title={popupInfo.title}\r\n description={popupInfo.description}\r\n isOpen={popupIsOpen}\r\n positionPopUp={positionPopUp}\r\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\r\n className={popupInfo.className}\r\n ></InfoPopup>\r\n )\r\n )}\r\n <p className={clsx(\"fw-bold\", classNameText)}>{textLabel}</p>\r\n\r\n {!noIcon && iconPosition === \"right\" && !popupInfo ? (\r\n <Row\r\n gap={\"x24\"}\r\n alignItems={\"center\"}\r\n onClick={(e) => runIconAction(e)}\r\n >\r\n {children}\r\n {icon}\r\n </Row>\r\n ) : (\r\n popupInfo &&\r\n !noIcon &&\r\n iconPosition === \"right\" && (\r\n <InfoPopup\r\n title={popupInfo.title}\r\n description={popupInfo.description}\r\n isOpen={popupIsOpen}\r\n positionPopUp={positionPopUp}\r\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\r\n className={popupInfo.className}\r\n ></InfoPopup>\r\n )\r\n )}\r\n {noIcon && children && (\r\n <Row\r\n gap={\"x24\"}\r\n alignItems={\"center\"}\r\n onClick={(e) => runIconAction(e)}\r\n >\r\n {children}\r\n </Row>\r\n )}\r\n </Row>\r\n );\r\n};\r\n"],"names":["ActionIconText","iconColor","icon","jsx","Favourite","noIcon","textLabel","handleAction","handleIconAction","classNameComponent","classNameText","disablePointer","iconPosition","popupInfo","positionPopUp","justifyContent","alignItems","children","runIconAction","e","setPopupIsOpen","popupIsOpen","React","iconToRender","useMemo","jsxs","Row","clsx","InfoPopup"],"mappings":"oSA2BaA,EAAiB,CAAC,CAC7B,UAAAC,EACA,KAAAC,EAAOC,EAAAA,kBAAAA,IAACC,EAAAA,UAAU,CAAA,MAAOH,CAAW,CAAA,EACpC,OAAAI,EAAS,GACT,UAAAC,EAAY,eACZ,aAAAC,EAAe,IAAM,CAAC,EACtB,iBAAAC,EAAmB,IAAM,CAAC,EAC1B,mBAAAC,EAAqB,OACrB,cAAAC,EAAgB,GAChB,eAAAC,EAAiB,GACjB,aAAAC,EAAe,OACf,UAAAC,EACA,cAAAC,EAAgB,QAChB,eAAAC,EAAiB,SACjB,WAAAC,EAAa,SACb,SAAAC,EAAW,MACb,IAA2B,CACnB,MAAAC,EAAiBC,GAAwB,CACzC,CAACR,GAAkBH,IACrBW,EAAE,gBAAgB,EACdN,GACFO,EAAe,CAACC,CAAW,EAEZb,EAAA,EAErB,EAEM,CAACa,EAAaD,CAAc,EAAIE,EAAM,SAAS,EAAK,EAEpDC,EAAeC,EAAAA,QAAQ,IACpBtB,GAAQC,EAAAA,kBAAAA,IAACC,EAAAA,UAAU,CAAA,MAAOH,CAAW,CAAA,EAC3C,CAACA,EAAWC,CAAI,CAAC,EAGlB,OAAAuB,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,eAAAX,EACA,WAAAC,EACA,IAAK,KACL,UAAWW,EAAA,KACT,oBACAhB,EAAiB,aAAe,8BAChCF,CACF,EACA,QAAS,IAAMF,GAAgB,CAACI,GAAkBJ,EAAa,EAE9D,SAAA,CAAC,CAAAF,IACDO,IAAiB,QAAUA,GAAgB,OAC5C,CAACC,EACCV,EAAA,kBAAA,IAACuB,EAAI,IAAA,CAAA,WAAY,SAAU,QAAUP,GAAMD,EAAcC,CAAC,EACvD,SACHI,CAAA,CAAA,EAEAV,GACA,CAACR,IACAO,IAAiB,QAAUA,GAAgB,OAC1CT,EAAA,kBAAA,IAACyB,EAAA,UAAA,CACC,MAAOf,EAAU,MACjB,YAAaA,EAAU,YACvB,OAAQQ,EACR,cAAAP,EACA,gBAAiB,IAAMM,EAAe,CAACC,CAAW,EAClD,UAAWR,EAAU,SAAA,CACtB,0BAGJ,IAAE,CAAA,UAAWc,OAAK,UAAWjB,CAAa,EAAI,SAAUJ,EAAA,EAExD,CAACD,GAAUO,IAAiB,SAAW,CAACC,EACvCY,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,IAAK,MACL,WAAY,SACZ,QAAUP,GAAMD,EAAcC,CAAC,EAE9B,SAAA,CAAAF,EACAf,CAAA,CAAA,CAGH,EAAAW,GACA,CAACR,GACDO,IAAiB,SACfT,EAAA,kBAAA,IAACyB,EAAA,UAAA,CACC,MAAOf,EAAU,MACjB,YAAaA,EAAU,YACvB,OAAQQ,EACR,cAAAP,EACA,gBAAiB,IAAMM,EAAe,CAACC,CAAW,EAClD,UAAWR,EAAU,SAAA,CACtB,EAGJR,GAAUY,GACTd,EAAA,kBAAA,IAACuB,EAAA,IAAA,CACC,IAAK,MACL,WAAY,SACZ,QAAUP,GAAMD,EAAcC,CAAC,EAE9B,SAAAF,CAAA,CAAA,CACH,CAAA,CAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs68.js","sources":["../src/components/ui/ActionIconText/index.tsx"],"sourcesContent":["import { Favourite } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\nimport React, { CSSProperties, useMemo } from \"react\";\r\nimport { PropsWithChildren, ReactNode } from \"react\";\r\nimport { InfoPopup, InfoPopupProps } from \"../InfoPopup\";\r\nimport \"./ActionIconText.scss\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { Row } from \"@/components\";\r\n\r\nexport type ActionIconTextProps = PropsWithChildren<{\r\n icon?: ReactNode;\r\n noIcon?: boolean;\r\n textLabel?: string;\r\n handleAction?: () => void;\r\n handleIconAction?: () => void;\r\n classNameComponent?: string;\r\n classNameText?: string;\r\n disablePointer?: boolean;\r\n iconPosition?: \"left\" | \"right\";\r\n popupInfo?: InfoPopupProps;\r\n iconColor?: ColorKeys;\r\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\r\n justifyContent?: CSSProperties[\"justifyContent\"];\r\n alignItems?: CSSProperties[\"alignItems\"];\r\n children?: ReactNode;\r\n}>;\r\n\r\nexport const ActionIconText = ({\r\n iconColor,\r\n icon = <Favourite color={iconColor} />,\r\n noIcon = false,\r\n textLabel = \"Default text\",\r\n handleAction = () => {},\r\n handleIconAction = () => {},\r\n classNameComponent = \"fs-7\",\r\n classNameText = \"\",\r\n disablePointer = false,\r\n iconPosition = \"left\",\r\n popupInfo,\r\n positionPopUp = \"right\",\r\n justifyContent = \"center\",\r\n alignItems = \"center\",\r\n children = undefined,\r\n}: ActionIconTextProps) => {\r\n const runIconAction = (e: React.MouseEvent) => {\r\n if (!disablePointer && handleIconAction) {\r\n e.stopPropagation();\r\n if (popupInfo) {\r\n setPopupIsOpen(!popupIsOpen);\r\n }\r\n handleIconAction();\r\n }\r\n };\r\n\r\n const [popupIsOpen, setPopupIsOpen] = React.useState(false);\r\n\r\n const iconToRender = useMemo(() => {\r\n return icon || <Favourite color={iconColor} />;\r\n }, [iconColor, icon]);\r\n\r\n return (\r\n <Row\r\n justifyContent={justifyContent}\r\n alignItems={alignItems}\r\n gap={\"x8\"}\r\n className={clsx(\r\n \"position-relative\",\r\n disablePointer ? \"text-muted\" : \"cursor-pointer text-primary\",\r\n classNameComponent,\r\n )}\r\n onClick={() => handleAction && !disablePointer && handleAction()}\r\n >\r\n {!noIcon &&\r\n (iconPosition === \"left\" || iconPosition == null) &&\r\n !popupInfo ? (\r\n <Row alignItems={\"center\"} onClick={(e) => runIconAction(e)}>\r\n {iconToRender}\r\n </Row>\r\n ) : (\r\n popupInfo &&\r\n !noIcon &&\r\n (iconPosition === \"left\" || iconPosition == null) && (\r\n <InfoPopup\r\n title={popupInfo.title}\r\n description={popupInfo.description}\r\n isOpen={popupIsOpen}\r\n positionPopUp={positionPopUp}\r\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\r\n className={popupInfo.className}\r\n ariaLabel={popupInfo.ariaLabel}\r\n ></InfoPopup>\r\n )\r\n )}\r\n <p className={clsx(\"fw-bold\", classNameText)}>{textLabel}</p>\r\n\r\n {!noIcon && iconPosition === \"right\" && !popupInfo ? (\r\n <Row\r\n gap={\"x24\"}\r\n alignItems={\"center\"}\r\n onClick={(e) => runIconAction(e)}\r\n >\r\n {children}\r\n {icon}\r\n </Row>\r\n ) : (\r\n popupInfo &&\r\n !noIcon &&\r\n iconPosition === \"right\" && (\r\n <InfoPopup\r\n title={popupInfo.title}\r\n description={popupInfo.description}\r\n isOpen={popupIsOpen}\r\n positionPopUp={positionPopUp}\r\n onClickCloseBtn={() => setPopupIsOpen(!popupIsOpen)}\r\n className={popupInfo.className}\r\n ariaLabel={popupInfo.ariaLabel}\r\n ></InfoPopup>\r\n )\r\n )}\r\n {noIcon && children && (\r\n <Row\r\n gap={\"x24\"}\r\n alignItems={\"center\"}\r\n onClick={(e) => runIconAction(e)}\r\n >\r\n {children}\r\n </Row>\r\n )}\r\n </Row>\r\n );\r\n};\r\n"],"names":["ActionIconText","iconColor","icon","jsx","Favourite","noIcon","textLabel","handleAction","handleIconAction","classNameComponent","classNameText","disablePointer","iconPosition","popupInfo","positionPopUp","justifyContent","alignItems","children","runIconAction","e","setPopupIsOpen","popupIsOpen","React","iconToRender","useMemo","jsxs","Row","clsx","InfoPopup"],"mappings":"oSA2BaA,EAAiB,CAAC,CAC7B,UAAAC,EACA,KAAAC,EAAOC,EAAAA,kBAAAA,IAACC,EAAAA,UAAU,CAAA,MAAOH,CAAW,CAAA,EACpC,OAAAI,EAAS,GACT,UAAAC,EAAY,eACZ,aAAAC,EAAe,IAAM,CAAC,EACtB,iBAAAC,EAAmB,IAAM,CAAC,EAC1B,mBAAAC,EAAqB,OACrB,cAAAC,EAAgB,GAChB,eAAAC,EAAiB,GACjB,aAAAC,EAAe,OACf,UAAAC,EACA,cAAAC,EAAgB,QAChB,eAAAC,EAAiB,SACjB,WAAAC,EAAa,SACb,SAAAC,EAAW,MACb,IAA2B,CACnB,MAAAC,EAAiBC,GAAwB,CACzC,CAACR,GAAkBH,IACrBW,EAAE,gBAAgB,EACdN,GACFO,EAAe,CAACC,CAAW,EAEZb,EAAA,EAErB,EAEM,CAACa,EAAaD,CAAc,EAAIE,EAAM,SAAS,EAAK,EAEpDC,EAAeC,EAAAA,QAAQ,IACpBtB,GAAQC,EAAAA,kBAAAA,IAACC,EAAAA,UAAU,CAAA,MAAOH,CAAW,CAAA,EAC3C,CAACA,EAAWC,CAAI,CAAC,EAGlB,OAAAuB,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,eAAAX,EACA,WAAAC,EACA,IAAK,KACL,UAAWW,EAAA,KACT,oBACAhB,EAAiB,aAAe,8BAChCF,CACF,EACA,QAAS,IAAMF,GAAgB,CAACI,GAAkBJ,EAAa,EAE9D,SAAA,CAAC,CAAAF,IACDO,IAAiB,QAAUA,GAAgB,OAC5C,CAACC,EACCV,EAAA,kBAAA,IAACuB,EAAI,IAAA,CAAA,WAAY,SAAU,QAAUP,GAAMD,EAAcC,CAAC,EACvD,SACHI,CAAA,CAAA,EAEAV,GACA,CAACR,IACAO,IAAiB,QAAUA,GAAgB,OAC1CT,EAAA,kBAAA,IAACyB,EAAA,UAAA,CACC,MAAOf,EAAU,MACjB,YAAaA,EAAU,YACvB,OAAQQ,EACR,cAAAP,EACA,gBAAiB,IAAMM,EAAe,CAACC,CAAW,EAClD,UAAWR,EAAU,UACrB,UAAWA,EAAU,SAAA,CACtB,0BAGJ,IAAE,CAAA,UAAWc,OAAK,UAAWjB,CAAa,EAAI,SAAUJ,EAAA,EAExD,CAACD,GAAUO,IAAiB,SAAW,CAACC,EACvCY,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,IAAK,MACL,WAAY,SACZ,QAAUP,GAAMD,EAAcC,CAAC,EAE9B,SAAA,CAAAF,EACAf,CAAA,CAAA,CAGH,EAAAW,GACA,CAACR,GACDO,IAAiB,SACfT,EAAA,kBAAA,IAACyB,EAAA,UAAA,CACC,MAAOf,EAAU,MACjB,YAAaA,EAAU,YACvB,OAAQQ,EACR,cAAAP,EACA,gBAAiB,IAAMM,EAAe,CAACC,CAAW,EAClD,UAAWR,EAAU,UACrB,UAAWA,EAAU,SAAA,CACtB,EAGJR,GAAUY,GACTd,EAAA,kBAAA,IAACuB,EAAA,IAAA,CACC,IAAK,MACL,WAAY,SACZ,QAAUP,GAAMD,EAAcC,CAAC,EAE9B,SAAAF,CAAA,CAAA,CACH,CAAA,CAEJ,CAEJ"}
|
package/dist/index.cjs7.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs247.js"),o=require("react"),a=require("./index.cjs249.js"),u=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs247.js"),o=require("react"),a=require("./index.cjs249.js"),u=require("./index.cjs279.js"),l=({as:e,className:n,style:t,...s})=>{const r=e||"div",c=o.useMemo(()=>[...u.createSpacingClasses(s)].join(" "),[s]);return i.jsxRuntimeExports.jsx(r,{className:a.clsx("base-grid",n,c),style:{...t},...s})};exports.GridContainer=l;
|
2
2
|
//# sourceMappingURL=index.cjs7.js.map
|
package/dist/index.cjs7.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs7.js","sources":["../src/components/ui/GridContainer/index.tsx"],"sourcesContent":["import { ElementType, ComponentPropsWithoutRef, useMemo } from \"react\";\nimport clsx from \"clsx\";\nimport { createSpacingClasses, SpacingProps } from \"@theme/spacing.ts\";\n\ntype PolymorphicProps<E extends ElementType> = {\n as?: E;\n} & SpacingProps &\n Omit<ComponentPropsWithoutRef<E>, keyof SpacingProps>;\n\nexport const GridContainer = <E extends ElementType = \"div\">({\n as,\n className,\n style,\n ...rest\n}: PolymorphicProps<E>) => {\n const Component = as || \"div\";\n\n const classNames = useMemo(() => {\n const spacingClasses = createSpacingClasses(rest);\n return [...spacingClasses].join(\" \");\n }, [rest]);\n\n return (\n <Component\n className={clsx(\"base-grid\", className, classNames)}\n style={{\n ...style,\n }}\n {...rest}\n />\n );\n};\n"],"names":["GridContainer","as","className","style","rest","Component","classNames","useMemo","createSpacingClasses","jsx","clsx"],"mappings":"sMASaA,EAAgB,CAAgC,CAC3D,GAAAC,EACA,UAAAC,EACA,MAAAC,EACA,GAAGC,CACL,IAA2B,CACzB,MAAMC,EAAYJ,GAAM,MAElBK,EAAaC,EAAAA,QAAQ,IAElB,CAAC,GADeC,uBAAqBJ,CAAI,CACvB,EAAE,KAAK,GAAG,EAClC,CAACA,CAAI,CAAC,EAGP,OAAAK,EAAA,kBAAA,IAACJ,EAAA,CACC,UAAWK,EAAA,KAAK,YAAaR,EAAWI,CAAU,EAClD,MAAO,CACL,GAAGH,CACL,EACC,GAAGC,CAAA,CACN,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs7.js","sources":["../src/components/ui/GridContainer/index.tsx"],"sourcesContent":["import { ElementType, ComponentPropsWithoutRef, useMemo } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { createSpacingClasses, SpacingProps } from \"@theme/spacing.ts\";\r\n\r\ntype PolymorphicProps<E extends ElementType> = {\r\n as?: E;\r\n} & SpacingProps &\r\n Omit<ComponentPropsWithoutRef<E>, keyof SpacingProps>;\r\n\r\nexport const GridContainer = <E extends ElementType = \"div\">({\r\n as,\r\n className,\r\n style,\r\n ...rest\r\n}: PolymorphicProps<E>) => {\r\n const Component = as || \"div\";\r\n\r\n const classNames = useMemo(() => {\r\n const spacingClasses = createSpacingClasses(rest);\r\n return [...spacingClasses].join(\" \");\r\n }, [rest]);\r\n\r\n return (\r\n <Component\r\n className={clsx(\"base-grid\", className, classNames)}\r\n style={{\r\n ...style,\r\n }}\r\n {...rest}\r\n />\r\n );\r\n};\r\n"],"names":["GridContainer","as","className","style","rest","Component","classNames","useMemo","createSpacingClasses","jsx","clsx"],"mappings":"sMASaA,EAAgB,CAAgC,CAC3D,GAAAC,EACA,UAAAC,EACA,MAAAC,EACA,GAAGC,CACL,IAA2B,CACzB,MAAMC,EAAYJ,GAAM,MAElBK,EAAaC,EAAAA,QAAQ,IAElB,CAAC,GADeC,uBAAqBJ,CAAI,CACvB,EAAE,KAAK,GAAG,EAClC,CAACA,CAAI,CAAC,EAGP,OAAAK,EAAA,kBAAA,IAACJ,EAAA,CACC,UAAWK,EAAA,KAAK,YAAaR,EAAWI,CAAU,EAClD,MAAO,CACL,GAAGH,CACL,EACC,GAAGC,CAAA,CACN,CAEJ"}
|
package/dist/index.cjs76.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/InfoPopup/InfoPopup.css');const s=require("./index.cjs247.js");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/InfoPopup/InfoPopup.css');const s=require("./index.cjs247.js");;/* empty css */const u=require("./index.cjs249.js"),o=require("./index.cjs377.js"),c=require("./index.cjs378.js"),p=require("./index.cjs202.js"),j=require("./index.cjs163.js"),g=({title:n="Info",description:i,width:e="15.5rem",className:x="",positionPopUp:l="right",onClickCloseBtn:r,isOpen:a,ariaLabel:t})=>s.jsxRuntimeExports.jsxs(o.Root,{defaultOpen:!1,open:a,onOpenChange:r,modal:!1,children:[s.jsxRuntimeExports.jsx(o.Trigger,{className:"position-relative",children:s.jsxRuntimeExports.jsx(c.Button,{className:"ui-popup-trigger-button","aria-label":t||n,title:t||n,children:s.jsxRuntimeExports.jsx(p.Info,{color:"primary"})})}),s.jsxRuntimeExports.jsxs(o.Content,{className:u.clsx(x,"dialog"),side:l,tabIndex:-1,width:{initial:e,sm:e,xs:e,lg:e,md:e,xl:e},maxWidth:{initial:e,sm:e,xs:e,lg:e,md:e,xl:e},minWidth:{initial:e,sm:e,xs:e,lg:e,md:e,xl:e},style:{width:e},children:[s.jsxRuntimeExports.jsxs("div",{className:"header",children:[s.jsxRuntimeExports.jsx("h1",{id:"dialog-title",className:"title",children:n}),s.jsxRuntimeExports.jsx(o.Close,{className:"closeButton","aria-label":"Close dialog",onClick:m=>{m.stopPropagation(),r==null||r()},children:s.jsxRuntimeExports.jsx(j.Close,{className:"closeIcon",width:34,height:34})})]}),i&&s.jsxRuntimeExports.jsx("div",{id:"dialog-description",className:"content",children:i})]})]});exports.InfoPopup=g;
|
2
2
|
//# sourceMappingURL=index.cjs76.js.map
|
package/dist/index.cjs76.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs76.js","sources":["../src/components/ui/InfoPopup/index.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\r\nimport \"./InfoPopup.scss\";\r\nimport { Close, Info } from \"@/icons\";\r\nimport { Button, Popover } from \"@radix-ui/themes\";\r\nimport clsx from \"clsx\";\r\nimport React from \"react\";\r\n\r\nexport type InfoPopupProps = PropsWithChildren<{\r\n title: string;\r\n description: string | React.ReactNode;\r\n isOpen?: boolean;\r\n onClickCloseBtn?: () => void;\r\n className?: string;\r\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\r\n width?: string
|
1
|
+
{"version":3,"file":"index.cjs76.js","sources":["../src/components/ui/InfoPopup/index.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\r\nimport \"./InfoPopup.scss\";\r\nimport { Close, Info } from \"@/icons\";\r\nimport { Button, Popover } from \"@radix-ui/themes\";\r\nimport clsx from \"clsx\";\r\nimport React from \"react\";\r\n\r\nexport type InfoPopupProps = PropsWithChildren<{\r\n title: string;\r\n description: string | React.ReactNode;\r\n isOpen?: boolean;\r\n onClickCloseBtn?: () => void;\r\n className?: string;\r\n positionPopUp?: \"right\" | \"top\" | \"bottom\" | \"left\" | undefined;\r\n width?: string;\r\n ariaLabel?: string;\r\n}>;\r\n\r\nexport const InfoPopup = ({\r\n title = \"Info\",\r\n description,\r\n width = \"15.5rem\",\r\n className = \"\",\r\n positionPopUp = \"right\",\r\n onClickCloseBtn,\r\n isOpen,\r\n ariaLabel,\r\n}: InfoPopupProps) => {\r\n return (\r\n <Popover.Root\r\n defaultOpen={false}\r\n open={isOpen}\r\n onOpenChange={onClickCloseBtn}\r\n modal={false}\r\n >\r\n <Popover.Trigger className=\"position-relative\">\r\n <Button\r\n className=\"ui-popup-trigger-button\"\r\n aria-label={ariaLabel || title}\r\n title={ariaLabel || title}\r\n >\r\n <Info color=\"primary\" />\r\n </Button>\r\n </Popover.Trigger>\r\n <Popover.Content\r\n className={clsx(className, \"dialog\")}\r\n side={positionPopUp}\r\n tabIndex={-1}\r\n width={{\r\n initial: width,\r\n sm: width,\r\n xs: width,\r\n lg: width,\r\n md: width,\r\n xl: width,\r\n }}\r\n maxWidth={{\r\n initial: width,\r\n sm: width,\r\n xs: width,\r\n lg: width,\r\n md: width,\r\n xl: width,\r\n }}\r\n minWidth={{\r\n initial: width,\r\n sm: width,\r\n xs: width,\r\n lg: width,\r\n md: width,\r\n xl: width,\r\n }}\r\n style={{ width: width }}\r\n >\r\n <div className=\"header\">\r\n <h1 id=\"dialog-title\" className=\"title\">\r\n {title}\r\n </h1>\r\n\r\n <Popover.Close\r\n className=\"closeButton\"\r\n aria-label=\"Close dialog\"\r\n onClick={(e) => {\r\n e.stopPropagation();\r\n onClickCloseBtn?.();\r\n }}\r\n >\r\n <Close className=\"closeIcon\" width={34} height={34} />\r\n </Popover.Close>\r\n </div>\r\n {description && (\r\n <div id=\"dialog-description\" className=\"content\">\r\n {description}\r\n </div>\r\n )}\r\n </Popover.Content>\r\n </Popover.Root>\r\n );\r\n};\r\n"],"names":["InfoPopup","title","description","width","className","positionPopUp","onClickCloseBtn","isOpen","ariaLabel","jsxs","Popover.Root","jsx","Popover.Trigger","Button","Info","Popover.Content","clsx","Popover.Close","e","Close"],"mappings":"mTAkBaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,OACR,YAAAC,EACA,MAAAC,EAAQ,UACR,UAAAC,EAAY,GACZ,cAAAC,EAAgB,QAChB,gBAAAC,EACA,OAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAQ,KAAR,CACC,YAAa,GACb,KAAMH,EACN,aAAcD,EACd,MAAO,GAEP,SAAA,CAAAK,EAAAA,kBAAAA,IAACC,EAAAA,QAAA,CAAgB,UAAU,oBACzB,SAAAD,EAAA,kBAAA,IAACE,EAAA,OAAA,CACC,UAAU,0BACV,aAAYL,GAAaP,EACzB,MAAOO,GAAaP,EAEpB,SAAAU,EAAAA,kBAAAA,IAACG,EAAAA,KAAK,CAAA,MAAM,SAAU,CAAA,CAAA,CAAA,EAE1B,EACAL,EAAA,kBAAA,KAACM,EAAQ,QAAR,CACC,UAAWC,EAAAA,KAAKZ,EAAW,QAAQ,EACnC,KAAMC,EACN,SAAU,GACV,MAAO,CACL,QAASF,EACT,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,CACN,EACA,SAAU,CACR,QAASA,EACT,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,CACN,EACA,SAAU,CACR,QAASA,EACT,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,CACN,EACA,MAAO,CAAE,MAAAA,CAAa,EAEtB,SAAA,CAACM,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,SACb,SAAA,CAAAE,wBAAC,KAAG,CAAA,GAAG,eAAe,UAAU,QAC7B,SACHV,EAAA,EAEAU,EAAA,kBAAA,IAACM,EAAQ,MAAR,CACC,UAAU,cACV,aAAW,eACX,QAAUC,GAAM,CACdA,EAAE,gBAAgB,EACAZ,GAAA,MAAAA,GACpB,EAEA,iCAACa,EAAM,MAAA,CAAA,UAAU,YAAY,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACtD,EACF,EACCjB,GACES,EAAAA,kBAAAA,IAAA,MAAA,CAAI,GAAG,qBAAqB,UAAU,UACpC,SACHT,CAAA,CAAA,CAAA,CAAA,CAAA,CAEJ,CAAA,CACF"}
|
package/dist/index.cjs8.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs247.js"),s=require("react"),x=require("./index.cjs249.js"),C=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs247.js"),s=require("react"),x=require("./index.cjs249.js"),C=require("./index.cjs279.js"),j=({as:a,className:l,style:u,md:t,sm:e,xs:c,...o})=>{const m=a||"div",n=s.useMemo(()=>`col-grid-md-${t??"3"}`,[t]),r=s.useMemo(()=>e?`col-grid-sm-${e??"6"}`:"",[e]),i=s.useMemo(()=>`col-grid-${c??"12"}`,[c]),d=s.useMemo(()=>{const g=C.createSpacingClasses(o);return[i,r,n,...g].join(" ")},[n,o,r,i]);return p.jsxRuntimeExports.jsx(m,{className:x.clsx(l,d),style:{...u},...o})};exports.GridItem=j;
|
2
2
|
//# sourceMappingURL=index.cjs8.js.map
|
package/dist/index.cjs80.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./components/ui/NotificationsSettingsHeader/NotificationsSettingsHeader.css');const e=require("./index.cjs247.js"),o=require("./index.cjs249.js"),u=require("./index.cjs68.js");;/* empty css */const p=require("./index.cjs202.js"),a=l=>`notifications-settings-header-${l}`,r=({className:l,showEmail:x=!1,showSms:d=!1,...c})=>{const n=[{label:"Categoria notifica",noIcon:!0,isFlex:!0,key:"category",alwaysVisible:!0},{label:"SMS",fixedWidth:!0,key:"sms",visible:d,popupInfo:{title:"SMS",description:"SMS come metodo di notifica",isOpen:!1,onClickCloseBtn:()=>{}}},{label:"Email",fixedWidth:!0,key:"email",visible:x,popupInfo:{title:"Email",description:"Email come metodo di notifica",isOpen:!1,onClickCloseBtn:()=>{}}}].filter(i=>i.alwaysVisible||i.visible);return e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx("div",{className:o.clsx(l),...c,children:e.jsxRuntimeExports.jsxs("table",{className:"w-full flex",role:"table",children:[e.jsxRuntimeExports.jsx("thead",{children:e.jsxRuntimeExports.jsx("tr",{className:"w-full flex",children:n.map((i,s)=>{const t=a(i.key);return e.jsxRuntimeExports.jsx("th",{id:t,scope:"col","aria-colindex":s+1,"data-column-key":i.key,className:o.clsx("table-header-divider-cell w-full",i.isFlex?"flex-1":"flex-none"),children:e.jsxRuntimeExports.jsx("div",{className:o.clsx("table__cell--header--content",i.fixedWidth?"table-header-fixed-width ":""),children:e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(u.ActionIconText,{classNameText:"text-grey-black",noIcon:i.noIcon,icon:e.jsxRuntimeExports.jsx(p.Info,{}),textLabel:i.label,iconPosition:"right",popupInfo:i.popupInfo,positionPopUp:n.length===s+1?"left":"right"})})})},t)})})}),e.jsxRuntimeExports.jsx("tbody",{children:e.jsxRuntimeExports.jsx("tr",{className:"sr-only",children:n.map((i,s)=>{const t=a(i.key);return e.jsxRuntimeExports.jsx("td",{headers:t,"aria-colindex":s+1},`${t}-data`)})})})]})}),e.jsxRuntimeExports.jsx("div",{className:"table-header-divider"})]})};exports.NotificationsSettingsHeader=r;exports.default=r;exports.notificationsSettingsHeaderId=a;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./components/ui/NotificationsSettingsHeader/NotificationsSettingsHeader.css');const e=require("./index.cjs247.js"),o=require("./index.cjs249.js"),u=require("./index.cjs68.js");;/* empty css */const p=require("./index.cjs202.js"),a=l=>`notifications-settings-header-${l}`,r=({className:l,showEmail:x=!1,showSms:d=!1,...c})=>{const n=[{label:"Categoria notifica",noIcon:!0,isFlex:!0,key:"category",alwaysVisible:!0},{label:"SMS",fixedWidth:!0,key:"sms",visible:d,popupInfo:{title:"SMS",description:"SMS come metodo di notifica",isOpen:!1,onClickCloseBtn:()=>{},ariaLabel:"Informazioni SMS"}},{label:"Email",fixedWidth:!0,key:"email",visible:x,popupInfo:{title:"Email",description:"Email come metodo di notifica",isOpen:!1,onClickCloseBtn:()=>{},ariaLabel:"Informazioni Email"}}].filter(i=>i.alwaysVisible||i.visible);return e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx("div",{className:o.clsx(l),...c,children:e.jsxRuntimeExports.jsxs("table",{className:"w-full flex",role:"table",children:[e.jsxRuntimeExports.jsx("thead",{children:e.jsxRuntimeExports.jsx("tr",{className:"w-full flex",children:n.map((i,s)=>{const t=a(i.key);return e.jsxRuntimeExports.jsx("th",{id:t,scope:"col","aria-colindex":s+1,"data-column-key":i.key,className:o.clsx("table-header-divider-cell w-full",i.isFlex?"flex-1":"flex-none"),children:e.jsxRuntimeExports.jsx("div",{className:o.clsx("table__cell--header--content",i.fixedWidth?"table-header-fixed-width ":""),children:e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(u.ActionIconText,{classNameText:"text-grey-black",noIcon:i.noIcon,icon:e.jsxRuntimeExports.jsx(p.Info,{}),textLabel:i.label,iconPosition:"right",popupInfo:i.popupInfo,positionPopUp:n.length===s+1?"left":"right"})})})},t)})})}),e.jsxRuntimeExports.jsx("tbody",{children:e.jsxRuntimeExports.jsx("tr",{className:"sr-only",children:n.map((i,s)=>{const t=a(i.key);return e.jsxRuntimeExports.jsx("td",{headers:t,"aria-colindex":s+1},`${t}-data`)})})})]})}),e.jsxRuntimeExports.jsx("div",{className:"table-header-divider"})]})};exports.NotificationsSettingsHeader=r;exports.default=r;exports.notificationsSettingsHeaderId=a;
|
2
2
|
//# sourceMappingURL=index.cjs80.js.map
|
package/dist/index.cjs80.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs80.js","sources":["../src/components/ui/NotificationsSettingsHeader/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { Info } from \"@/icons\";\r\nimport { ActionIconText } from \"../ActionIconText\";\r\nimport \"./NotificationsSettingsHeader.scss\";\r\n\r\ntype TableHeaderProps = {\r\n className?: string;\r\n showEmail?: boolean;\r\n showSms?: boolean;\r\n};\r\n\r\nexport const notificationsSettingsHeaderId = (columnKey: string) =>\r\n `notifications-settings-header-${columnKey}`;\r\n\r\nexport const NotificationsSettingsHeader = ({\r\n className,\r\n showEmail = false,\r\n showSms = false,\r\n ...props\r\n}: TableHeaderProps) => {\r\n const allColumns = [\r\n {\r\n label: \"Categoria notifica\",\r\n noIcon: true,\r\n isFlex: true,\r\n key: \"category\",\r\n alwaysVisible: true,\r\n },\r\n {\r\n label: \"SMS\",\r\n fixedWidth: true,\r\n key: \"sms\",\r\n visible: showSms,\r\n popupInfo: {\r\n title: \"SMS\",\r\n description: \"SMS come metodo di notifica\",\r\n isOpen: false,\r\n onClickCloseBtn: () => {},\r\n },\r\n },\r\n {\r\n label: \"Email\",\r\n fixedWidth: true,\r\n key: \"email\",\r\n visible: showEmail,\r\n popupInfo: {\r\n title: \"Email\",\r\n description: \"Email come metodo di notifica\",\r\n isOpen: false,\r\n onClickCloseBtn: () => {},\r\n },\r\n },\r\n ];\r\n\r\n const visibleColumns = allColumns.filter(\r\n (column) => column.alwaysVisible || column.visible,\r\n );\r\n\r\n return (\r\n <div>\r\n <div className={clsx(className)} {...props}>\r\n <table className=\"w-full flex\" role=\"table\">\r\n <thead>\r\n <tr className=\"w-full flex\">\r\n {visibleColumns.map((column, index) => {\r\n const headerId = notificationsSettingsHeaderId(column.key);\r\n return (\r\n <th\r\n key={headerId}\r\n id={headerId}\r\n scope=\"col\"\r\n aria-colindex={index + 1}\r\n data-column-key={column.key}\r\n className={clsx(\r\n \"table-header-divider-cell w-full\",\r\n column.isFlex ? \"flex-1\" : \"flex-none\",\r\n )}\r\n >\r\n <div\r\n className={clsx(\r\n \"table__cell--header--content\",\r\n column.fixedWidth ? \"table-header-fixed-width \" : \"\",\r\n )}\r\n >\r\n <div>\r\n <ActionIconText\r\n classNameText={\"text-grey-black\"}\r\n noIcon={column.noIcon}\r\n icon={<Info />}\r\n textLabel={column.label}\r\n iconPosition={\"right\"}\r\n popupInfo={column.popupInfo}\r\n positionPopUp={\r\n visibleColumns.length === index + 1\r\n ? \"left\"\r\n : \"right\"\r\n }\r\n />\r\n </div>\r\n </div>\r\n </th>\r\n );\r\n })}\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr className=\"sr-only\">\r\n {visibleColumns.map((column, index) => {\r\n const headerId = notificationsSettingsHeaderId(column.key);\r\n return (\r\n <td\r\n key={`${headerId}-data`}\r\n headers={headerId}\r\n aria-colindex={index + 1}\r\n >\r\n {/* Empty data cell for accessibility */}\r\n </td>\r\n );\r\n })}\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n <div className={\"table-header-divider\"} />\r\n </div>\r\n );\r\n};\r\n\r\nexport default NotificationsSettingsHeader;\r\n\r\n\r\n\r\n"],"names":["notificationsSettingsHeaderId","columnKey","NotificationsSettingsHeader","className","showEmail","showSms","props","visibleColumns","column","jsx","clsx","jsxs","index","headerId","ActionIconText","Info"],"mappings":"gRAWaA,EAAiCC,GAC5C,iCAAiCA,CAAS,GAE/BC,EAA8B,CAAC,CAC1C,UAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EAAU,GACV,GAAGC,CACL,IAAwB,
|
1
|
+
{"version":3,"file":"index.cjs80.js","sources":["../src/components/ui/NotificationsSettingsHeader/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { Info } from \"@/icons\";\r\nimport { ActionIconText } from \"../ActionIconText\";\r\nimport \"./NotificationsSettingsHeader.scss\";\r\n\r\ntype TableHeaderProps = {\r\n className?: string;\r\n showEmail?: boolean;\r\n showSms?: boolean;\r\n};\r\n\r\nexport const notificationsSettingsHeaderId = (columnKey: string) =>\r\n `notifications-settings-header-${columnKey}`;\r\n\r\nexport const NotificationsSettingsHeader = ({\r\n className,\r\n showEmail = false,\r\n showSms = false,\r\n ...props\r\n}: TableHeaderProps) => {\r\n const allColumns = [\r\n {\r\n label: \"Categoria notifica\",\r\n noIcon: true,\r\n isFlex: true,\r\n key: \"category\",\r\n alwaysVisible: true,\r\n },\r\n {\r\n label: \"SMS\",\r\n fixedWidth: true,\r\n key: \"sms\",\r\n visible: showSms,\r\n popupInfo: {\r\n title: \"SMS\",\r\n description: \"SMS come metodo di notifica\",\r\n isOpen: false,\r\n onClickCloseBtn: () => {},\r\n ariaLabel: \"Informazioni SMS\",\r\n },\r\n },\r\n {\r\n label: \"Email\",\r\n fixedWidth: true,\r\n key: \"email\",\r\n visible: showEmail,\r\n popupInfo: {\r\n title: \"Email\",\r\n description: \"Email come metodo di notifica\",\r\n isOpen: false,\r\n onClickCloseBtn: () => {},\r\n ariaLabel: \"Informazioni Email\",\r\n },\r\n },\r\n ];\r\n\r\n const visibleColumns = allColumns.filter(\r\n (column) => column.alwaysVisible || column.visible,\r\n );\r\n\r\n return (\r\n <div>\r\n <div className={clsx(className)} {...props}>\r\n <table className=\"w-full flex\" role=\"table\">\r\n <thead>\r\n <tr className=\"w-full flex\">\r\n {visibleColumns.map((column, index) => {\r\n const headerId = notificationsSettingsHeaderId(column.key);\r\n return (\r\n <th\r\n key={headerId}\r\n id={headerId}\r\n scope=\"col\"\r\n aria-colindex={index + 1}\r\n data-column-key={column.key}\r\n className={clsx(\r\n \"table-header-divider-cell w-full\",\r\n column.isFlex ? \"flex-1\" : \"flex-none\",\r\n )}\r\n >\r\n <div\r\n className={clsx(\r\n \"table__cell--header--content\",\r\n column.fixedWidth ? \"table-header-fixed-width \" : \"\",\r\n )}\r\n >\r\n <div>\r\n <ActionIconText\r\n classNameText={\"text-grey-black\"}\r\n noIcon={column.noIcon}\r\n icon={<Info />}\r\n textLabel={column.label}\r\n iconPosition={\"right\"}\r\n popupInfo={column.popupInfo}\r\n positionPopUp={\r\n visibleColumns.length === index + 1\r\n ? \"left\"\r\n : \"right\"\r\n }\r\n />\r\n </div>\r\n </div>\r\n </th>\r\n );\r\n })}\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr className=\"sr-only\">\r\n {visibleColumns.map((column, index) => {\r\n const headerId = notificationsSettingsHeaderId(column.key);\r\n return (\r\n <td\r\n key={`${headerId}-data`}\r\n headers={headerId}\r\n aria-colindex={index + 1}\r\n >\r\n {/* Empty data cell for accessibility */}\r\n </td>\r\n );\r\n })}\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n <div className={\"table-header-divider\"} />\r\n </div>\r\n );\r\n};\r\n\r\nexport default NotificationsSettingsHeader;\r\n\r\n\r\n\r\n"],"names":["notificationsSettingsHeaderId","columnKey","NotificationsSettingsHeader","className","showEmail","showSms","props","visibleColumns","column","jsx","clsx","jsxs","index","headerId","ActionIconText","Info"],"mappings":"gRAWaA,EAAiCC,GAC5C,iCAAiCA,CAAS,GAE/BC,EAA8B,CAAC,CAC1C,UAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EAAU,GACV,GAAGC,CACL,IAAwB,CAqCtB,MAAMC,EApCa,CACjB,CACE,MAAO,qBACP,OAAQ,GACR,OAAQ,GACR,IAAK,WACL,cAAe,EACjB,EACA,CACE,MAAO,MACP,WAAY,GACZ,IAAK,MACL,QAASF,EACT,UAAW,CACT,MAAO,MACP,YAAa,8BACb,OAAQ,GACR,gBAAiB,IAAM,CAAC,EACxB,UAAW,kBAAA,CAEf,EACA,CACE,MAAO,QACP,WAAY,GACZ,IAAK,QACL,QAASD,EACT,UAAW,CACT,MAAO,QACP,YAAa,gCACb,OAAQ,GACR,gBAAiB,IAAM,CAAC,EACxB,UAAW,oBAAA,CACb,CAEJ,EAEkC,OAC/BI,GAAWA,EAAO,eAAiBA,EAAO,OAC7C,EAEA,gCACG,MACC,CAAA,SAAA,CAAAC,EAAA,kBAAA,IAAC,MAAI,CAAA,UAAWC,EAAAA,KAAKP,CAAS,EAAI,GAAGG,EACnC,SAAAK,EAAA,kBAAA,KAAC,QAAM,CAAA,UAAU,cAAc,KAAK,QAClC,SAAA,CAACF,EAAAA,kBAAAA,IAAA,QAAA,CACC,iCAAC,KAAG,CAAA,UAAU,cACX,SAAeF,EAAA,IAAI,CAACC,EAAQI,IAAU,CAC/B,MAAAC,EAAWb,EAA8BQ,EAAO,GAAG,EAEvD,OAAAC,EAAA,kBAAA,IAAC,KAAA,CAEC,GAAII,EACJ,MAAM,MACN,gBAAeD,EAAQ,EACvB,kBAAiBJ,EAAO,IACxB,UAAWE,EAAA,KACT,mCACAF,EAAO,OAAS,SAAW,WAC7B,EAEA,SAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACT,+BACAF,EAAO,WAAa,4BAA8B,EACpD,EAEA,iCAAC,MACC,CAAA,SAAAC,EAAA,kBAAA,IAACK,EAAA,eAAA,CACC,cAAe,kBACf,OAAQN,EAAO,OACf,6BAAOO,EAAK,KAAA,EAAA,EACZ,UAAWP,EAAO,MAClB,aAAc,QACd,UAAWA,EAAO,UAClB,cACED,EAAe,SAAWK,EAAQ,EAC9B,OACA,OAAA,CAAA,CAGV,CAAA,CAAA,CAAA,CACF,EA/BKC,CAgCP,CAAA,CAEH,EACH,CACF,CAAA,EACAJ,EAAAA,kBAAAA,IAAC,QACC,CAAA,SAAAA,EAAA,kBAAA,IAAC,KAAG,CAAA,UAAU,UACX,SAAeF,EAAA,IAAI,CAACC,EAAQI,IAAU,CAC/B,MAAAC,EAAWb,EAA8BQ,EAAO,GAAG,EAEvD,OAAAC,EAAA,kBAAA,IAAC,KAAA,CAEC,QAASI,EACT,gBAAeD,EAAQ,CAAA,EAFlB,GAAGC,CAAQ,OAKlB,CAEH,CAAA,CACH,CAAA,CACF,CAAA,CAAA,CAAA,CACF,CACF,CAAA,EACAJ,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,sBAAwB,CAAA,CAAA,EAC1C,CAEJ"}
|
package/dist/index.cjs9.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.cjs247.js"),m=require("react"),q=require("./index.cjs249.js"),x=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.cjs247.js"),m=require("react"),q=require("./index.cjs249.js"),x=require("./index.cjs279.js"),j=require("./index.cjs281.js"),R=require("./index.cjs282.js"),b=({as:e,className:o,display:c,justifyContent:r,alignItems:t,flexWrap:n,style:a,ref:l,...s})=>{const i=e||"div",u=m.useMemo(()=>{const p=x.createSpacingClasses(s),y=j.createColorClasses(s),g=R.createTypographyClasses(s);return[...p,...y,...g].join(" ")},[s]);return C.jsxRuntimeExports.jsx(i,{ref:l,className:q.clsx("base-row",o,u),style:{display:c,justifyContent:r,alignItems:t,flexWrap:n,...a},...s})};exports.Row=b;
|
2
2
|
//# sourceMappingURL=index.cjs9.js.map
|
package/dist/index.d.ts
CHANGED
@@ -1801,7 +1801,7 @@ declare type InfoModalProps = {
|
|
1801
1801
|
text: string;
|
1802
1802
|
};
|
1803
1803
|
|
1804
|
-
export declare const InfoPopup: ({ title, description, width, className, positionPopUp, onClickCloseBtn, isOpen, }: InfoPopupProps) => JSX.Element;
|
1804
|
+
export declare const InfoPopup: ({ title, description, width, className, positionPopUp, onClickCloseBtn, isOpen, ariaLabel, }: InfoPopupProps) => JSX.Element;
|
1805
1805
|
|
1806
1806
|
export declare type InfoPopupProps = PropsWithChildren<{
|
1807
1807
|
title: string;
|
@@ -1810,7 +1810,8 @@ export declare type InfoPopupProps = PropsWithChildren<{
|
|
1810
1810
|
onClickCloseBtn?: () => void;
|
1811
1811
|
className?: string;
|
1812
1812
|
positionPopUp?: "right" | "top" | "bottom" | "left" | undefined;
|
1813
|
-
width?: string
|
1813
|
+
width?: string;
|
1814
|
+
ariaLabel?: string;
|
1814
1815
|
}>;
|
1815
1816
|
|
1816
1817
|
export declare const InfoSectionCard: ({ title, children }: InfoSectionCardProps) => JSX.Element;
|
package/dist/index.es10.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { j as f } from "./index.es247.js";
|
2
2
|
import { useMemo as x } from "react";
|
3
3
|
import { clsx as y } from "./index.es249.js";
|
4
|
-
import { createSpacingClasses as g } from "./index.
|
5
|
-
import { createColorClasses as j } from "./index.
|
4
|
+
import { createSpacingClasses as g } from "./index.es279.js";
|
5
|
+
import { createColorClasses as j } from "./index.es281.js";
|
6
6
|
import { createTypographyClasses as u } from "./index.es282.js";
|
7
7
|
const M = ({
|
8
8
|
as: o,
|
package/dist/index.es138.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as s } from "./index.es247.js";
|
2
2
|
import { clsx as a } from "./index.es249.js";
|
3
|
-
import { createColorClasses as e } from "./index.
|
3
|
+
import { createColorClasses as e } from "./index.es281.js";
|
4
4
|
import './components/ui/Divider/Divider.css';/* empty css */
|
5
5
|
const p = ({
|
6
6
|
direction: o = "horizontal",
|
package/dist/index.es159.js
CHANGED
package/dist/index.es160.js
CHANGED
package/dist/index.es161.js
CHANGED
package/dist/index.es162.js
CHANGED
package/dist/index.es163.js
CHANGED
package/dist/index.es164.js
CHANGED
package/dist/index.es165.js
CHANGED
package/dist/index.es166.js
CHANGED
package/dist/index.es167.js
CHANGED
package/dist/index.es168.js
CHANGED
package/dist/index.es169.js
CHANGED
package/dist/index.es170.js
CHANGED
package/dist/index.es171.js
CHANGED
package/dist/index.es172.js
CHANGED
package/dist/index.es173.js
CHANGED
package/dist/index.es174.js
CHANGED
package/dist/index.es175.js
CHANGED
package/dist/index.es176.js
CHANGED
package/dist/index.es177.js
CHANGED
package/dist/index.es178.js
CHANGED
package/dist/index.es179.js
CHANGED
package/dist/index.es180.js
CHANGED
package/dist/index.es181.js
CHANGED
package/dist/index.es185.js
CHANGED
package/dist/index.es186.js
CHANGED
package/dist/index.es187.js
CHANGED
package/dist/index.es189.js
CHANGED
package/dist/index.es190.js
CHANGED
package/dist/index.es191.js
CHANGED
package/dist/index.es192.js
CHANGED
package/dist/index.es193.js
CHANGED
package/dist/index.es194.js
CHANGED
package/dist/index.es195.js
CHANGED
package/dist/index.es196.js
CHANGED
package/dist/index.es197.js
CHANGED