bonuspluscomponents 0.0.65 → 0.0.67
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/Pages/PurchasesPage/PurchasesPage.d.ts +3 -0
- package/dist/Pages/PurchasesPage/PurchasesPage.d.ts.map +1 -0
- package/dist/bonuspluscomponents.cjs.js +37 -33
- package/dist/bonuspluscomponents.es.js +2072 -1786
- package/dist/bonuspluscomponents.umd.js +38 -34
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.d.ts +1 -6
- package/dist/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.d.ts.map +1 -1
- package/dist/components/Router/Router.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,+
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,+CAUX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { Activity } from "../Models";
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
phone?: string;
|
|
5
|
-
apiAxios: AxiosInstance;
|
|
6
|
-
};
|
|
7
|
-
declare const UsePurchaseHistory: ({ phone, apiAxios }: Props) => {
|
|
2
|
+
declare const UsePurchaseHistory: () => {
|
|
8
3
|
purchaseNotFound: import("react/jsx-runtime").JSX.Element | null;
|
|
9
4
|
purchaseHistory: Activity[] | undefined;
|
|
10
5
|
isLoading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsePurchaseHistory.d.ts","sourceRoot":"","sources":["../../../../src/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"UsePurchaseHistory.d.ts","sourceRoot":"","sources":["../../../../src/components/PurchaseHistory/usePurchaseHistory/UsePurchaseHistory.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAMnC,QAAA,MAAM,kBAAkB;;;;CA4CvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Router.d.ts","sourceRoot":"","sources":["../../../src/components/Router/Router.tsx"],"names":[],"mappings":"AASA,OAAO,eAAe,CAAA;AAGtB,QAAA,MAAM,MAAM,+CAsCX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.page_view{display:flex;flex-direction:column}.page_view__page{height:90vh}.page_view__navigation{position:fixed;bottom:0;width:100%}
|
|
1
|
+
.page_view{display:flex;flex-direction:column}.page_view__page{height:90vh}.page_view__navigation{position:fixed;bottom:0;width:100%}.cloud{background-color:#cccccc80;padding:.4em;border-radius:15px;text-align:center}.purchase_element{background-color:#cccccc61;border-radius:5px;padding:.5em}.purchase_element__body{display:flex;justify-content:space-between}.purchase_element__body__right{display:flex;flex-direction:column;align-items:flex-end}.purchase_element>div{display:flex;flex-direction:column}.purchase_history_element{padding:.5em;border-radius:5px;background-color:#cccccc1c}.purchase_history_element__title{display:flex;justify-content:space-between}.purchase_history_element__title__info{position:relative}.purchase_history_element__title__info>div{position:absolute;top:-15px;left:-25px}.purchase_history_element__show_more{margin-top:.3em;border-radius:15px;background-color:#cccccc21;display:flex;justify-content:center}.purchase_history_element__show_more:hover{transition:background-color .2s ease;background-color:#cccccc40}.purchase_history_element__body{padding-top:.3em;display:flex;flex-wrap:wrap;gap:1em}.purchase_history_element__body__top{display:flex;justify-content:space-between;align-items:center}.purchase_history_element__body__top__amount{color:#da0d19}.purchase_history_element__body__top__amount.more{color:#49aa19}.purchase_history_element__purchases{margin-top:.7em}.desc_element{padding:.5em;border-radius:5px;background-color:#cccccc4d;display:flex;opacity:.8}.desc_element>div{flex:1}.desc_element>div>div:first-child{border-bottom:solid 1px #ccc}
|