@dfx.swiss/react-components 1.0.4-beta.1 → 1.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/bank-account.d.ts +1 -1
- package/dist/definitions/bank-account.d.ts.map +1 -1
- package/dist/stories/StyledVideoGrid.d.ts +1 -1
- package/dist/stories/StyledVideoGrid.d.ts.map +1 -1
- package/dist/stories/StyledVideoGrid.js +1 -1
- package/dist/stories/StyledVideoGrid.js.map +1 -1
- package/dist/stories/form/StyledBankAccountListItem.d.ts.map +1 -1
- package/dist/stories/form/StyledBankAccountListItem.js +1 -2
- package/dist/stories/form/StyledBankAccountListItem.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank-account.d.ts","sourceRoot":"","sources":["../../src/definitions/bank-account.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"bank-account.d.ts","sourceRoot":"","sources":["../../src/definitions/bank-account.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledVideoGrid.d.ts","sourceRoot":"","sources":["../../src/stories/StyledVideoGrid.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"StyledVideoGrid.d.ts","sourceRoot":"","sources":["../../src/stories/StyledVideoGrid.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,YAAY,EAAE,OAAW,EAAE,EAAE,oBAAoB,2CAiB1F"}
|
|
@@ -13,6 +13,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
export default function StyledVideoGrid(_a) {
|
|
14
14
|
var videoSources = _a.videoSources, _b = _a.numCols, numCols = _b === void 0 ? 3 : _b;
|
|
15
15
|
var gridFractal = '1fr ';
|
|
16
|
-
return (_jsx("div", __assign({ style: { gridTemplateColumns: gridFractal.repeat(numCols) }, className: "grid gap-6" }, { children: videoSources.map(function (video, index) { return (_jsxs("div", __assign({ className: "place-self-end" }, { children: [_jsx("h3", __assign({ className: "my-3 text-base font-bold" }, { children: video.title })), _jsx("video", { className: "rounded-lg border border-white/20", src: video.vidSrc, poster: video.thumbSrc, controls: true })] }), index)); }) })));
|
|
16
|
+
return (_jsx("div", __assign({ style: { gridTemplateColumns: gridFractal.repeat(numCols) }, className: "grid gap-6" }, { children: videoSources.map(function (video, index) { return (_jsxs("div", __assign({ className: "place-self-end" }, { children: [video.title && _jsx("h3", __assign({ className: "my-3 text-base font-bold" }, { children: video.title })), _jsx("video", { className: "rounded-lg border border-white/20", src: video.vidSrc, poster: video.thumbSrc, controls: true })] }), index)); }) })));
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=StyledVideoGrid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledVideoGrid.js","sourceRoot":"","sources":["../../src/stories/StyledVideoGrid.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAWA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAmD;QAAjD,YAAY,kBAAA,EAAE,eAAW,EAAX,OAAO,mBAAG,CAAC,KAAA;IACjE,IAAM,WAAW,GAAG,MAAM,CAAC;IAC3B,OAAO,CACL,uBAAK,KAAK,EAAE,EAAE,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAC,YAAY,gBACrF,YAAY,CAAC,GAAG,CAAC,UAAC,KAAK,EAAE,KAAK,IAAK,OAAA,CAClC,wBAAiB,SAAS,EAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"StyledVideoGrid.js","sourceRoot":"","sources":["../../src/stories/StyledVideoGrid.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAWA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAmD;QAAjD,YAAY,kBAAA,EAAE,eAAW,EAAX,OAAO,mBAAG,CAAC,KAAA;IACjE,IAAM,WAAW,GAAG,MAAM,CAAC;IAC3B,OAAO,CACL,uBAAK,KAAK,EAAE,EAAE,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAC,YAAY,gBACrF,YAAY,CAAC,GAAG,CAAC,UAAC,KAAK,EAAE,KAAK,IAAK,OAAA,CAClC,wBAAiB,SAAS,EAAC,gBAAgB,iBACxC,KAAK,CAAC,KAAK,IAAI,sBAAI,SAAS,EAAC,0BAA0B,gBAAE,KAAK,CAAC,KAAK,IAAM,EAC3E,gBACE,SAAS,EAAC,mCAAmC,EAC7C,GAAG,EAAE,KAAK,CAAC,MAAM,EACjB,MAAM,EAAE,KAAK,CAAC,QAAQ,EACtB,QAAQ,SACD,MAPD,KAAK,CAQT,CACP,EAVmC,CAUnC,CAAC,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledBankAccountListItem.d.ts","sourceRoot":"","sources":["../../../src/stories/form/StyledBankAccountListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,8BAA8B,
|
|
1
|
+
{"version":3,"file":"StyledBankAccountListItem.d.ts","sourceRoot":"","sources":["../../../src/stories/form/StyledBankAccountListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI7D,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAAE,WAAW,EAAE,EAAE,8BAA8B,2CAYhG"}
|
|
@@ -14,7 +14,6 @@ import { Utils } from '../../utils';
|
|
|
14
14
|
import DfxIcon, { IconVariant, IconColor } from '../DfxIcon';
|
|
15
15
|
export default function StyledBankAccountListItem(_a) {
|
|
16
16
|
var bankAccount = _a.bankAccount;
|
|
17
|
-
|
|
18
|
-
return (_jsxs("div", __assign({ className: "flex gap-3 mb-3 last:mb-0 rounded py-1 px-3 hover:bg-dfxGray-400/50 " }, { children: [_jsx("div", __assign({ className: "place-self-center" }, { children: _jsx(DfxIcon, { icon: IconVariant.BANK, color: IconColor.BLACK }) })), _jsxs("div", __assign({ className: "flex flex-col justify-center h-[42px]" }, { children: [isLabelAvailable && _jsx("p", __assign({ className: "text-dfxGray-800 text-xs" }, { children: bankAccount.label })), _jsx("p", __assign({ className: "text-dfxBlue-800" }, { children: Utils.formatIban(bankAccount.iban) }))] }))] })));
|
|
17
|
+
return (_jsxs("div", __assign({ className: "flex gap-3 mb-3 last:mb-0 rounded py-1 px-3 hover:bg-dfxGray-400/50 " }, { children: [_jsx("div", __assign({ className: "place-self-center" }, { children: _jsx(DfxIcon, { icon: IconVariant.BANK, color: IconColor.BLACK }) })), _jsxs("div", __assign({ className: "flex flex-col justify-center h-[42px]" }, { children: [bankAccount.label && _jsx("p", __assign({ className: "text-dfxGray-800 text-xs" }, { children: bankAccount.label })), _jsx("p", __assign({ className: "text-dfxBlue-800" }, { children: Utils.formatIban(bankAccount.iban) }))] }))] })));
|
|
19
18
|
}
|
|
20
19
|
//# sourceMappingURL=StyledBankAccountListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledBankAccountListItem.js","sourceRoot":"","sources":["../../../src/stories/form/StyledBankAccountListItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,OAAO,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAM7D,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAA+C;QAA7C,WAAW,iBAAA;IAC7D,
|
|
1
|
+
{"version":3,"file":"StyledBankAccountListItem.js","sourceRoot":"","sources":["../../../src/stories/form/StyledBankAccountListItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,OAAO,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAM7D,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAA+C;QAA7C,WAAW,iBAAA;IAC7D,OAAO,CACL,wBAAK,SAAS,EAAC,sEAAsE,iBACnF,uBAAK,SAAS,EAAC,mBAAmB,gBAChC,KAAC,OAAO,IAAC,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,GAAI,IACvD,EACN,wBAAK,SAAS,EAAC,uCAAuC,iBACnD,WAAW,CAAC,KAAK,IAAI,qBAAG,SAAS,EAAC,0BAA0B,gBAAE,WAAW,CAAC,KAAK,IAAK,EACrF,qBAAG,SAAS,EAAC,kBAAkB,gBAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAK,KACpE,KACF,CACP,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@dfx.swiss/react-components",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0-beta.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"tailwindcss": "^3.2.4",
|
|
88
88
|
"webpack": "^5.75.0"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "47be6eeb9c890b3255eaa08bd34a3bdc7d34a13d"
|
|
91
91
|
}
|