@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.
Files changed (86) hide show
  1. package/README.md +60 -198
  2. package/dist/CapAlert/CapAlert.d.ts +7 -0
  3. package/dist/CapAlert/CapAlert.d.ts.map +1 -1
  4. package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +265 -0
  5. package/dist/CapAlert/index.js +8 -3
  6. package/dist/CapAlert/index.js.map +1 -1
  7. package/dist/CapButton/CapButton.d.ts +1 -1
  8. package/dist/CapButton/CapButton.d.ts.map +1 -1
  9. package/dist/CapButton/__snapshots__/CapButton.test.tsx.snap +199 -0
  10. package/dist/CapButton/index.js +25 -25
  11. package/dist/CapButton/index.js.map +1 -1
  12. package/dist/CapCard/__snapshots__/CapCard.test.tsx.snap +122 -0
  13. package/dist/CapCheckbox/__snapshots__/CapCheckbox.test.tsx.snap +275 -0
  14. package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
  15. package/dist/CapDivider/CapDivider.d.ts +14 -1
  16. package/dist/CapDivider/CapDivider.d.ts.map +1 -1
  17. package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +172 -0
  18. package/dist/CapDivider/index.js +19 -489
  19. package/dist/CapDivider/index.js.map +1 -1
  20. package/dist/CapDropdown/CapDropdown.d.ts +31 -6
  21. package/dist/CapDropdown/CapDropdown.d.ts.map +1 -1
  22. package/dist/CapDropdown/__snapshots__/CapDropdown.test.tsx.snap +52 -0
  23. package/dist/CapDropdown/index.js +77 -19
  24. package/dist/CapDropdown/index.js.map +1 -1
  25. package/dist/CapForm/__snapshots__/CapForm.test.tsx.snap +103 -0
  26. package/dist/CapFormItem/__snapshots__/CapFormItem.test.tsx.snap +368 -0
  27. package/dist/CapHeading/CapHeading.d.ts +37 -0
  28. package/dist/CapHeading/CapHeading.d.ts.map +1 -0
  29. package/dist/CapHeading/CapHeading.test.d.ts +2 -0
  30. package/dist/CapHeading/CapHeading.test.d.ts.map +1 -0
  31. package/dist/CapHeading/README.md +220 -0
  32. package/dist/CapHeading/__snapshots__/CapHeading.test.tsx.snap +263 -0
  33. package/dist/CapHeading/index.d.ts +3 -0
  34. package/dist/CapHeading/index.d.ts.map +1 -0
  35. package/dist/CapHeading/index.js +740 -0
  36. package/dist/CapHeading/index.js.map +1 -0
  37. package/dist/CapIcon/__snapshots__/CapIcon.test.tsx.snap +366 -0
  38. package/dist/CapInput/Number.d.ts +1 -2
  39. package/dist/CapInput/Number.d.ts.map +1 -1
  40. package/dist/CapInput/__snapshots__/CapInput.test.tsx.snap +156 -0
  41. package/dist/CapInput/__snapshots__/Number.test.tsx.snap +557 -0
  42. package/dist/CapInput/__snapshots__/Search.test.tsx.snap +284 -0
  43. package/dist/CapInput/__snapshots__/TextArea.test.tsx.snap +100 -0
  44. package/dist/CapInput/index.js +1 -1
  45. package/dist/CapInput/index.js.map +1 -1
  46. package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
  47. package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
  48. package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
  49. package/dist/CapRow/__snapshots__/CapRow.test.tsx.snap +149 -0
  50. package/dist/CapSkeleton/__snapshots__/CapSkeleton.test.tsx.snap +212 -0
  51. package/dist/CapSpin/__snapshots__/CapSpin.test.tsx.snap +245 -0
  52. package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
  53. package/dist/CapSwitch/__snapshots__/CapSwitch.test.tsx.snap +178 -0
  54. package/dist/CapSwitch/index.js +7 -489
  55. package/dist/CapSwitch/index.js.map +1 -1
  56. package/dist/CapTab/CapTab.d.ts +11 -1
  57. package/dist/CapTab/CapTab.d.ts.map +1 -1
  58. package/dist/CapTab/__snapshots__/CapTab.test.tsx.snap +1508 -0
  59. package/dist/CapTab/index.js +29 -19
  60. package/dist/CapTab/index.js.map +1 -1
  61. package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
  62. package/dist/CapTooltip/CapTooltip.d.ts +32 -1
  63. package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
  64. package/dist/CapTooltip/__snapshots__/CapTooltip.test.tsx.snap +121 -0
  65. package/dist/CapTooltip/index.js +25 -7
  66. package/dist/CapTooltip/index.js.map +1 -1
  67. package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
  68. package/dist/CapTooltipWithInfo/index.js +25 -7
  69. package/dist/CapTooltipWithInfo/index.js.map +1 -1
  70. package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
  71. package/dist/CapUnifiedSelect/index.js +28 -8
  72. package/dist/CapUnifiedSelect/index.js.map +1 -1
  73. package/dist/index.d.ts +3 -3
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +264 -274
  76. package/dist/index.js.map +1 -1
  77. package/dist/utils/fonts.d.ts +8 -8
  78. package/dist/utils/fonts.d.ts.map +1 -1
  79. package/dist/utils/getCapThemeConfig.d.ts +7 -0
  80. package/dist/utils/getCapThemeConfig.d.ts.map +1 -1
  81. package/dist/utils/index.d.ts +10 -10
  82. package/dist/utils/index.d.ts.map +1 -1
  83. package/dist/utils/index.js +17391 -214
  84. package/dist/utils/index.js.map +1 -1
  85. package/dist/utils/styles.d.ts +2 -2
  86. package/package.json +8 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CapHeading/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;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA;AACA,gEAAgE,gCAAgC,SAAS,UAAU,kCAAkC,eAAe,cAAc,gBAAgB,qBAAqB,kCAAkC,mBAAmB,cAAc,gBAAgB,qBAAqB,kCAAkC,mBAAmB,cAAc,gBAAgB,iBAAiB,kCAAkC,mBAAmB,cAAc,gBAAgB,qBAAqB,kCAAkC,eAAe,cAAc,gBAAgB,qBAAqB,kCAAkC,eAAe,cAAc,gBAAgB,qBAAqB,kCAAkC,eAAe,cAAc,gBAAgB,qBAAqB,kCAAkC,mBAAmB,cAAc,gBAAgB,iBAAiB,kCAAkC,eAAe,cAAc,gBAAgB,qBAAqB,kCAAkC,eAAe,WAAW,gBAAgB,qBAAqB,mCAAmC,kBAAkB,cAAc,gBAAgB,qBAAqB,sCAAsC,kBAAkB,cAAc,gBAAgB,qBAAqB,sCAAsC,kBAAkB,cAAc,gBAAgB,qBAAqB,sCAAsC,kBAAkB,cAAc,gBAAgB,qBAAqB,sCAAsC,kBAAkB,cAAc,gBAAgB,qBAAqB,sCAAsC,mBAAmB,cAAc,gBAAgB,qBAAqB,sCAAsC,mBAAmB,cAAc,gBAAgB,qBAAqB,2BAA2B,eAAe;AACt3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5Ba;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACpFA,MAAkG;AAClG,MAAiG;AACjG,MAA+F;AAC/F,MAAkH;AAClH,MAA2G;AAC3G;AACA,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;;;;;;;;;ACxBhE;;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;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA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AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACpFA;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,IAAAG,WAAA,GAAA3C,sBAAA,CAAAC,mBAAA;AAAuCyC,kBAAA,GAAAC,WAAA,CAAAlC,OAAA;AAAA,SAAAT,uBAAAO,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/CapHeading/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/./components/CapHeading/styles.scss?d83d","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/CapHeading/CapHeading.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","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/CapHeading/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};","// 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-heading{font-family:\"Roboto\",sans-serif;margin:0;padding:0}.blaze-ui-cap-heading.blaze-ui-h0{font-size:2rem;color:#091e42;font-weight:500;line-height:2.571rem}.blaze-ui-cap-heading.blaze-ui-h1{font-size:1.714rem;color:#091e42;font-weight:500;line-height:2.286rem}.blaze-ui-cap-heading.blaze-ui-h2{font-size:1.429rem;color:#091e42;font-weight:500;line-height:2rem}.blaze-ui-cap-heading.blaze-ui-h3{font-size:1.143rem;color:#091e42;font-weight:500;line-height:1.714rem}.blaze-ui-cap-heading.blaze-ui-h4{font-size:1rem;color:#091e42;font-weight:500;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h5{font-size:1rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h6{font-size:1rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h7{font-size:1.429rem;color:#5e6c84;font-weight:500;line-height:2rem}.blaze-ui-cap-heading.blaze-ui-h8{font-size:1rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h9{font-size:1rem;color:#fff;font-weight:500;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h10{font-size:.857rem;color:#091e42;font-weight:500;line-height:1.143rem}.blaze-ui-cap-heading.blaze-ui-label1{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label2{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label3{font-size:.857rem;color:#97a0af;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label4{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:1.143rem}.blaze-ui-cap-heading.blaze-ui-label5{font-size:1.143rem;color:#5e6c84;font-weight:400;line-height:1.714rem}.blaze-ui-cap-heading.blaze-ui-label6{font-size:1.143rem;color:#091e42;font-weight:400;line-height:1.714rem}.blaze-ui-cap-heading-span{display:inline}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-heading\": `blaze-ui-cap-heading`,\n\t\"h0\": `blaze-ui-h0`,\n\t\"h1\": `blaze-ui-h1`,\n\t\"h2\": `blaze-ui-h2`,\n\t\"h3\": `blaze-ui-h3`,\n\t\"h4\": `blaze-ui-h4`,\n\t\"h5\": `blaze-ui-h5`,\n\t\"h6\": `blaze-ui-h6`,\n\t\"h7\": `blaze-ui-h7`,\n\t\"h8\": `blaze-ui-h8`,\n\t\"h9\": `blaze-ui-h9`,\n\t\"h10\": `blaze-ui-h10`,\n\t\"label1\": `blaze-ui-label1`,\n\t\"label2\": `blaze-ui-label2`,\n\t\"label3\": `blaze-ui-label3`,\n\t\"label4\": `blaze-ui-label4`,\n\t\"label5\": `blaze-ui-label5`,\n\t\"label6\": `blaze-ui-label6`,\n\t\"cap-heading-span\": `blaze-ui-cap-heading-span`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"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;","\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","'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 classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\n/**\n * Valid heading types for CapHeading component\n */\nexport type CapHeadingType =\n | 'h0'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'h7'\n | 'h8'\n | 'h9'\n | 'h10'\n | 'label1'\n | 'label2'\n | 'label3'\n | 'label4'\n | 'label5'\n | 'label6';\n\nexport interface CapHeadingProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Content to render inside the heading */\n children?: React.ReactNode;\n /** Heading type that determines the styling */\n type?: CapHeadingType;\n /** Additional CSS class name */\n className?: string;\n /** Inline styles */\n style?: React.CSSProperties;\n}\n\nconst CapHeading = React.forwardRef<HTMLDivElement, CapHeadingProps>(\n ({ children, type = 'h5', className = '', style = {}, ...rest }, ref) => {\n return (\n <div\n ref={ref}\n className={classnames(styles['cap-heading'], styles[type], className)}\n style={style}\n {...rest}\n >\n {children}\n </div>\n );\n }\n);\n\nCapHeading.displayName = 'CapHeading';\n\n/**\n * Props for the CapHeadingSpan sub-component\n */\nexport interface CapHeadingSpanProps extends React.HTMLAttributes<HTMLSpanElement> {\n /** Content to render inside the heading span */\n children?: React.ReactNode;\n /** Heading type that determines the styling */\n type?: CapHeadingType;\n /** Additional CSS class name */\n className?: string;\n /** Inline styles */\n style?: React.CSSProperties;\n}\n\nconst CapHeadingSpan = React.forwardRef<HTMLSpanElement, CapHeadingSpanProps>(\n ({ children, type = 'h5', className = '', style = {}, ...rest }, ref) => {\n return (\n <span\n ref={ref}\n className={classnames(\n styles['cap-heading'],\n styles['cap-heading-span'],\n styles[type],\n className\n )}\n style={style}\n {...rest}\n >\n {children}\n </span>\n );\n }\n);\n\nCapHeadingSpan.displayName = 'CapHeadingSpan';\n\n/**\n * Extended CapHeading component type that includes the static CapHeadingSpan property\n */\ninterface CapHeadingComponent\n extends React.ForwardRefExoticComponent<CapHeadingProps & React.RefAttributes<HTMLDivElement>> {\n CapHeadingSpan: React.ForwardRefExoticComponent<\n CapHeadingSpanProps & React.RefAttributes<HTMLSpanElement>\n >;\n}\n\nconst CapHeadingWithStatic = CapHeading as CapHeadingComponent;\nCapHeadingWithStatic.CapHeadingSpan = CapHeadingSpan;\n\nexport default CapHeadingWithStatic;\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\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 './CapHeading';\nexport type { CapHeadingProps, CapHeadingSpanProps, CapHeadingType } from './CapHeading';\n"],"names":["_classnames","_interopRequireDefault","require","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","CapHeading","React","forwardRef","_ref","ref","children","type","className","style","rest","jsx","classnames","styles","displayName","CapHeadingSpan","_ref2","CapHeadingWithStatic","_default","exports","_CapHeading"],"sourceRoot":""}
@@ -0,0 +1,366 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`CapIcon Snapshots should match snapshot for AntIcon subcomponent 1`] = `
4
+ <div>
5
+ <i
6
+ class="cap-icon-ant-icon ant-icon-wrapper"
7
+ style="display: inline-flex; align-items: center; justify-content: center;"
8
+ />
9
+ </div>
10
+ `;
11
+
12
+ exports[`CapIcon Snapshots should match snapshot when disabled 1`] = `
13
+ <div>
14
+ <span
15
+ class="cap-icon-wrapper cap-icon m disabled"
16
+ >
17
+ <span
18
+ aria-label="user"
19
+ class="anticon anticon-user"
20
+ role="img"
21
+ >
22
+ <svg
23
+ aria-hidden="true"
24
+ data-icon="user"
25
+ fill="currentColor"
26
+ focusable="false"
27
+ height="1em"
28
+ viewBox="64 64 896 896"
29
+ width="1em"
30
+ >
31
+ <path
32
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
33
+ />
34
+ </svg>
35
+ </span>
36
+ </span>
37
+ </div>
38
+ `;
39
+
40
+ exports[`CapIcon Snapshots should match snapshot with custom className 1`] = `
41
+ <div>
42
+ <span
43
+ class="cap-icon-wrapper cap-icon m custom-icon"
44
+ >
45
+ <span
46
+ aria-label="user"
47
+ class="anticon anticon-user"
48
+ role="img"
49
+ >
50
+ <svg
51
+ aria-hidden="true"
52
+ data-icon="user"
53
+ fill="currentColor"
54
+ focusable="false"
55
+ height="1em"
56
+ viewBox="64 64 896 896"
57
+ width="1em"
58
+ >
59
+ <path
60
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
61
+ />
62
+ </svg>
63
+ </span>
64
+ </span>
65
+ </div>
66
+ `;
67
+
68
+ exports[`CapIcon Snapshots should match snapshot with custom color 1`] = `
69
+ <div>
70
+ <span
71
+ class="cap-icon-wrapper cap-icon m"
72
+ style="color: rgb(255, 0, 0);"
73
+ >
74
+ <span
75
+ aria-label="user"
76
+ class="anticon anticon-user"
77
+ role="img"
78
+ style="color: rgb(255, 0, 0);"
79
+ >
80
+ <svg
81
+ aria-hidden="true"
82
+ data-icon="user"
83
+ fill="currentColor"
84
+ focusable="false"
85
+ height="1em"
86
+ viewBox="64 64 896 896"
87
+ width="1em"
88
+ >
89
+ <path
90
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
91
+ />
92
+ </svg>
93
+ </span>
94
+ </span>
95
+ </div>
96
+ `;
97
+
98
+ exports[`CapIcon Snapshots should match snapshot with custom component 1`] = `
99
+ <div>
100
+ <span
101
+ class="cap-icon-wrapper cap-icon m"
102
+ >
103
+ <span>
104
+
105
+ </span>
106
+ </span>
107
+ </div>
108
+ `;
109
+
110
+ exports[`CapIcon Snapshots should match snapshot with default props 1`] = `
111
+ <div>
112
+ <span
113
+ class="cap-icon-wrapper cap-icon m"
114
+ >
115
+ <span
116
+ aria-label="user"
117
+ class="anticon anticon-user"
118
+ role="img"
119
+ >
120
+ <svg
121
+ aria-hidden="true"
122
+ data-icon="user"
123
+ fill="currentColor"
124
+ focusable="false"
125
+ height="1em"
126
+ viewBox="64 64 896 896"
127
+ width="1em"
128
+ >
129
+ <path
130
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
131
+ />
132
+ </svg>
133
+ </span>
134
+ </span>
135
+ </div>
136
+ `;
137
+
138
+ exports[`CapIcon Snapshots should match snapshot with l size 1`] = `
139
+ <div>
140
+ <span
141
+ class="cap-icon-wrapper cap-icon l"
142
+ >
143
+ <span
144
+ aria-label="user"
145
+ class="anticon anticon-user"
146
+ role="img"
147
+ >
148
+ <svg
149
+ aria-hidden="true"
150
+ data-icon="user"
151
+ fill="currentColor"
152
+ focusable="false"
153
+ height="1em"
154
+ viewBox="64 64 896 896"
155
+ width="1em"
156
+ >
157
+ <path
158
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
159
+ />
160
+ </svg>
161
+ </span>
162
+ </span>
163
+ </div>
164
+ `;
165
+
166
+ exports[`CapIcon Snapshots should match snapshot with m size 1`] = `
167
+ <div>
168
+ <span
169
+ class="cap-icon-wrapper cap-icon m"
170
+ >
171
+ <span
172
+ aria-label="user"
173
+ class="anticon anticon-user"
174
+ role="img"
175
+ >
176
+ <svg
177
+ aria-hidden="true"
178
+ data-icon="user"
179
+ fill="currentColor"
180
+ focusable="false"
181
+ height="1em"
182
+ viewBox="64 64 896 896"
183
+ width="1em"
184
+ >
185
+ <path
186
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
187
+ />
188
+ </svg>
189
+ </span>
190
+ </span>
191
+ </div>
192
+ `;
193
+
194
+ exports[`CapIcon Snapshots should match snapshot with rotate 1`] = `
195
+ <div>
196
+ <span
197
+ class="cap-icon-wrapper cap-icon m"
198
+ >
199
+ <span
200
+ aria-label="arrow-right"
201
+ class="anticon anticon-arrow-right"
202
+ role="img"
203
+ >
204
+ <svg
205
+ aria-hidden="true"
206
+ data-icon="arrow-right"
207
+ fill="currentColor"
208
+ focusable="false"
209
+ height="1em"
210
+ style="transform: rotate(90deg);"
211
+ viewBox="64 64 896 896"
212
+ width="1em"
213
+ >
214
+ <path
215
+ d="M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"
216
+ />
217
+ </svg>
218
+ </span>
219
+ </span>
220
+ </div>
221
+ `;
222
+
223
+ exports[`CapIcon Snapshots should match snapshot with s size 1`] = `
224
+ <div>
225
+ <span
226
+ class="cap-icon-wrapper cap-icon s"
227
+ >
228
+ <span
229
+ aria-label="user"
230
+ class="anticon anticon-user"
231
+ role="img"
232
+ >
233
+ <svg
234
+ aria-hidden="true"
235
+ data-icon="user"
236
+ fill="currentColor"
237
+ focusable="false"
238
+ height="1em"
239
+ viewBox="64 64 896 896"
240
+ width="1em"
241
+ >
242
+ <path
243
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
244
+ />
245
+ </svg>
246
+ </span>
247
+ </span>
248
+ </div>
249
+ `;
250
+
251
+ exports[`CapIcon Snapshots should match snapshot with spin 1`] = `
252
+ <div>
253
+ <span
254
+ class="cap-icon-wrapper cap-icon m"
255
+ >
256
+ <span
257
+ aria-label="loading"
258
+ class="anticon anticon-loading anticon-spin"
259
+ role="img"
260
+ >
261
+ <svg
262
+ aria-hidden="true"
263
+ data-icon="loading"
264
+ fill="currentColor"
265
+ focusable="false"
266
+ height="1em"
267
+ viewBox="0 0 1024 1024"
268
+ width="1em"
269
+ >
270
+ <path
271
+ d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
272
+ />
273
+ </svg>
274
+ </span>
275
+ </span>
276
+ </div>
277
+ `;
278
+
279
+ exports[`CapIcon Snapshots should match snapshot with textLabel 1`] = `
280
+ <div>
281
+ <span
282
+ class="cap-icon-wrapper cap-icon m with-text-label"
283
+ >
284
+ <span
285
+ aria-label="user"
286
+ class="anticon anticon-user"
287
+ role="img"
288
+ >
289
+ <svg
290
+ aria-hidden="true"
291
+ data-icon="user"
292
+ fill="currentColor"
293
+ focusable="false"
294
+ height="1em"
295
+ viewBox="64 64 896 896"
296
+ width="1em"
297
+ >
298
+ <path
299
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
300
+ />
301
+ </svg>
302
+ </span>
303
+ User Icon
304
+ </span>
305
+ </div>
306
+ `;
307
+
308
+ exports[`CapIcon Snapshots should match snapshot with withBackground 1`] = `
309
+ <div>
310
+ <span
311
+ class="cap-icon-background-wrapper m"
312
+ >
313
+ <span
314
+ class="cap-icon-wrapper cap-icon m"
315
+ >
316
+ <span
317
+ aria-label="user"
318
+ class="anticon anticon-user"
319
+ role="img"
320
+ >
321
+ <svg
322
+ aria-hidden="true"
323
+ data-icon="user"
324
+ fill="currentColor"
325
+ focusable="false"
326
+ height="1em"
327
+ viewBox="64 64 896 896"
328
+ width="1em"
329
+ >
330
+ <path
331
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
332
+ />
333
+ </svg>
334
+ </span>
335
+ </span>
336
+ </span>
337
+ </div>
338
+ `;
339
+
340
+ exports[`CapIcon Snapshots should match snapshot with xs size 1`] = `
341
+ <div>
342
+ <span
343
+ class="cap-icon-wrapper cap-icon xs"
344
+ >
345
+ <span
346
+ aria-label="user"
347
+ class="anticon anticon-user"
348
+ role="img"
349
+ >
350
+ <svg
351
+ aria-hidden="true"
352
+ data-icon="user"
353
+ fill="currentColor"
354
+ focusable="false"
355
+ height="1em"
356
+ viewBox="64 64 896 896"
357
+ width="1em"
358
+ >
359
+ <path
360
+ d="M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
361
+ />
362
+ </svg>
363
+ </span>
364
+ </span>
365
+ </div>
366
+ `;
@@ -1,9 +1,8 @@
1
1
  import type { InputNumberProps } from 'antd-v5';
2
- import type { InputNumberRef } from 'rc-input-number';
3
2
  import React from 'react';
4
3
  export interface CapInputNumberProps extends Omit<InputNumberProps, 'size'> {
5
4
  size?: 'large' | 'middle' | 'small';
6
5
  }
7
- declare const CapInputNumber: React.ForwardRefExoticComponent<CapInputNumberProps & React.RefAttributes<InputNumberRef>>;
6
+ declare const CapInputNumber: React.ForwardRefExoticComponent<CapInputNumberProps & React.RefAttributes<import("@rc-component/input-number").InputNumberRef>>;
8
7
  export default CapInputNumber;
9
8
  //# sourceMappingURL=Number.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../components/CapInput/Number.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC;IACzE,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,cAAc,4FAIlB,CAAC;AAIH,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../components/CapInput/Number.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC;IACzE,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,cAAc,iIAOlB,CAAC;AAIH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,156 @@
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports[`CapInput Snapshots should match snapshot when disabled 1`] = `
4
+ <div>
5
+ <input
6
+ class="ant-input ant-input-disabled ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
7
+ disabled=""
8
+ placeholder="Disabled"
9
+ type="text"
10
+ value=""
11
+ />
12
+ </div>
13
+ `;
14
+
15
+ exports[`CapInput Snapshots should match snapshot with custom suffix 1`] = `
16
+ <div>
17
+ <span
18
+ class="ant-input-affix-wrapper ant-input-affix-wrapper-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
19
+ >
20
+ <input
21
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc"
22
+ placeholder="Input"
23
+ type="text"
24
+ value=""
25
+ />
26
+ <span
27
+ class="ant-input-suffix"
28
+ >
29
+ <span>
30
+ @email.com
31
+ </span>
32
+ </span>
33
+ </span>
34
+ </div>
35
+ `;
36
+
37
+ exports[`CapInput Snapshots should match snapshot with default props 1`] = `
38
+ <div>
39
+ <input
40
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
41
+ placeholder="Enter text"
42
+ type="text"
43
+ value=""
44
+ />
45
+ </div>
46
+ `;
47
+
48
+ exports[`CapInput Snapshots should match snapshot with error message 1`] = `
49
+ <div>
50
+ <span
51
+ class="ant-input-affix-wrapper ant-input-affix-wrapper-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined ant-input-status-error css-var-root ant-input-css-var"
52
+ >
53
+ <input
54
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc"
55
+ placeholder="Input"
56
+ type="text"
57
+ value=""
58
+ />
59
+ <span
60
+ class="ant-input-suffix"
61
+ >
62
+ <span
63
+ class="cap-input-icon-error"
64
+ >
65
+ <span
66
+ aria-label="warning"
67
+ class="anticon anticon-warning"
68
+ role="img"
69
+ >
70
+ <svg
71
+ aria-hidden="true"
72
+ data-icon="warning"
73
+ fill="currentColor"
74
+ focusable="false"
75
+ height="1em"
76
+ viewBox="64 64 896 896"
77
+ width="1em"
78
+ >
79
+ <path
80
+ d="M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"
81
+ />
82
+ </svg>
83
+ </span>
84
+ </span>
85
+ </span>
86
+ </span>
87
+ </div>
88
+ `;
89
+
90
+ exports[`CapInput Snapshots should match snapshot with hidden suffix 1`] = `
91
+ <div>
92
+ <input
93
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
94
+ placeholder="Input"
95
+ type="text"
96
+ value=""
97
+ />
98
+ </div>
99
+ `;
100
+
101
+ exports[`CapInput Snapshots should match snapshot with value 1`] = `
102
+ <div>
103
+ <input
104
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
105
+ placeholder="Input"
106
+ readonly=""
107
+ type="text"
108
+ value="Test value"
109
+ />
110
+ </div>
111
+ `;
112
+
113
+ exports[`CapInput Snapshots should match snapshot with verified state 1`] = `
114
+ <div>
115
+ <span
116
+ class="ant-input-affix-wrapper ant-input-affix-wrapper-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
117
+ >
118
+ <input
119
+ class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc"
120
+ placeholder="Verified"
121
+ type="text"
122
+ value=""
123
+ />
124
+ <span
125
+ class="ant-input-suffix"
126
+ >
127
+ <span
128
+ class="cap-input-icon-success"
129
+ >
130
+ <span
131
+ aria-label="check-circle"
132
+ class="anticon anticon-check-circle"
133
+ role="img"
134
+ >
135
+ <svg
136
+ aria-hidden="true"
137
+ data-icon="check-circle"
138
+ fill="currentColor"
139
+ focusable="false"
140
+ height="1em"
141
+ viewBox="64 64 896 896"
142
+ width="1em"
143
+ >
144
+ <path
145
+ d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"
146
+ />
147
+ <path
148
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
149
+ />
150
+ </svg>
151
+ </span>
152
+ </span>
153
+ </span>
154
+ </span>
155
+ </div>
156
+ `;