@razorpay/blade 11.35.0 → 11.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/native/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/native/components/Card/Card.js.map +1 -1
- package/build/lib/native/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js +12 -0
- package/build/lib/native/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js +12 -0
- package/build/lib/native/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js +12 -0
- package/build/lib/native/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js +12 -0
- package/build/lib/native/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js +12 -0
- package/build/lib/native/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js.map +1 -0
- package/build/lib/native/components/Icons/BillMeIcon/BillMeIcon.js +12 -0
- package/build/lib/native/components/Icons/BillMeIcon/BillMeIcon.js.map +1 -0
- package/build/lib/native/components/Icons/NoSignalIcon/NoSignalIcon.js +12 -0
- package/build/lib/native/components/Icons/NoSignalIcon/NoSignalIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Signal1BarIcon/Signal1BarIcon.js +12 -0
- package/build/lib/native/components/Icons/Signal1BarIcon/Signal1BarIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Signal2BarIcon/Signal2BarIcon.js +12 -0
- package/build/lib/native/components/Icons/Signal2BarIcon/Signal2BarIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Signal3BarIcon/Signal3BarIcon.js +12 -0
- package/build/lib/native/components/Icons/Signal3BarIcon/Signal3BarIcon.js.map +1 -0
- package/build/lib/native/components/Icons/Signal4BarIcon/Signal4BarIcon.js +12 -0
- package/build/lib/native/components/Icons/Signal4BarIcon/Signal4BarIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SignalIcon/SignalIcon.js +12 -0
- package/build/lib/native/components/Icons/SignalIcon/SignalIcon.js.map +1 -0
- package/build/lib/native/components/Icons/SimCardIcon/SimCardIcon.js +12 -0
- package/build/lib/native/components/Icons/SimCardIcon/SimCardIcon.js.map +1 -0
- package/build/lib/native/components/Icons/TwitterIcon/TwitterIcon.js +1 -1
- package/build/lib/native/components/Icons/TwitterIcon/TwitterIcon.js.map +1 -1
- package/build/lib/native/components/Icons/UpiIcon/UpiIcon.js +12 -0
- package/build/lib/native/components/Icons/UpiIcon/UpiIcon.js.map +1 -0
- package/build/lib/native/components/Icons/YoutubeIcon/YoutubeIcon.js +12 -0
- package/build/lib/native/components/Icons/YoutubeIcon/YoutubeIcon.js.map +1 -0
- package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/native/components/index.js +15 -0
- package/build/lib/native/components/index.js.map +1 -1
- package/build/lib/web/development/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/web/development/components/Card/Card.js.map +1 -1
- package/build/lib/web/development/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js +57 -0
- package/build/lib/web/development/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery100PercentIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Battery100PercentIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js +45 -0
- package/build/lib/web/development/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery20PercentIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Battery20PercentIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js +48 -0
- package/build/lib/web/development/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery40PercentIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Battery40PercentIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js +51 -0
- package/build/lib/web/development/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery60PercentIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Battery60PercentIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js +54 -0
- package/build/lib/web/development/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Battery80PercentIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Battery80PercentIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/BillMeIcon/BillMeIcon.js +51 -0
- package/build/lib/web/development/components/Icons/BillMeIcon/BillMeIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/BillMeIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/BillMeIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/NoSignalIcon/NoSignalIcon.js +37 -0
- package/build/lib/web/development/components/Icons/NoSignalIcon/NoSignalIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/NoSignalIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/NoSignalIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal1BarIcon/Signal1BarIcon.js +37 -0
- package/build/lib/web/development/components/Icons/Signal1BarIcon/Signal1BarIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal1BarIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Signal1BarIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal2BarIcon/Signal2BarIcon.js +37 -0
- package/build/lib/web/development/components/Icons/Signal2BarIcon/Signal2BarIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal2BarIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Signal2BarIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal3BarIcon/Signal3BarIcon.js +37 -0
- package/build/lib/web/development/components/Icons/Signal3BarIcon/Signal3BarIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal3BarIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Signal3BarIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal4BarIcon/Signal4BarIcon.js +37 -0
- package/build/lib/web/development/components/Icons/Signal4BarIcon/Signal4BarIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/Signal4BarIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/Signal4BarIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SignalIcon/SignalIcon.js +37 -0
- package/build/lib/web/development/components/Icons/SignalIcon/SignalIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SignalIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SignalIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/SimCardIcon/SimCardIcon.js +57 -0
- package/build/lib/web/development/components/Icons/SimCardIcon/SimCardIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/SimCardIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/SimCardIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/TwitterIcon/TwitterIcon.js +1 -1
- package/build/lib/web/development/components/Icons/TwitterIcon/TwitterIcon.js.map +1 -1
- package/build/lib/web/development/components/Icons/UpiIcon/UpiIcon.js +39 -0
- package/build/lib/web/development/components/Icons/UpiIcon/UpiIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/UpiIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/UpiIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/YoutubeIcon/YoutubeIcon.js +44 -0
- package/build/lib/web/development/components/Icons/YoutubeIcon/YoutubeIcon.js.map +1 -0
- package/build/lib/web/development/components/Icons/YoutubeIcon/index.js +2 -0
- package/build/lib/web/development/components/Icons/YoutubeIcon/index.js.map +1 -0
- package/build/lib/web/development/components/Icons/index.js +15 -0
- package/build/lib/web/development/components/Icons/index.js.map +1 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/development/components/Modal/ModalBody.web.js.map +1 -1
- package/build/lib/web/development/components/index.js +15 -0
- package/build/lib/web/development/components/index.js.map +1 -1
- package/build/lib/web/production/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/web/production/components/Card/Card.js.map +1 -1
- package/build/lib/web/production/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js +57 -0
- package/build/lib/web/production/components/Icons/Battery100PercentIcon/Battery100PercentIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery100PercentIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Battery100PercentIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js +45 -0
- package/build/lib/web/production/components/Icons/Battery20PercentIcon/Battery20PercentIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery20PercentIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Battery20PercentIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js +48 -0
- package/build/lib/web/production/components/Icons/Battery40PercentIcon/Battery40PercentIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery40PercentIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Battery40PercentIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js +51 -0
- package/build/lib/web/production/components/Icons/Battery60PercentIcon/Battery60PercentIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery60PercentIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Battery60PercentIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js +54 -0
- package/build/lib/web/production/components/Icons/Battery80PercentIcon/Battery80PercentIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Battery80PercentIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Battery80PercentIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/BillMeIcon/BillMeIcon.js +51 -0
- package/build/lib/web/production/components/Icons/BillMeIcon/BillMeIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/BillMeIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/BillMeIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/NoSignalIcon/NoSignalIcon.js +37 -0
- package/build/lib/web/production/components/Icons/NoSignalIcon/NoSignalIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/NoSignalIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/NoSignalIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal1BarIcon/Signal1BarIcon.js +37 -0
- package/build/lib/web/production/components/Icons/Signal1BarIcon/Signal1BarIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal1BarIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Signal1BarIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal2BarIcon/Signal2BarIcon.js +37 -0
- package/build/lib/web/production/components/Icons/Signal2BarIcon/Signal2BarIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal2BarIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Signal2BarIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal3BarIcon/Signal3BarIcon.js +37 -0
- package/build/lib/web/production/components/Icons/Signal3BarIcon/Signal3BarIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal3BarIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Signal3BarIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal4BarIcon/Signal4BarIcon.js +37 -0
- package/build/lib/web/production/components/Icons/Signal4BarIcon/Signal4BarIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/Signal4BarIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/Signal4BarIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SignalIcon/SignalIcon.js +37 -0
- package/build/lib/web/production/components/Icons/SignalIcon/SignalIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SignalIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SignalIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/SimCardIcon/SimCardIcon.js +57 -0
- package/build/lib/web/production/components/Icons/SimCardIcon/SimCardIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/SimCardIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/SimCardIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/TwitterIcon/TwitterIcon.js +1 -1
- package/build/lib/web/production/components/Icons/TwitterIcon/TwitterIcon.js.map +1 -1
- package/build/lib/web/production/components/Icons/UpiIcon/UpiIcon.js +39 -0
- package/build/lib/web/production/components/Icons/UpiIcon/UpiIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/UpiIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/UpiIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/YoutubeIcon/YoutubeIcon.js +44 -0
- package/build/lib/web/production/components/Icons/YoutubeIcon/YoutubeIcon.js.map +1 -0
- package/build/lib/web/production/components/Icons/YoutubeIcon/index.js +2 -0
- package/build/lib/web/production/components/Icons/YoutubeIcon/index.js.map +1 -0
- package/build/lib/web/production/components/Icons/index.js +15 -0
- package/build/lib/web/production/components/Icons/index.js.map +1 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/production/components/Modal/ModalBody.web.js.map +1 -1
- package/build/lib/web/production/components/index.js +15 -0
- package/build/lib/web/production/components/index.js.map +1 -1
- package/build/types/components/index.d.ts +51 -21
- package/build/types/components/index.native.d.ts +50 -20
- package/codemods/aicodemod/README.md +26 -0
- package/codemods/aicodemod/bin.mjs +128 -0
- package/codemods/aicodemod/knowledge/Table.md +596 -0
- package/codemods/aicodemod/knowledge/presets/dashboard/table-pattern-1.md +319 -0
- package/package.json +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwitterIcon.js","sources":["../../../../../../../src/components/Icons/TwitterIcon/TwitterIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\n\nconst TwitterIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"
|
|
1
|
+
{"version":3,"file":"TwitterIcon.js","sources":["../../../../../../../src/components/Icons/TwitterIcon/TwitterIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\n\nconst TwitterIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M19.7399 4.67267C20.1114 4.26401 20.0813 3.63156 19.6727 3.26006C19.264 2.88856 18.6315 2.91868 18.26 3.32734L12.9643 9.15277L9.34366 3.46312C9.1601 3.17468 8.8419 3 8.5 3H4C3.63502 3 3.29903 3.19885 3.12339 3.51879C2.94776 3.83874 2.96039 4.22895 3.15634 4.53688L8.92273 13.5983L3.26006 19.8275C2.88856 20.2361 2.91868 20.8686 3.32734 21.2401C3.73601 21.6116 4.36846 21.5814 4.73996 21.1728L10.0357 15.3473L13.6563 21.0369C13.8399 21.3253 14.1581 21.5 14.5 21.5H19C19.365 21.5 19.701 21.3012 19.8766 20.9812C20.0522 20.6613 20.0396 20.271 19.8437 19.9631L14.0773 10.9017L19.7399 4.67267ZM11.9742 11.3222C11.9777 11.3278 11.9813 11.3334 11.9849 11.3389L17.1783 19.5H15.0489L5.82167 5H7.95105L11.9742 11.3222Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nexport default TwitterIcon;\n"],"names":["TwitterIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsx","Svg","_objectSpread","viewBox","fill","children","Path","fillRule","clipRule","d"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,WAA0B,GAAG,SAA7BA,WAA0BA,CAAAC,IAAA,EAAwC;AAAA,EAAA,IAAlCC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;AAAKC,IAAAA,WAAW,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EAC/D,IAAAC,aAAA,GAAqCC,YAAY,CAAC;AAAEN,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,KAAK,EAALA,KAAAA;AAAM,KAAC,CAAC;IAA1DM,MAAM,GAAAF,aAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,aAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,aAAA,CAATI,SAAS,CAAA;EAEhC,oBACEC,GAAA,CAACC,GAAG,EAAAC,aAAA,CAAAA,aAAA,KAAKV,WAAW,CAAA,EAAA,EAAA,EAAA;AAAEM,IAAAA,KAAK,EAAEA,KAAM;AAACD,IAAAA,MAAM,EAAEA,MAAO;AAACM,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAM;IAAAC,QAAA,eACjFL,GAAA,CAACM,IAAI,EAAA;AACHC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,ssBAAssB;AACxsBL,MAAAA,IAAI,EAAEL,SAAAA;KACP,CAAA;AAAC,GAAA,CACC,CAAC,CAAA;AAEV;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import '../_Svg/index.js';
|
|
4
|
+
import '../useIconProps/index.js';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
import useIconProps from '../useIconProps/useIconProps.js';
|
|
7
|
+
import Svg from '../_Svg/Svg/Svg.web.js';
|
|
8
|
+
import Path from '../_Svg/Path/Path.web.js';
|
|
9
|
+
|
|
10
|
+
var _excluded = ["size", "color"];
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
var UpiIcon = function UpiIcon(_ref) {
|
|
14
|
+
var size = _ref.size,
|
|
15
|
+
color = _ref.color,
|
|
16
|
+
styledProps = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var _useIconProps = useIconProps({
|
|
18
|
+
size: size,
|
|
19
|
+
color: color
|
|
20
|
+
}),
|
|
21
|
+
height = _useIconProps.height,
|
|
22
|
+
width = _useIconProps.width,
|
|
23
|
+
iconColor = _useIconProps.iconColor;
|
|
24
|
+
return /*#__PURE__*/jsx(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
|
|
25
|
+
width: width,
|
|
26
|
+
height: height,
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
fill: "none",
|
|
29
|
+
children: /*#__PURE__*/jsx(Path, {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M7.62351 3.00002C6.93911 2.99687 6.34704 3.47588 6.20725 4.14587L3.03088 19.3689C2.84464 20.2615 3.52431 21.1002 4.43609 21.1031L5.0262 21.1049C5.39218 21.106 5.74487 20.9677 6.01257 20.7182L9.72559 17.2566L9.30317 19.3867C9.12621 20.279 9.81071 21.1098 10.7204 21.1068L10.9498 21.1061C11.2947 21.1049 11.6277 20.9801 11.8883 20.7541L19.7601 13.9295C20.2769 13.4815 20.4072 12.7318 20.072 12.1356L15.3483 3.73538C15.0933 3.28187 14.6134 3.0012 14.0931 3.0012H13.8573C13.1806 3.0012 12.5952 3.47234 12.4506 4.13337L11.6352 7.85928L8.90663 3.65627C8.64235 3.24919 8.19079 3.00262 7.70545 3.00039L7.62351 3.00002ZM12.2282 12.2986L7.86864 5.58345L5.07629 18.9661L12.2282 12.2986ZM13.1052 10.1235L14.0579 11.5909C14.4384 12.1771 14.3431 12.9518 13.832 13.4283L12.1269 15.0179L11.4113 18.6266L18.2065 12.7353L14.1228 5.47325L13.1052 10.1235Z",
|
|
33
|
+
fill: iconColor
|
|
34
|
+
})
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { UpiIcon as default };
|
|
39
|
+
//# sourceMappingURL=UpiIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpiIcon.js","sources":["../../../../../../../src/components/Icons/UpiIcon/UpiIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\n\nconst UpiIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.62351 3.00002C6.93911 2.99687 6.34704 3.47588 6.20725 4.14587L3.03088 19.3689C2.84464 20.2615 3.52431 21.1002 4.43609 21.1031L5.0262 21.1049C5.39218 21.106 5.74487 20.9677 6.01257 20.7182L9.72559 17.2566L9.30317 19.3867C9.12621 20.279 9.81071 21.1098 10.7204 21.1068L10.9498 21.1061C11.2947 21.1049 11.6277 20.9801 11.8883 20.7541L19.7601 13.9295C20.2769 13.4815 20.4072 12.7318 20.072 12.1356L15.3483 3.73538C15.0933 3.28187 14.6134 3.0012 14.0931 3.0012H13.8573C13.1806 3.0012 12.5952 3.47234 12.4506 4.13337L11.6352 7.85928L8.90663 3.65627C8.64235 3.24919 8.19079 3.00262 7.70545 3.00039L7.62351 3.00002ZM12.2282 12.2986L7.86864 5.58345L5.07629 18.9661L12.2282 12.2986ZM13.1052 10.1235L14.0579 11.5909C14.4384 12.1771 14.3431 12.9518 13.832 13.4283L12.1269 15.0179L11.4113 18.6266L18.2065 12.7353L14.1228 5.47325L13.1052 10.1235Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nexport default UpiIcon;\n"],"names":["UpiIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsx","Svg","_objectSpread","viewBox","fill","children","Path","fillRule","clipRule","d"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,OAAsB,GAAG,SAAzBA,OAAsBA,CAAAC,IAAA,EAAwC;AAAA,EAAA,IAAlCC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;AAAKC,IAAAA,WAAW,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EAC3D,IAAAC,aAAA,GAAqCC,YAAY,CAAC;AAAEN,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,KAAK,EAALA,KAAAA;AAAM,KAAC,CAAC;IAA1DM,MAAM,GAAAF,aAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,aAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,aAAA,CAATI,SAAS,CAAA;EAEhC,oBACEC,GAAA,CAACC,GAAG,EAAAC,aAAA,CAAAA,aAAA,KAAKV,WAAW,CAAA,EAAA,EAAA,EAAA;AAAEM,IAAAA,KAAK,EAAEA,KAAM;AAACD,IAAAA,MAAM,EAAEA,MAAO;AAACM,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAM;IAAAC,QAAA,eACjFL,GAAA,CAACM,IAAI,EAAA;AACHC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,q0BAAq0B;AACv0BL,MAAAA,IAAI,EAAEL,SAAAA;KACP,CAAA;AAAC,GAAA,CACC,CAAC,CAAA;AAEV;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
+
import '../_Svg/index.js';
|
|
4
|
+
import '../useIconProps/index.js';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
+
import useIconProps from '../useIconProps/useIconProps.js';
|
|
7
|
+
import Svg from '../_Svg/Svg/Svg.web.js';
|
|
8
|
+
import Path from '../_Svg/Path/Path.web.js';
|
|
9
|
+
|
|
10
|
+
var _excluded = ["size", "color"];
|
|
11
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
var YoutubeIcon = function YoutubeIcon(_ref) {
|
|
14
|
+
var size = _ref.size,
|
|
15
|
+
color = _ref.color,
|
|
16
|
+
styledProps = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var _useIconProps = useIconProps({
|
|
18
|
+
size: size,
|
|
19
|
+
color: color
|
|
20
|
+
}),
|
|
21
|
+
height = _useIconProps.height,
|
|
22
|
+
width = _useIconProps.width,
|
|
23
|
+
iconColor = _useIconProps.iconColor;
|
|
24
|
+
return /*#__PURE__*/jsxs(Svg, _objectSpread(_objectSpread({}, styledProps), {}, {
|
|
25
|
+
width: width,
|
|
26
|
+
height: height,
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
fill: "none",
|
|
29
|
+
children: [/*#__PURE__*/jsx(Path, {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M10.8047 7.66795C10.4978 7.46338 10.1033 7.44431 9.77814 7.61833C9.45298 7.79235 9.25 8.13121 9.25 8.5V14.5C9.25 14.8688 9.45298 15.2077 9.77814 15.3817C10.1033 15.5557 10.4978 15.5366 10.8047 15.3321L15.3047 12.3321C15.5829 12.1466 15.75 11.8344 15.75 11.5C15.75 11.1656 15.5829 10.8534 15.3047 10.668L10.8047 7.66795ZM12.9472 11.5L11.25 12.6315V10.3685L12.9472 11.5Z",
|
|
33
|
+
fill: iconColor
|
|
34
|
+
}), /*#__PURE__*/jsx(Path, {
|
|
35
|
+
fillRule: "evenodd",
|
|
36
|
+
clipRule: "evenodd",
|
|
37
|
+
d: "M20.4524 4.2413C18.7429 3.58442 16.5394 3.28246 14.8274 3.13814C13.9587 3.0649 13.1916 3.03044 12.6412 3.01425C12.3657 3.00614 12.1437 3.00259 11.9895 3.00107C11.9124 3.00031 11.8521 3.00006 11.8106 3L11.7625 3.00002L11.7507 3.00006L11.7493 3.00006L11.7375 3.00002L11.6894 3C11.6478 3.00006 11.5876 3.00032 11.5105 3.00108C11.3562 3.00261 11.1342 3.00618 10.8587 3.01432C10.3082 3.03059 9.54102 3.06521 8.67222 3.13875C6.96016 3.28368 4.75624 3.58684 3.04634 4.24642L3.03789 4.24976C2.66857 4.39609 2.33944 4.62833 2.07776 4.92723C1.8169 5.22521 1.63056 5.58089 1.5341 5.96497C1.29393 6.90178 1 8.63204 1 11.5001C1 14.3678 1.29385 16.0982 1.53846 17.0423C1.63541 17.4243 1.82128 17.7779 2.08094 18.0744C2.34143 18.3718 2.66871 18.6033 3.03597 18.7497L3.04636 18.7537C4.75626 19.4133 6.96016 19.7165 8.67222 19.8614C9.54102 19.9349 10.3082 19.9696 10.8587 19.9858C11.1342 19.994 11.3562 19.9975 11.5105 19.9991C11.5876 19.9998 11.6478 20.0001 11.6894 20.0001L11.7375 20.0001L11.7493 20.0001H11.7507L11.7625 20.0001L11.8106 20.0001C11.8522 20.0001 11.9124 19.9998 11.9895 19.9991C12.1438 19.9975 12.3658 19.994 12.6413 19.9858C13.1918 19.9696 13.959 19.9349 14.8278 19.8614C16.5398 19.7165 18.7438 19.4133 20.4537 18.7537L20.4612 18.7507C20.8297 18.6052 21.1582 18.3741 21.4198 18.0766C21.6806 17.7801 21.8675 17.426 21.965 17.0433C22.2098 16.1007 22.5037 14.368 22.5037 11.5001C22.5037 8.63345 22.2101 6.90327 21.9656 5.9589C21.869 5.57535 21.6828 5.22017 21.4222 4.92254C21.1606 4.62364 20.8314 4.39136 20.4621 4.24502L20.4524 4.2413ZM11.7418 5.00004L11.7437 5.00013L11.7561 5.00005L11.7582 5.00004L11.7676 5.00001L11.8078 5C11.844 5.00005 11.8985 5.00027 11.9698 5.00097C12.1123 5.00238 12.3212 5.0057 12.5824 5.01338C13.1054 5.02877 13.835 5.06157 14.6594 5.13107C16.3314 5.27202 18.2966 5.5568 19.7291 6.10591C19.8014 6.13525 19.866 6.18115 19.9174 6.23994C19.9698 6.29972 20.007 6.37112 20.0263 6.44821L20.0286 6.45712C20.2226 7.20488 20.5037 8.76262 20.5037 11.5001C20.5037 14.2378 20.2225 15.7971 20.0287 16.5425L20.0272 16.5485C20.0077 16.6253 19.9703 16.6964 19.918 16.7559C19.8663 16.8146 19.8016 16.8604 19.7291 16.8895C18.2969 17.4409 16.3314 17.727 14.6591 17.8685C13.8348 17.9383 13.1052 17.9712 12.5823 17.9867C12.3211 17.9944 12.1122 17.9978 11.9697 17.9992C11.8985 17.9999 11.8439 18.0001 11.8077 18.0001L11.7675 18.0001L11.7582 18.0001L11.7563 18L11.7437 18.0001L11.7418 18.0001L11.7325 18.0001L11.6923 18.0001C11.6561 18.0001 11.6015 17.9999 11.5303 17.9992C11.3878 17.9978 11.1789 17.9944 10.9177 17.9867C10.3948 17.9712 9.66523 17.9383 8.84091 17.8685C7.16922 17.727 5.20462 17.4412 3.77256 16.8902C3.70071 16.8608 3.63666 16.8151 3.5855 16.7567C3.53341 16.6972 3.49618 16.6262 3.47685 16.5496L3.47515 16.543C3.28116 15.7953 3 14.2375 3 11.5001C3 8.76295 3.28111 7.2032 3.47206 6.45934L3.47367 6.45288C3.49291 6.3758 3.53025 6.30441 3.58258 6.24463C3.63415 6.18571 3.69883 6.13975 3.7714 6.11042C5.20355 5.55913 7.16877 5.27317 8.84091 5.13163C9.66523 5.06185 10.3948 5.02891 10.9177 5.01345C11.1789 5.00573 11.3878 5.00239 11.5303 5.00098C11.6015 5.00028 11.6561 5.00005 11.6923 5L11.7325 5.00001L11.7418 5.00004Z",
|
|
38
|
+
fill: iconColor
|
|
39
|
+
})]
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { YoutubeIcon as default };
|
|
44
|
+
//# sourceMappingURL=YoutubeIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YoutubeIcon.js","sources":["../../../../../../../src/components/Icons/YoutubeIcon/YoutubeIcon.tsx"],"sourcesContent":["import { Svg, Path } from '../_Svg';\nimport type { IconComponent } from '..';\nimport useIconProps from '../useIconProps';\n\nconst YoutubeIcon: IconComponent = ({ size, color, ...styledProps }) => {\n const { height, width, iconColor } = useIconProps({ size, color });\n\n return (\n <Svg {...styledProps} width={width} height={height} viewBox=\"0 0 24 24\" fill=\"none\">\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10.8047 7.66795C10.4978 7.46338 10.1033 7.44431 9.77814 7.61833C9.45298 7.79235 9.25 8.13121 9.25 8.5V14.5C9.25 14.8688 9.45298 15.2077 9.77814 15.3817C10.1033 15.5557 10.4978 15.5366 10.8047 15.3321L15.3047 12.3321C15.5829 12.1466 15.75 11.8344 15.75 11.5C15.75 11.1656 15.5829 10.8534 15.3047 10.668L10.8047 7.66795ZM12.9472 11.5L11.25 12.6315V10.3685L12.9472 11.5Z\"\n fill={iconColor}\n />\n <Path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M20.4524 4.2413C18.7429 3.58442 16.5394 3.28246 14.8274 3.13814C13.9587 3.0649 13.1916 3.03044 12.6412 3.01425C12.3657 3.00614 12.1437 3.00259 11.9895 3.00107C11.9124 3.00031 11.8521 3.00006 11.8106 3L11.7625 3.00002L11.7507 3.00006L11.7493 3.00006L11.7375 3.00002L11.6894 3C11.6478 3.00006 11.5876 3.00032 11.5105 3.00108C11.3562 3.00261 11.1342 3.00618 10.8587 3.01432C10.3082 3.03059 9.54102 3.06521 8.67222 3.13875C6.96016 3.28368 4.75624 3.58684 3.04634 4.24642L3.03789 4.24976C2.66857 4.39609 2.33944 4.62833 2.07776 4.92723C1.8169 5.22521 1.63056 5.58089 1.5341 5.96497C1.29393 6.90178 1 8.63204 1 11.5001C1 14.3678 1.29385 16.0982 1.53846 17.0423C1.63541 17.4243 1.82128 17.7779 2.08094 18.0744C2.34143 18.3718 2.66871 18.6033 3.03597 18.7497L3.04636 18.7537C4.75626 19.4133 6.96016 19.7165 8.67222 19.8614C9.54102 19.9349 10.3082 19.9696 10.8587 19.9858C11.1342 19.994 11.3562 19.9975 11.5105 19.9991C11.5876 19.9998 11.6478 20.0001 11.6894 20.0001L11.7375 20.0001L11.7493 20.0001H11.7507L11.7625 20.0001L11.8106 20.0001C11.8522 20.0001 11.9124 19.9998 11.9895 19.9991C12.1438 19.9975 12.3658 19.994 12.6413 19.9858C13.1918 19.9696 13.959 19.9349 14.8278 19.8614C16.5398 19.7165 18.7438 19.4133 20.4537 18.7537L20.4612 18.7507C20.8297 18.6052 21.1582 18.3741 21.4198 18.0766C21.6806 17.7801 21.8675 17.426 21.965 17.0433C22.2098 16.1007 22.5037 14.368 22.5037 11.5001C22.5037 8.63345 22.2101 6.90327 21.9656 5.9589C21.869 5.57535 21.6828 5.22017 21.4222 4.92254C21.1606 4.62364 20.8314 4.39136 20.4621 4.24502L20.4524 4.2413ZM11.7418 5.00004L11.7437 5.00013L11.7561 5.00005L11.7582 5.00004L11.7676 5.00001L11.8078 5C11.844 5.00005 11.8985 5.00027 11.9698 5.00097C12.1123 5.00238 12.3212 5.0057 12.5824 5.01338C13.1054 5.02877 13.835 5.06157 14.6594 5.13107C16.3314 5.27202 18.2966 5.5568 19.7291 6.10591C19.8014 6.13525 19.866 6.18115 19.9174 6.23994C19.9698 6.29972 20.007 6.37112 20.0263 6.44821L20.0286 6.45712C20.2226 7.20488 20.5037 8.76262 20.5037 11.5001C20.5037 14.2378 20.2225 15.7971 20.0287 16.5425L20.0272 16.5485C20.0077 16.6253 19.9703 16.6964 19.918 16.7559C19.8663 16.8146 19.8016 16.8604 19.7291 16.8895C18.2969 17.4409 16.3314 17.727 14.6591 17.8685C13.8348 17.9383 13.1052 17.9712 12.5823 17.9867C12.3211 17.9944 12.1122 17.9978 11.9697 17.9992C11.8985 17.9999 11.8439 18.0001 11.8077 18.0001L11.7675 18.0001L11.7582 18.0001L11.7563 18L11.7437 18.0001L11.7418 18.0001L11.7325 18.0001L11.6923 18.0001C11.6561 18.0001 11.6015 17.9999 11.5303 17.9992C11.3878 17.9978 11.1789 17.9944 10.9177 17.9867C10.3948 17.9712 9.66523 17.9383 8.84091 17.8685C7.16922 17.727 5.20462 17.4412 3.77256 16.8902C3.70071 16.8608 3.63666 16.8151 3.5855 16.7567C3.53341 16.6972 3.49618 16.6262 3.47685 16.5496L3.47515 16.543C3.28116 15.7953 3 14.2375 3 11.5001C3 8.76295 3.28111 7.2032 3.47206 6.45934L3.47367 6.45288C3.49291 6.3758 3.53025 6.30441 3.58258 6.24463C3.63415 6.18571 3.69883 6.13975 3.7714 6.11042C5.20355 5.55913 7.16877 5.27317 8.84091 5.13163C9.66523 5.06185 10.3948 5.02891 10.9177 5.01345C11.1789 5.00573 11.3878 5.00239 11.5303 5.00098C11.6015 5.00028 11.6561 5.00005 11.6923 5L11.7325 5.00001L11.7418 5.00004Z\"\n fill={iconColor}\n />\n </Svg>\n );\n};\n\nexport default YoutubeIcon;\n"],"names":["YoutubeIcon","_ref","size","color","styledProps","_objectWithoutProperties","_excluded","_useIconProps","useIconProps","height","width","iconColor","_jsxs","Svg","_objectSpread","viewBox","fill","children","_jsx","Path","fillRule","clipRule","d"],"mappings":";;;;;;;;;;;;AAIA,IAAMA,WAA0B,GAAG,SAA7BA,WAA0BA,CAAAC,IAAA,EAAwC;AAAA,EAAA,IAAlCC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;AAAKC,IAAAA,WAAW,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EAC/D,IAAAC,aAAA,GAAqCC,YAAY,CAAC;AAAEN,MAAAA,IAAI,EAAJA,IAAI;AAAEC,MAAAA,KAAK,EAALA,KAAAA;AAAM,KAAC,CAAC;IAA1DM,MAAM,GAAAF,aAAA,CAANE,MAAM;IAAEC,KAAK,GAAAH,aAAA,CAALG,KAAK;IAAEC,SAAS,GAAAJ,aAAA,CAATI,SAAS,CAAA;EAEhC,oBACEC,IAAA,CAACC,GAAG,EAAAC,aAAA,CAAAA,aAAA,KAAKV,WAAW,CAAA,EAAA,EAAA,EAAA;AAAEM,IAAAA,KAAK,EAAEA,KAAM;AAACD,IAAAA,MAAM,EAAEA,MAAO;AAACM,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAM;IAAAC,QAAA,EAAA,cACjFC,GAAA,CAACC,IAAI,EAAA;AACHC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,kXAAkX;AACpXN,MAAAA,IAAI,EAAEL,SAAAA;AAAU,KACjB,CAAC,eACFO,GAAA,CAACC,IAAI,EAAA;AACHC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,gkGAAgkG;AAClkGN,MAAAA,IAAI,EAAEL,SAAAA;AAAU,KACjB,CAAC,CAAA;AAAA,GAAA,CACC,CAAC,CAAA;AAEV;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -34,12 +34,18 @@ import './BankIcon/index.js';
|
|
|
34
34
|
import './BarChartAltIcon/index.js';
|
|
35
35
|
import './BarChartIcon/index.js';
|
|
36
36
|
import './BarCodeIcon/index.js';
|
|
37
|
+
import './Battery100PercentIcon/index.js';
|
|
38
|
+
import './Battery20PercentIcon/index.js';
|
|
39
|
+
import './Battery40PercentIcon/index.js';
|
|
40
|
+
import './Battery60PercentIcon/index.js';
|
|
41
|
+
import './Battery80PercentIcon/index.js';
|
|
37
42
|
import './BatteryChargingIcon/index.js';
|
|
38
43
|
import './BatteryIcon/index.js';
|
|
39
44
|
import './BellIcon/index.js';
|
|
40
45
|
import './BellOffIcon/index.js';
|
|
41
46
|
import './BfsiIcon/index.js';
|
|
42
47
|
import './BillIcon/index.js';
|
|
48
|
+
import './BillMeIcon/index.js';
|
|
43
49
|
import './BluetoothIcon/index.js';
|
|
44
50
|
import './BoldIcon/index.js';
|
|
45
51
|
import './BookIcon/index.js';
|
|
@@ -203,6 +209,7 @@ import './MoveIcon/index.js';
|
|
|
203
209
|
import './MusicIcon/index.js';
|
|
204
210
|
import './MyAccountIcon/index.js';
|
|
205
211
|
import './NavigationIcon/index.js';
|
|
212
|
+
import './NoSignalIcon/index.js';
|
|
206
213
|
import './OctagonIcon/index.js';
|
|
207
214
|
import './OffersIcon/index.js';
|
|
208
215
|
import './OptimizerIcon/index.js';
|
|
@@ -271,6 +278,12 @@ import './ShoppingBagIcon/index.js';
|
|
|
271
278
|
import './ShoppingCartIcon/index.js';
|
|
272
279
|
import './ShuffleIcon/index.js';
|
|
273
280
|
import './SidebarIcon/index.js';
|
|
281
|
+
import './Signal1BarIcon/index.js';
|
|
282
|
+
import './Signal2BarIcon/index.js';
|
|
283
|
+
import './Signal3BarIcon/index.js';
|
|
284
|
+
import './Signal4BarIcon/index.js';
|
|
285
|
+
import './SignalIcon/index.js';
|
|
286
|
+
import './SimCardIcon/index.js';
|
|
274
287
|
import './SkipBackIcon/index.js';
|
|
275
288
|
import './SkipForwardIcon/index.js';
|
|
276
289
|
import './SlackIcon/index.js';
|
|
@@ -317,6 +330,7 @@ import './UmbrellaIcon/index.js';
|
|
|
317
330
|
import './UnderlineIcon/index.js';
|
|
318
331
|
import './UnlockIcon/index.js';
|
|
319
332
|
import './UpiAutopayIcon/index.js';
|
|
333
|
+
import './UpiIcon/index.js';
|
|
320
334
|
import './UploadCloudIcon/index.js';
|
|
321
335
|
import './UploadIcon/index.js';
|
|
322
336
|
import './UserCheckIcon/index.js';
|
|
@@ -341,6 +355,7 @@ import './WifiOffIcon/index.js';
|
|
|
341
355
|
import './WindIcon/index.js';
|
|
342
356
|
import './XCircleIcon/index.js';
|
|
343
357
|
import './XSquareIcon/index.js';
|
|
358
|
+
import './YoutubeIcon/index.js';
|
|
344
359
|
import './ZapIcon/index.js';
|
|
345
360
|
import './ZoomInIcon/index.js';
|
|
346
361
|
import './ZoomOutIcon/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../src/components/Icons/index.ts"],"sourcesContent":["// This file is auto generated\n// Modify at blade/plop/icon/iconReexports.ts.hbs\nexport * from './types';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityIcon } from './AffordabilityIcon';\nexport { default as AirplayIcon } from './AirplayIcon';\nexport { default as AlertCircleIcon } from './AlertCircleIcon';\nexport { default as AlertOctagonIcon } from './AlertOctagonIcon';\nexport { default as AlertOnlyIcon } from './AlertOnlyIcon';\nexport { default as AlertTriangleIcon } from './AlertTriangleIcon';\nexport { default as AlignCenterIcon } from './AlignCenterIcon';\nexport { default as AlignJustifyIcon } from './AlignJustifyIcon';\nexport { default as AlignLeftIcon } from './AlignLeftIcon';\nexport { default as AlignRightIcon } from './AlignRightIcon';\nexport { default as AnchorIcon } from './AnchorIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as ArrowDownIcon } from './ArrowDownIcon';\nexport { default as ArrowDownLeftIcon } from './ArrowDownLeftIcon';\nexport { default as ArrowDownRightIcon } from './ArrowDownRightIcon';\nexport { default as ArrowLeftIcon } from './ArrowLeftIcon';\nexport { default as ArrowRightIcon } from './ArrowRightIcon';\nexport { default as ArrowUpIcon } from './ArrowUpIcon';\nexport { default as ArrowUpLeftIcon } from './ArrowUpLeftIcon';\nexport { default as ArrowUpRightIcon } from './ArrowUpRightIcon';\nexport { default as AtSignIcon } from './AtSignIcon';\nexport { default as AttachmentIcon } from './AttachmentIcon';\nexport { default as AutomateAccountingIcon } from './AutomateAccountingIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationIcon } from './BankAccountVerificationIcon';\nexport { default as BankIcon } from './BankIcon';\nexport { default as BarChartAltIcon } from './BarChartAltIcon';\nexport { default as BarChartIcon } from './BarChartIcon';\nexport { default as BarCodeIcon } from './BarCodeIcon';\nexport { default as BatteryChargingIcon } from './BatteryChargingIcon';\nexport { default as BatteryIcon } from './BatteryIcon';\nexport { default as BellIcon } from './BellIcon';\nexport { default as BellOffIcon } from './BellOffIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BluetoothIcon } from './BluetoothIcon';\nexport { default as BoldIcon } from './BoldIcon';\nexport { default as BookIcon } from './BookIcon';\nexport { default as BookmarkIcon } from './BookmarkIcon';\nexport { default as BoxIcon } from './BoxIcon';\nexport { default as BriefcaseIcon } from './BriefcaseIcon';\nexport { default as BugIcon } from './BugIcon';\nexport { default as BuildingIcon } from './BuildingIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementIcon } from './BusinessSpendManagementIcon';\nexport { default as CalendarIcon } from './CalendarIcon';\nexport { default as CameraIcon } from './CameraIcon';\nexport { default as CameraOffIcon } from './CameraOffIcon';\nexport { default as CashIcon } from './CashIcon';\nexport { default as CastIcon } from './CastIcon';\nexport { default as CheckCircle2Icon } from './CheckCircle2Icon';\nexport { default as CheckCircleIcon } from './CheckCircleIcon';\nexport { default as CheckIcon } from './CheckIcon';\nexport { default as CheckSquareIcon } from './CheckSquareIcon';\nexport { default as ChevronDownIcon } from './ChevronDownIcon';\nexport { default as ChevronLeftIcon } from './ChevronLeftIcon';\nexport { default as ChevronRightIcon } from './ChevronRightIcon';\nexport { default as ChevronUpIcon } from './ChevronUpIcon';\nexport { default as ChevronsDownIcon } from './ChevronsDownIcon';\nexport { default as ChevronsLeftIcon } from './ChevronsLeftIcon';\nexport { default as ChevronsRightIcon } from './ChevronsRightIcon';\nexport { default as ChevronsUpIcon } from './ChevronsUpIcon';\nexport { default as ChromeIcon } from './ChromeIcon';\nexport { default as CircleIcon } from './CircleIcon';\nexport { default as ClipboardIcon } from './ClipboardIcon';\nexport { default as ClockIcon } from './ClockIcon';\nexport { default as CloseIcon } from './CloseIcon';\nexport { default as ClosedCaptioningIcon } from './ClosedCaptioningIcon';\nexport { default as CloudDrizzleIcon } from './CloudDrizzleIcon';\nexport { default as CloudIcon } from './CloudIcon';\nexport { default as CloudLightningIcon } from './CloudLightningIcon';\nexport { default as CloudOffIcon } from './CloudOffIcon';\nexport { default as CloudRainIcon } from './CloudRainIcon';\nexport { default as CloudSnowIcon } from './CloudSnowIcon';\nexport { default as CodeSnippetIcon } from './CodeSnippetIcon';\nexport { default as CodepenIcon } from './CodepenIcon';\nexport { default as CoinIcon } from './CoinIcon';\nexport { default as CoinsIcon } from './CoinsIcon';\nexport { default as CommandIcon } from './CommandIcon';\nexport { default as CompanyRegistrationIcon } from './CompanyRegistrationIcon';\nexport { default as CompassIcon } from './CompassIcon';\nexport { default as ConfettiIcon } from './ConfettiIcon';\nexport { default as ContactlessPaymentIcon } from './ContactlessPaymentIcon';\nexport { default as CookieIcon } from './CookieIcon';\nexport { default as CopyIcon } from './CopyIcon';\nexport { default as CopyrightIcon } from './CopyrightIcon';\nexport { default as CornerDownLeftIcon } from './CornerDownLeftIcon';\nexport { default as CornerDownRightIcon } from './CornerDownRightIcon';\nexport { default as CornerLeftDownIcon } from './CornerLeftDownIcon';\nexport { default as CornerLeftUpIcon } from './CornerLeftUpIcon';\nexport { default as CornerRightDownIcon } from './CornerRightDownIcon';\nexport { default as CornerRightUpIcon } from './CornerRightUpIcon';\nexport { default as CornerUpLeftIcon } from './CornerUpLeftIcon';\nexport { default as CornerUpRightIcon } from './CornerUpRightIcon';\nexport { default as CpuIcon } from './CpuIcon';\nexport { default as CreditCardIcon } from './CreditCardIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountIcon } from './CurrentAccountIcon';\nexport { default as CustomersIcon } from './CustomersIcon';\nexport { default as CutIcon } from './CutIcon';\nexport { default as DashboardIcon } from './DashboardIcon';\nexport { default as DeleteIcon } from './DeleteIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsIcon } from './DisbursePaymentsIcon';\nexport { default as DiscIcon } from './DiscIcon';\nexport { default as DollarIcon } from './DollarIcon';\nexport { default as DollarsIcon } from './DollarsIcon';\nexport { default as DotIcon } from './DotIcon';\nexport { default as DownloadCloudIcon } from './DownloadCloudIcon';\nexport { default as DownloadIcon } from './DownloadIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceIcon } from './EcommerceIcon';\nexport { default as EditComposeIcon } from './EditComposeIcon';\nexport { default as EditIcon } from './EditIcon';\nexport { default as EditInlineIcon } from './EditInlineIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountIcon } from './EscrowAccountIcon';\nexport { default as ExportIcon } from './ExportIcon';\nexport { default as ExternalLinkIcon } from './ExternalLinkIcon';\nexport { default as EyeIcon } from './EyeIcon';\nexport { default as EyeOffIcon } from './EyeOffIcon';\nexport { default as FacebookIcon } from './FacebookIcon';\nexport { default as FastForwardIcon } from './FastForwardIcon';\nexport { default as FeatherIcon } from './FeatherIcon';\nexport { default as FigmaIcon } from './FigmaIcon';\nexport { default as FileIcon } from './FileIcon';\nexport { default as FileMinusIcon } from './FileMinusIcon';\nexport { default as FilePlusIcon } from './FilePlusIcon';\nexport { default as FileTextIcon } from './FileTextIcon';\nexport { default as FileZipIcon } from './FileZipIcon';\nexport { default as FilmIcon } from './FilmIcon';\nexport { default as FilterIcon } from './FilterIcon';\nexport { default as FlagIcon } from './FlagIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceIcon } from './FreelanceIcon';\nexport { default as FullScreenEnterIcon } from './FullScreenEnterIcon';\nexport { default as FullScreenExitIcon } from './FullScreenExitIcon';\nexport { default as GithubIcon } from './GithubIcon';\nexport { default as GitlabIcon } from './GitlabIcon';\nexport { default as GlobeIcon } from './GlobeIcon';\nexport { default as GridIcon } from './GridIcon';\nexport { default as HashIcon } from './HashIcon';\nexport { default as HeadphoneIcon } from './HeadphoneIcon';\nexport { default as HeadphonesIcon } from './HeadphonesIcon';\nexport { default as HeadsetIcon } from './HeadsetIcon';\nexport { default as HeartIcon } from './HeartIcon';\nexport { default as HelpCircleIcon } from './HelpCircleIcon';\nexport { default as HistoryIcon } from './HistoryIcon';\nexport { default as HomeIcon } from './HomeIcon';\nexport { default as ImageIcon } from './ImageIcon';\nexport { default as InboxIcon } from './InboxIcon';\nexport { default as InfoIcon } from './InfoIcon';\nexport { default as InstagramIcon } from './InstagramIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesIcon } from './LoansForBusinessesIcon';\nexport { default as LockIcon } from './LockIcon';\nexport { default as LogInIcon } from './LogInIcon';\nexport { default as LogOutIcon } from './LogOutIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MailIcon } from './MailIcon';\nexport { default as MailOpenIcon } from './MailOpenIcon';\nexport { default as MapIcon } from './MapIcon';\nexport { default as MapPinIcon } from './MapPinIcon';\nexport { default as MaximizeIcon } from './MaximizeIcon';\nexport { default as MenuDotsIcon } from './MenuDotsIcon';\nexport { default as MenuIcon } from './MenuIcon';\nexport { default as MessageCircleIcon } from './MessageCircleIcon';\nexport { default as MessageSquareIcon } from './MessageSquareIcon';\nexport { default as MicIcon } from './MicIcon';\nexport { default as MicOffIcon } from './MicOffIcon';\nexport { default as MinimizeIcon } from './MinimizeIcon';\nexport { default as MinusCircleIcon } from './MinusCircleIcon';\nexport { default as MinusIcon } from './MinusIcon';\nexport { default as MinusSquareIcon } from './MinusSquareIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreHorizontalIcon } from './MoreHorizontalIcon';\nexport { default as MoreIcon } from './MoreIcon';\nexport { default as MoreVerticalIcon } from './MoreVerticalIcon';\nexport { default as MoveIcon } from './MoveIcon';\nexport { default as MusicIcon } from './MusicIcon';\nexport { default as MyAccountIcon } from './MyAccountIcon';\nexport { default as NavigationIcon } from './NavigationIcon';\nexport { default as OctagonIcon } from './OctagonIcon';\nexport { default as OffersIcon } from './OffersIcon';\nexport { default as OptimizerIcon } from './OptimizerIcon';\nexport { default as PackageIcon } from './PackageIcon';\nexport { default as PaperclipIcon } from './PaperclipIcon';\nexport { default as PauseCircleIcon } from './PauseCircleIcon';\nexport { default as PauseIcon } from './PauseIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetIcon } from './PettyCashBudgetIcon';\nexport { default as PhoneCallIcon } from './PhoneCallIcon';\nexport { default as PhoneForwardedIcon } from './PhoneForwardedIcon';\nexport { default as PhoneIcon } from './PhoneIcon';\nexport { default as PhoneIncomingIcon } from './PhoneIncomingIcon';\nexport { default as PhoneMissedIcon } from './PhoneMissedIcon';\nexport { default as PhoneOffIcon } from './PhoneOffIcon';\nexport { default as PhoneOutgoingIcon } from './PhoneOutgoingIcon';\nexport { default as PictureInPictureIcon } from './PictureInPictureIcon';\nexport { default as PieChartIcon } from './PieChartIcon';\nexport { default as PinIcon } from './PinIcon';\nexport { default as PlayCircleIcon } from './PlayCircleIcon';\nexport { default as PlayIcon } from './PlayIcon';\nexport { default as PlusCircleIcon } from './PlusCircleIcon';\nexport { default as PlusIcon } from './PlusIcon';\nexport { default as PlusSquareIcon } from './PlusSquareIcon';\nexport { default as PocketIcon } from './PocketIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as QRCodeIcon } from './QRCodeIcon';\nexport { default as RadioIcon } from './RadioIcon';\nexport { default as RazorpayIcon } from './RazorpayIcon';\nexport { default as RazorpayXIcon } from './RazorpayXIcon';\nexport { default as RazorpayxPayrollIcon } from './RazorpayxPayrollIcon';\nexport { default as RefreshIcon } from './RefreshIcon';\nexport { default as RepeatIcon } from './RepeatIcon';\nexport { default as ReportsIcon } from './ReportsIcon';\nexport { default as ResizerIcon } from './ResizerIcon';\nexport { default as RewindIcon } from './RewindIcon';\nexport { default as RotateClockWiseIcon } from './RotateClockWiseIcon';\nexport { default as RotateCounterClockWiseIcon } from './RotateCounterClockWiseIcon';\nexport { default as RouteIcon } from './RouteIcon';\nexport { default as RoutesIcon } from './RoutesIcon';\nexport { default as RupeeIcon } from './RupeeIcon';\nexport { default as RupeesIcon } from './RupeesIcon';\nexport { default as SaasIcon } from './SaasIcon';\nexport { default as SaveIcon } from './SaveIcon';\nexport { default as ScissorsIcon } from './ScissorsIcon';\nexport { default as SearchIcon } from './SearchIcon';\nexport { default as SendIcon } from './SendIcon';\nexport { default as ServerIcon } from './ServerIcon';\nexport { default as SettingsIcon } from './SettingsIcon';\nexport { default as SettlementsIcon } from './SettlementsIcon';\nexport { default as ShareIcon } from './ShareIcon';\nexport { default as ShieldIcon } from './ShieldIcon';\nexport { default as ShoppingBagIcon } from './ShoppingBagIcon';\nexport { default as ShoppingCartIcon } from './ShoppingCartIcon';\nexport { default as ShuffleIcon } from './ShuffleIcon';\nexport { default as SidebarIcon } from './SidebarIcon';\nexport { default as SkipBackIcon } from './SkipBackIcon';\nexport { default as SkipForwardIcon } from './SkipForwardIcon';\nexport { default as SlackIcon } from './SlackIcon';\nexport { default as SlashIcon } from './SlashIcon';\nexport { default as SlidersIcon } from './SlidersIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SourceToPayIcon } from './SourceToPayIcon';\nexport { default as SparklesIcon } from './SparklesIcon';\nexport { default as SpeakerIcon } from './SpeakerIcon';\nexport { default as SquareIcon } from './SquareIcon';\nexport { default as StampIcon } from './StampIcon';\nexport { default as StarIcon } from './StarIcon';\nexport { default as StopCircleIcon } from './StopCircleIcon';\nexport { default as StorefrontIcon } from './StorefrontIcon';\nexport { default as SubscriptionsIcon } from './SubscriptionsIcon';\nexport { default as SunIcon } from './SunIcon';\nexport { default as SunriseIcon } from './SunriseIcon';\nexport { default as SunsetIcon } from './SunsetIcon';\nexport { default as TabletIcon } from './TabletIcon';\nexport { default as TagIcon } from './TagIcon';\nexport { default as TargetIcon } from './TargetIcon';\nexport { default as TaxPaymentsIcon } from './TaxPaymentsIcon';\nexport { default as TestIcon } from './TestIcon';\nexport { default as ThermometerIcon } from './ThermometerIcon';\nexport { default as ThumbsDownIcon } from './ThumbsDownIcon';\nexport { default as ThumbsUpIcon } from './ThumbsUpIcon';\nexport { default as TicketIcon } from './TicketIcon';\nexport { default as ToggleLeftIcon } from './ToggleLeftIcon';\nexport { default as ToggleRightIcon } from './ToggleRightIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TrashIcon } from './TrashIcon';\nexport { default as TrendingDownIcon } from './TrendingDownIcon';\nexport { default as TrendingUpIcon } from './TrendingUpIcon';\nexport { default as TriangleIcon } from './TriangleIcon';\nexport { default as TvIcon } from './TvIcon';\nexport { default as TwitterIcon } from './TwitterIcon';\nexport { default as TypeIcon } from './TypeIcon';\nexport { default as UmbrellaIcon } from './UmbrellaIcon';\nexport { default as UnderlineIcon } from './UnderlineIcon';\nexport { default as UnlockIcon } from './UnlockIcon';\nexport { default as UpiAutopayIcon } from './UpiAutopayIcon';\nexport { default as UploadCloudIcon } from './UploadCloudIcon';\nexport { default as UploadIcon } from './UploadIcon';\nexport { default as UserCheckIcon } from './UserCheckIcon';\nexport { default as UserIcon } from './UserIcon';\nexport { default as UserMinusIcon } from './UserMinusIcon';\nexport { default as UserPlusIcon } from './UserPlusIcon';\nexport { default as UserXIcon } from './UserXIcon';\nexport { default as UsersIcon } from './UsersIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoIcon } from './ViewLiveDemoIcon';\nexport { default as VoicemailIcon } from './VoicemailIcon';\nexport { default as VolumeHighIcon } from './VolumeHighIcon';\nexport { default as VolumeIcon } from './VolumeIcon';\nexport { default as VolumeLowIcon } from './VolumeLowIcon';\nexport { default as VolumeMuteIcon } from './VolumeMuteIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WifiIcon } from './WifiIcon';\nexport { default as WifiOffIcon } from './WifiOffIcon';\nexport { default as WindIcon } from './WindIcon';\nexport { default as XCircleIcon } from './XCircleIcon';\nexport { default as XSquareIcon } from './XSquareIcon';\nexport { default as ZapIcon } from './ZapIcon';\nexport { default as ZoomInIcon } from './ZoomInIcon';\nexport { default as ZoomOutIcon } from './ZoomOutIcon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../src/components/Icons/index.ts"],"sourcesContent":["// This file is auto generated\n// Modify at blade/plop/icon/iconReexports.ts.hbs\nexport * from './types';\nexport { default as AcceptPaymentsIcon } from './AcceptPaymentsIcon';\nexport { default as ActivityIcon } from './ActivityIcon';\nexport { default as AddressBookIcon } from './AddressBookIcon';\nexport { default as AffordabilityIcon } from './AffordabilityIcon';\nexport { default as AirplayIcon } from './AirplayIcon';\nexport { default as AlertCircleIcon } from './AlertCircleIcon';\nexport { default as AlertOctagonIcon } from './AlertOctagonIcon';\nexport { default as AlertOnlyIcon } from './AlertOnlyIcon';\nexport { default as AlertTriangleIcon } from './AlertTriangleIcon';\nexport { default as AlignCenterIcon } from './AlignCenterIcon';\nexport { default as AlignJustifyIcon } from './AlignJustifyIcon';\nexport { default as AlignLeftIcon } from './AlignLeftIcon';\nexport { default as AlignRightIcon } from './AlignRightIcon';\nexport { default as AnchorIcon } from './AnchorIcon';\nexport { default as AnnouncementIcon } from './AnnouncementIcon';\nexport { default as ApertureIcon } from './ApertureIcon';\nexport { default as AppStoreIcon } from './AppStoreIcon';\nexport { default as ArrowDownIcon } from './ArrowDownIcon';\nexport { default as ArrowDownLeftIcon } from './ArrowDownLeftIcon';\nexport { default as ArrowDownRightIcon } from './ArrowDownRightIcon';\nexport { default as ArrowLeftIcon } from './ArrowLeftIcon';\nexport { default as ArrowRightIcon } from './ArrowRightIcon';\nexport { default as ArrowUpIcon } from './ArrowUpIcon';\nexport { default as ArrowUpLeftIcon } from './ArrowUpLeftIcon';\nexport { default as ArrowUpRightIcon } from './ArrowUpRightIcon';\nexport { default as AtSignIcon } from './AtSignIcon';\nexport { default as AttachmentIcon } from './AttachmentIcon';\nexport { default as AutomateAccountingIcon } from './AutomateAccountingIcon';\nexport { default as AutomatePayrollIcon } from './AutomatePayrollIcon';\nexport { default as AwardIcon } from './AwardIcon';\nexport { default as BankAccountVerificationIcon } from './BankAccountVerificationIcon';\nexport { default as BankIcon } from './BankIcon';\nexport { default as BarChartAltIcon } from './BarChartAltIcon';\nexport { default as BarChartIcon } from './BarChartIcon';\nexport { default as BarCodeIcon } from './BarCodeIcon';\nexport { default as Battery100PercentIcon } from './Battery100PercentIcon';\nexport { default as Battery20PercentIcon } from './Battery20PercentIcon';\nexport { default as Battery40PercentIcon } from './Battery40PercentIcon';\nexport { default as Battery60PercentIcon } from './Battery60PercentIcon';\nexport { default as Battery80PercentIcon } from './Battery80PercentIcon';\nexport { default as BatteryChargingIcon } from './BatteryChargingIcon';\nexport { default as BatteryIcon } from './BatteryIcon';\nexport { default as BellIcon } from './BellIcon';\nexport { default as BellOffIcon } from './BellOffIcon';\nexport { default as BfsiIcon } from './BfsiIcon';\nexport { default as BillIcon } from './BillIcon';\nexport { default as BillMeIcon } from './BillMeIcon';\nexport { default as BluetoothIcon } from './BluetoothIcon';\nexport { default as BoldIcon } from './BoldIcon';\nexport { default as BookIcon } from './BookIcon';\nexport { default as BookmarkIcon } from './BookmarkIcon';\nexport { default as BoxIcon } from './BoxIcon';\nexport { default as BriefcaseIcon } from './BriefcaseIcon';\nexport { default as BugIcon } from './BugIcon';\nexport { default as BuildingIcon } from './BuildingIcon';\nexport { default as BulkPayoutsIcon } from './BulkPayoutsIcon';\nexport { default as BusinessBankingIcon } from './BusinessBankingIcon';\nexport { default as BusinessSpendManagementIcon } from './BusinessSpendManagementIcon';\nexport { default as CalendarIcon } from './CalendarIcon';\nexport { default as CameraIcon } from './CameraIcon';\nexport { default as CameraOffIcon } from './CameraOffIcon';\nexport { default as CashIcon } from './CashIcon';\nexport { default as CastIcon } from './CastIcon';\nexport { default as CheckCircle2Icon } from './CheckCircle2Icon';\nexport { default as CheckCircleIcon } from './CheckCircleIcon';\nexport { default as CheckIcon } from './CheckIcon';\nexport { default as CheckSquareIcon } from './CheckSquareIcon';\nexport { default as ChevronDownIcon } from './ChevronDownIcon';\nexport { default as ChevronLeftIcon } from './ChevronLeftIcon';\nexport { default as ChevronRightIcon } from './ChevronRightIcon';\nexport { default as ChevronUpIcon } from './ChevronUpIcon';\nexport { default as ChevronsDownIcon } from './ChevronsDownIcon';\nexport { default as ChevronsLeftIcon } from './ChevronsLeftIcon';\nexport { default as ChevronsRightIcon } from './ChevronsRightIcon';\nexport { default as ChevronsUpIcon } from './ChevronsUpIcon';\nexport { default as ChromeIcon } from './ChromeIcon';\nexport { default as CircleIcon } from './CircleIcon';\nexport { default as ClipboardIcon } from './ClipboardIcon';\nexport { default as ClockIcon } from './ClockIcon';\nexport { default as CloseIcon } from './CloseIcon';\nexport { default as ClosedCaptioningIcon } from './ClosedCaptioningIcon';\nexport { default as CloudDrizzleIcon } from './CloudDrizzleIcon';\nexport { default as CloudIcon } from './CloudIcon';\nexport { default as CloudLightningIcon } from './CloudLightningIcon';\nexport { default as CloudOffIcon } from './CloudOffIcon';\nexport { default as CloudRainIcon } from './CloudRainIcon';\nexport { default as CloudSnowIcon } from './CloudSnowIcon';\nexport { default as CodeSnippetIcon } from './CodeSnippetIcon';\nexport { default as CodepenIcon } from './CodepenIcon';\nexport { default as CoinIcon } from './CoinIcon';\nexport { default as CoinsIcon } from './CoinsIcon';\nexport { default as CommandIcon } from './CommandIcon';\nexport { default as CompanyRegistrationIcon } from './CompanyRegistrationIcon';\nexport { default as CompassIcon } from './CompassIcon';\nexport { default as ConfettiIcon } from './ConfettiIcon';\nexport { default as ContactlessPaymentIcon } from './ContactlessPaymentIcon';\nexport { default as CookieIcon } from './CookieIcon';\nexport { default as CopyIcon } from './CopyIcon';\nexport { default as CopyrightIcon } from './CopyrightIcon';\nexport { default as CornerDownLeftIcon } from './CornerDownLeftIcon';\nexport { default as CornerDownRightIcon } from './CornerDownRightIcon';\nexport { default as CornerLeftDownIcon } from './CornerLeftDownIcon';\nexport { default as CornerLeftUpIcon } from './CornerLeftUpIcon';\nexport { default as CornerRightDownIcon } from './CornerRightDownIcon';\nexport { default as CornerRightUpIcon } from './CornerRightUpIcon';\nexport { default as CornerUpLeftIcon } from './CornerUpLeftIcon';\nexport { default as CornerUpRightIcon } from './CornerUpRightIcon';\nexport { default as CpuIcon } from './CpuIcon';\nexport { default as CreditCardIcon } from './CreditCardIcon';\nexport { default as CreditsAndLoansIcon } from './CreditsAndLoansIcon';\nexport { default as CropIcon } from './CropIcon';\nexport { default as CrosshairIcon } from './CrosshairIcon';\nexport { default as CurrentAccountIcon } from './CurrentAccountIcon';\nexport { default as CustomersIcon } from './CustomersIcon';\nexport { default as CutIcon } from './CutIcon';\nexport { default as DashboardIcon } from './DashboardIcon';\nexport { default as DeleteIcon } from './DeleteIcon';\nexport { default as DigitalLendingIcon } from './DigitalLendingIcon';\nexport { default as DisbursePaymentsIcon } from './DisbursePaymentsIcon';\nexport { default as DiscIcon } from './DiscIcon';\nexport { default as DollarIcon } from './DollarIcon';\nexport { default as DollarsIcon } from './DollarsIcon';\nexport { default as DotIcon } from './DotIcon';\nexport { default as DownloadCloudIcon } from './DownloadCloudIcon';\nexport { default as DownloadIcon } from './DownloadIcon';\nexport { default as DropletIcon } from './DropletIcon';\nexport { default as EcommerceIcon } from './EcommerceIcon';\nexport { default as EditComposeIcon } from './EditComposeIcon';\nexport { default as EditIcon } from './EditIcon';\nexport { default as EditInlineIcon } from './EditInlineIcon';\nexport { default as EducationIcon } from './EducationIcon';\nexport { default as EqualsIcon } from './EqualsIcon';\nexport { default as EscrowAccountIcon } from './EscrowAccountIcon';\nexport { default as ExportIcon } from './ExportIcon';\nexport { default as ExternalLinkIcon } from './ExternalLinkIcon';\nexport { default as EyeIcon } from './EyeIcon';\nexport { default as EyeOffIcon } from './EyeOffIcon';\nexport { default as FacebookIcon } from './FacebookIcon';\nexport { default as FastForwardIcon } from './FastForwardIcon';\nexport { default as FeatherIcon } from './FeatherIcon';\nexport { default as FigmaIcon } from './FigmaIcon';\nexport { default as FileIcon } from './FileIcon';\nexport { default as FileMinusIcon } from './FileMinusIcon';\nexport { default as FilePlusIcon } from './FilePlusIcon';\nexport { default as FileTextIcon } from './FileTextIcon';\nexport { default as FileZipIcon } from './FileZipIcon';\nexport { default as FilmIcon } from './FilmIcon';\nexport { default as FilterIcon } from './FilterIcon';\nexport { default as FlagIcon } from './FlagIcon';\nexport { default as FolderIcon } from './FolderIcon';\nexport { default as ForexManagementIcon } from './ForexManagementIcon';\nexport { default as FreelanceIcon } from './FreelanceIcon';\nexport { default as FullScreenEnterIcon } from './FullScreenEnterIcon';\nexport { default as FullScreenExitIcon } from './FullScreenExitIcon';\nexport { default as GithubIcon } from './GithubIcon';\nexport { default as GitlabIcon } from './GitlabIcon';\nexport { default as GlobeIcon } from './GlobeIcon';\nexport { default as GridIcon } from './GridIcon';\nexport { default as HashIcon } from './HashIcon';\nexport { default as HeadphoneIcon } from './HeadphoneIcon';\nexport { default as HeadphonesIcon } from './HeadphonesIcon';\nexport { default as HeadsetIcon } from './HeadsetIcon';\nexport { default as HeartIcon } from './HeartIcon';\nexport { default as HelpCircleIcon } from './HelpCircleIcon';\nexport { default as HistoryIcon } from './HistoryIcon';\nexport { default as HomeIcon } from './HomeIcon';\nexport { default as ImageIcon } from './ImageIcon';\nexport { default as InboxIcon } from './InboxIcon';\nexport { default as InfoIcon } from './InfoIcon';\nexport { default as InstagramIcon } from './InstagramIcon';\nexport { default as InstantSettlementIcon } from './InstantSettlementIcon';\nexport { default as InternationalPaymentsIcon } from './InternationalPaymentsIcon';\nexport { default as InvoicesIcon } from './InvoicesIcon';\nexport { default as ItalicIcon } from './ItalicIcon';\nexport { default as LayersIcon } from './LayersIcon';\nexport { default as LayoutIcon } from './LayoutIcon';\nexport { default as LifeBuoyIcon } from './LifeBuoyIcon';\nexport { default as LinkIcon } from './LinkIcon';\nexport { default as ListIcon } from './ListIcon';\nexport { default as LoaderIcon } from './LoaderIcon';\nexport { default as LoansForBusinessesIcon } from './LoansForBusinessesIcon';\nexport { default as LockIcon } from './LockIcon';\nexport { default as LogInIcon } from './LogInIcon';\nexport { default as LogOutIcon } from './LogOutIcon';\nexport { default as MagicCheckoutIcon } from './MagicCheckoutIcon';\nexport { default as MailIcon } from './MailIcon';\nexport { default as MailOpenIcon } from './MailOpenIcon';\nexport { default as MapIcon } from './MapIcon';\nexport { default as MapPinIcon } from './MapPinIcon';\nexport { default as MaximizeIcon } from './MaximizeIcon';\nexport { default as MenuDotsIcon } from './MenuDotsIcon';\nexport { default as MenuIcon } from './MenuIcon';\nexport { default as MessageCircleIcon } from './MessageCircleIcon';\nexport { default as MessageSquareIcon } from './MessageSquareIcon';\nexport { default as MicIcon } from './MicIcon';\nexport { default as MicOffIcon } from './MicOffIcon';\nexport { default as MinimizeIcon } from './MinimizeIcon';\nexport { default as MinusCircleIcon } from './MinusCircleIcon';\nexport { default as MinusIcon } from './MinusIcon';\nexport { default as MinusSquareIcon } from './MinusSquareIcon';\nexport { default as MobileAppIcon } from './MobileAppIcon';\nexport { default as MonitorIcon } from './MonitorIcon';\nexport { default as MoonIcon } from './MoonIcon';\nexport { default as MoreHorizontalIcon } from './MoreHorizontalIcon';\nexport { default as MoreIcon } from './MoreIcon';\nexport { default as MoreVerticalIcon } from './MoreVerticalIcon';\nexport { default as MoveIcon } from './MoveIcon';\nexport { default as MusicIcon } from './MusicIcon';\nexport { default as MyAccountIcon } from './MyAccountIcon';\nexport { default as NavigationIcon } from './NavigationIcon';\nexport { default as NoSignalIcon } from './NoSignalIcon';\nexport { default as OctagonIcon } from './OctagonIcon';\nexport { default as OffersIcon } from './OffersIcon';\nexport { default as OptimizerIcon } from './OptimizerIcon';\nexport { default as PackageIcon } from './PackageIcon';\nexport { default as PaperclipIcon } from './PaperclipIcon';\nexport { default as PauseCircleIcon } from './PauseCircleIcon';\nexport { default as PauseIcon } from './PauseIcon';\nexport { default as PaymentButtonIcon } from './PaymentButtonIcon';\nexport { default as PaymentButtonsIcon } from './PaymentButtonsIcon';\nexport { default as PaymentGatewayIcon } from './PaymentGatewayIcon';\nexport { default as PaymentLinkIcon } from './PaymentLinkIcon';\nexport { default as PaymentLinksIcon } from './PaymentLinksIcon';\nexport { default as PaymentPagesIcon } from './PaymentPagesIcon';\nexport { default as PayoutLinkIcon } from './PayoutLinkIcon';\nexport { default as PayrollAddonsIcon } from './PayrollAddonsIcon';\nexport { default as PayrollForCaIcon } from './PayrollForCaIcon';\nexport { default as PayrollForStartupOrSmeIcon } from './PayrollForStartupOrSmeIcon';\nexport { default as PercentIcon } from './PercentIcon';\nexport { default as PettyCashBudgetIcon } from './PettyCashBudgetIcon';\nexport { default as PhoneCallIcon } from './PhoneCallIcon';\nexport { default as PhoneForwardedIcon } from './PhoneForwardedIcon';\nexport { default as PhoneIcon } from './PhoneIcon';\nexport { default as PhoneIncomingIcon } from './PhoneIncomingIcon';\nexport { default as PhoneMissedIcon } from './PhoneMissedIcon';\nexport { default as PhoneOffIcon } from './PhoneOffIcon';\nexport { default as PhoneOutgoingIcon } from './PhoneOutgoingIcon';\nexport { default as PictureInPictureIcon } from './PictureInPictureIcon';\nexport { default as PieChartIcon } from './PieChartIcon';\nexport { default as PinIcon } from './PinIcon';\nexport { default as PlayCircleIcon } from './PlayCircleIcon';\nexport { default as PlayIcon } from './PlayIcon';\nexport { default as PlusCircleIcon } from './PlusCircleIcon';\nexport { default as PlusIcon } from './PlusIcon';\nexport { default as PlusSquareIcon } from './PlusSquareIcon';\nexport { default as PocketIcon } from './PocketIcon';\nexport { default as PosIcon } from './PosIcon';\nexport { default as PowerIcon } from './PowerIcon';\nexport { default as PrinterIcon } from './PrinterIcon';\nexport { default as QRCodeIcon } from './QRCodeIcon';\nexport { default as RadioIcon } from './RadioIcon';\nexport { default as RazorpayIcon } from './RazorpayIcon';\nexport { default as RazorpayXIcon } from './RazorpayXIcon';\nexport { default as RazorpayxPayrollIcon } from './RazorpayxPayrollIcon';\nexport { default as RefreshIcon } from './RefreshIcon';\nexport { default as RepeatIcon } from './RepeatIcon';\nexport { default as ReportsIcon } from './ReportsIcon';\nexport { default as ResizerIcon } from './ResizerIcon';\nexport { default as RewindIcon } from './RewindIcon';\nexport { default as RotateClockWiseIcon } from './RotateClockWiseIcon';\nexport { default as RotateCounterClockWiseIcon } from './RotateCounterClockWiseIcon';\nexport { default as RouteIcon } from './RouteIcon';\nexport { default as RoutesIcon } from './RoutesIcon';\nexport { default as RupeeIcon } from './RupeeIcon';\nexport { default as RupeesIcon } from './RupeesIcon';\nexport { default as SaasIcon } from './SaasIcon';\nexport { default as SaveIcon } from './SaveIcon';\nexport { default as ScissorsIcon } from './ScissorsIcon';\nexport { default as SearchIcon } from './SearchIcon';\nexport { default as SendIcon } from './SendIcon';\nexport { default as ServerIcon } from './ServerIcon';\nexport { default as SettingsIcon } from './SettingsIcon';\nexport { default as SettlementsIcon } from './SettlementsIcon';\nexport { default as ShareIcon } from './ShareIcon';\nexport { default as ShieldIcon } from './ShieldIcon';\nexport { default as ShoppingBagIcon } from './ShoppingBagIcon';\nexport { default as ShoppingCartIcon } from './ShoppingCartIcon';\nexport { default as ShuffleIcon } from './ShuffleIcon';\nexport { default as SidebarIcon } from './SidebarIcon';\nexport { default as Signal1BarIcon } from './Signal1BarIcon';\nexport { default as Signal2BarIcon } from './Signal2BarIcon';\nexport { default as Signal3BarIcon } from './Signal3BarIcon';\nexport { default as Signal4BarIcon } from './Signal4BarIcon';\nexport { default as SignalIcon } from './SignalIcon';\nexport { default as SimCardIcon } from './SimCardIcon';\nexport { default as SkipBackIcon } from './SkipBackIcon';\nexport { default as SkipForwardIcon } from './SkipForwardIcon';\nexport { default as SlackIcon } from './SlackIcon';\nexport { default as SlashIcon } from './SlashIcon';\nexport { default as SlidersIcon } from './SlidersIcon';\nexport { default as SmartCollectIcon } from './SmartCollectIcon';\nexport { default as SmartphoneIcon } from './SmartphoneIcon';\nexport { default as SolutionsIcon } from './SolutionsIcon';\nexport { default as SourceToPayIcon } from './SourceToPayIcon';\nexport { default as SparklesIcon } from './SparklesIcon';\nexport { default as SpeakerIcon } from './SpeakerIcon';\nexport { default as SquareIcon } from './SquareIcon';\nexport { default as StampIcon } from './StampIcon';\nexport { default as StarIcon } from './StarIcon';\nexport { default as StopCircleIcon } from './StopCircleIcon';\nexport { default as StorefrontIcon } from './StorefrontIcon';\nexport { default as SubscriptionsIcon } from './SubscriptionsIcon';\nexport { default as SunIcon } from './SunIcon';\nexport { default as SunriseIcon } from './SunriseIcon';\nexport { default as SunsetIcon } from './SunsetIcon';\nexport { default as TabletIcon } from './TabletIcon';\nexport { default as TagIcon } from './TagIcon';\nexport { default as TargetIcon } from './TargetIcon';\nexport { default as TaxPaymentsIcon } from './TaxPaymentsIcon';\nexport { default as TestIcon } from './TestIcon';\nexport { default as ThermometerIcon } from './ThermometerIcon';\nexport { default as ThumbsDownIcon } from './ThumbsDownIcon';\nexport { default as ThumbsUpIcon } from './ThumbsUpIcon';\nexport { default as TicketIcon } from './TicketIcon';\nexport { default as ToggleLeftIcon } from './ToggleLeftIcon';\nexport { default as ToggleRightIcon } from './ToggleRightIcon';\nexport { default as TokenHqIcon } from './TokenHqIcon';\nexport { default as TrademarkIcon } from './TrademarkIcon';\nexport { default as TrademarkRegisteredIcon } from './TrademarkRegisteredIcon';\nexport { default as TransactionsIcon } from './TransactionsIcon';\nexport { default as TrashIcon } from './TrashIcon';\nexport { default as TrendingDownIcon } from './TrendingDownIcon';\nexport { default as TrendingUpIcon } from './TrendingUpIcon';\nexport { default as TriangleIcon } from './TriangleIcon';\nexport { default as TvIcon } from './TvIcon';\nexport { default as TwitterIcon } from './TwitterIcon';\nexport { default as TypeIcon } from './TypeIcon';\nexport { default as UmbrellaIcon } from './UmbrellaIcon';\nexport { default as UnderlineIcon } from './UnderlineIcon';\nexport { default as UnlockIcon } from './UnlockIcon';\nexport { default as UpiAutopayIcon } from './UpiAutopayIcon';\nexport { default as UpiIcon } from './UpiIcon';\nexport { default as UploadCloudIcon } from './UploadCloudIcon';\nexport { default as UploadIcon } from './UploadIcon';\nexport { default as UserCheckIcon } from './UserCheckIcon';\nexport { default as UserIcon } from './UserIcon';\nexport { default as UserMinusIcon } from './UserMinusIcon';\nexport { default as UserPlusIcon } from './UserPlusIcon';\nexport { default as UserXIcon } from './UserXIcon';\nexport { default as UsersIcon } from './UsersIcon';\nexport { default as VendorPaymentsIcon } from './VendorPaymentsIcon';\nexport { default as VideoIcon } from './VideoIcon';\nexport { default as VideoOffIcon } from './VideoOffIcon';\nexport { default as ViewLiveDemoIcon } from './ViewLiveDemoIcon';\nexport { default as VoicemailIcon } from './VoicemailIcon';\nexport { default as VolumeHighIcon } from './VolumeHighIcon';\nexport { default as VolumeIcon } from './VolumeIcon';\nexport { default as VolumeLowIcon } from './VolumeLowIcon';\nexport { default as VolumeMuteIcon } from './VolumeMuteIcon';\nexport { default as WalletIcon } from './WalletIcon';\nexport { default as WatchIcon } from './WatchIcon';\nexport { default as WifiIcon } from './WifiIcon';\nexport { default as WifiOffIcon } from './WifiOffIcon';\nexport { default as WindIcon } from './WindIcon';\nexport { default as XCircleIcon } from './XCircleIcon';\nexport { default as XSquareIcon } from './XSquareIcon';\nexport { default as YoutubeIcon } from './YoutubeIcon';\nexport { default as ZapIcon } from './ZapIcon';\nexport { default as ZoomInIcon } from './ZoomInIcon';\nexport { default as ZoomOutIcon } from './ZoomOutIcon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sources":["../../../../../../../src/components/Input/TextInput/TextInput.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport type { ReactElement, ReactNode } from 'react';\nimport type { TextInput as TextInputReactNative } from 'react-native';\nimport type { BaseInputProps } from '../BaseInput';\nimport { BaseInput } from '../BaseInput';\nimport { getKeyboardAndAutocompleteProps } from '../BaseInput/utils';\nimport type { TaggedInputProps } from '../BaseInput/useTaggedInput';\nimport { useTaggedInput } from '../BaseInput/useTaggedInput';\nimport isEmpty from '~utils/lodashButBetter/isEmpty';\nimport type { IconComponent } from '~components/Icons';\nimport { CloseIcon } from '~components/Icons';\nimport { IconButton } from '~components/Button/IconButton';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { MetaConstants } from '~utils/metaAttribute';\nimport { CharacterCounter } from '~components/Form/CharacterCounter';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Spinner } from '~components/Spinner';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getPlatformType } from '~utils';\nimport { useMergeRefs } from '~utils/useMergeRefs';\nimport type { BladeElementRef, BladeElementRefWithValue } from '~utils/types';\nimport { hintMarginTop } from '~components/Form/formTokens';\n\n// Users should use PasswordInput for input type password\ntype Type = Exclude<BaseInputProps['type'], 'password'>;\n\ntype TextInputCommonProps = Pick<\n BaseInputProps,\n | 'label'\n | 'accessibilityLabel'\n | 'labelPosition'\n | 'necessityIndicator'\n | 'validationState'\n | 'helpText'\n | 'errorText'\n | 'successText'\n | 'placeholder'\n | 'defaultValue'\n | 'name'\n | 'onChange'\n | 'onFocus'\n | 'onBlur'\n | 'value'\n | 'isDisabled'\n | 'isRequired'\n | 'prefix'\n | 'suffix'\n | 'maxCharacters'\n | 'autoFocus'\n | 'keyboardReturnKeyType'\n | 'autoCompleteSuggestionType'\n | 'onSubmit'\n | 'autoCapitalize'\n | 'testID'\n | 'onClick'\n | 'size'\n | 'leadingIcon'\n | 'trailingButton'\n | 'trailingIcon'\n> & {\n /**\n * Decides whether to render a clear icon button\n */\n showClearButton?: boolean;\n\n /**\n * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`\n */\n onClearButtonClick?: () => void;\n\n /**\n * Decides whether to show a loading spinner for the input field.\n */\n isLoading?: boolean;\n\n /**\n * Icon that will be rendered at the beginning of the input field\n * @deprecated Use `leadingIcon` instead. This prop will be removed in the next major version.\n */\n icon?: IconComponent;\n /**\n * Type of Input Field to be rendered. Use `PasswordInput` for type `password`\n *\n *\n * **Note on number type**\n *\n * `type=\"number\"` internally uses `inputMode=\"numeric\"` instead of HTML's `type=\"number\"` which also allows text characters.\n * If you have a usecase where you only want to support number input, you can handle it on validations end.\n *\n * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning\n *\n * @default text\n */\n type?: Type;\n} & TaggedInputProps &\n StyledPropsBlade;\n\n/*\n Mandatory accessibilityLabel prop when label is not provided\n*/\ntype TextInputPropsWithA11yLabel = {\n /**\n * Label to be shown for the input field\n */\n label?: undefined;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel: string;\n};\n\n/*\n Optional accessibilityLabel prop when label is provided\n*/\ntype TextInputPropsWithLabel = {\n /**\n * Label to be shown for the input field\n */\n label: string;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel?: string;\n};\n\ntype TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) &\n TextInputCommonProps;\n\n// need to do this to tell TS to infer type as TextInput of React Native and make it believe that `ref.current.clear()` exists\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isReactNative = (_textInputRef: any): _textInputRef is TextInputReactNative => {\n return getPlatformType() === 'react-native';\n};\n\nconst _TextInput: React.ForwardRefRenderFunction<BladeElementRef, TextInputProps> = (\n {\n label,\n accessibilityLabel,\n labelPosition = 'top',\n placeholder,\n type = 'text',\n defaultValue,\n name,\n value,\n maxCharacters,\n onChange,\n onClick,\n onFocus,\n onBlur,\n onSubmit,\n isDisabled,\n necessityIndicator,\n validationState,\n errorText,\n helpText,\n successText,\n isRequired,\n icon,\n prefix,\n showClearButton,\n onClearButtonClick,\n isLoading,\n suffix,\n autoFocus,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n testID,\n size = 'medium',\n leadingIcon,\n trailingIcon,\n isTaggedInput,\n tags,\n onTagChange,\n ...styledProps\n },\n ref,\n): ReactElement => {\n const textInputRef = React.useRef<BladeElementRefWithValue>(null);\n const mergedRef = useMergeRefs(ref, textInputRef);\n const [shouldShowClearButton, setShouldShowClearButton] = useState(false);\n const [isInputFocussed, setIsInputFocussed] = useState(autoFocus ?? false);\n const {\n activeTagIndex,\n setActiveTagIndex,\n getTags,\n handleTaggedInputKeydown,\n handleTaggedInputChange,\n handleTagsClear,\n } = useTaggedInput({\n isTaggedInput,\n tags,\n onTagChange,\n isDisabled,\n onChange,\n name,\n value,\n inputRef: textInputRef,\n });\n\n React.useEffect(() => {\n setShouldShowClearButton(Boolean(showClearButton && (defaultValue ?? value)));\n }, [showClearButton, defaultValue, value]);\n\n const renderInteractionElement = (): ReactNode => {\n if (isLoading) {\n return <Spinner accessibilityLabel=\"Loading Content\" color=\"primary\" />;\n }\n\n if (shouldShowClearButton) {\n return (\n <IconButton\n size=\"medium\"\n icon={CloseIcon}\n onClick={() => {\n if (isEmpty(value) && textInputRef.current) {\n // when the input field is uncontrolled take the ref and clear the input and then call the onClearButtonClick function\n if (isReactNative(textInputRef.current)) {\n textInputRef.current.clear();\n textInputRef.current.focus();\n } else if (textInputRef.current instanceof HTMLInputElement) {\n textInputRef.current.value = '';\n textInputRef.current.focus();\n }\n }\n handleTagsClear();\n // if the input field is controlled just call the click handler and the value change shall be left upto the consumer\n onClearButtonClick?.();\n textInputRef?.current?.focus();\n setShouldShowClearButton(false);\n }}\n isDisabled={isDisabled}\n accessibilityLabel=\"Clear Input Content\"\n />\n );\n }\n\n return null;\n };\n\n return (\n <BaseInput\n id=\"textinput\"\n componentName={MetaConstants.TextInput}\n ref={mergedRef}\n label={label as string}\n accessibilityLabel={accessibilityLabel}\n hideLabelText={!Boolean(label)}\n labelPosition={labelPosition}\n placeholder={placeholder}\n defaultValue={defaultValue}\n value={value}\n name={name}\n maxCharacters={maxCharacters}\n isDropdownTrigger={isTaggedInput}\n tags={isTaggedInput ? getTags({ size }) : undefined}\n showAllTags={isInputFocussed}\n maxTagRows=\"single\"\n activeTagIndex={activeTagIndex}\n setActiveTagIndex={setActiveTagIndex}\n onChange={({ name, value }) => {\n if (showClearButton && value?.length) {\n // show the clear button when the user starts typing in\n setShouldShowClearButton(true);\n }\n\n if (shouldShowClearButton && !value?.length) {\n // hide the clear button when the input field is empty\n setShouldShowClearButton(false);\n }\n\n handleTaggedInputChange({ name, value });\n onChange?.({ name, value });\n }}\n onClick={onClick}\n onFocus={(e) => {\n setIsInputFocussed(true);\n onFocus?.(e);\n }}\n onBlur={(e) => {\n setIsInputFocussed(false);\n onBlur?.(e);\n }}\n onKeyDown={(e) => {\n handleTaggedInputKeydown(e);\n }}\n onSubmit={onSubmit}\n isDisabled={isDisabled}\n necessityIndicator={necessityIndicator}\n isRequired={isRequired}\n leadingIcon={leadingIcon ?? icon}\n prefix={prefix}\n trailingInteractionElement={renderInteractionElement()}\n trailingIcon={trailingIcon}\n suffix={suffix}\n validationState={validationState}\n errorText={errorText}\n helpText={helpText}\n successText={successText}\n trailingFooterSlot={(value) => {\n return maxCharacters ? (\n <BaseBox marginTop={hintMarginTop[size]} marginRight=\"spacing.1\">\n <CharacterCounter\n currentCount={value?.length ?? 0}\n maxCount={maxCharacters}\n size={size}\n />\n </BaseBox>\n ) : null;\n }}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n testID={testID}\n {...getKeyboardAndAutocompleteProps({\n type,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n })}\n size={size}\n {...styledProps}\n />\n );\n};\n\nconst TextInput = assignWithoutSideEffects(React.forwardRef(_TextInput), {\n displayName: 'TextInput',\n});\n\nexport type { TextInputProps };\nexport { TextInput };\n"],"names":["isReactNative","_textInputRef","getPlatformType","_TextInput","_ref","ref","label","accessibilityLabel","_ref$labelPosition","labelPosition","placeholder","_ref$type","type","defaultValue","name","value","maxCharacters","onChange","onClick","onFocus","onBlur","onSubmit","isDisabled","necessityIndicator","validationState","errorText","helpText","successText","isRequired","icon","prefix","showClearButton","onClearButtonClick","isLoading","suffix","autoFocus","keyboardReturnKeyType","autoCompleteSuggestionType","autoCapitalize","testID","_ref$size","size","leadingIcon","trailingIcon","isTaggedInput","tags","onTagChange","styledProps","_objectWithoutProperties","_excluded","textInputRef","React","useRef","mergedRef","useMergeRefs","_useState","useState","_useState2","_slicedToArray","shouldShowClearButton","setShouldShowClearButton","_useState3","_useState4","isInputFocussed","setIsInputFocussed","_useTaggedInput","useTaggedInput","inputRef","activeTagIndex","setActiveTagIndex","getTags","handleTaggedInputKeydown","handleTaggedInputChange","handleTagsClear","useEffect","Boolean","renderInteractionElement","_jsx","Spinner","color","IconButton","CloseIcon","_textInputRef$current","isEmpty","current","clear","focus","HTMLInputElement","BaseInput","_objectSpread","id","componentName","MetaConstants","TextInput","hideLabelText","isDropdownTrigger","undefined","showAllTags","maxTagRows","_ref2","length","e","onKeyDown","trailingInteractionElement","trailingFooterSlot","_value$length","BaseBox","marginTop","hintMarginTop","marginRight","children","CharacterCounter","currentCount","maxCount","getKeyboardAndAutocompleteProps","assignWithoutSideEffects","forwardRef","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIA;AACA;AACA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,aAAkB,EAA4C;AACnF,EAAA,OAAOC,eAAe,EAAE,KAAK,cAAc,CAAA;AAC7C,CAAC,CAAA;AAED,IAAMC,UAA2E,GAAG,SAA9EA,UAA2EA,CAAAC,IAAA,EA0C/EC,GAAG,EACc;AAAA,EAAA,IAzCfC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,kBAAkB,GAAAH,IAAA,CAAlBG,kBAAkB;IAAAC,kBAAA,GAAAJ,I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N,CAAC,CAAA;AAEK8C,IAAAA,SAAS,gBAAGsB,wBAAwB,eAAChE,cAAK,CAACiE,UAAU,CAACjH,UAAU,CAAC,EAAE;AACvEkH,EAAAA,WAAW,EAAE,WAAA;AACf,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"TextInput.js","sources":["../../../../../../../src/components/Input/TextInput/TextInput.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport type { ReactElement, ReactNode } from 'react';\nimport type { TextInput as TextInputReactNative } from 'react-native';\nimport type { BaseInputProps } from '../BaseInput';\nimport { BaseInput } from '../BaseInput';\nimport { getKeyboardAndAutocompleteProps } from '../BaseInput/utils';\nimport type { TaggedInputProps } from '../BaseInput/useTaggedInput';\nimport { useTaggedInput } from '../BaseInput/useTaggedInput';\nimport isEmpty from '~utils/lodashButBetter/isEmpty';\nimport type { IconComponent } from '~components/Icons';\nimport { CloseIcon } from '~components/Icons';\nimport { IconButton } from '~components/Button/IconButton';\nimport type { StyledPropsBlade } from '~components/Box/styledProps';\nimport { MetaConstants } from '~utils/metaAttribute';\nimport { CharacterCounter } from '~components/Form/CharacterCounter';\nimport BaseBox from '~components/Box/BaseBox';\nimport { Spinner } from '~components/Spinner';\nimport { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects';\nimport { getPlatformType } from '~utils';\nimport { useMergeRefs } from '~utils/useMergeRefs';\nimport type { BladeElementRef, BladeElementRefWithValue } from '~utils/types';\nimport { hintMarginTop } from '~components/Form/formTokens';\n\n// Users should use PasswordInput for input type password\ntype Type = Exclude<BaseInputProps['type'], 'password'>;\n\ntype TextInputCommonProps = Pick<\n BaseInputProps,\n | 'label'\n | 'accessibilityLabel'\n | 'labelPosition'\n | 'necessityIndicator'\n | 'validationState'\n | 'helpText'\n | 'errorText'\n | 'successText'\n | 'placeholder'\n | 'defaultValue'\n | 'name'\n | 'onChange'\n | 'onFocus'\n | 'onBlur'\n | 'value'\n | 'isDisabled'\n | 'isRequired'\n | 'prefix'\n | 'suffix'\n | 'maxCharacters'\n | 'autoFocus'\n | 'keyboardReturnKeyType'\n | 'autoCompleteSuggestionType'\n | 'onSubmit'\n | 'autoCapitalize'\n | 'testID'\n | 'onClick'\n | 'size'\n | 'leadingIcon'\n | 'trailingButton'\n | 'trailingIcon'\n | 'textAlign'\n> & {\n /**\n * Decides whether to render a clear icon button\n */\n showClearButton?: boolean;\n\n /**\n * Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`\n */\n onClearButtonClick?: () => void;\n\n /**\n * Decides whether to show a loading spinner for the input field.\n */\n isLoading?: boolean;\n\n /**\n * Icon that will be rendered at the beginning of the input field\n * @deprecated Use `leadingIcon` instead. This prop will be removed in the next major version.\n */\n icon?: IconComponent;\n /**\n * Type of Input Field to be rendered. Use `PasswordInput` for type `password`\n *\n *\n * **Note on number type**\n *\n * `type=\"number\"` internally uses `inputMode=\"numeric\"` instead of HTML's `type=\"number\"` which also allows text characters.\n * If you have a usecase where you only want to support number input, you can handle it on validations end.\n *\n * Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning\n *\n * @default text\n */\n type?: Type;\n} & TaggedInputProps &\n StyledPropsBlade;\n\n/*\n Mandatory accessibilityLabel prop when label is not provided\n*/\ntype TextInputPropsWithA11yLabel = {\n /**\n * Label to be shown for the input field\n */\n label?: undefined;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel: string;\n};\n\n/*\n Optional accessibilityLabel prop when label is provided\n*/\ntype TextInputPropsWithLabel = {\n /**\n * Label to be shown for the input field\n */\n label: string;\n /**\n * Accessibility label for the input\n */\n accessibilityLabel?: string;\n};\n\ntype TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) &\n TextInputCommonProps;\n\n// need to do this to tell TS to infer type as TextInput of React Native and make it believe that `ref.current.clear()` exists\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst isReactNative = (_textInputRef: any): _textInputRef is TextInputReactNative => {\n return getPlatformType() === 'react-native';\n};\n\nconst _TextInput: React.ForwardRefRenderFunction<BladeElementRef, TextInputProps> = (\n {\n label,\n accessibilityLabel,\n labelPosition = 'top',\n placeholder,\n type = 'text',\n defaultValue,\n name,\n value,\n maxCharacters,\n onChange,\n onClick,\n onFocus,\n onBlur,\n onSubmit,\n isDisabled,\n necessityIndicator,\n validationState,\n errorText,\n helpText,\n successText,\n isRequired,\n icon,\n prefix,\n showClearButton,\n onClearButtonClick,\n isLoading,\n suffix,\n autoFocus,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n testID,\n size = 'medium',\n leadingIcon,\n trailingIcon,\n isTaggedInput,\n tags,\n onTagChange,\n ...styledProps\n },\n ref,\n): ReactElement => {\n const textInputRef = React.useRef<BladeElementRefWithValue>(null);\n const mergedRef = useMergeRefs(ref, textInputRef);\n const [shouldShowClearButton, setShouldShowClearButton] = useState(false);\n const [isInputFocussed, setIsInputFocussed] = useState(autoFocus ?? false);\n const {\n activeTagIndex,\n setActiveTagIndex,\n getTags,\n handleTaggedInputKeydown,\n handleTaggedInputChange,\n handleTagsClear,\n } = useTaggedInput({\n isTaggedInput,\n tags,\n onTagChange,\n isDisabled,\n onChange,\n name,\n value,\n inputRef: textInputRef,\n });\n\n React.useEffect(() => {\n setShouldShowClearButton(Boolean(showClearButton && (defaultValue ?? value)));\n }, [showClearButton, defaultValue, value]);\n\n const renderInteractionElement = (): ReactNode => {\n if (isLoading) {\n return <Spinner accessibilityLabel=\"Loading Content\" color=\"primary\" />;\n }\n\n if (shouldShowClearButton) {\n return (\n <IconButton\n size=\"medium\"\n icon={CloseIcon}\n onClick={() => {\n if (isEmpty(value) && textInputRef.current) {\n // when the input field is uncontrolled take the ref and clear the input and then call the onClearButtonClick function\n if (isReactNative(textInputRef.current)) {\n textInputRef.current.clear();\n textInputRef.current.focus();\n } else if (textInputRef.current instanceof HTMLInputElement) {\n textInputRef.current.value = '';\n textInputRef.current.focus();\n }\n }\n handleTagsClear();\n // if the input field is controlled just call the click handler and the value change shall be left upto the consumer\n onClearButtonClick?.();\n textInputRef?.current?.focus();\n setShouldShowClearButton(false);\n }}\n isDisabled={isDisabled}\n accessibilityLabel=\"Clear Input Content\"\n />\n );\n }\n\n return null;\n };\n\n return (\n <BaseInput\n id=\"textinput\"\n componentName={MetaConstants.TextInput}\n ref={mergedRef}\n label={label as string}\n accessibilityLabel={accessibilityLabel}\n hideLabelText={!Boolean(label)}\n labelPosition={labelPosition}\n placeholder={placeholder}\n defaultValue={defaultValue}\n value={value}\n name={name}\n maxCharacters={maxCharacters}\n isDropdownTrigger={isTaggedInput}\n tags={isTaggedInput ? getTags({ size }) : undefined}\n showAllTags={isInputFocussed}\n maxTagRows=\"single\"\n activeTagIndex={activeTagIndex}\n setActiveTagIndex={setActiveTagIndex}\n onChange={({ name, value }) => {\n if (showClearButton && value?.length) {\n // show the clear button when the user starts typing in\n setShouldShowClearButton(true);\n }\n\n if (shouldShowClearButton && !value?.length) {\n // hide the clear button when the input field is empty\n setShouldShowClearButton(false);\n }\n\n handleTaggedInputChange({ name, value });\n onChange?.({ name, value });\n }}\n onClick={onClick}\n onFocus={(e) => {\n setIsInputFocussed(true);\n onFocus?.(e);\n }}\n onBlur={(e) => {\n setIsInputFocussed(false);\n onBlur?.(e);\n }}\n onKeyDown={(e) => {\n handleTaggedInputKeydown(e);\n }}\n onSubmit={onSubmit}\n isDisabled={isDisabled}\n necessityIndicator={necessityIndicator}\n isRequired={isRequired}\n leadingIcon={leadingIcon ?? icon}\n prefix={prefix}\n trailingInteractionElement={renderInteractionElement()}\n trailingIcon={trailingIcon}\n suffix={suffix}\n validationState={validationState}\n errorText={errorText}\n helpText={helpText}\n successText={successText}\n trailingFooterSlot={(value) => {\n return maxCharacters ? (\n <BaseBox marginTop={hintMarginTop[size]} marginRight=\"spacing.1\">\n <CharacterCounter\n currentCount={value?.length ?? 0}\n maxCount={maxCharacters}\n size={size}\n />\n </BaseBox>\n ) : null;\n }}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n testID={testID}\n {...getKeyboardAndAutocompleteProps({\n type,\n keyboardReturnKeyType,\n autoCompleteSuggestionType,\n autoCapitalize,\n })}\n size={size}\n {...styledProps}\n />\n );\n};\n\nconst TextInput = assignWithoutSideEffects(React.forwardRef(_TextInput), {\n displayName: 'TextInput',\n});\n\nexport type { TextInputProps };\nexport { TextInput };\n"],"names":["isReactNative","_textInputRef","getPlatformType","_TextInput","_ref","ref","label","accessibilityLabel","_ref$labelPosition","labelPosition","placeholder","_ref$type","type","defaultValue","name","value","maxCharacters","onChange","onClick","onFocus","onBlur","onSubmit","isDisabled","necessityIndicator","validationState","errorText","helpText","successText","isRequired","icon","prefix","showClearButton","onClearButtonClick","isLoading","suffix","autoFocus","keyboardReturnKeyType","autoCompleteSuggestionType","autoCapitalize","testID","_ref$size","size","leadingIcon","trailingIcon","isTaggedInput","tags","onTagChange","styledProps","_objectWithoutProperties","_excluded","textInputRef","React","useRef","mergedRef","useMergeRefs","_useState","useState","_useState2","_slicedToArray","shouldShowClearButton","setShouldShowClearButton","_useState3","_useState4","isInputFocussed","setIsInputFocussed","_useTaggedInput","useTaggedInput","inputRef","activeTagIndex","setActiveTagIndex","getTags","handleTaggedInputKeydown","handleTaggedInputChange","handleTagsClear","useEffect","Boolean","renderInteractionElement","_jsx","Spinner","color","IconButton","CloseIcon","_textInputRef$current","isEmpty","current","clear","focus","HTMLInputElement","BaseInput","_objectSpread","id","componentName","MetaConstants","TextInput","hideLabelText","isDropdownTrigger","undefined","showAllTags","maxTagRows","_ref2","length","e","onKeyDown","trailingInteractionElement","trailingFooterSlot","_value$length","BaseBox","marginTop","hintMarginTop","marginRight","children","CharacterCounter","currentCount","maxCount","getKeyboardAndAutocompleteProps","assignWithoutSideEffects","forwardRef","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiIA;AACA;AACA,IAAMA,aAAa,GAAG,SAAhB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AO,GAAA,EACX2E,+BAA+B,CAAC;AAClCtG,IAAAA,IAAI,EAAJA,IAAI;AACJwB,IAAAA,qBAAqB,EAArBA,qBAAqB;AACrBC,IAAAA,0BAA0B,EAA1BA,0BAA0B;AAC1BC,IAAAA,cAAc,EAAdA,cAAAA;AACF,GAAC,CAAC,CAAA,EAAA,EAAA,EAAA;AACFG,IAAAA,IAAI,EAAEA,IAAAA;GACFM,EAAAA,WAAW,CAChB,CAAC,CAAA;AAEN,CAAC,CAAA;AAEK8C,IAAAA,SAAS,gBAAGsB,wBAAwB,eAAChE,cAAK,CAACiE,UAAU,CAACjH,UAAU,CAAC,EAAE;AACvEkH,EAAAA,WAAW,EAAE,WAAA;AACf,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBody.web.js","sources":["../../../../../../src/components/Modal/ModalBody.web.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport { componentIds } from './constants';\nimport { assignWithoutSideEffects } from '~src/utils/assignWithoutSideEffects';\nimport BaseBox from '~components/Box/BaseBox';\nimport { MetaConstants, metaAttribute } from '~utils/metaAttribute';\nimport type { SpacingValueType } from '~components/Box/BaseBox';\n\ntype ModalBodyProps = {\n children: React.ReactNode;\n /**\n * Sets the padding equally on all sides. Only few `spacing` tokens are allowed deliberately\n * @default `spacing.6`\n *\n * **Links:**\n * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--
|
|
1
|
+
{"version":3,"file":"ModalBody.web.js","sources":["../../../../../../src/components/Modal/ModalBody.web.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\nimport { componentIds } from './constants';\nimport { assignWithoutSideEffects } from '~src/utils/assignWithoutSideEffects';\nimport BaseBox from '~components/Box/BaseBox';\nimport { MetaConstants, metaAttribute } from '~utils/metaAttribute';\nimport type { SpacingValueType } from '~components/Box/BaseBox';\n\ntype ModalBodyProps = {\n children: React.ReactNode;\n /**\n * Sets the padding equally on all sides. Only few `spacing` tokens are allowed deliberately\n * @default `spacing.6`\n *\n * **Links:**\n * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--docs\n */\n padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.6'>;\n};\n\nconst _ModalBody = ({ children, padding = 'spacing.6' }: ModalBodyProps): React.ReactElement => {\n const contentRef = React.useRef<any>(null);\n\n return (\n <BaseBox\n {...metaAttribute({ name: MetaConstants.ModalBody })}\n padding={padding}\n ref={contentRef}\n overflowY=\"auto\"\n overflowX=\"hidden\"\n >\n {children}\n </BaseBox>\n );\n};\n\nconst ModalBody = assignWithoutSideEffects(_ModalBody, {\n componentId: componentIds.ModalBody,\n});\n\nexport { ModalBody };\nexport type { ModalBodyProps };\n"],"names":["_ModalBody","_ref","children","_ref$padding","padding","contentRef","React","useRef","_jsx","BaseBox","_objectSpread","metaAttribute","name","MetaConstants","ModalBody","ref","overflowY","overflowX","assignWithoutSideEffects","componentId","componentIds"],"mappings":";;;;;;;;;;;;;;AAoBA,IAAMA,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,EAAgF;AAAA,EAAA,IAA1EC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,YAAA,GAAAF,IAAA,CAAEG,OAAO;AAAPA,IAAAA,OAAO,GAAAD,YAAA,KAAG,KAAA,CAAA,GAAA,WAAW,GAAAA,YAAA,CAAA;AACnD,EAAA,IAAME,UAAU,GAAGC,cAAK,CAACC,MAAM,CAAM,IAAI,CAAC,CAAA;EAE1C,oBACEC,GAAA,CAACC,OAAO,EAAAC,aAAA,CAAAA,aAAA,CACFC,EAAAA,EAAAA,aAAa,CAAC;IAAEC,IAAI,EAAEC,aAAa,CAACC,SAAAA;AAAU,GAAC,CAAC,CAAA,EAAA,EAAA,EAAA;AACpDV,IAAAA,OAAO,EAAEA,OAAQ;AACjBW,IAAAA,GAAG,EAAEV,UAAW;AAChBW,IAAAA,SAAS,EAAC,MAAM;AAChBC,IAAAA,SAAS,EAAC,QAAQ;AAAAf,IAAAA,QAAA,EAEjBA,QAAAA;AAAQ,GAAA,CACF,CAAC,CAAA;AAEd,CAAC,CAAA;AAED,IAAMY,SAAS,gBAAGI,wBAAwB,CAAClB,UAAU,EAAE;EACrDmB,WAAW,EAAEC,YAAY,CAACN,SAAAA;AAC5B,CAAC;;;;"}
|
|
@@ -141,12 +141,18 @@ export { default as BankIcon } from './Icons/BankIcon/BankIcon.js';
|
|
|
141
141
|
export { default as BarChartAltIcon } from './Icons/BarChartAltIcon/BarChartAltIcon.js';
|
|
142
142
|
export { default as BarChartIcon } from './Icons/BarChartIcon/BarChartIcon.js';
|
|
143
143
|
export { default as BarCodeIcon } from './Icons/BarCodeIcon/BarCodeIcon.js';
|
|
144
|
+
export { default as Battery100PercentIcon } from './Icons/Battery100PercentIcon/Battery100PercentIcon.js';
|
|
145
|
+
export { default as Battery20PercentIcon } from './Icons/Battery20PercentIcon/Battery20PercentIcon.js';
|
|
146
|
+
export { default as Battery40PercentIcon } from './Icons/Battery40PercentIcon/Battery40PercentIcon.js';
|
|
147
|
+
export { default as Battery60PercentIcon } from './Icons/Battery60PercentIcon/Battery60PercentIcon.js';
|
|
148
|
+
export { default as Battery80PercentIcon } from './Icons/Battery80PercentIcon/Battery80PercentIcon.js';
|
|
144
149
|
export { default as BatteryChargingIcon } from './Icons/BatteryChargingIcon/BatteryChargingIcon.js';
|
|
145
150
|
export { default as BatteryIcon } from './Icons/BatteryIcon/BatteryIcon.js';
|
|
146
151
|
export { default as BellIcon } from './Icons/BellIcon/BellIcon.js';
|
|
147
152
|
export { default as BellOffIcon } from './Icons/BellOffIcon/BellOffIcon.js';
|
|
148
153
|
export { default as BfsiIcon } from './Icons/BfsiIcon/BfsiIcon.js';
|
|
149
154
|
export { default as BillIcon } from './Icons/BillIcon/BillIcon.js';
|
|
155
|
+
export { default as BillMeIcon } from './Icons/BillMeIcon/BillMeIcon.js';
|
|
150
156
|
export { default as BluetoothIcon } from './Icons/BluetoothIcon/BluetoothIcon.js';
|
|
151
157
|
export { default as BoldIcon } from './Icons/BoldIcon/BoldIcon.js';
|
|
152
158
|
export { default as BookIcon } from './Icons/BookIcon/BookIcon.js';
|
|
@@ -310,6 +316,7 @@ export { default as MoveIcon } from './Icons/MoveIcon/MoveIcon.js';
|
|
|
310
316
|
export { default as MusicIcon } from './Icons/MusicIcon/MusicIcon.js';
|
|
311
317
|
export { default as MyAccountIcon } from './Icons/MyAccountIcon/MyAccountIcon.js';
|
|
312
318
|
export { default as NavigationIcon } from './Icons/NavigationIcon/NavigationIcon.js';
|
|
319
|
+
export { default as NoSignalIcon } from './Icons/NoSignalIcon/NoSignalIcon.js';
|
|
313
320
|
export { default as OctagonIcon } from './Icons/OctagonIcon/OctagonIcon.js';
|
|
314
321
|
export { default as OffersIcon } from './Icons/OffersIcon/OffersIcon.js';
|
|
315
322
|
export { default as OptimizerIcon } from './Icons/OptimizerIcon/OptimizerIcon.js';
|
|
@@ -378,6 +385,12 @@ export { default as ShoppingBagIcon } from './Icons/ShoppingBagIcon/ShoppingBagI
|
|
|
378
385
|
export { default as ShoppingCartIcon } from './Icons/ShoppingCartIcon/ShoppingCartIcon.js';
|
|
379
386
|
export { default as ShuffleIcon } from './Icons/ShuffleIcon/ShuffleIcon.js';
|
|
380
387
|
export { default as SidebarIcon } from './Icons/SidebarIcon/SidebarIcon.js';
|
|
388
|
+
export { default as Signal1BarIcon } from './Icons/Signal1BarIcon/Signal1BarIcon.js';
|
|
389
|
+
export { default as Signal2BarIcon } from './Icons/Signal2BarIcon/Signal2BarIcon.js';
|
|
390
|
+
export { default as Signal3BarIcon } from './Icons/Signal3BarIcon/Signal3BarIcon.js';
|
|
391
|
+
export { default as Signal4BarIcon } from './Icons/Signal4BarIcon/Signal4BarIcon.js';
|
|
392
|
+
export { default as SignalIcon } from './Icons/SignalIcon/SignalIcon.js';
|
|
393
|
+
export { default as SimCardIcon } from './Icons/SimCardIcon/SimCardIcon.js';
|
|
381
394
|
export { default as SkipBackIcon } from './Icons/SkipBackIcon/SkipBackIcon.js';
|
|
382
395
|
export { default as SkipForwardIcon } from './Icons/SkipForwardIcon/SkipForwardIcon.js';
|
|
383
396
|
export { default as SlackIcon } from './Icons/SlackIcon/SlackIcon.js';
|
|
@@ -424,6 +437,7 @@ export { default as UmbrellaIcon } from './Icons/UmbrellaIcon/UmbrellaIcon.js';
|
|
|
424
437
|
export { default as UnderlineIcon } from './Icons/UnderlineIcon/UnderlineIcon.js';
|
|
425
438
|
export { default as UnlockIcon } from './Icons/UnlockIcon/UnlockIcon.js';
|
|
426
439
|
export { default as UpiAutopayIcon } from './Icons/UpiAutopayIcon/UpiAutopayIcon.js';
|
|
440
|
+
export { default as UpiIcon } from './Icons/UpiIcon/UpiIcon.js';
|
|
427
441
|
export { default as UploadCloudIcon } from './Icons/UploadCloudIcon/UploadCloudIcon.js';
|
|
428
442
|
export { default as UploadIcon } from './Icons/UploadIcon/UploadIcon.js';
|
|
429
443
|
export { default as UserCheckIcon } from './Icons/UserCheckIcon/UserCheckIcon.js';
|
|
@@ -448,6 +462,7 @@ export { default as WifiOffIcon } from './Icons/WifiOffIcon/WifiOffIcon.js';
|
|
|
448
462
|
export { default as WindIcon } from './Icons/WindIcon/WindIcon.js';
|
|
449
463
|
export { default as XCircleIcon } from './Icons/XCircleIcon/XCircleIcon.js';
|
|
450
464
|
export { default as XSquareIcon } from './Icons/XSquareIcon/XSquareIcon.js';
|
|
465
|
+
export { default as YoutubeIcon } from './Icons/YoutubeIcon/YoutubeIcon.js';
|
|
451
466
|
export { default as ZapIcon } from './Icons/ZapIcon/ZapIcon.js';
|
|
452
467
|
export { default as ZoomInIcon } from './Icons/ZoomInIcon/ZoomInIcon.js';
|
|
453
468
|
export { default as ZoomOutIcon } from './Icons/ZoomOutIcon/ZoomOutIcon.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propsTypes.js","sources":["../../../../../../../../src/components/Box/BaseBox/types/propsTypes.ts"],"sourcesContent":["import type { View } from 'react-native';\nimport type { CSSObject } from 'styled-components';\nimport type { MarginProps, PaddingProps, SpacingValueType } from './spacingTypes';\nimport type { MakeObjectResponsive } from './responsiveTypes';\nimport type { Theme } from '~components/BladeProvider';\nimport type { Border, Elevation } from '~tokens/global';\nimport type { PickCSSByPlatform, TestID } from '~utils/types';\nimport type { Platform } from '~utils';\nimport type { BladeCommonEvents } from '~components/types';\nimport type { DotNotationToken } from '~utils/lodashButBetter/get';\n\ntype LayoutProps = MakeObjectResponsive<\n {\n height: SpacingValueType;\n minHeight: SpacingValueType;\n maxHeight: SpacingValueType;\n width: SpacingValueType;\n minWidth: SpacingValueType;\n maxWidth: SpacingValueType;\n } & PickCSSByPlatform<\n 'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign' | 'whiteSpace'\n >\n>;\n\ntype FlexboxProps = MakeObjectResponsive<\n {\n /**\n * This uses the native gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=gap\n */\n gap: SpacingValueType;\n /**\n * This uses the native row-gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=row-gap\n */\n rowGap: SpacingValueType;\n /**\n * This uses the native column-gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=column-gap\n */\n columnGap: SpacingValueType;\n /**\n * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.\n *\n * @see https://developer.mozilla.org/docs/Web/CSS/flex\n */\n flex: string | number;\n } & PickCSSByPlatform<\n | 'flexWrap'\n | 'flexDirection'\n | 'flexGrow'\n | 'flexShrink'\n | 'flexBasis'\n | 'alignItems'\n | 'alignContent'\n | 'alignSelf'\n | 'justifyItems'\n | 'justifyContent'\n | 'justifySelf'\n | 'placeSelf'\n | 'placeItems'\n | 'order'\n >\n>;\n\ntype PositionProps = MakeObjectResponsive<\n {\n top: SpacingValueType;\n right: SpacingValueType;\n bottom: SpacingValueType;\n left: SpacingValueType;\n } & PickCSSByPlatform<'position' | 'zIndex'>\n>;\n\ntype GridProps = MakeObjectResponsive<\n PickCSSByPlatform<\n | 'grid'\n | 'gridColumn'\n | 'gridRow'\n | 'gridRowStart'\n | 'gridRowEnd'\n | 'gridColumnStart'\n | 'gridColumnEnd'\n | 'gridArea'\n | 'gridAutoFlow'\n | 'gridAutoRows'\n | 'gridAutoColumns'\n | 'gridTemplate'\n | 'gridTemplateAreas'\n | 'gridTemplateColumns'\n | 'gridTemplateRows'\n >\n>;\n\ntype ColorObjects = 'feedback' | 'surface' | 'interactive';\ntype BackgroundOnlyColorObjects = 'popup' | 'overlay';\ntype BackgroundColorString<\n T extends ColorObjects | BackgroundOnlyColorObjects\n> = `${T}.background.${DotNotationToken<Theme['colors'][T]['background']>}`;\ntype BorderColorString<T extends ColorObjects> = `${T}.border.${DotNotationToken<\n Theme['colors'][T]['border']\n>}`;\n\n// Created this as an array so I can reuse it for runtime validation\nconst validBoxAsValues = [\n 'div',\n 'section',\n 'footer',\n 'header',\n 'main',\n 'aside',\n 'nav',\n 'span',\n 'label',\n] as const;\n\ntype BoxAsType = typeof validBoxAsValues[number];\n\n// Visual props that are common for both Box and BaseBox\ntype CommonBoxVisualProps = MakeObjectResponsive<\n {\n borderRadius: keyof Border['radius'];\n borderWidth: keyof Border['width'];\n borderColor: BorderColorString<'surface'>;\n borderTopWidth: keyof Border['width'];\n borderTopColor: BorderColorString<'surface'>;\n borderRightWidth: keyof Border['width'];\n borderRightColor: BorderColorString<'surface'>;\n borderBottomWidth: keyof Border['width'];\n borderBottomColor: BorderColorString<'surface'>;\n borderLeftWidth: keyof Border['width'];\n borderLeftColor: BorderColorString<'surface'>;\n borderTopLeftRadius: keyof Border['radius'];\n borderTopRightRadius: keyof Border['radius'];\n borderBottomRightRadius: keyof Border['radius'];\n borderBottomLeftRadius: keyof Border['radius'];\n } & PickCSSByPlatform<\n | 'backgroundImage'\n | 'backgroundSize'\n | 'backgroundPosition'\n | 'backgroundOrigin'\n | 'backgroundRepeat'\n | 'pointerEvents'\n | 'opacity'\n | 'visibility'\n | 'transform'\n | 'transformOrigin'\n | 'clipPath'\n | 'borderStyle'\n | 'borderTopStyle'\n | 'borderBottomStyle'\n | 'borderLeftStyle'\n | 'borderRightStyle'\n > & {\n /**\n * Sets the elevation for Box\n *\n * eg: `theme.elevation.midRaised`\n *\n * @default `theme.elevation.lowRaised`\n *\n * **Links:**\n * - Docs: https://blade.razorpay.com/?path=/docs/tokens-elevation--page\n */\n elevation?: keyof Elevation;\n }\n>;\n\n// Visual props that are specific BaseBox\n// This is used to ensure some of the more flexible BaseBox props are not passed to Box\ntype BaseBoxVisualProps = MakeObjectResponsive<\n {\n backgroundColor:\n | BackgroundColorString<'feedback'>\n | BackgroundColorString<'surface'>\n | BackgroundColorString<'interactive'>\n | BackgroundColorString<'overlay'>\n | BackgroundColorString<'popup'>\n | 'transparent'\n | (string & Record<never, never>);\n lineHeight: SpacingValueType;\n touchAction: CSSObject['touchAction'];\n userSelect: CSSObject['userSelect'];\n } & PickCSSByPlatform<\n | 'border'\n | 'borderLeft'\n | 'borderRight'\n | 'borderTop'\n | 'borderBottom'\n | 'opacity'\n | 'pointerEvents'\n | 'cursor'\n >\n>;\n\n// Visual props that are specific to Box\ntype BoxVisualProps = MakeObjectResponsive<{\n backgroundColor: BackgroundColorString<'surface'> | 'transparent';\n}> & {\n // Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object\n // styled-components do not support passing `as` prop as an object\n as: BoxAsType;\n};\n\ntype StyledPropsBlade = Partial<\n Omit<\n MarginProps &\n Pick<FlexboxProps, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &\n PositionProps &\n Pick<\n GridProps,\n | 'gridColumn'\n | 'gridRow'\n | 'gridRowStart'\n | 'gridRowEnd'\n | 'gridColumnStart'\n | 'gridColumnEnd'\n | 'gridArea'\n > &\n Pick<LayoutProps, 'display'> &\n Pick<CommonBoxVisualProps, 'visibility'>,\n '__brand__'\n >\n>;\n\ntype BoxCallbackProps = Omit<\n Platform.Select<{\n web: {\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseOver: React.MouseEventHandler<HTMLElement>;\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseEnter: React.MouseEventHandler<HTMLElement>;\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseLeave: React.MouseEventHandler<HTMLElement>;\n onScroll: React.UIEventHandler<HTMLElement>;\n };\n native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;\n }>,\n '__brand__'\n>;\n\ntype BoxDragAndDropProps = Omit<\n Platform.Select<{\n web: {\n draggable: boolean;\n onDragStart: React.DragEventHandler<HTMLElement>;\n onDragEnter: React.DragEventHandler<HTMLElement>;\n onDragLeave: React.DragEventHandler<HTMLElement>;\n onDragOver: React.DragEventHandler<HTMLElement>;\n onDragEnd: React.DragEventHandler<HTMLElement>;\n onDrop: React.DragEventHandler<HTMLElement>;\n };\n native: Record<\n | 'draggable'\n | 'onDragStart'\n | 'onDragEnter'\n | 'onDragLeave'\n | 'onDragOver'\n | 'onDragEnd'\n | 'onDrop',\n undefined\n >;\n }>,\n '__brand__'\n>;\n\ntype BoxProps = Partial<\n PaddingProps &\n MarginProps &\n LayoutProps &\n FlexboxProps &\n PositionProps &\n GridProps &\n BoxCallbackProps &\n BoxDragAndDropProps &\n CommonBoxVisualProps &\n BoxVisualProps & {\n children?: React.ReactNode | React.ReactNode[];\n tabIndex?: number;\n id?: string;\n } & TestID\n>;\n\n// Visual props have different types for BaseBox and Box. BaseBox has more flexible types and more props exposed.\n// So first we Omit Visual props of Box\n// Then we append BaseBoxVisualProps and some other props for styled-components like class and id\ntype BaseBoxProps = Omit<BoxProps, keyof BoxVisualProps> &\n Partial<\n BaseBoxVisualProps & {\n className?: string;\n id?: string;\n tabIndex?: number;\n }\n > &\n BladeCommonEvents;\n\n// ref prop type\ntype BoxRefType = Platform.Select<{\n web: Omit<HTMLElement, 'style'>;\n native: View;\n}>;\n\nexport type { BaseBoxProps, BoxProps, BoxRefType, StyledPropsBlade, FlexboxProps };\nexport { validBoxAsValues };\n"],"names":["validBoxAsValues"],"mappings":"AA6GA;AACMA,IAAAA,gBAAgB,GAAG,CACvB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO;;;;"}
|
|
1
|
+
{"version":3,"file":"propsTypes.js","sources":["../../../../../../../../src/components/Box/BaseBox/types/propsTypes.ts"],"sourcesContent":["import type { View } from 'react-native';\nimport type { CSSObject } from 'styled-components';\nimport type { MarginProps, PaddingProps, SpacingValueType } from './spacingTypes';\nimport type { MakeObjectResponsive } from './responsiveTypes';\nimport type { Theme } from '~components/BladeProvider';\nimport type { Border, Elevation } from '~tokens/global';\nimport type { PickCSSByPlatform, TestID } from '~utils/types';\nimport type { Platform } from '~utils';\nimport type { BladeCommonEvents } from '~components/types';\nimport type { DotNotationToken } from '~utils/lodashButBetter/get';\n\ntype LayoutProps = MakeObjectResponsive<\n {\n height: SpacingValueType;\n minHeight: SpacingValueType;\n maxHeight: SpacingValueType;\n width: SpacingValueType;\n minWidth: SpacingValueType;\n maxWidth: SpacingValueType;\n } & PickCSSByPlatform<\n 'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign' | 'whiteSpace'\n >\n>;\n\ntype FlexboxProps = MakeObjectResponsive<\n {\n /**\n * This uses the native gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=gap\n */\n gap: SpacingValueType;\n /**\n * This uses the native row-gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=row-gap\n */\n rowGap: SpacingValueType;\n /**\n * This uses the native column-gap property which might not work on older browsers.\n * If you want to support older browsers, you might want to use `margin` instead.\n *\n * @see https://caniuse.com/?search=column-gap\n */\n columnGap: SpacingValueType;\n /**\n * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.\n *\n * @see https://developer.mozilla.org/docs/Web/CSS/flex\n */\n flex: string | number;\n } & PickCSSByPlatform<\n | 'flexWrap'\n | 'flexDirection'\n | 'flexGrow'\n | 'flexShrink'\n | 'flexBasis'\n | 'alignItems'\n | 'alignContent'\n | 'alignSelf'\n | 'justifyItems'\n | 'justifyContent'\n | 'justifySelf'\n | 'placeSelf'\n | 'placeItems'\n | 'order'\n >\n>;\n\ntype PositionProps = MakeObjectResponsive<\n {\n top: SpacingValueType;\n right: SpacingValueType;\n bottom: SpacingValueType;\n left: SpacingValueType;\n } & PickCSSByPlatform<'position' | 'zIndex'>\n>;\n\ntype GridProps = MakeObjectResponsive<\n PickCSSByPlatform<\n | 'grid'\n | 'gridColumn'\n | 'gridRow'\n | 'gridRowStart'\n | 'gridRowEnd'\n | 'gridColumnStart'\n | 'gridColumnEnd'\n | 'gridArea'\n | 'gridAutoFlow'\n | 'gridAutoRows'\n | 'gridAutoColumns'\n | 'gridTemplate'\n | 'gridTemplateAreas'\n | 'gridTemplateColumns'\n | 'gridTemplateRows'\n >\n>;\n\ntype ColorObjects = 'feedback' | 'surface' | 'interactive';\ntype BackgroundOnlyColorObjects = 'popup' | 'overlay';\ntype BackgroundColorString<\n T extends ColorObjects | BackgroundOnlyColorObjects\n> = `${T}.background.${DotNotationToken<Theme['colors'][T]['background']>}`;\ntype BorderColorString<T extends ColorObjects> = `${T}.border.${DotNotationToken<\n Theme['colors'][T]['border']\n>}`;\n\n// Created this as an array so I can reuse it for runtime validation\nconst validBoxAsValues = [\n 'div',\n 'section',\n 'footer',\n 'header',\n 'main',\n 'aside',\n 'nav',\n 'span',\n 'label',\n] as const;\n\ntype BoxAsType = typeof validBoxAsValues[number];\n\n// Visual props that are common for both Box and BaseBox\ntype CommonBoxVisualProps = MakeObjectResponsive<\n {\n borderRadius: keyof Border['radius'];\n borderWidth: keyof Border['width'];\n borderColor: BorderColorString<'surface'>;\n borderTopWidth: keyof Border['width'];\n borderTopColor: BorderColorString<'surface'>;\n borderRightWidth: keyof Border['width'];\n borderRightColor: BorderColorString<'surface'>;\n borderBottomWidth: keyof Border['width'];\n borderBottomColor: BorderColorString<'surface'>;\n borderLeftWidth: keyof Border['width'];\n borderLeftColor: BorderColorString<'surface'>;\n borderTopLeftRadius: keyof Border['radius'];\n borderTopRightRadius: keyof Border['radius'];\n borderBottomRightRadius: keyof Border['radius'];\n borderBottomLeftRadius: keyof Border['radius'];\n } & PickCSSByPlatform<\n | 'backgroundImage'\n | 'backgroundSize'\n | 'backgroundPosition'\n | 'backgroundOrigin'\n | 'backgroundRepeat'\n | 'pointerEvents'\n | 'opacity'\n | 'visibility'\n | 'transform'\n | 'transformOrigin'\n | 'clipPath'\n | 'borderStyle'\n | 'borderTopStyle'\n | 'borderBottomStyle'\n | 'borderLeftStyle'\n | 'borderRightStyle'\n > & {\n /**\n * Sets the elevation for Box\n *\n * eg: `theme.elevation.midRaised`\n *\n * @default `theme.elevation.lowRaised`\n *\n * **Links:**\n * - Docs: https://blade.razorpay.com/?path=/docs/tokens-elevation--docs\n */\n elevation?: keyof Elevation;\n }\n>;\n\n// Visual props that are specific BaseBox\n// This is used to ensure some of the more flexible BaseBox props are not passed to Box\ntype BaseBoxVisualProps = MakeObjectResponsive<\n {\n backgroundColor:\n | BackgroundColorString<'feedback'>\n | BackgroundColorString<'surface'>\n | BackgroundColorString<'interactive'>\n | BackgroundColorString<'overlay'>\n | BackgroundColorString<'popup'>\n | 'transparent'\n | (string & Record<never, never>);\n lineHeight: SpacingValueType;\n touchAction: CSSObject['touchAction'];\n userSelect: CSSObject['userSelect'];\n } & PickCSSByPlatform<\n | 'border'\n | 'borderLeft'\n | 'borderRight'\n | 'borderTop'\n | 'borderBottom'\n | 'opacity'\n | 'pointerEvents'\n | 'cursor'\n >\n>;\n\n// Visual props that are specific to Box\ntype BoxVisualProps = MakeObjectResponsive<{\n backgroundColor: BackgroundColorString<'surface'> | 'transparent';\n}> & {\n // Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object\n // styled-components do not support passing `as` prop as an object\n as: BoxAsType;\n};\n\ntype StyledPropsBlade = Partial<\n Omit<\n MarginProps &\n Pick<FlexboxProps, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &\n PositionProps &\n Pick<\n GridProps,\n | 'gridColumn'\n | 'gridRow'\n | 'gridRowStart'\n | 'gridRowEnd'\n | 'gridColumnStart'\n | 'gridColumnEnd'\n | 'gridArea'\n > &\n Pick<LayoutProps, 'display'> &\n Pick<CommonBoxVisualProps, 'visibility'>,\n '__brand__'\n >\n>;\n\ntype BoxCallbackProps = Omit<\n Platform.Select<{\n web: {\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseOver: React.MouseEventHandler<HTMLElement>;\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseEnter: React.MouseEventHandler<HTMLElement>;\n /**\n * **Warning**\n *\n * Make sure to not use Box when you want to create a trigger that performs action on hover.\n * You would probably want to render it as `button` using `styled.button` instead.\n *\n * Use this for hoverable containers in cases like custom menus.\n */\n onMouseLeave: React.MouseEventHandler<HTMLElement>;\n onScroll: React.UIEventHandler<HTMLElement>;\n };\n native: Record<'onMouseOver' | 'onMouseEnter' | 'onMouseLeave' | 'onScroll', undefined>;\n }>,\n '__brand__'\n>;\n\ntype BoxDragAndDropProps = Omit<\n Platform.Select<{\n web: {\n draggable: boolean;\n onDragStart: React.DragEventHandler<HTMLElement>;\n onDragEnter: React.DragEventHandler<HTMLElement>;\n onDragLeave: React.DragEventHandler<HTMLElement>;\n onDragOver: React.DragEventHandler<HTMLElement>;\n onDragEnd: React.DragEventHandler<HTMLElement>;\n onDrop: React.DragEventHandler<HTMLElement>;\n };\n native: Record<\n | 'draggable'\n | 'onDragStart'\n | 'onDragEnter'\n | 'onDragLeave'\n | 'onDragOver'\n | 'onDragEnd'\n | 'onDrop',\n undefined\n >;\n }>,\n '__brand__'\n>;\n\ntype BoxProps = Partial<\n PaddingProps &\n MarginProps &\n LayoutProps &\n FlexboxProps &\n PositionProps &\n GridProps &\n BoxCallbackProps &\n BoxDragAndDropProps &\n CommonBoxVisualProps &\n BoxVisualProps & {\n children?: React.ReactNode | React.ReactNode[];\n tabIndex?: number;\n id?: string;\n } & TestID\n>;\n\n// Visual props have different types for BaseBox and Box. BaseBox has more flexible types and more props exposed.\n// So first we Omit Visual props of Box\n// Then we append BaseBoxVisualProps and some other props for styled-components like class and id\ntype BaseBoxProps = Omit<BoxProps, keyof BoxVisualProps> &\n Partial<\n BaseBoxVisualProps & {\n className?: string;\n id?: string;\n tabIndex?: number;\n }\n > &\n BladeCommonEvents;\n\n// ref prop type\ntype BoxRefType = Platform.Select<{\n web: Omit<HTMLElement, 'style'>;\n native: View;\n}>;\n\nexport type { BaseBoxProps, BoxProps, BoxRefType, StyledPropsBlade, FlexboxProps };\nexport { validBoxAsValues };\n"],"names":["validBoxAsValues"],"mappings":"AA6GA;AACMA,IAAAA,gBAAgB,GAAG,CACvB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO;;;;"}
|