@capillarytech/blaze-ui 1.2.8-beta.2 → 2.0.3
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/README.md +60 -198
- package/dist/CapAlert/CapAlert.d.ts +7 -0
- package/dist/CapAlert/CapAlert.d.ts.map +1 -1
- package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +265 -0
- package/dist/CapAlert/index.js +8 -3
- package/dist/CapAlert/index.js.map +1 -1
- package/dist/CapButton/CapButton.d.ts +1 -1
- package/dist/CapButton/CapButton.d.ts.map +1 -1
- package/dist/CapButton/__snapshots__/CapButton.test.tsx.snap +199 -0
- package/dist/CapButton/index.js +25 -25
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapCard/__snapshots__/CapCard.test.tsx.snap +122 -0
- package/dist/CapCheckbox/__snapshots__/CapCheckbox.test.tsx.snap +275 -0
- package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
- package/dist/CapDivider/CapDivider.d.ts +14 -1
- package/dist/CapDivider/CapDivider.d.ts.map +1 -1
- package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +172 -0
- package/dist/CapDivider/index.js +19 -489
- package/dist/CapDivider/index.js.map +1 -1
- package/dist/CapDropdown/CapDropdown.d.ts +31 -6
- package/dist/CapDropdown/CapDropdown.d.ts.map +1 -1
- package/dist/CapDropdown/__snapshots__/CapDropdown.test.tsx.snap +52 -0
- package/dist/CapDropdown/index.js +77 -19
- package/dist/CapDropdown/index.js.map +1 -1
- package/dist/CapForm/__snapshots__/CapForm.test.tsx.snap +103 -0
- package/dist/CapFormItem/__snapshots__/CapFormItem.test.tsx.snap +368 -0
- package/dist/CapHeading/CapHeading.d.ts +37 -0
- package/dist/CapHeading/CapHeading.d.ts.map +1 -0
- package/dist/CapHeading/CapHeading.test.d.ts +2 -0
- package/dist/CapHeading/CapHeading.test.d.ts.map +1 -0
- package/dist/CapHeading/README.md +220 -0
- package/dist/CapHeading/__snapshots__/CapHeading.test.tsx.snap +263 -0
- package/dist/CapHeading/index.d.ts +3 -0
- package/dist/CapHeading/index.d.ts.map +1 -0
- package/dist/CapHeading/index.js +740 -0
- package/dist/CapHeading/index.js.map +1 -0
- package/dist/CapIcon/__snapshots__/CapIcon.test.tsx.snap +366 -0
- package/dist/CapInput/Number.d.ts +1 -2
- package/dist/CapInput/Number.d.ts.map +1 -1
- package/dist/CapInput/__snapshots__/CapInput.test.tsx.snap +156 -0
- package/dist/CapInput/__snapshots__/Number.test.tsx.snap +557 -0
- package/dist/CapInput/__snapshots__/Search.test.tsx.snap +284 -0
- package/dist/CapInput/__snapshots__/TextArea.test.tsx.snap +100 -0
- package/dist/CapInput/index.js +1 -1
- package/dist/CapInput/index.js.map +1 -1
- package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
- package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
- package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
- package/dist/CapRow/__snapshots__/CapRow.test.tsx.snap +149 -0
- package/dist/CapSkeleton/__snapshots__/CapSkeleton.test.tsx.snap +212 -0
- package/dist/CapSpin/__snapshots__/CapSpin.test.tsx.snap +245 -0
- package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
- package/dist/CapSwitch/__snapshots__/CapSwitch.test.tsx.snap +178 -0
- package/dist/CapSwitch/index.js +7 -489
- package/dist/CapSwitch/index.js.map +1 -1
- package/dist/CapTab/CapTab.d.ts +11 -1
- package/dist/CapTab/CapTab.d.ts.map +1 -1
- package/dist/CapTab/__snapshots__/CapTab.test.tsx.snap +1508 -0
- package/dist/CapTab/index.js +29 -19
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
- package/dist/CapTooltip/CapTooltip.d.ts +32 -1
- package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
- package/dist/CapTooltip/__snapshots__/CapTooltip.test.tsx.snap +121 -0
- package/dist/CapTooltip/index.js +25 -7
- package/dist/CapTooltip/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
- package/dist/CapTooltipWithInfo/index.js +25 -7
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
- package/dist/CapUnifiedSelect/index.js +28 -8
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +264 -274
- package/dist/index.js.map +1 -1
- package/dist/utils/fonts.d.ts +8 -8
- package/dist/utils/fonts.d.ts.map +1 -1
- package/dist/utils/getCapThemeConfig.d.ts +7 -0
- package/dist/utils/getCapThemeConfig.d.ts.map +1 -1
- package/dist/utils/index.d.ts +10 -10
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +17391 -214
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/styles.d.ts +2 -2
- package/package.json +8 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapButton/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACa,MAAM,mBAAO,CAAC,IAAO,6KAA6K;AAC/M,kBAAkB,UAAU,eAAe,qBAAqB,6BAA6B,0BAA0B,0DAA0D,4EAA4E,OAAO,wDAAwD,gBAAgB,GAAG,WAAW,GAAG,YAAY;;;;;;;;;ACV5V;;AAEb;AACA;AACA,E;;;;;;;;;;;;ACJA,IAAAA,MAAA,GAAAC,mBAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAEA,IAAA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A,MAA2M;AAC3M;AACA;;AAEA;;AAEA;AACA,wBAAwB,kHAAa;AACrC,iBAAiB,uGAAa;AAC9B,iBAAiB,wGAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,8KAAO;;;;AAIqJ;AAC7K,OAAO,iEAAe,8KAAO,IAAI,qLAAc,GAAG,qLAAc,YAAY,EAAC;;;;;;;;ACxB7E;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK;AAAA,EAEN;AACF,CAAC;;;;;;;;;AC5EY;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCA,kC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAAC,UAAA,GAAAvG,sBAAA,CAAAF,mBAAA;AAAsC+C,kBAAA,GAAA0D,UAAA,CAAA/F,OAAA;AAAA,SAAAR,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?: 'primary' | 'secondary' | 'flat' | 'default' | 'dashed' | 'link' | 'text' | 'oval';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n}\n\nconst CapButton: React.FC<CapButtonProps> = ({\n className,\n children,\n type = 'primary',\n isAddBtn = false,\n prefix,\n suffix,\n ...rest\n}) => {\n return (\n <div className={styles['cap-button-wrapper']}>\n <Button\n {...rest}\n type={\n type === 'primary' ||\n type === 'default' ||\n type === 'dashed' ||\n type === 'link' ||\n type === 'text'\n ? (type as ButtonProps['type'])\n : undefined\n }\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: isAddBtn || suffix || prefix }\n )}\n >\n {(isAddBtn || prefix) && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n </div>\n );\n};\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-wrapper{display:inline-block}.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-prefix+span,.blaze-ui-cap-button-wrapper span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-cap-button-wrapper .blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-cap-button-wrapper .ant-btn{font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;border:none;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn{color:#2466ea}.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-wrapper\": `blaze-ui-cap-button-wrapper`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n // Add your SVG icons here if needed\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","_ref","className","children","type","isAddBtn","prefix","suffix","rest","jsx","styles","jsxs","Button","undefined","classnames","size","_default","exports","AntdIcons","_interopRequireWildcard","_excluded2","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_CapButton"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapButton/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACa,MAAM,mBAAO,CAAC,IAAO,6KAA6K;AAC/M,kBAAkB,UAAU,eAAe,qBAAqB,6BAA6B,0BAA0B,0DAA0D,4EAA4E,OAAO,wDAAwD,gBAAgB,GAAG,WAAW,GAAG,YAAY;;;;;;;;;ACV5V;;AAEb;AACA;AACA,E;;;;;;;;;;;;ACJA,IAAAA,MAAA,GAAAC,mBAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAEA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,mBAAA;AAAmC,IAAAM,WAAA,GAAAN,mBAAA;AAAA,MAAAO,SAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA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B,oCAAoC,gCAAgC,YAAY,0EAA0E,yBAAyB,qBAAqB,cAAc,mBAAmB,mBAAmB,sBAAsB,kBAAkB,cAAc,eAAe,yBAAyB,oCAAoC,gCAAgC,YAAY,gEAAgE,sBAAsB,kBAAkB,cAAc,mBAAmB,WAAW,kBAAkB,cAAc,8DAA8D,cAAc,mBAAmB,yBAAyB,qBAAqB,cAAc,eAAe,gBAAgB,uBAAuB,6BAA6B,yBAAyB,oCAAoC,gCAAgC,yBAAyB,gEAAgE,yBAAyB,qBAAqB,cAAc,mBAAmB;AACtzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK;AAAA,EAEN;AACF,CAAC;;;;;;;;;AC5EY;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCA,kC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAAC,UAAA,GAAA3G,sBAAA,CAAAF,mBAAA;AAAsCmD,kBAAA,GAAA0D,UAAA,CAAAnG,OAAA;AAAA,SAAAR,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?: 'primary' | 'secondary' | 'flat' | 'default' | 'dashed' | 'link' | 'text' | 'oval';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n}\n\nconst CapButton = React.forwardRef<HTMLButtonElement, CapButtonProps>(\n ({ className, children, type = 'primary', isAddBtn = false, prefix, suffix, ...rest }, ref) => {\n return (\n <Button\n ref={ref}\n {...rest}\n type={\n type === 'primary' ||\n type === 'default' ||\n type === 'dashed' ||\n type === 'link' ||\n type === 'text'\n ? (type as ButtonProps['type'])\n : undefined\n }\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: isAddBtn || suffix || prefix }\n )}\n >\n {(isAddBtn || prefix) && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n );\n }\n);\n\nCapButton.displayName = 'CapButton';\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;border:none;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-v2\": `blaze-ui-cap-button-v2`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n // Add your SVG icons here if needed\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","React","forwardRef","_ref","ref","className","children","type","isAddBtn","prefix","suffix","rest","jsxs","Button","undefined","classnames","styles","jsx","size","displayName","_default","exports","AntdIcons","_interopRequireWildcard","_excluded2","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_CapButton"],"sourceRoot":""}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapCard Snapshots should match snapshot empty card 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="cap-card-wrapper"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="ant-card ant-card-bordered cap-card-v2 css-dev-only-do-not-override-dbp7pc css-var-root"
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
class="ant-card-body"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
exports[`CapCard Snapshots should match snapshot with complex children 1`] = `
|
|
20
|
+
<div>
|
|
21
|
+
<div
|
|
22
|
+
class="cap-card-wrapper"
|
|
23
|
+
>
|
|
24
|
+
<div
|
|
25
|
+
class="ant-card ant-card-bordered cap-card-v2 css-dev-only-do-not-override-dbp7pc css-var-root"
|
|
26
|
+
>
|
|
27
|
+
<div
|
|
28
|
+
class="ant-card-head"
|
|
29
|
+
>
|
|
30
|
+
<div
|
|
31
|
+
class="ant-card-head-wrapper"
|
|
32
|
+
>
|
|
33
|
+
<div
|
|
34
|
+
class="ant-card-head-title"
|
|
35
|
+
>
|
|
36
|
+
Complex Card
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div
|
|
41
|
+
class="ant-card-body"
|
|
42
|
+
>
|
|
43
|
+
<div>
|
|
44
|
+
<h3>
|
|
45
|
+
Header
|
|
46
|
+
</h3>
|
|
47
|
+
<p>
|
|
48
|
+
Paragraph content
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
exports[`CapCard Snapshots should match snapshot with custom className 1`] = `
|
|
58
|
+
<div>
|
|
59
|
+
<div
|
|
60
|
+
class="cap-card-wrapper"
|
|
61
|
+
>
|
|
62
|
+
<div
|
|
63
|
+
class="ant-card ant-card-bordered cap-card-v2 custom-card css-dev-only-do-not-override-dbp7pc css-var-root"
|
|
64
|
+
>
|
|
65
|
+
<div
|
|
66
|
+
class="ant-card-body"
|
|
67
|
+
>
|
|
68
|
+
Content
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
`;
|
|
74
|
+
|
|
75
|
+
exports[`CapCard Snapshots should match snapshot with default props 1`] = `
|
|
76
|
+
<div>
|
|
77
|
+
<div
|
|
78
|
+
class="cap-card-wrapper"
|
|
79
|
+
>
|
|
80
|
+
<div
|
|
81
|
+
class="ant-card ant-card-bordered cap-card-v2 css-dev-only-do-not-override-dbp7pc css-var-root"
|
|
82
|
+
>
|
|
83
|
+
<div
|
|
84
|
+
class="ant-card-body"
|
|
85
|
+
>
|
|
86
|
+
Default Card Content
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
`;
|
|
92
|
+
|
|
93
|
+
exports[`CapCard Snapshots should match snapshot with title 1`] = `
|
|
94
|
+
<div>
|
|
95
|
+
<div
|
|
96
|
+
class="cap-card-wrapper"
|
|
97
|
+
>
|
|
98
|
+
<div
|
|
99
|
+
class="ant-card ant-card-bordered cap-card-v2 css-dev-only-do-not-override-dbp7pc css-var-root"
|
|
100
|
+
>
|
|
101
|
+
<div
|
|
102
|
+
class="ant-card-head"
|
|
103
|
+
>
|
|
104
|
+
<div
|
|
105
|
+
class="ant-card-head-wrapper"
|
|
106
|
+
>
|
|
107
|
+
<div
|
|
108
|
+
class="ant-card-head-title"
|
|
109
|
+
>
|
|
110
|
+
Card Title
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
<div
|
|
115
|
+
class="ant-card-body"
|
|
116
|
+
>
|
|
117
|
+
Card Content
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
`;
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapCheckbox Snapshots should match snapshot when checked 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="cap-checkbox-wrapper"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="cap-checkbox-v2"
|
|
10
|
+
>
|
|
11
|
+
<label
|
|
12
|
+
class="ant-checkbox-wrapper ant-checkbox-wrapper-checked css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
13
|
+
>
|
|
14
|
+
<span
|
|
15
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc ant-checkbox-checked"
|
|
16
|
+
>
|
|
17
|
+
<input
|
|
18
|
+
checked=""
|
|
19
|
+
class="ant-checkbox-input"
|
|
20
|
+
type="checkbox"
|
|
21
|
+
/>
|
|
22
|
+
<span
|
|
23
|
+
class="ant-checkbox-inner"
|
|
24
|
+
/>
|
|
25
|
+
</span>
|
|
26
|
+
<span
|
|
27
|
+
class="ant-checkbox-label"
|
|
28
|
+
>
|
|
29
|
+
<span
|
|
30
|
+
class="cap-label cap-label-span h4 title"
|
|
31
|
+
>
|
|
32
|
+
Checked Checkbox
|
|
33
|
+
</span>
|
|
34
|
+
</span>
|
|
35
|
+
</label>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
exports[`CapCheckbox Snapshots should match snapshot when disabled 1`] = `
|
|
42
|
+
<div>
|
|
43
|
+
<div
|
|
44
|
+
class="cap-checkbox-wrapper"
|
|
45
|
+
>
|
|
46
|
+
<div
|
|
47
|
+
class="cap-checkbox-v2"
|
|
48
|
+
>
|
|
49
|
+
<label
|
|
50
|
+
class="ant-checkbox-wrapper ant-checkbox-wrapper-disabled css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
51
|
+
>
|
|
52
|
+
<span
|
|
53
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc ant-checkbox-disabled"
|
|
54
|
+
>
|
|
55
|
+
<input
|
|
56
|
+
class="ant-checkbox-input"
|
|
57
|
+
disabled=""
|
|
58
|
+
type="checkbox"
|
|
59
|
+
/>
|
|
60
|
+
<span
|
|
61
|
+
class="ant-checkbox-inner"
|
|
62
|
+
/>
|
|
63
|
+
</span>
|
|
64
|
+
<span
|
|
65
|
+
class="ant-checkbox-label"
|
|
66
|
+
>
|
|
67
|
+
<span
|
|
68
|
+
class="cap-label cap-label-span h4 title"
|
|
69
|
+
>
|
|
70
|
+
Disabled Checkbox
|
|
71
|
+
</span>
|
|
72
|
+
</span>
|
|
73
|
+
</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
`;
|
|
78
|
+
|
|
79
|
+
exports[`CapCheckbox Snapshots should match snapshot with custom labelType 1`] = `
|
|
80
|
+
<div>
|
|
81
|
+
<div
|
|
82
|
+
class="cap-checkbox-wrapper"
|
|
83
|
+
>
|
|
84
|
+
<div
|
|
85
|
+
class="cap-checkbox-v2"
|
|
86
|
+
>
|
|
87
|
+
<label
|
|
88
|
+
class="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
89
|
+
>
|
|
90
|
+
<span
|
|
91
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
92
|
+
>
|
|
93
|
+
<input
|
|
94
|
+
class="ant-checkbox-input"
|
|
95
|
+
type="checkbox"
|
|
96
|
+
/>
|
|
97
|
+
<span
|
|
98
|
+
class="ant-checkbox-inner"
|
|
99
|
+
/>
|
|
100
|
+
</span>
|
|
101
|
+
<span
|
|
102
|
+
class="ant-checkbox-label"
|
|
103
|
+
>
|
|
104
|
+
<span
|
|
105
|
+
class="cap-label cap-label-span h3 title"
|
|
106
|
+
>
|
|
107
|
+
H3 Label Checkbox
|
|
108
|
+
</span>
|
|
109
|
+
</span>
|
|
110
|
+
</label>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
`;
|
|
115
|
+
|
|
116
|
+
exports[`CapCheckbox Snapshots should match snapshot with default props 1`] = `
|
|
117
|
+
<div>
|
|
118
|
+
<div
|
|
119
|
+
class="cap-checkbox-wrapper"
|
|
120
|
+
>
|
|
121
|
+
<div
|
|
122
|
+
class="cap-checkbox-v2"
|
|
123
|
+
>
|
|
124
|
+
<label
|
|
125
|
+
class="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
126
|
+
>
|
|
127
|
+
<span
|
|
128
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
129
|
+
>
|
|
130
|
+
<input
|
|
131
|
+
class="ant-checkbox-input"
|
|
132
|
+
type="checkbox"
|
|
133
|
+
/>
|
|
134
|
+
<span
|
|
135
|
+
class="ant-checkbox-inner"
|
|
136
|
+
/>
|
|
137
|
+
</span>
|
|
138
|
+
<span
|
|
139
|
+
class="ant-checkbox-label"
|
|
140
|
+
>
|
|
141
|
+
<span
|
|
142
|
+
class="cap-label cap-label-span h4 title"
|
|
143
|
+
>
|
|
144
|
+
Default Checkbox
|
|
145
|
+
</span>
|
|
146
|
+
</span>
|
|
147
|
+
</label>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
`;
|
|
152
|
+
|
|
153
|
+
exports[`CapCheckbox Snapshots should match snapshot with error message 1`] = `
|
|
154
|
+
<div>
|
|
155
|
+
<div
|
|
156
|
+
class="cap-checkbox-wrapper"
|
|
157
|
+
>
|
|
158
|
+
<div
|
|
159
|
+
class="cap-checkbox-v2 error"
|
|
160
|
+
>
|
|
161
|
+
<label
|
|
162
|
+
class="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
163
|
+
>
|
|
164
|
+
<span
|
|
165
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
166
|
+
>
|
|
167
|
+
<input
|
|
168
|
+
class="ant-checkbox-input"
|
|
169
|
+
type="checkbox"
|
|
170
|
+
/>
|
|
171
|
+
<span
|
|
172
|
+
class="ant-checkbox-inner"
|
|
173
|
+
/>
|
|
174
|
+
</span>
|
|
175
|
+
<span
|
|
176
|
+
class="ant-checkbox-label"
|
|
177
|
+
>
|
|
178
|
+
<span
|
|
179
|
+
class="cap-label cap-label-span h4 title"
|
|
180
|
+
>
|
|
181
|
+
Error Checkbox
|
|
182
|
+
</span>
|
|
183
|
+
</span>
|
|
184
|
+
</label>
|
|
185
|
+
<div
|
|
186
|
+
class="error-message"
|
|
187
|
+
>
|
|
188
|
+
This field is required
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
`;
|
|
194
|
+
|
|
195
|
+
exports[`CapCheckbox Snapshots should match snapshot with inductive text 1`] = `
|
|
196
|
+
<div>
|
|
197
|
+
<div
|
|
198
|
+
class="cap-checkbox-wrapper"
|
|
199
|
+
>
|
|
200
|
+
<div
|
|
201
|
+
class="cap-checkbox-v2"
|
|
202
|
+
>
|
|
203
|
+
<label
|
|
204
|
+
class="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
205
|
+
>
|
|
206
|
+
<span
|
|
207
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
208
|
+
>
|
|
209
|
+
<input
|
|
210
|
+
class="ant-checkbox-input"
|
|
211
|
+
type="checkbox"
|
|
212
|
+
/>
|
|
213
|
+
<span
|
|
214
|
+
class="ant-checkbox-inner"
|
|
215
|
+
/>
|
|
216
|
+
</span>
|
|
217
|
+
<span
|
|
218
|
+
class="ant-checkbox-label"
|
|
219
|
+
>
|
|
220
|
+
<span
|
|
221
|
+
class="cap-label cap-label-span h4 title"
|
|
222
|
+
>
|
|
223
|
+
Checkbox with Info
|
|
224
|
+
</span>
|
|
225
|
+
<div
|
|
226
|
+
class="cap-label cap-label-div label3 inductive-text"
|
|
227
|
+
>
|
|
228
|
+
Additional information
|
|
229
|
+
</div>
|
|
230
|
+
</span>
|
|
231
|
+
</label>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
`;
|
|
236
|
+
|
|
237
|
+
exports[`CapCheckbox Snapshots should match snapshot with suffix 1`] = `
|
|
238
|
+
<div>
|
|
239
|
+
<div
|
|
240
|
+
class="cap-checkbox-wrapper"
|
|
241
|
+
>
|
|
242
|
+
<div
|
|
243
|
+
class="cap-checkbox-v2"
|
|
244
|
+
>
|
|
245
|
+
<label
|
|
246
|
+
class="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
247
|
+
>
|
|
248
|
+
<span
|
|
249
|
+
class="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
250
|
+
>
|
|
251
|
+
<input
|
|
252
|
+
class="ant-checkbox-input"
|
|
253
|
+
type="checkbox"
|
|
254
|
+
/>
|
|
255
|
+
<span
|
|
256
|
+
class="ant-checkbox-inner"
|
|
257
|
+
/>
|
|
258
|
+
</span>
|
|
259
|
+
<span
|
|
260
|
+
class="ant-checkbox-label"
|
|
261
|
+
>
|
|
262
|
+
<span
|
|
263
|
+
class="cap-label cap-label-span h4 title has-suffix"
|
|
264
|
+
>
|
|
265
|
+
Checkbox with Suffix
|
|
266
|
+
</span>
|
|
267
|
+
<span>
|
|
268
|
+
★
|
|
269
|
+
</span>
|
|
270
|
+
</span>
|
|
271
|
+
</label>
|
|
272
|
+
</div>
|
|
273
|
+
</div>
|
|
274
|
+
</div>
|
|
275
|
+
`;
|