@kiva/kv-shop 3.7.66 → 3.7.68

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.
@@ -1,4 +1,4 @@
1
- import { toRefs as v, ref as m, watch as n, onMounted as M } from "vue";
1
+ import { toRefs as v, ref as a, watch as n, onMounted as M } from "vue";
2
2
  import "@mdi/js";
3
3
  /* empty css */
4
4
  /* empty css */
@@ -41,6 +41,8 @@ import "../kv-components/dist/vue/KvLoanUse2.js";
41
41
  import "../kv-components/dist/utils/mapUtils.js";
42
42
  /* empty css */
43
43
  /* empty css */
44
+ import "../kv-components/dist/utils/pieChartColors.js";
45
+ /* empty css */
44
46
  /* empty css */
45
47
  /* empty css */
46
48
  /* empty css */
@@ -57,7 +59,7 @@ import "../kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js";
57
59
  /* empty css */
58
60
  import "../kv-components/dist/utils/loanCard.js";
59
61
  import T, { defaultPaymentTypes as I } from "../useBraintreeDropIn.js";
60
- const At = {
62
+ const Vt = {
61
63
  components: {
62
64
  KvLoadingSpinner: P
63
65
  },
@@ -118,19 +120,19 @@ const At = {
118
120
  emits: ["transactions-enabled", "error"],
119
121
  setup(i, { emit: e }) {
120
122
  const {
121
- amount: a,
123
+ amount: m,
122
124
  authToken: u,
123
125
  flow: l,
124
126
  googlePayMerchantId: s,
125
127
  paymentTypes: d,
126
128
  preselectVaultedPaymentMethod: y
127
- } = v(i), o = m(null), p = m(!1), {
129
+ } = v(i), o = a(null), p = a(!1), {
128
130
  initDropIn: c,
129
131
  paymentMethodRequestable: f,
130
132
  requestPaymentMethod: h,
131
133
  updateAmount: g
132
134
  } = T(i.dropInName);
133
- return n(a, (t) => {
135
+ return n(m, (t) => {
134
136
  g(t);
135
137
  }), n(f, (t) => {
136
138
  e("transactions-enabled", t);
@@ -140,7 +142,7 @@ const At = {
140
142
  p.value = !0;
141
143
  try {
142
144
  await c({
143
- amount: a.value,
145
+ amount: m.value,
144
146
  authToken: u.value,
145
147
  container: o.value,
146
148
  googlePayMerchantId: s.value,
@@ -162,5 +164,5 @@ const At = {
162
164
  }
163
165
  };
164
166
  export {
165
- At as default
167
+ Vt as default
166
168
  };
@@ -0,0 +1,18 @@
1
+ import e from "@kiva/kv-tokens";
2
+ const { colors: r } = e;
3
+ r.gray[100];
4
+ r.gray[300];
5
+ // Tier 1 — Bold primaries
6
+ r["eco-green"][3], // #276A43
7
+ r.marigold.DEFAULT, // #F4B539
8
+ r["desert-rose"].DEFAULT, // Custom purple for contrast
9
+ r.stone[3], // #635544
10
+ r.brand[500], // #4AB67E
11
+ r.marigold[3], // #996210
12
+ // Tier 2 — Lighter variants
13
+ r["eco-green"][2], // #78C79F
14
+ r.marigold[2], // #F8CD69
15
+ r["desert-rose"][2], // #E0988D
16
+ r.stone[2], // #AA9E8D
17
+ r.brand[300], // #95D4B3
18
+ r["desert-rose"][3];
@@ -0,0 +1 @@
1
+ .segment-circle[data-v-3e2d3156]{transition:stroke-dashoffset .5s ease-in-out}.skeleton-ring[data-v-3e2d3156]{transition:opacity .5s ease-in-out}.legend-dot[data-v-3e2d3156]{transition:background-color .5s ease-in-out}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-shop",
3
- "version": "3.7.66",
3
+ "version": "3.7.68",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "@apollo/client": "^3.13.1",
36
36
  "@kiva/kv-analytics": "^1.3.1",
37
- "@kiva/kv-components": "^8.9.1",
37
+ "@kiva/kv-components": "^8.11.0",
38
38
  "@kiva/vite-plugin-vue-lib-css": "^2.0.0",
39
39
  "@types/braintree-web-drop-in": "^1.39.3",
40
40
  "@types/jest": "^29.5.14",
@@ -63,5 +63,5 @@
63
63
  "numeral": "2.x",
64
64
  "vue": "3.x"
65
65
  },
66
- "gitHead": "ff3cad55e305990584c6d393f118b979987720ba"
66
+ "gitHead": "adc213db33b85ed8e36aff18b14bff6db7093fdd"
67
67
  }