@designcrowd/fe-shared-lib 1.0.17-kp-1 → 1.0.17-kp-3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.0.17-kp-1",
3
+ "version": "1.0.17-kp-3",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -651,6 +651,10 @@ video {
651
651
  margin-top: 1rem;
652
652
  margin-bottom: 1rem;
653
653
  }
654
+ .theme-brandCrowd .tw-my-5 {
655
+ margin-top: 1.25rem;
656
+ margin-bottom: 1.25rem;
657
+ }
654
658
  .theme-brandCrowd .tw-my-auto {
655
659
  margin-top: auto;
656
660
  margin-bottom: auto;
@@ -1190,6 +1194,9 @@ video {
1190
1194
  .theme-brandCrowd .tw-border-b-0 {
1191
1195
  border-bottom-width: 0px;
1192
1196
  }
1197
+ .theme-brandCrowd .tw-border-b-2 {
1198
+ border-bottom-width: 2px;
1199
+ }
1193
1200
  .theme-brandCrowd .tw-border-b-4 {
1194
1201
  border-bottom-width: 4px;
1195
1202
  }
@@ -651,6 +651,10 @@ video {
651
651
  margin-top: 1rem;
652
652
  margin-bottom: 1rem;
653
653
  }
654
+ .theme-brandPage .tw-my-5 {
655
+ margin-top: 1.25rem;
656
+ margin-bottom: 1.25rem;
657
+ }
654
658
  .theme-brandPage .tw-my-auto {
655
659
  margin-top: auto;
656
660
  margin-bottom: auto;
@@ -1190,6 +1194,9 @@ video {
1190
1194
  .theme-brandPage .tw-border-b-0 {
1191
1195
  border-bottom-width: 0px;
1192
1196
  }
1197
+ .theme-brandPage .tw-border-b-2 {
1198
+ border-bottom-width: 2px;
1199
+ }
1193
1200
  .theme-brandPage .tw-border-b-4 {
1194
1201
  border-bottom-width: 4px;
1195
1202
  }
@@ -651,6 +651,10 @@ video {
651
651
  margin-top: 1rem;
652
652
  margin-bottom: 1rem;
653
653
  }
654
+ .theme-crazyDomains .tw-my-5 {
655
+ margin-top: 1.25rem;
656
+ margin-bottom: 1.25rem;
657
+ }
654
658
  .theme-crazyDomains .tw-my-auto {
655
659
  margin-top: auto;
656
660
  margin-bottom: auto;
@@ -1190,6 +1194,9 @@ video {
1190
1194
  .theme-crazyDomains .tw-border-b-0 {
1191
1195
  border-bottom-width: 0px;
1192
1196
  }
1197
+ .theme-crazyDomains .tw-border-b-2 {
1198
+ border-bottom-width: 2px;
1199
+ }
1193
1200
  .theme-crazyDomains .tw-border-b-4 {
1194
1201
  border-bottom-width: 4px;
1195
1202
  }
@@ -651,6 +651,10 @@ video {
651
651
  margin-top: 1rem;
652
652
  margin-bottom: 1rem;
653
653
  }
654
+ .theme-designCom .tw-my-5 {
655
+ margin-top: 1.25rem;
656
+ margin-bottom: 1.25rem;
657
+ }
654
658
  .theme-designCom .tw-my-auto {
655
659
  margin-top: auto;
656
660
  margin-bottom: auto;
@@ -1190,6 +1194,9 @@ video {
1190
1194
  .theme-designCom .tw-border-b-0 {
1191
1195
  border-bottom-width: 0px;
1192
1196
  }
1197
+ .theme-designCom .tw-border-b-2 {
1198
+ border-bottom-width: 2px;
1199
+ }
1193
1200
  .theme-designCom .tw-border-b-4 {
1194
1201
  border-bottom-width: 4px;
1195
1202
  }
@@ -651,6 +651,10 @@ video {
651
651
  margin-top: 1rem;
652
652
  margin-bottom: 1rem;
653
653
  }
654
+ .theme-designCrowd .tw-my-5 {
655
+ margin-top: 1.25rem;
656
+ margin-bottom: 1.25rem;
657
+ }
654
658
  .theme-designCrowd .tw-my-auto {
655
659
  margin-top: auto;
656
660
  margin-bottom: auto;
@@ -1190,6 +1194,9 @@ video {
1190
1194
  .theme-designCrowd .tw-border-b-0 {
1191
1195
  border-bottom-width: 0px;
1192
1196
  }
1197
+ .theme-designCrowd .tw-border-b-2 {
1198
+ border-bottom-width: 2px;
1199
+ }
1193
1200
  .theme-designCrowd .tw-border-b-4 {
1194
1201
  border-bottom-width: 4px;
1195
1202
  }
@@ -12,15 +12,15 @@
12
12
  ></Button>
13
13
  <Dropdown v-if="!isLoading && !isAddPaymentProviderButtonVisible" ref="dropdown">
14
14
  <template #title>
15
- <div v-if="selectedPaymentConfig" class="tw-flex">
16
- <span class="tw-text-sm tw-grow tw-select-none"
17
- >{{ selectedPaymentConfig.name }} &nbsp;
18
- <small>({{ selectedPaymentConfig.paymentProviderExternalId }})</small></span
19
- >
20
- <Pill
21
- class="tw-text-white tw-mr-2"
22
- :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)"
23
- >
15
+ <div
16
+ v-if="selectedPaymentConfig"
17
+ class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
18
+ >
19
+ <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
20
+ <span>{{ selectedPaymentConfig.name }}</span>
21
+ <small class="stripe-acct">({{ selectedPaymentConfig.paymentProviderExternalId }})</small>
22
+ </span>
23
+ <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)">
24
24
  {{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
25
25
  </Pill>
26
26
  </div>
@@ -31,9 +31,10 @@
31
31
  :key="`payment-config-${paymentConfig.id}`"
32
32
  @click="onPaymentConfigClick(paymentConfig)"
33
33
  >
34
- <span class="tw-text-sm tw-grow tw-select-none"
35
- >{{ paymentConfig.name }} &nbsp;<small>({{ paymentConfig.paymentProviderExternalId }})</small></span
36
- >
34
+ <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
35
+ <span>{{ paymentConfig.name }}</span>
36
+ <small class="stripe-acct">({{ paymentConfig.paymentProviderExternalId }})</small>
37
+ </span>
37
38
  <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
38
39
  {{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
39
40
  </Pill>
@@ -124,3 +125,10 @@ export default {
124
125
  },
125
126
  };
126
127
  </script>
128
+
129
+ <style>
130
+ .stripe-acct {
131
+ font-size: 0.7rem;
132
+ opacity: 0.5;
133
+ }
134
+ </style>
@@ -17,6 +17,7 @@
17
17
  <img class="tw-h-6" :src="paymentConfig.paymentProviderImageUrl" alt="Payment provider's logo" />
18
18
  {{ paymentConfig.paymentProviderName }}
19
19
  {{ paymentConfig.defaultCurrency }}
20
+ <small>({{ paymentConfig.paymentProviderExternalId }})</small>
20
21
  <p
21
22
  class="tw-ml-auto tw-text-xs tw-rounded-full tw-py-0.5 tw-my-0 tw-text-white tw-px-4 tw-outline-none tw-uppercase"
22
23
  :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)"