@bagelink/vue 0.0.162 → 0.0.168

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 +1 @@
1
- {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAyCA;;;;;0BA4YyB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARxB,wBAeG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Router } from 'vue-router';
1
+ import type { Router } from "vue-router";
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  title?: string | undefined;
4
4
  tabs: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/TabbedLayout.vue"],"names":[],"mappings":"AAiCA;AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;AA+LzC,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/TabbedLayout.vue"],"names":[],"mappings":"AA8BA;AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;AAkMzC,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,iBAAiB,+CAAmC,CAAC;AAC3D,QAAA,MAAM,YAAY,+CAA4B,CAAC;AAC/C,QAAA,MAAM,gBAAgB,+CAAgC,CAAC;AACvD,QAAA,MAAM,eAAe,+CAA8B,CAAC;AACpD,QAAA,MAAM,iBAAiB,+CAAsB,CAAC;AAC9C,QAAA,MAAM,eAAe,+CAA4B,CAAC;AAClD,QAAA,MAAM,kBAAkB,+CAAoC,CAAC;AAC7D,QAAA,MAAM,kBAAkB,+CAAmB,CAAC;AAE5C,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,GACf,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,iBAAiB,+CAAmC,CAAC;AAC3D,QAAA,MAAM,YAAY,+CAA4B,CAAC;AAC/C,QAAA,MAAM,gBAAgB,+CAAgC,CAAC;AACvD,QAAA,MAAM,eAAe,+CAA8B,CAAC;AACpD,QAAA,MAAM,iBAAiB,+CAAsB,CAAC;AAC9C,QAAA,MAAM,eAAe,+CAEnB,CAAC;AACH,QAAA,MAAM,kBAAkB,+CAAoC,CAAC;AAC7D,QAAA,MAAM,kBAAkB,+CAAmB,CAAC;AAE5C,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,GACf,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/index.cjs CHANGED
@@ -14982,7 +14982,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
14982
14982
  };
14983
14983
  }
14984
14984
  });
14985
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4ac29f1d"]]);
14985
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3941cced"]]);
14986
14986
  const _hoisted_1$R = { class: "comments-wrap" };
14987
14987
  const _hoisted_2$J = { class: "comment-list" };
14988
14988
  const _hoisted_3$D = { class: "comment-top" };
@@ -17220,7 +17220,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17220
17220
  };
17221
17221
  }
17222
17222
  });
17223
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5d0f75db"]]);
17223
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-fe72d553"]]);
17224
17224
  const _hoisted_1$G = { class: "bagel-input" };
17225
17225
  const _hoisted_2$B = { class: "mt-1" };
17226
17226
  const _hoisted_3$x = {
@@ -18286,7 +18286,9 @@ const AddressInput = createInput(AddressArray);
18286
18286
  const BankDetailsInput = createInput(BankDetailsArray);
18287
18287
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18288
18288
  const ToggleSwitchInput = createInput(Toggle);
18289
- const FileUploadInput = createInput(_sfc_main$s);
18289
+ const FileUploadInput = createInput(_sfc_main$s, {
18290
+ props: ["dragDropLabel", "browseLabel"]
18291
+ });
18290
18292
  const TextVariablesInput = createInput(_sfc_main$q);
18291
18293
  const PersonPreviewInput = createInput(_sfc_main$r);
18292
18294
  const _hoisted_1$z = {
package/dist/index.mjs CHANGED
@@ -14980,7 +14980,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14980
14980
  };
14981
14981
  }
14982
14982
  });
14983
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4ac29f1d"]]);
14983
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3941cced"]]);
14984
14984
  const _hoisted_1$R = { class: "comments-wrap" };
14985
14985
  const _hoisted_2$J = { class: "comment-list" };
14986
14986
  const _hoisted_3$D = { class: "comment-top" };
@@ -17218,7 +17218,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17218
17218
  };
17219
17219
  }
17220
17220
  });
17221
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5d0f75db"]]);
17221
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-fe72d553"]]);
17222
17222
  const _hoisted_1$G = { class: "bagel-input" };
17223
17223
  const _hoisted_2$B = { class: "mt-1" };
17224
17224
  const _hoisted_3$x = {
@@ -18284,7 +18284,9 @@ const AddressInput = createInput(AddressArray);
18284
18284
  const BankDetailsInput = createInput(BankDetailsArray);
18285
18285
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18286
18286
  const ToggleSwitchInput = createInput(Toggle);
18287
- const FileUploadInput = createInput(_sfc_main$s);
18287
+ const FileUploadInput = createInput(_sfc_main$s, {
18288
+ props: ["dragDropLabel", "browseLabel"]
18289
+ });
18288
18290
  const TextVariablesInput = createInput(_sfc_main$q);
18289
18291
  const PersonPreviewInput = createInput(_sfc_main$r);
18290
18292
  const _hoisted_1$z = {
package/dist/style.css CHANGED
@@ -604,20 +604,11 @@
604
604
  flex-grow: 1;
605
605
  }
606
606
 
607
- .tab[data-v-4ac29f1d] {
608
- text-transform: capitalize;
607
+ .tab[data-v-3941cced] {
608
+ text-transform: capitalize;
609
609
  }
610
-
611
- /* .top-section {
612
- grid-area: top-section;
613
- font-size: 10px;
614
- }
615
-
616
- .detail-section {
617
- grid-area: detail-section;
618
- } */
619
- .card.tabs-top[data-v-4ac29f1d] {
620
- width: 99%;
610
+ .card.tabs-top[data-v-3941cced] {
611
+ /* width: 99%; */
621
612
  }
622
613
 
623
614
  .comments-wrap[data-v-2eead7c8] {
@@ -989,14 +980,14 @@ th[data-v-fb5b163a] {
989
980
  display: none;
990
981
  } */
991
982
  .files-wrapper {
992
- /* flex-direction: column;
983
+ /* flex-direction: column;
993
984
  border-radius: 10px; */
994
- /*overflow: hidden;*/
995
- /* min-height: 100px;
985
+ /*overflow: hidden;*/
986
+ /* min-height: 100px;
996
987
  font-size: var(--input-font-size); */
997
988
  }
998
989
  .drop-zone {
999
- /* background-color: var(--bgl-bg);
990
+ /* background-color: var(--bgl-bg);
1000
991
  height: 100%;
1001
992
  width: 100%;
1002
993
  flex-grow: 1;
@@ -1014,11 +1005,11 @@ th[data-v-fb5b163a] {
1014
1005
  color: var(--input-color); */
1015
1006
  }
1016
1007
  .drop-zone:hover {
1017
- /* color: var(--bgl-primary);
1008
+ /* color: var(--bgl-primary);
1018
1009
  outline: dashed 1px var(--bgl-primary-tint); */
1019
1010
  }
1020
1011
  .drop-circle {
1021
- /* pointer-events: none;
1012
+ /* pointer-events: none;
1022
1013
  position: absolute;
1023
1014
  width: 100px;
1024
1015
  height: 100px;
@@ -1038,7 +1029,7 @@ th[data-v-fb5b163a] {
1038
1029
  transition: transform 0.2s ease-in-out;
1039
1030
  } */
1040
1031
  .load-file-bar {
1041
- /* display: flex;
1032
+ /* display: flex;
1042
1033
  align-items: center;
1043
1034
  justify-content: space-between;
1044
1035
  background: var(--bgl-white);
@@ -1051,15 +1042,15 @@ th[data-v-fb5b163a] {
1051
1042
  white-space: nowrap; */
1052
1043
  }
1053
1044
  .load-file-bar p {
1054
- /* width: calc(100% - 40px);
1045
+ /* width: calc(100% - 40px);
1055
1046
  overflow: hidden;
1056
1047
  text-overflow: ellipsis; */
1057
1048
  }
1058
1049
  .load-file-bar span {
1059
- /* font-size: 10px; */
1050
+ /* font-size: 10px; */
1060
1051
  }
1061
1052
  .pie {
1062
- /* width: 30px;
1053
+ /* width: 30px;
1063
1054
  height: 30px;
1064
1055
  position: relative;
1065
1056
  display: flex;
@@ -1097,7 +1088,6 @@ th[data-v-fb5b163a] {
1097
1088
  .pop-leave-to {
1098
1089
  scale: 0;
1099
1090
  } */
1100
-
1101
1091
  /* .group-wrap * {
1102
1092
  outline: 1px solid red;
1103
1093
  } */
@@ -1258,13 +1248,13 @@ th[data-v-fb5b163a] {
1258
1248
  }
1259
1249
  }
1260
1250
 
1261
- .primary-checkbox input[data-v-5d0f75db] {
1251
+ .primary-checkbox input[data-v-fe72d553] {
1262
1252
  display: none;
1263
1253
  }
1264
- .primary-checkbox[data-v-5d0f75db] {
1254
+ .primary-checkbox[data-v-fe72d553] {
1265
1255
  margin-top: 8px;
1266
1256
  }
1267
- .primary-checkbox span[data-v-5d0f75db] {
1257
+ .primary-checkbox span[data-v-fe72d553] {
1268
1258
  display: flex;
1269
1259
  padding-top: 1px;
1270
1260
  align-items: center;
@@ -1273,19 +1263,19 @@ th[data-v-fb5b163a] {
1273
1263
  border-radius: 100%;
1274
1264
  width: 26px;
1275
1265
  height: 26px;
1276
- background: white;
1266
+ background: var(--bgl-white);
1277
1267
  border: 4px solid var(--bgl-gray-light);
1278
1268
  cursor: pointer;
1279
1269
  transition: var(--bgl-transition);
1280
1270
  user-select: none;
1281
1271
  }
1282
- .primary-checkbox span[data-v-5d0f75db]:hover {
1272
+ .primary-checkbox span[data-v-fe72d553]:hover {
1283
1273
  filter: brightness(90%);
1284
1274
  }
1285
- .primary-checkbox span[data-v-5d0f75db]:active {
1275
+ .primary-checkbox span[data-v-fe72d553]:active {
1286
1276
  filter: brightness(80%);
1287
1277
  }
1288
- .primary-checkbox input:checked + span[data-v-5d0f75db] {
1278
+ .primary-checkbox input:checked + span[data-v-fe72d553] {
1289
1279
  background: var(--bgl-primary);
1290
1280
  border: none;
1291
1281
  }
@@ -2771,13 +2761,6 @@ select {
2771
2761
  padding: 0;
2772
2762
  width: fit-content;
2773
2763
  }
2774
- .bagel-input input:focus-visible,
2775
- .bagel-input select:focus-visible,
2776
- .bagel-input textarea:focus-visible,
2777
- .input.active {
2778
- outline: none;
2779
- box-shadow: inset 0 0 10px #00000012;
2780
- }
2781
2764
  .bagel-input:focus-within label {
2782
2765
  color: var(--bgl-primary);
2783
2766
  }
@@ -2916,7 +2899,10 @@ button.formkit-input:active {
2916
2899
  .formkit-outer input:focus-visible,
2917
2900
  .formkit-outer select:focus-visible,
2918
2901
  .formkit-outer textarea:focus-visible,
2919
- .input.active {
2902
+ .input.active,
2903
+ .bagel-input input:focus-visible,
2904
+ .bagel-input select:focus-visible,
2905
+ .bagel-input textarea:focus-visible {
2920
2906
  outline: none;
2921
2907
  box-shadow: inset 0 0 10px #00000012;
2922
2908
  }
@@ -3221,6 +3207,7 @@ h6 {}
3221
3207
  margin-top: 0;
3222
3208
  margin-bottom: 20px;
3223
3209
  width: 100%;
3210
+ padding-inline-end: 40px;
3224
3211
  }
3225
3212
  .modal-footer {
3226
3213
  gap: 1rem;
@@ -3525,6 +3512,10 @@ body {
3525
3512
  padding-top: 1rem;
3526
3513
  inset-inline-start: 0;
3527
3514
  }
3515
+ .DonationsDashbored .tabs {
3516
+ border-bottom: 1px solid var(--border-color);
3517
+ border-top: none;
3518
+ }
3528
3519
  .copy-url {
3529
3520
  background-color: var(--bgl-gray-light);
3530
3521
  border-radius: var(--btn-border-radius);
@@ -3668,14 +3659,17 @@ body {
3668
3659
  }
3669
3660
  }
3670
3661
  [theme="dark"] {
3671
- --bgl-blue-20: rgba(46, 91, 255, 20%);
3672
- --bgl-blue-dark: #191c30;
3673
- --bgl-blue-light: #20262f;
3662
+ --bgl-primary: #1c4fe1;
3663
+ --bgl-primary-tint: #1c4fe180;
3664
+
3665
+ /* --bgl-blue-20: rgba(46, 91, 255, 20%); */
3666
+ /* --bgl-blue-dark: #191c30; */
3667
+ --bgl-blue-light: #34363b;
3674
3668
  --bgl-black: #dbdcdc;
3675
- --bgl-black-tint: #686868;
3676
- --bgl-white: #212121;
3677
- --bgl-gray: #606060;
3678
- --bgl-gray-light: #252729;
3669
+ --bgl-black-tint: #7a7a7a;
3670
+ --bgl-white: rgb(41, 42, 45);
3671
+ --bgl-gray: #7f7d7d;
3672
+ --bgl-gray-light: #191b1c;
3679
3673
  --bgl-gray-80: #e8ecef;
3680
3674
  --bgl-gray-20: rgba(183, 183, 183, 0.2);
3681
3675
  --bgl-pink: #f1416c;
@@ -3684,32 +3678,75 @@ body {
3684
3678
  --bgl-yellow: #ffbb00;
3685
3679
  --bgl-yellow-light: #fff6d5;
3686
3680
  --bgl-green: #52875b;
3687
- --border-color: #292b2e;
3688
- --bgl-bg: #24252a;
3681
+ --border-color: #383a3f;
3682
+ --bgl-bg: #121317;
3689
3683
  --bgl-shadow: #4c577d26;
3690
- --input-bg: #252729;
3691
- --input-color: #929394;
3692
- --label-color: #92939480;
3693
- --placeholder-color: #92939440;
3694
- --input-height: 40px;
3695
- --bgl-hover-filter: brightness(120%);
3696
- --bgl-active-filter: brightness(100%);
3684
+ --input-bg: #1d2023;
3685
+ --input-color: #d3d4d4;
3686
+ --label-color: #d3d4d480;
3687
+ --placeholder-color: #ccd4dd60;
3688
+
3689
+ --bgl-hover-filter: brightness(130%);
3690
+ --bgl-active-filter: brightness(110%);
3697
3691
  }
3698
3692
  [theme="dark"] .formkit-outer input:focus-visible,
3699
3693
  [theme="dark"] .formkit-outer select:focus-visible,
3700
3694
  [theme="dark"] .formkit-outer textarea:focus-visible,
3701
- .input.active {
3695
+ [theme="dark"] .input.active,
3696
+ [theme="dark"] .bagel-input input:focus-visible,
3697
+ [theme="dark"] .bagel-input select:focus-visible,
3698
+ [theme="dark"] .bagel-input textarea:focus-visible {
3702
3699
  outline: none;
3703
- box-shadow: inset 0 0 10px #181212;
3700
+ box-shadow: inset 0 0 10px var(--bgl-bg);
3701
+ }
3702
+ [theme="dark"] .formkit-outer select {
3703
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
3704
3704
  }
3705
3705
  /* use this is to override the nav color */
3706
3706
  [theme="dark"] .nav {
3707
- --bgl-white: var(--bgl-black) !important;
3708
- /* --bgl-primary: #081851; */
3707
+ color: var(--bgl-black) !important;
3708
+ background: transparent;
3709
+ border-radius: 0 !important;
3710
+ border-inline-end: 1px solid var(--bgl-gray-20);
3711
+ margin-top: 0 !important;
3712
+ margin-bottom: 0 !important;
3713
+ margin-inline-start: 0 !important;
3714
+ }
3715
+ [theme="dark"] .nav * {
3716
+ color: var(--bgl-black) !important;
3717
+
3718
+ }
3719
+ [theme="dark"] .dropdown-project-head {
3720
+ background: var(--bgl-bg) !important;
3721
+ color: var(--bgl-white) !important;
3722
+ }
3723
+ [theme="dark"] .dropdown-project-body {
3724
+ color: var(--bgl-black-tint) !important;
3709
3725
  }
3710
- [theme="dark"]input::-webkit-calendar-picker-indicator {
3726
+ /* until here */
3727
+ [theme="dark"] input::-webkit-calendar-picker-indicator {
3711
3728
  filter: invert(48%);
3712
3729
  }
3730
+ [theme="dark"] ::selection {
3731
+ color: var(--bgl-black);
3732
+ background: var(--bgl-primary-tint);
3733
+ }
3734
+ [theme="dark"] .whatsapp-msg {
3735
+ color: var(--bgl-gray-light);
3736
+ }
3737
+ [theme="dark"] button.formkit-input,
3738
+ [theme="dark"] .btn,
3739
+ [theme="dark"] .btn-icon,
3740
+ [theme="dark"] .primary-checkbox input:checked+span,
3741
+ [theme="dark"] .btn.light {
3742
+ color: var(--bgl-black);
3743
+ }
3744
+ [theme="dark"] .bagel-input.checkbox.check .slider:before {
3745
+ color: var(--bgl-black) !important;
3746
+ }
3747
+ [theme="dark"] .nav-expend {
3748
+ top: 67px;
3749
+ }
3713
3750
  :root {
3714
3751
  --transition-ease-in: cubic-bezier(0.1, 0.5, 0.33, 1);
3715
3752
  --transition-ease-out: cubic-bezier(1, 0.33, 0.5, 0.1);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.162",
4
+ "version": "0.0.168",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -51,7 +51,7 @@
51
51
  "./vite.config.ts"
52
52
  ],
53
53
  "dependencies": {
54
- "vue": "^3.3.10"
54
+ "vue": "^3.3.11"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@vue-macros/reactivity-transform": "^0.4.0"
@@ -1,43 +1,51 @@
1
1
  <template>
2
- <div class="files-wrapper flex">
3
- <div
4
- ref="dropZoneEl"
5
- class="drop-zone flex-grow"
6
- @click="openFileDialog"
7
- @dragenter="draggingOver = true"
8
- @drop.prevent.stop="onDrop"
9
- >
10
- <Transition name="pop">
11
- <div ref="dropCircle" v-if="draggingOver" class="drop-circle" />
12
- </Transition>
13
- <div class="img-label">
14
- <p>
15
- {{ dragDropLabel }} <span>{{ browseLabel }}</span>
16
- </p>
17
- </div>
18
- <div class="uploading-wrap">
19
- <div
20
- v-for="(item, index) in files"
21
- :class="{ uploading: item.uploading }"
22
- :key="index"
23
- >
24
- <div class="load-file-bar">
25
- <p>{{ item.file.name }}</p>
26
- <div class="pie" :style="`--p:${item.progress}`" style="--b: 2px">
27
- <span>{{ `${item.progress}` }}</span>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
- </div>
33
- <input
34
- class="file-input"
35
- type="file"
36
- @change="handleFileInput"
37
- ref="fileInputEl"
38
- :multiple="!singleFile"
39
- />
40
- </div>
2
+ <div class="files-wrapper flex">
3
+ <div
4
+ ref="dropZoneEl"
5
+ class="drop-zone flex-grow"
6
+ @click="openFileDialog"
7
+ @dragenter="draggingOver = true"
8
+ @drop.prevent.stop="onDrop"
9
+ >
10
+ <Transition name="pop">
11
+ <div
12
+ ref="dropCircle"
13
+ v-if="draggingOver"
14
+ class="drop-circle"
15
+ />
16
+ </Transition>
17
+ <div class="img-label">
18
+ <p>
19
+ {{ dragDropLabel }} <span>{{ browseLabel }}</span>
20
+ </p>
21
+ </div>
22
+ <div class="uploading-wrap">
23
+ <div
24
+ v-for="(item, index) in files"
25
+ :class="{ uploading: item.uploading }"
26
+ :key="index"
27
+ >
28
+ <div class="load-file-bar">
29
+ <p>{{ item.file.name }}</p>
30
+ <div
31
+ class="pie"
32
+ :style="`--p:${item.progress}`"
33
+ style="--b: 2px"
34
+ >
35
+ <span>{{ `${item.progress}` }}</span>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <input
42
+ class="file-input"
43
+ type="file"
44
+ @change="handleFileInput"
45
+ ref="fileInputEl"
46
+ :multiple="!singleFile"
47
+ />
48
+ </div>
41
49
  </template>
42
50
 
43
51
  <script setup lang="ts">
@@ -53,89 +61,90 @@ const fileInputEl = ref<HTMLInputElement>();
53
61
  const circleTop = ref("0");
54
62
  const circleLeft = ref("0");
55
63
  const files = ref<
56
- {
57
- progress: string;
58
- uploading: boolean;
59
- uid: string;
60
- file: File;
61
- }[]
64
+ {
65
+ progress: string;
66
+ uploading: boolean;
67
+ uid: string;
68
+ file: File;
69
+ }[]
62
70
  >([]);
63
71
  const props = withDefaults(
64
- defineProps<{
65
- id?: string;
66
- // folder?: string,
67
- private?: 1 | 0;
68
- singleFile?: boolean;
69
- beforeUpload?: () => Promise<any>;
70
- dragDropLabel?: string;
71
- browseLabel?: string;
72
- }>(),
73
- {
74
- private: 0,
75
- entity: "",
76
- id: "",
77
- beforeUpload: async () => {},
78
- dragDropLabel: "Drag and drop your files here",
79
- browseLabel: "Browse",
80
- }
72
+ defineProps<{
73
+ id?: string;
74
+ // folder?: string,
75
+ private?: 1 | 0;
76
+ singleFile?: boolean;
77
+ beforeUpload?: () => Promise<any>;
78
+ dragDropLabel?: string;
79
+ browseLabel?: string;
80
+ }>(),
81
+ {
82
+ private: 0,
83
+ entity: "",
84
+ id: "",
85
+ beforeUpload: async () => { },
86
+ dragDropLabel: "Drag and drop your files here",
87
+ browseLabel: "Browse",
88
+ }
81
89
  );
82
90
 
83
91
  /**
84
92
  * Drag and drop
85
93
  */
86
94
 
95
+
87
96
  function openFileDialog() {
88
- fileInputEl.value?.click();
97
+ fileInputEl.value?.click();
89
98
  }
90
99
 
91
100
  function onDragOver(e: DragEvent) {
92
- if (!draggingOver.value) return;
93
- // set the position of the circle to the cursor
94
- const parentEl = dropZoneEl.value?.getBoundingClientRect?.() || {
95
- left: 0,
96
- top: 0,
97
- width: 0,
98
- height: 0,
99
- };
100
- const x = e.clientX - parentEl.left;
101
- const y = e.clientY - parentEl.top;
102
- circleLeft.value = `${x}px`;
103
- circleTop.value = `${y}px`;
104
- // if the cursor is outside the dropzone, hide the circle
105
- if (x < 0 || x > parentEl.width || y < 0 || y > parentEl.height) {
106
- draggingOver.value = false;
107
- }
101
+ if (!draggingOver.value) return;
102
+ // set the position of the circle to the cursor
103
+ const parentEl = dropZoneEl.value?.getBoundingClientRect?.() || {
104
+ left: 0,
105
+ top: 0,
106
+ width: 0,
107
+ height: 0,
108
+ };
109
+ const x = e.clientX - parentEl.left;
110
+ const y = e.clientY - parentEl.top;
111
+ circleLeft.value = `${x}px`;
112
+ circleTop.value = `${y}px`;
113
+ // if the cursor is outside the dropzone, hide the circle
114
+ if (x < 0 || x > parentEl.width || y < 0 || y > parentEl.height) {
115
+ draggingOver.value = false;
116
+ }
108
117
  }
109
118
 
110
119
  function handleFileInput(e: Event) {
111
- const filesToAdd: FileList = (e.target as any).files;
112
- addFiles(filesToAdd);
120
+ const filesToAdd: FileList = (e.target as any).files;
121
+ addFiles(filesToAdd);
113
122
  }
114
123
 
115
124
  function preventDefaults(e: Event) {
116
- e.preventDefault();
125
+ e.preventDefault();
117
126
  }
118
127
 
119
128
  function hideCircle(e: DragEvent) {
120
- console.log({ e });
129
+ console.log({ e });
121
130
 
122
- draggingOver.value = false;
131
+ draggingOver.value = false;
123
132
  }
124
133
 
125
134
  const events = ["dragenter", "dragover", "dragleave", "drop"];
126
135
 
127
136
  onMounted(() => {
128
- events.forEach((event) => {
129
- document.addEventListener(event, preventDefaults);
130
- });
131
- document.addEventListener("dragover", onDragOver);
137
+ events.forEach((event) => {
138
+ document.addEventListener(event, preventDefaults);
139
+ });
140
+ document.addEventListener("dragover", onDragOver);
132
141
  });
133
142
 
134
143
  onUnmounted(() => {
135
- document.removeEventListener("dragover", onDragOver);
136
- events.forEach((event) => {
137
- document.removeEventListener(event, preventDefaults);
138
- });
144
+ document.removeEventListener("dragover", onDragOver);
145
+ events.forEach((event) => {
146
+ document.removeEventListener(event, preventDefaults);
147
+ });
139
148
  });
140
149
 
141
150
  /**
@@ -143,16 +152,16 @@ onUnmounted(() => {
143
152
  */
144
153
 
145
154
  function addFiles(addedFiles: FileList) {
146
- if (props.singleFile && files.value.length > 1) return;
147
- for (let i = 0; i < addedFiles.length; i++) {
148
- files.value.push({
149
- file: addedFiles[i],
150
- uid: Math.random().toString(36).substring(2, 9),
151
- progress: "",
152
- uploading: false,
153
- });
154
- }
155
- uploadFiles();
155
+ if (props.singleFile && files.value.length > 1) return;
156
+ for (let i = 0; i < addedFiles.length; i++) {
157
+ files.value.push({
158
+ file: addedFiles[i],
159
+ uid: Math.random().toString(36).substring(2, 9),
160
+ progress: "",
161
+ uploading: false,
162
+ });
163
+ }
164
+ uploadFiles();
156
165
  }
157
166
 
158
167
  /**
@@ -167,10 +176,10 @@ const emit = defineEmits(["complete", "done"]);
167
176
  */
168
177
 
169
178
  function uploadFiles() {
170
- files.value.forEach((item) => {
171
- item.uploading = true;
172
- /// TODO upload file
173
- });
179
+ files.value.forEach((item) => {
180
+ item.uploading = true;
181
+ /// TODO upload file
182
+ });
174
183
  }
175
184
 
176
185
  // function updateProgress(e: ProgressEvent, uid: string) {
@@ -194,14 +203,14 @@ function uploadFiles() {
194
203
  // }
195
204
 
196
205
  async function onDrop(e: DragEvent) {
197
- hideCircle(e);
198
- preventDefaults(e);
199
- const filesToAdd = e.dataTransfer?.files;
200
- if (filesToAdd) {
201
- addFiles(filesToAdd);
202
- const file = await bagel.uploadFile(filesToAdd[0]);
203
- emit("complete", file);
204
- }
206
+ hideCircle(e);
207
+ preventDefaults(e);
208
+ const filesToAdd = e.dataTransfer?.files;
209
+ if (filesToAdd) {
210
+ addFiles(filesToAdd);
211
+ const file = await bagel.uploadFile(filesToAdd[0]);
212
+ emit("complete", file);
213
+ }
205
214
  }
206
215
  </script>
207
216
  <style>
@@ -227,15 +236,15 @@ async function onDrop(e: DragEvent) {
227
236
  } */
228
237
 
229
238
  .files-wrapper {
230
- /* flex-direction: column;
239
+ /* flex-direction: column;
231
240
  border-radius: 10px; */
232
- /*overflow: hidden;*/
233
- /* min-height: 100px;
241
+ /*overflow: hidden;*/
242
+ /* min-height: 100px;
234
243
  font-size: var(--input-font-size); */
235
244
  }
236
245
 
237
246
  .drop-zone {
238
- /* background-color: var(--bgl-bg);
247
+ /* background-color: var(--bgl-bg);
239
248
  height: 100%;
240
249
  width: 100%;
241
250
  flex-grow: 1;
@@ -254,12 +263,12 @@ async function onDrop(e: DragEvent) {
254
263
  }
255
264
 
256
265
  .drop-zone:hover {
257
- /* color: var(--bgl-primary);
266
+ /* color: var(--bgl-primary);
258
267
  outline: dashed 1px var(--bgl-primary-tint); */
259
268
  }
260
269
 
261
270
  .drop-circle {
262
- /* pointer-events: none;
271
+ /* pointer-events: none;
263
272
  position: absolute;
264
273
  width: 100px;
265
274
  height: 100px;
@@ -279,7 +288,7 @@ async function onDrop(e: DragEvent) {
279
288
  transition: transform 0.2s ease-in-out;
280
289
  } */
281
290
  .load-file-bar {
282
- /* display: flex;
291
+ /* display: flex;
283
292
  align-items: center;
284
293
  justify-content: space-between;
285
294
  background: var(--bgl-white);
@@ -293,17 +302,17 @@ async function onDrop(e: DragEvent) {
293
302
  }
294
303
 
295
304
  .load-file-bar p {
296
- /* width: calc(100% - 40px);
305
+ /* width: calc(100% - 40px);
297
306
  overflow: hidden;
298
307
  text-overflow: ellipsis; */
299
308
  }
300
309
 
301
310
  .load-file-bar span {
302
- /* font-size: 10px; */
311
+ /* font-size: 10px; */
303
312
  }
304
313
 
305
314
  .pie {
306
- /* width: 30px;
315
+ /* width: 30px;
307
316
  height: 30px;
308
317
  position: relative;
309
318
  display: flex;
@@ -341,5 +350,4 @@ async function onDrop(e: DragEvent) {
341
350
  .pop-enter-from,
342
351
  .pop-leave-to {
343
352
  scale: 0;
344
- } */
345
- </style>
353
+ } */</style>
@@ -1,83 +1,74 @@
1
1
  <template>
2
- <div class="h-100 grid list-view gap-3">
3
- <div class="card tabs-top">
4
- <slot name="top-section" />
5
- <div class="tabs grid auto-flow-columns fit-content">
6
- <div
7
- v-for="tab in tabs"
8
- :class="{
9
- active:
10
- tab === activeTab ||
11
- tab === router.currentRoute.value.path.split('/').slice(-1)[0],
12
- }"
13
- class="tab"
14
- :key="tab"
15
- @click="changeTab(tab)"
16
- >
17
- {{ tab }}
18
- </div>
19
- </div>
20
- </div>
21
- <!-- <TransitionRouterView v-if="baseRoute" /> -->
22
- <div
23
- class="list-content"
24
- v-for="tab in tabs.filter((item) => item === activeTab)"
25
- :key="tab"
26
- >
27
- <slot
28
- :name="tab"
29
- :key="tab"
30
- />
31
- </div>
32
- </div>
2
+ <div class="h-100 grid list-view gap-3">
3
+ <div class="card tabs-top">
4
+ <slot name="top-section" />
5
+ <div class="tabs grid auto-flow-columns fit-content">
6
+ <div
7
+ v-for="tab in tabs"
8
+ :class="{
9
+ active:
10
+ tab === activeTab ||
11
+ tab === router.currentRoute.value.path.split('/').slice(-1)[0],
12
+ }"
13
+ class="tab"
14
+ :key="tab"
15
+ @click="changeTab(tab)"
16
+ >
17
+ {{ tab }}
18
+ </div>
19
+ </div>
20
+ </div>
21
+ <!-- <TransitionRouterView v-if="baseRoute" /> -->
22
+ <div
23
+ class="list-content"
24
+ v-for="tab in tabs.filter((item) => item === activeTab)"
25
+ :key="tab"
26
+ >
27
+ <slot :name="tab" :key="tab" />
28
+ </div>
29
+ </div>
33
30
  </template>
34
31
 
35
32
  <script setup lang="ts">
36
- import { onMounted } from 'vue';
37
- import type { Router } from 'vue-router';
33
+ import { onMounted } from "vue";
34
+ import type { Router } from "vue-router";
38
35
 
39
- const emit = defineEmits(['update:modelValue']);
36
+ const emit = defineEmits(["update:modelValue"]);
40
37
 
41
38
  let activeTab = $ref<string>();
42
39
  const props = defineProps<{
43
- title?: string;
44
- tabs: string[];
45
- modelValue?: string;
46
- router: Router
40
+ title?: string;
41
+ tabs: string[];
42
+ modelValue?: string;
43
+ router: Router;
47
44
  }>();
48
45
 
49
46
  function changeTab(tab: string) {
50
- const { router } = props;
51
- activeTab = tab;
52
- void router.push({
53
- path: router.currentRoute.value.path,
54
- query: { ...router.currentRoute.value.query, t: tab },
55
- hash: router.currentRoute.value.hash,
56
- });
57
- emit('update:modelValue', activeTab);
47
+ const { router } = props;
48
+ activeTab = tab;
49
+ void router.push({
50
+ path: router.currentRoute.value.path,
51
+ query: { ...router.currentRoute.value.query, t: tab },
52
+ hash: router.currentRoute.value.hash,
53
+ });
54
+ emit("update:modelValue", activeTab);
58
55
  }
59
56
 
60
57
  onMounted(() => {
61
- const firstTab = props.modelValue || props.router.currentRoute.value.query.t || props.tabs[0];
62
- activeTab = firstTab as string;
58
+ const firstTab =
59
+ props.modelValue ||
60
+ props.router.currentRoute.value.query.t ||
61
+ props.tabs[0];
62
+ activeTab = firstTab as string;
63
63
  });
64
64
  </script>
65
65
 
66
66
  <style scoped>
67
67
  .tab {
68
- text-transform: capitalize;
68
+ text-transform: capitalize;
69
69
  }
70
70
 
71
- /* .top-section {
72
- grid-area: top-section;
73
- font-size: 10px;
74
- }
75
-
76
- .detail-section {
77
- grid-area: detail-section;
78
- } */
79
71
  .card.tabs-top {
80
- width: 99%;
81
-
72
+ /* width: 99%; */
82
73
  }
83
74
  </style>
@@ -52,7 +52,7 @@ watch(
52
52
  border-radius: 100%;
53
53
  width: 26px;
54
54
  height: 26px;
55
- background: white;
55
+ background: var(--bgl-white);
56
56
  border: 4px solid var(--bgl-gray-light);
57
57
  cursor: pointer;
58
58
  transition: var(--bgl-transition);
@@ -13,7 +13,9 @@ const AddressInput = createInput(AddressArray);
13
13
  const BankDetailsInput = createInput(BankDetailsArray);
14
14
  const MiscFieldsInput = createInput(MiscFieldsBtns);
15
15
  const ToggleSwitchInput = createInput(Toggle);
16
- const FileUploadInput = createInput(FileUploader);
16
+ const FileUploadInput = createInput(FileUploader, {
17
+ props: ['dragDropLabel', 'browseLabel'],
18
+ });
17
19
  const TextVariablesInput = createInput(TextVariableExamples);
18
20
  const PersonPreviewInput = createInput(PPV);
19
21
 
@@ -1,12 +1,15 @@
1
1
  [theme="dark"] {
2
- --bgl-blue-20: rgba(46, 91, 255, 20%);
3
- --bgl-blue-dark: #191c30;
4
- --bgl-blue-light: #20262f;
2
+ --bgl-primary: #1c4fe1;
3
+ --bgl-primary-tint: #1c4fe180;
4
+
5
+ /* --bgl-blue-20: rgba(46, 91, 255, 20%); */
6
+ /* --bgl-blue-dark: #191c30; */
7
+ --bgl-blue-light: #34363b;
5
8
  --bgl-black: #dbdcdc;
6
- --bgl-black-tint: #686868;
7
- --bgl-white: #212121;
8
- --bgl-gray: #606060;
9
- --bgl-gray-light: #252729;
9
+ --bgl-black-tint: #7a7a7a;
10
+ --bgl-white: rgb(41, 42, 45);
11
+ --bgl-gray: #7f7d7d;
12
+ --bgl-gray-light: #191b1c;
10
13
  --bgl-gray-80: #e8ecef;
11
14
  --bgl-gray-20: rgba(183, 183, 183, 0.2);
12
15
  --bgl-pink: #f1416c;
@@ -15,32 +18,87 @@
15
18
  --bgl-yellow: #ffbb00;
16
19
  --bgl-yellow-light: #fff6d5;
17
20
  --bgl-green: #52875b;
18
- --border-color: #292b2e;
19
- --bgl-bg: #24252a;
21
+ --border-color: #383a3f;
22
+ --bgl-bg: #121317;
20
23
  --bgl-shadow: #4c577d26;
21
- --input-bg: #252729;
22
- --input-color: #929394;
23
- --label-color: #92939480;
24
- --placeholder-color: #92939440;
25
- --input-height: 40px;
26
- --bgl-hover-filter: brightness(120%);
27
- --bgl-active-filter: brightness(100%);
24
+ --input-bg: #1d2023;
25
+ --input-color: #d3d4d4;
26
+ --label-color: #d3d4d480;
27
+ --placeholder-color: #ccd4dd60;
28
+
29
+ --bgl-hover-filter: brightness(130%);
30
+ --bgl-active-filter: brightness(110%);
28
31
  }
29
32
 
30
33
  [theme="dark"] .formkit-outer input:focus-visible,
31
34
  [theme="dark"] .formkit-outer select:focus-visible,
32
35
  [theme="dark"] .formkit-outer textarea:focus-visible,
33
- .input.active {
36
+ [theme="dark"] .input.active,
37
+ [theme="dark"] .bagel-input input:focus-visible,
38
+ [theme="dark"] .bagel-input select:focus-visible,
39
+ [theme="dark"] .bagel-input textarea:focus-visible {
34
40
  outline: none;
35
- box-shadow: inset 0 0 10px #181212;
41
+ box-shadow: inset 0 0 10px var(--bgl-bg);
42
+ }
43
+
44
+ [theme="dark"] .formkit-outer select {
45
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
36
46
  }
37
47
 
38
48
  /* use this is to override the nav color */
39
49
  [theme="dark"] .nav {
40
- --bgl-white: var(--bgl-black) !important;
41
- /* --bgl-primary: #081851; */
50
+ color: var(--bgl-black) !important;
51
+ background: transparent;
52
+ border-radius: 0 !important;
53
+ border-inline-end: 1px solid var(--bgl-gray-20);
54
+ margin-top: 0 !important;
55
+ margin-bottom: 0 !important;
56
+ margin-inline-start: 0 !important;
57
+ }
58
+
59
+ [theme="dark"] .nav * {
60
+ color: var(--bgl-black) !important;
61
+
62
+ }
63
+
64
+ [theme="dark"] .dropdown-project-head {
65
+ background: var(--bgl-bg) !important;
66
+ color: var(--bgl-white) !important;
42
67
  }
43
68
 
44
- [theme="dark"]input::-webkit-calendar-picker-indicator {
69
+ [theme="dark"] .dropdown-project-body {
70
+ color: var(--bgl-black-tint) !important;
71
+ }
72
+
73
+ /* until here */
74
+
75
+
76
+ [theme="dark"] input::-webkit-calendar-picker-indicator {
45
77
  filter: invert(48%);
78
+ }
79
+
80
+ [theme="dark"] ::selection {
81
+ color: var(--bgl-black);
82
+ background: var(--bgl-primary-tint);
83
+ }
84
+
85
+ [theme="dark"] .whatsapp-msg {
86
+ color: var(--bgl-gray-light);
87
+ }
88
+
89
+ [theme="dark"] button.formkit-input,
90
+ [theme="dark"] .btn,
91
+ [theme="dark"] .btn-icon,
92
+ [theme="dark"] .primary-checkbox input:checked+span,
93
+ [theme="dark"] .btn.light {
94
+ color: var(--bgl-black);
95
+ }
96
+
97
+
98
+ [theme="dark"] .bagel-input.checkbox.check .slider:before {
99
+ color: var(--bgl-black) !important;
100
+ }
101
+
102
+ [theme="dark"] .nav-expend {
103
+ top: 67px;
46
104
  }
@@ -91,14 +91,6 @@ select {
91
91
  width: fit-content;
92
92
  }
93
93
 
94
- .bagel-input input:focus-visible,
95
- .bagel-input select:focus-visible,
96
- .bagel-input textarea:focus-visible,
97
- .input.active {
98
- outline: none;
99
- box-shadow: inset 0 0 10px #00000012;
100
- }
101
-
102
94
  .bagel-input:focus-within label {
103
95
  color: var(--bgl-primary);
104
96
  }
@@ -262,7 +254,10 @@ button.formkit-input:active {
262
254
  .formkit-outer input:focus-visible,
263
255
  .formkit-outer select:focus-visible,
264
256
  .formkit-outer textarea:focus-visible,
265
- .input.active {
257
+ .input.active,
258
+ .bagel-input input:focus-visible,
259
+ .bagel-input select:focus-visible,
260
+ .bagel-input textarea:focus-visible {
266
261
  outline: none;
267
262
  box-shadow: inset 0 0 10px #00000012;
268
263
  }
@@ -85,6 +85,7 @@
85
85
  margin-top: 0;
86
86
  margin-bottom: 20px;
87
87
  width: 100%;
88
+ padding-inline-end: 40px;
88
89
  }
89
90
 
90
91
  .modal-footer {
@@ -450,6 +451,11 @@ body {
450
451
  inset-inline-start: 0;
451
452
  }
452
453
 
454
+ .DonationsDashbored .tabs {
455
+ border-bottom: 1px solid var(--border-color);
456
+ border-top: none;
457
+ }
458
+
453
459
  .copy-url {
454
460
  background-color: var(--bgl-gray-light);
455
461
  border-radius: var(--btn-border-radius);