@pelcro/react-pelcro-js 2.4.0 → 2.6.0-beta.11

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/pelcro.css CHANGED
@@ -648,6 +648,10 @@ Add the correct display in Chrome and Safari.
648
648
  --plc-primary-lightness: 44%;
649
649
  }
650
650
 
651
+ .grecaptcha-badge {
652
+ visibility: hidden;
653
+ }
654
+
651
655
  /* sub-components and components */
652
656
 
653
657
  .pelcro-root .pelcro-badge-wrapper {
@@ -759,6 +763,19 @@ Add the correct display in Chrome and Safari.
759
763
  }
760
764
 
761
765
  .pelcro-root .pelcro-modal-close {
766
+ background-color: transparent;
767
+ }
768
+
769
+ .pelcro-root .pelcro-modal-close:hover {
770
+ background-color: transparent;
771
+ }
772
+
773
+ .pelcro-root .pelcro-modal-close:focus {
774
+ background-color: transparent;
775
+ }
776
+
777
+ .pelcro-root .pelcro-modal-close {
778
+ border-width: 0px;
762
779
  position: absolute;
763
780
  top: 0.75rem;
764
781
  right: 0.75rem;
@@ -779,6 +796,11 @@ Add the correct display in Chrome and Safari.
779
796
  color: rgba(0, 0, 0, var(--tw-text-opacity));
780
797
  }
781
798
 
799
+ .pelcro-root .pelcro-modal-close:focus {
800
+ --tw-text-opacity: 1;
801
+ color: rgba(0, 0, 0, var(--tw-text-opacity));
802
+ }
803
+
782
804
  .pelcro-root .pelcro-modal-close {
783
805
  width: 1.5rem;
784
806
  z-index: 999999;
@@ -933,6 +955,10 @@ Add the correct display in Chrome and Safari.
933
955
  background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
934
956
  }
935
957
 
958
+ .pelcro-root .pelcro-button-solid:focus {
959
+ background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
960
+ }
961
+
936
962
  .pelcro-root .pelcro-button-solid:disabled {
937
963
  --tw-bg-opacity: 1;
938
964
  background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
@@ -940,6 +966,7 @@ Add the correct display in Chrome and Safari.
940
966
 
941
967
  .pelcro-root .pelcro-button-solid {
942
968
  border-radius: 0.25rem;
969
+ border-width: 0px;
943
970
  }
944
971
 
945
972
  .pelcro-root .pelcro-button-solid:disabled {
@@ -981,6 +1008,24 @@ Add the correct display in Chrome and Safari.
981
1008
  .pelcro-root .pelcro-button-solid {
982
1009
  --tw-text-opacity: 1;
983
1010
  color: rgba(255, 255, 255, var(--tw-text-opacity));
1011
+ }
1012
+
1013
+ .pelcro-root .pelcro-button-solid:hover {
1014
+ --tw-text-opacity: 1;
1015
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
1016
+ }
1017
+
1018
+ .pelcro-root .pelcro-button-solid:focus {
1019
+ --tw-text-opacity: 1;
1020
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
1021
+ }
1022
+
1023
+ .pelcro-root .pelcro-button-solid:disabled {
1024
+ --tw-text-opacity: 1;
1025
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
1026
+ }
1027
+
1028
+ .pelcro-root .pelcro-button-solid {
984
1029
  text-transform: uppercase;
985
1030
  letter-spacing: 0.05em;
986
1031
  width: max-content;
@@ -994,6 +1039,10 @@ Add the correct display in Chrome and Safari.
994
1039
  background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
995
1040
  }
996
1041
 
1042
+ .pelcro-root .pelcro-button-outline:focus {
1043
+ background-color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 10%));
1044
+ }
1045
+
997
1046
  .pelcro-root .pelcro-button-outline:disabled {
998
1047
  background-color: transparent;
999
1048
  }
@@ -1057,6 +1106,11 @@ Add the correct display in Chrome and Safari.
1057
1106
  color: rgba(255, 255, 255, var(--tw-text-opacity));
1058
1107
  }
1059
1108
 
1109
+ .pelcro-root .pelcro-button-outline:focus {
1110
+ --tw-text-opacity: 1;
1111
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
1112
+ }
1113
+
1060
1114
  .pelcro-root .pelcro-button-outline:disabled {
1061
1115
  --tw-text-opacity: 1;
1062
1116
  color: rgba(107, 114, 128, var(--tw-text-opacity));
@@ -1075,6 +1129,7 @@ Add the correct display in Chrome and Safari.
1075
1129
 
1076
1130
  .pelcro-root .pelcro-button-icon {
1077
1131
  border-radius: 9999px;
1132
+ border-width: 0px;
1078
1133
  }
1079
1134
 
1080
1135
  .pelcro-root .pelcro-button-icon:disabled {
@@ -1128,12 +1183,18 @@ Add the correct display in Chrome and Safari.
1128
1183
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
1129
1184
  }
1130
1185
 
1186
+ .pelcro-root .pelcro-button-ghost:focus {
1187
+ --tw-bg-opacity: 1;
1188
+ background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
1189
+ }
1190
+
1131
1191
  .pelcro-root .pelcro-button-ghost:disabled {
1132
1192
  background-color: transparent;
1133
1193
  }
1134
1194
 
1135
1195
  .pelcro-root .pelcro-button-ghost {
1136
1196
  border-radius: 0.5rem;
1197
+ border-width: 0px;
1137
1198
  }
1138
1199
 
1139
1200
  .pelcro-root .pelcro-button-ghost:disabled {
@@ -1176,6 +1237,16 @@ Add the correct display in Chrome and Safari.
1176
1237
  color: rgba(107, 114, 128, var(--tw-text-opacity));
1177
1238
  }
1178
1239
 
1240
+ .pelcro-root .pelcro-button-ghost:hover {
1241
+ --tw-text-opacity: 1;
1242
+ color: rgba(107, 114, 128, var(--tw-text-opacity));
1243
+ }
1244
+
1245
+ .pelcro-root .pelcro-button-ghost:focus {
1246
+ --tw-text-opacity: 1;
1247
+ color: rgba(107, 114, 128, var(--tw-text-opacity));
1248
+ }
1249
+
1179
1250
  .pelcro-root .pelcro-button-ghost:disabled {
1180
1251
  --tw-text-opacity: 1;
1181
1252
  color: rgba(209, 213, 219, var(--tw-text-opacity));
@@ -1300,8 +1371,33 @@ Add the correct display in Chrome and Safari.
1300
1371
  }
1301
1372
 
1302
1373
  .pelcro-root .pelcro-alert-close {
1374
+ background-color: transparent;
1375
+ }
1376
+
1377
+ .pelcro-root .pelcro-alert-close:hover {
1378
+ background-color: transparent;
1379
+ }
1380
+
1381
+ .pelcro-root .pelcro-alert-close:focus {
1382
+ background-color: transparent;
1383
+ }
1384
+
1385
+ .pelcro-root .pelcro-alert-close {
1386
+ border-width: 0px;
1303
1387
  flex-shrink: 0;
1304
1388
  fill: currentColor;
1389
+ color: currentColor;
1390
+ }
1391
+
1392
+ .pelcro-root .pelcro-alert-close:hover {
1393
+ color: currentColor;
1394
+ }
1395
+
1396
+ .pelcro-root .pelcro-alert-close:focus {
1397
+ color: currentColor;
1398
+ }
1399
+
1400
+ .pelcro-root .pelcro-alert-close {
1305
1401
  width: 1rem;
1306
1402
  }
1307
1403
 
@@ -1724,11 +1820,25 @@ in order to scope selectors under pelcro-root
1724
1820
  background-color: rgba(209, 250, 229, var(--tw-bg-opacity));
1725
1821
  }
1726
1822
 
1823
+ .pelcro-root .plc-bg-blue-100 {
1824
+ --tw-bg-opacity: 1;
1825
+ background-color: rgba(219, 234, 254, var(--tw-bg-opacity));
1826
+ }
1827
+
1727
1828
  .pelcro-root .plc-bg-orange-100 {
1728
1829
  --tw-bg-opacity: 1;
1729
1830
  background-color: rgba(255, 237, 213, var(--tw-bg-opacity));
1730
1831
  }
1731
1832
 
1833
+ .pelcro-root .hover\:plc-bg-transparent:hover {
1834
+ background-color: transparent;
1835
+ }
1836
+
1837
+ .pelcro-root .hover\:plc-bg-white:hover {
1838
+ --tw-bg-opacity: 1;
1839
+ background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
1840
+ }
1841
+
1732
1842
  .pelcro-root .hover\:plc-bg-gray-50:hover {
1733
1843
  --tw-bg-opacity: 1;
1734
1844
  background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
@@ -1759,6 +1869,10 @@ in order to scope selectors under pelcro-root
1759
1869
  background-color: rgba(139, 37, 33, var(--tw-bg-opacity));
1760
1870
  }
1761
1871
 
1872
+ .pelcro-root .focus\:plc-bg-transparent:focus {
1873
+ background-color: transparent;
1874
+ }
1875
+
1762
1876
  .pelcro-root .disabled\:plc-bg-gray-400:disabled {
1763
1877
  --tw-bg-opacity: 1;
1764
1878
  background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
@@ -2099,6 +2213,10 @@ in order to scope selectors under pelcro-root
2099
2213
  margin-right: 0.25rem;
2100
2214
  }
2101
2215
 
2216
+ .pelcro-root .plc-mb-1 {
2217
+ margin-bottom: 0.25rem;
2218
+ }
2219
+
2102
2220
  .pelcro-root .plc-ml-1 {
2103
2221
  margin-left: 0.25rem;
2104
2222
  }
@@ -2544,6 +2662,11 @@ in order to scope selectors under pelcro-root
2544
2662
  color: rgba(96, 165, 250, var(--tw-text-opacity));
2545
2663
  }
2546
2664
 
2665
+ .pelcro-root .plc-text-blue-700 {
2666
+ --tw-text-opacity: 1;
2667
+ color: rgba(29, 78, 216, var(--tw-text-opacity));
2668
+ }
2669
+
2547
2670
  .pelcro-root .plc-text-orange-700 {
2548
2671
  --tw-text-opacity: 1;
2549
2672
  color: rgba(194, 65, 12, var(--tw-text-opacity));
@@ -2561,6 +2684,11 @@ in order to scope selectors under pelcro-root
2561
2684
  color: hsl(var(--plc-primary-hue), var(--plc-primary-saturation), calc(var(--plc-primary-lightness) - 20%));
2562
2685
  }
2563
2686
 
2687
+ .pelcro-root .hover\:plc-text-black:hover {
2688
+ --tw-text-opacity: 1;
2689
+ color: rgba(0, 0, 0, var(--tw-text-opacity));
2690
+ }
2691
+
2564
2692
  .pelcro-root .hover\:plc-text-white:hover {
2565
2693
  --tw-text-opacity: 1;
2566
2694
  color: rgba(255, 255, 255, var(--tw-text-opacity));
@@ -2571,6 +2699,11 @@ in order to scope selectors under pelcro-root
2571
2699
  color: rgba(107, 114, 128, var(--tw-text-opacity));
2572
2700
  }
2573
2701
 
2702
+ .pelcro-root .focus\:plc-text-black:focus {
2703
+ --tw-text-opacity: 1;
2704
+ color: rgba(0, 0, 0, var(--tw-text-opacity));
2705
+ }
2706
+
2574
2707
  .pelcro-root .plc-truncate {
2575
2708
  overflow: hidden;
2576
2709
  text-overflow: ellipsis;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "2.4.0",
4
+ "version": "2.6.0-beta.11",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",
@@ -59,7 +59,6 @@
59
59
  "browserslist": "^4.16.3",
60
60
  "cross-env": "^7.0.3",
61
61
  "css-loader": "^3.2.0",
62
- "cssimportant-loader": "^0.4.0",
63
62
  "cz-conventional-changelog": "3.3.0",
64
63
  "eslint": "^7.19.0",
65
64
  "eslint-config-google": "^0.14.0",
@@ -74,7 +73,6 @@
74
73
  "html-webpack-plugin": "^3.2.0",
75
74
  "image-webpack-loader": "^7.0.1",
76
75
  "jest": "^26.6.3",
77
- "node-sass": "^4.14.1",
78
76
  "postcss": "^8.2.4",
79
77
  "postcss-import": "^14.0.0",
80
78
  "postcss-loader": "4.2.0",
@@ -92,7 +90,6 @@
92
90
  "rollup-plugin-peer-deps-external": "^2.2.4",
93
91
  "rollup-plugin-postcss": "^4.0.0",
94
92
  "rollup-plugin-visualizer": "^4.2.0",
95
- "sass-loader": "^7.1.0",
96
93
  "semantic-release": "^17.4.4",
97
94
  "simple-zustand-devtools": "^1.0.0",
98
95
  "style-loader": "^2.0.0",
@@ -104,6 +101,7 @@
104
101
  },
105
102
  "dependencies": {
106
103
  "@headlessui/react": "^0.3.0",
104
+ "@stripe/stripe-js": "^1.21.1",
107
105
  "i18next": "^19.1.0",
108
106
  "react-easy-crop": "^3.3.2",
109
107
  "react-facebook-login": "^4.1.1",