@vibe/core 3.25.0-alpha-3706c.0 → 3.25.0-alpha-b07f5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mocked_classnames/src/components/Modal/footers/utils/getPropsForButton.js +1 -1
- package/dist/mocked_classnames/src/components/Modal/footers/utils/getPropsForButton.js.map +1 -1
- package/dist/src/components/Modal/footers/utils/getPropsForButton.js +1 -1
- package/dist/src/components/Modal/footers/utils/getPropsForButton.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as s}from"../../../../../_virtual/_tslib.js";import e from"classnames";function
|
|
1
|
+
import{__rest as s}from"../../../../../_virtual/_tslib.js";import e from"classnames";function t(t,a){if(t){var o=t.tooltipProps,r=t.className,i=s(t,["tooltipProps","className"]);return Object.assign(Object.assign({},i),{className:(null==o?void 0:o.content)?r:e(r,a),tooltipProps:(null==o?void 0:o.content)?Object.assign(Object.assign({},o),{referenceWrapperClassName:e(o.referenceWrapperClassName,a)}):void 0})}}export{t as getPropsForButton};
|
|
2
2
|
//# sourceMappingURL=getPropsForButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPropsForButton.js","sources":["../../../../../../../src/components/Modal/footers/utils/getPropsForButton.ts"],"sourcesContent":["import { ModalFooterActionProps } from \"../ModalFooterBase/ModalFooterBase.types\";\nimport cx from \"classnames\";\n\nexport function getPropsForButton(button?: ModalFooterActionProps, buttonClassName?: string) {\n if (!button) return undefined;\n const { tooltipProps, className, ...rest } = button;\n return {\n ...rest,\n className: tooltipProps ? className : cx(className, buttonClassName),\n tooltipProps: tooltipProps\n ? { ...tooltipProps, referenceWrapperClassName: cx(tooltipProps.referenceWrapperClassName, buttonClassName) }\n : undefined\n };\n}\n"],"names":["getPropsForButton","button","buttonClassName","tooltipProps","className","rest","__rest","Object","assign","cx","referenceWrapperClassName","undefined"],"mappings":"qFAGgB,SAAAA,EAAkBC,EAAiCC,GACjE,GAAKD,EAAL,CACA,IAAQE,EAAqCF,EAArCE,aAAcC,EAAuBH,EAAvBG,UAAcC,EAASC,EAAAL,EAAvC,CAAA,eAAA,cACN,
|
|
1
|
+
{"version":3,"file":"getPropsForButton.js","sources":["../../../../../../../src/components/Modal/footers/utils/getPropsForButton.ts"],"sourcesContent":["import { ModalFooterActionProps } from \"../ModalFooterBase/ModalFooterBase.types\";\nimport cx from \"classnames\";\n\nexport function getPropsForButton(button?: ModalFooterActionProps, buttonClassName?: string) {\n if (!button) return undefined;\n const { tooltipProps, className, ...rest } = button;\n return {\n ...rest,\n className: tooltipProps?.content ? className : cx(className, buttonClassName),\n tooltipProps: tooltipProps?.content\n ? { ...tooltipProps, referenceWrapperClassName: cx(tooltipProps.referenceWrapperClassName, buttonClassName) }\n : undefined\n };\n}\n"],"names":["getPropsForButton","button","buttonClassName","tooltipProps","className","rest","__rest","Object","assign","content","cx","referenceWrapperClassName","undefined"],"mappings":"qFAGgB,SAAAA,EAAkBC,EAAiCC,GACjE,GAAKD,EAAL,CACA,IAAQE,EAAqCF,EAArCE,aAAcC,EAAuBH,EAAvBG,UAAcC,EAASC,EAAAL,EAAvC,CAAA,eAAA,cACN,OAAAM,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACKH,GAAI,CACPD,WAAWD,aAAY,EAAZA,EAAcM,SAAUL,EAAYM,EAAGN,EAAWF,GAC7DC,cAAcA,aAAA,EAAAA,EAAcM,wCACnBN,GAAY,CAAEQ,0BAA2BD,EAAGP,EAAaQ,0BAA2BT,UACzFU,GAPuB,CAS/B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as s}from"../../../../../_virtual/_tslib.js";import e from"classnames";function
|
|
1
|
+
import{__rest as s}from"../../../../../_virtual/_tslib.js";import e from"classnames";function t(t,a){if(t){var o=t.tooltipProps,r=t.className,i=s(t,["tooltipProps","className"]);return Object.assign(Object.assign({},i),{className:(null==o?void 0:o.content)?r:e(r,a),tooltipProps:(null==o?void 0:o.content)?Object.assign(Object.assign({},o),{referenceWrapperClassName:e(o.referenceWrapperClassName,a)}):void 0})}}export{t as getPropsForButton};
|
|
2
2
|
//# sourceMappingURL=getPropsForButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPropsForButton.js","sources":["../../../../../../src/components/Modal/footers/utils/getPropsForButton.ts"],"sourcesContent":["import { ModalFooterActionProps } from \"../ModalFooterBase/ModalFooterBase.types\";\nimport cx from \"classnames\";\n\nexport function getPropsForButton(button?: ModalFooterActionProps, buttonClassName?: string) {\n if (!button) return undefined;\n const { tooltipProps, className, ...rest } = button;\n return {\n ...rest,\n className: tooltipProps ? className : cx(className, buttonClassName),\n tooltipProps: tooltipProps\n ? { ...tooltipProps, referenceWrapperClassName: cx(tooltipProps.referenceWrapperClassName, buttonClassName) }\n : undefined\n };\n}\n"],"names":["getPropsForButton","button","buttonClassName","tooltipProps","className","rest","__rest","Object","assign","cx","referenceWrapperClassName","undefined"],"mappings":"qFAGgB,SAAAA,EAAkBC,EAAiCC,GACjE,GAAKD,EAAL,CACA,IAAQE,EAAqCF,EAArCE,aAAcC,EAAuBH,EAAvBG,UAAcC,EAASC,EAAAL,EAAvC,CAAA,eAAA,cACN,
|
|
1
|
+
{"version":3,"file":"getPropsForButton.js","sources":["../../../../../../src/components/Modal/footers/utils/getPropsForButton.ts"],"sourcesContent":["import { ModalFooterActionProps } from \"../ModalFooterBase/ModalFooterBase.types\";\nimport cx from \"classnames\";\n\nexport function getPropsForButton(button?: ModalFooterActionProps, buttonClassName?: string) {\n if (!button) return undefined;\n const { tooltipProps, className, ...rest } = button;\n return {\n ...rest,\n className: tooltipProps?.content ? className : cx(className, buttonClassName),\n tooltipProps: tooltipProps?.content\n ? { ...tooltipProps, referenceWrapperClassName: cx(tooltipProps.referenceWrapperClassName, buttonClassName) }\n : undefined\n };\n}\n"],"names":["getPropsForButton","button","buttonClassName","tooltipProps","className","rest","__rest","Object","assign","content","cx","referenceWrapperClassName","undefined"],"mappings":"qFAGgB,SAAAA,EAAkBC,EAAiCC,GACjE,GAAKD,EAAL,CACA,IAAQE,EAAqCF,EAArCE,aAAcC,EAAuBH,EAAvBG,UAAcC,EAASC,EAAAL,EAAvC,CAAA,eAAA,cACN,OAAAM,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACKH,GAAI,CACPD,WAAWD,aAAY,EAAZA,EAAcM,SAAUL,EAAYM,EAAGN,EAAWF,GAC7DC,cAAcA,aAAA,EAAAA,EAAcM,wCACnBN,GAAY,CAAEQ,0BAA2BD,EAAGP,EAAaQ,0BAA2BT,UACzFU,GAPuB,CAS/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe/core",
|
|
3
|
-
"version": "3.25.0-alpha-
|
|
3
|
+
"version": "3.25.0-alpha-b07f5.0",
|
|
4
4
|
"description": "Official monday.com UI resources for application development in React.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -268,5 +268,5 @@
|
|
|
268
268
|
"browserslist": [
|
|
269
269
|
"extends browserslist-config-monday"
|
|
270
270
|
],
|
|
271
|
-
"gitHead": "
|
|
271
|
+
"gitHead": "0054428a8dcb326ceb55fc5cdf09fabc1c03d0a2"
|
|
272
272
|
}
|