@loja-integrada/admin-components 0.18.12 → 0.18.14

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.
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Filter: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const WhatsApp: () => JSX.Element;
@@ -36,6 +36,7 @@ export declare const icons: {
36
36
  exclamationCircle: () => JSX.Element;
37
37
  exclamationTriangle: () => JSX.Element;
38
38
  externalLink: () => JSX.Element;
39
+ filter: () => JSX.Element;
39
40
  halfBack: () => JSX.Element;
40
41
  home: () => JSX.Element;
41
42
  image: () => JSX.Element;
@@ -68,4 +69,5 @@ export declare const icons: {
68
69
  questionCircle: () => JSX.Element;
69
70
  sync: () => JSX.Element;
70
71
  user: () => JSX.Element;
72
+ whatsapp: () => JSX.Element;
71
73
  };
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  declare const badgeTypes: {
3
3
  neutral: string;
4
+ neutralLight: string;
4
5
  primary: string;
5
6
  danger: string;
6
7
  success: string;
7
8
  warning: string;
9
+ focus: string;
8
10
  };
9
11
  declare const badgeSizes: {
10
12
  default: string;
@@ -3106,6 +3106,101 @@ var ExternalLink = function ExternalLink() {
3106
3106
  });
3107
3107
  };
3108
3108
 
3109
+ function cov_2nm8vuosuq() {
3110
+ var path = "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/Filter.tsx";
3111
+ var hash = "52d607a9fb58d1e22cb0ed14fc0ce9f845958719";
3112
+ var global = new Function("return this")();
3113
+ var gcv = "__coverage__";
3114
+ var coverageData = {
3115
+ path: "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/Filter.tsx",
3116
+ statementMap: {
3117
+ "0": {
3118
+ start: {
3119
+ line: 2,
3120
+ column: 22
3121
+ },
3122
+ end: {
3123
+ line: 2,
3124
+ column: 878
3125
+ }
3126
+ },
3127
+ "1": {
3128
+ start: {
3129
+ line: 2,
3130
+ column: 29
3131
+ },
3132
+ end: {
3133
+ line: 2,
3134
+ column: 877
3135
+ }
3136
+ }
3137
+ },
3138
+ fnMap: {
3139
+ "0": {
3140
+ name: "(anonymous_0)",
3141
+ decl: {
3142
+ start: {
3143
+ line: 2,
3144
+ column: 22
3145
+ },
3146
+ end: {
3147
+ line: 2,
3148
+ column: 23
3149
+ }
3150
+ },
3151
+ loc: {
3152
+ start: {
3153
+ line: 2,
3154
+ column: 29
3155
+ },
3156
+ end: {
3157
+ line: 2,
3158
+ column: 877
3159
+ }
3160
+ },
3161
+ line: 2
3162
+ }
3163
+ },
3164
+ branchMap: {},
3165
+ s: {
3166
+ "0": 0,
3167
+ "1": 0
3168
+ },
3169
+ f: {
3170
+ "0": 0
3171
+ },
3172
+ b: {},
3173
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
3174
+ hash: "52d607a9fb58d1e22cb0ed14fc0ce9f845958719"
3175
+ };
3176
+ var coverage = global[gcv] || (global[gcv] = {});
3177
+
3178
+ if (!coverage[path] || coverage[path].hash !== hash) {
3179
+ coverage[path] = coverageData;
3180
+ }
3181
+
3182
+ var actualCoverage = coverage[path];
3183
+ {
3184
+ // @ts-ignore
3185
+ cov_2nm8vuosuq = function () {
3186
+ return actualCoverage;
3187
+ };
3188
+ }
3189
+ return actualCoverage;
3190
+ }
3191
+
3192
+ cov_2nm8vuosuq();
3193
+ cov_2nm8vuosuq().s[0]++;
3194
+ var Filter = function Filter() {
3195
+ cov_2nm8vuosuq().f[0]++;
3196
+ cov_2nm8vuosuq().s[1]++;
3197
+ return /*#__PURE__*/React__default.createElement("path", {
3198
+ fillRule: "evenodd",
3199
+ clipRule: "evenodd",
3200
+ d: "M15.5698 0H2.43384C0.145842 0 -0.844158 2.897 0.964842 4.298L5.70784 7.969C6.19784 8.348 6.48384 8.933 6.48384 9.552L6.47884 14.895C6.47884 15.653 6.90584 16.346 7.58484 16.685L9.92784 17.857C10.0898 17.937 10.2568 17.975 10.4198 17.975C10.9968 17.975 11.5198 17.511 11.5208 16.874L11.5248 9.55C11.5258 8.932 11.8118 8.349 12.2998 7.97L17.0398 4.297C18.8478 2.896 17.8568 0 15.5698 0ZM15.5698 1.5C16.1508 1.5 16.3588 1.926 16.4218 2.109C16.4838 2.292 16.5798 2.756 16.1208 3.111L11.3818 6.784C10.5198 7.452 10.0258 8.459 10.0248 9.549L10.0208 16.226L8.25584 15.343C8.08484 15.258 7.97884 15.086 7.97884 14.896L7.98384 9.553C7.98484 8.477 7.47684 7.441 6.62584 6.783L1.88284 3.112C1.42384 2.756 1.51984 2.292 1.58184 2.109C1.64484 1.926 1.85284 1.5 2.43384 1.5H15.5698Z"
3201
+ });
3202
+ };
3203
+
3109
3204
  function cov_2pc9eyjcbj() {
3110
3205
  var path = "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/HalfBack.tsx";
3111
3206
  var hash = "865e37e15de4635d19dd2a9a1ff3bec649696046";
@@ -6463,9 +6558,104 @@ var ShoppingCart = function ShoppingCart() {
6463
6558
  }));
6464
6559
  };
6465
6560
 
6561
+ function cov_lq1f84t1l() {
6562
+ var path = "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/WhatsApp.tsx";
6563
+ var hash = "11c420389170f3f705aeef9c67f71e6162996e90";
6564
+ var global = new Function("return this")();
6565
+ var gcv = "__coverage__";
6566
+ var coverageData = {
6567
+ path: "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/WhatsApp.tsx",
6568
+ statementMap: {
6569
+ "0": {
6570
+ start: {
6571
+ line: 2,
6572
+ column: 24
6573
+ },
6574
+ end: {
6575
+ line: 2,
6576
+ column: 1861
6577
+ }
6578
+ },
6579
+ "1": {
6580
+ start: {
6581
+ line: 2,
6582
+ column: 31
6583
+ },
6584
+ end: {
6585
+ line: 2,
6586
+ column: 1860
6587
+ }
6588
+ }
6589
+ },
6590
+ fnMap: {
6591
+ "0": {
6592
+ name: "(anonymous_0)",
6593
+ decl: {
6594
+ start: {
6595
+ line: 2,
6596
+ column: 24
6597
+ },
6598
+ end: {
6599
+ line: 2,
6600
+ column: 25
6601
+ }
6602
+ },
6603
+ loc: {
6604
+ start: {
6605
+ line: 2,
6606
+ column: 31
6607
+ },
6608
+ end: {
6609
+ line: 2,
6610
+ column: 1860
6611
+ }
6612
+ },
6613
+ line: 2
6614
+ }
6615
+ },
6616
+ branchMap: {},
6617
+ s: {
6618
+ "0": 0,
6619
+ "1": 0
6620
+ },
6621
+ f: {
6622
+ "0": 0
6623
+ },
6624
+ b: {},
6625
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6626
+ hash: "11c420389170f3f705aeef9c67f71e6162996e90"
6627
+ };
6628
+ var coverage = global[gcv] || (global[gcv] = {});
6629
+
6630
+ if (!coverage[path] || coverage[path].hash !== hash) {
6631
+ coverage[path] = coverageData;
6632
+ }
6633
+
6634
+ var actualCoverage = coverage[path];
6635
+ {
6636
+ // @ts-ignore
6637
+ cov_lq1f84t1l = function () {
6638
+ return actualCoverage;
6639
+ };
6640
+ }
6641
+ return actualCoverage;
6642
+ }
6643
+
6644
+ cov_lq1f84t1l();
6645
+ cov_lq1f84t1l().s[0]++;
6646
+ var WhatsApp = function WhatsApp() {
6647
+ cov_lq1f84t1l().f[0]++;
6648
+ cov_lq1f84t1l().s[1]++;
6649
+ return /*#__PURE__*/React__default.createElement("path", {
6650
+ fillRule: "evenodd",
6651
+ clipRule: "evenodd",
6652
+ d: "M1.68502 9.00599C1.68402 10.288 2.01902 11.539 2.65602 12.642L1.62402 16.412L5.48002 15.401C6.54202 15.98 7.73802 16.286 8.95602 16.286H8.95902C12.968 16.286 16.232 13.022 16.233 9.01199C16.234 7.06899 15.477 5.23999 14.105 3.86499C12.731 2.48999 10.904 1.73199 8.95902 1.73199C4.94902 1.73199 1.68602 4.99499 1.68502 9.00599ZM3.98102 12.452L3.83702 12.224C3.23202 11.262 2.91202 10.148 2.91202 9.00599C2.91402 5.67299 5.62702 2.96099 8.96102 2.96099C10.576 2.96099 12.093 3.59099 13.235 4.73299C14.377 5.87699 15.006 7.39499 15.005 9.01099C15.004 12.344 12.291 15.058 8.95902 15.058H8.95702C7.87102 15.057 6.80802 14.765 5.88002 14.215L5.65802 14.083L3.37002 14.684L3.98102 12.452ZM5.89902 5.87399C5.73202 6.05599 5.26202 6.49599 5.26202 7.39099C5.26202 8.28499 5.91402 9.14899 6.00502 9.27099C6.09602 9.39099 7.28602 11.227 9.11002 12.015C9.54402 12.202 9.88202 12.315 10.147 12.398C10.581 12.536 10.977 12.516 11.291 12.469C11.64 12.418 12.366 12.03 12.517 11.605C12.669 11.181 12.669 10.817 12.624 10.742C12.578 10.666 12.457 10.62 12.275 10.529C12.093 10.438 11.201 9.99799 11.033 9.93799C10.867 9.87699 10.745 9.84699 10.624 10.029C10.503 10.21 10.156 10.62 10.049 10.742C9.94302 10.862 9.83702 10.878 9.65502 10.787C9.47302 10.697 8.88702 10.504 8.19402 9.88499C7.65402 9.40199 7.28802 8.80699 7.18202 8.62599C7.07602 8.44399 7.17102 8.34599 7.26202 8.25499C7.34402 8.17299 7.44402 8.04199 7.53502 7.93599C7.62602 7.82999 7.65502 7.75299 7.71702 7.63299C7.77702 7.51099 7.74602 7.40499 7.70102 7.31399C7.65502 7.22299 7.29302 6.32899 7.14102 5.96499C7.01002 5.65199 6.87802 5.65299 6.77302 5.65399C6.75802 5.65399 6.74502 5.65399 6.73202 5.65299C6.62602 5.64799 6.50502 5.64699 6.38402 5.64699C6.26202 5.64699 6.06502 5.69299 5.89902 5.87399Z"
6653
+ });
6654
+ };
6655
+
6466
6656
  function cov_2hz37kz1k3() {
6467
6657
  var path = "/home/runner/work/admin-components/admin-components/styleguide/src/Icons/icons-path/index.ts";
6468
- var hash = "04540229d12a4f6a30e4c0284243f4f70c34ca99";
6658
+ var hash = "287527b96e0771ef15adb7c4ee70471d785ddbdd";
6469
6659
  var global = new Function("return this")();
6470
6660
  var gcv = "__coverage__";
6471
6661
  var coverageData = {
@@ -6473,11 +6663,11 @@ function cov_2hz37kz1k3() {
6473
6663
  statementMap: {
6474
6664
  "0": {
6475
6665
  start: {
6476
- line: 68,
6666
+ line: 70,
6477
6667
  column: 21
6478
6668
  },
6479
6669
  end: {
6480
- line: 137,
6670
+ line: 141,
6481
6671
  column: 1
6482
6672
  }
6483
6673
  }
@@ -6490,7 +6680,7 @@ function cov_2hz37kz1k3() {
6490
6680
  f: {},
6491
6681
  b: {},
6492
6682
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
6493
- hash: "04540229d12a4f6a30e4c0284243f4f70c34ca99"
6683
+ hash: "287527b96e0771ef15adb7c4ee70471d785ddbdd"
6494
6684
  };
6495
6685
  var coverage = global[gcv] || (global[gcv] = {});
6496
6686
 
@@ -6546,6 +6736,7 @@ var icons = ( /*#__PURE__*/cov_2hz37kz1k3().s[0]++, {
6546
6736
  exclamationCircle: ExclamationCircle,
6547
6737
  exclamationTriangle: ExclamationTriangle,
6548
6738
  externalLink: ExternalLink,
6739
+ filter: Filter,
6549
6740
  halfBack: HalfBack,
6550
6741
  home: Home,
6551
6742
  image: Image,
@@ -6577,7 +6768,8 @@ var icons = ( /*#__PURE__*/cov_2hz37kz1k3().s[0]++, {
6577
6768
  usdCircle: UsdCircle,
6578
6769
  questionCircle: QuestionCircle,
6579
6770
  sync: Sync,
6580
- user: User
6771
+ user: User,
6772
+ whatsapp: WhatsApp
6581
6773
  });
6582
6774
 
6583
6775
  function cov_9mapptl2y() {
@@ -30649,7 +30841,7 @@ cov_1qx0jflkbp();
30649
30841
 
30650
30842
  function cov_l0ot8xbbf() {
30651
30843
  var path = "/home/runner/work/admin-components/admin-components/styleguide/src/Indicators/Badge/Badge.tsx";
30652
- var hash = "695c6af07334b7182cc64e7e72371043b9b079ed";
30844
+ var hash = "f2a7c074383cf7496bcb9348fb1ade6e28d2f91a";
30653
30845
  var global = new Function("return this")();
30654
30846
  var gcv = "__coverage__";
30655
30847
  var coverageData = {
@@ -30661,47 +30853,47 @@ function cov_l0ot8xbbf() {
30661
30853
  column: 19
30662
30854
  },
30663
30855
  end: {
30664
- line: 8,
30856
+ line: 10,
30665
30857
  column: 1
30666
30858
  }
30667
30859
  },
30668
30860
  "1": {
30669
30861
  start: {
30670
- line: 9,
30862
+ line: 11,
30671
30863
  column: 19
30672
30864
  },
30673
30865
  end: {
30674
- line: 12,
30866
+ line: 14,
30675
30867
  column: 1
30676
30868
  }
30677
30869
  },
30678
30870
  "2": {
30679
30871
  start: {
30680
- line: 13,
30872
+ line: 15,
30681
30873
  column: 23
30682
30874
  },
30683
30875
  end: {
30684
- line: 16,
30876
+ line: 18,
30685
30877
  column: 1
30686
30878
  }
30687
30879
  },
30688
30880
  "3": {
30689
30881
  start: {
30690
- line: 14,
30882
+ line: 16,
30691
30883
  column: 4
30692
30884
  },
30693
30885
  end: {
30694
- line: 15,
30695
- column: 99
30886
+ line: 17,
30887
+ column: 158
30696
30888
  }
30697
30889
  },
30698
30890
  "4": {
30699
30891
  start: {
30700
- line: 17,
30892
+ line: 19,
30701
30893
  column: 21
30702
30894
  },
30703
30895
  end: {
30704
- line: 17,
30896
+ line: 19,
30705
30897
  column: 47
30706
30898
  }
30707
30899
  }
@@ -30711,132 +30903,165 @@ function cov_l0ot8xbbf() {
30711
30903
  name: "(anonymous_0)",
30712
30904
  decl: {
30713
30905
  start: {
30714
- line: 13,
30906
+ line: 15,
30715
30907
  column: 23
30716
30908
  },
30717
30909
  end: {
30718
- line: 13,
30910
+ line: 15,
30719
30911
  column: 24
30720
30912
  }
30721
30913
  },
30722
30914
  loc: {
30723
30915
  start: {
30724
- line: 13,
30916
+ line: 15,
30725
30917
  column: 92
30726
30918
  },
30727
30919
  end: {
30728
- line: 16,
30920
+ line: 18,
30729
30921
  column: 1
30730
30922
  }
30731
30923
  },
30732
- line: 13
30924
+ line: 15
30733
30925
  }
30734
30926
  },
30735
30927
  branchMap: {
30736
30928
  "0": {
30737
30929
  loc: {
30738
30930
  start: {
30739
- line: 13,
30931
+ line: 15,
30740
30932
  column: 26
30741
30933
  },
30742
30934
  end: {
30743
- line: 13,
30935
+ line: 15,
30744
30936
  column: 42
30745
30937
  }
30746
30938
  },
30747
30939
  type: "default-arg",
30748
30940
  locations: [{
30749
30941
  start: {
30750
- line: 13,
30942
+ line: 15,
30751
30943
  column: 33
30752
30944
  },
30753
30945
  end: {
30754
- line: 13,
30946
+ line: 15,
30755
30947
  column: 42
30756
30948
  }
30757
30949
  }],
30758
- line: 13
30950
+ line: 15
30759
30951
  },
30760
30952
  "1": {
30761
30953
  loc: {
30762
30954
  start: {
30763
- line: 13,
30955
+ line: 15,
30764
30956
  column: 50
30765
30957
  },
30766
30958
  end: {
30767
- line: 13,
30959
+ line: 15,
30768
30960
  column: 66
30769
30961
  }
30770
30962
  },
30771
30963
  type: "default-arg",
30772
30964
  locations: [{
30773
30965
  start: {
30774
- line: 13,
30966
+ line: 15,
30775
30967
  column: 57
30776
30968
  },
30777
30969
  end: {
30778
- line: 13,
30970
+ line: 15,
30779
30971
  column: 66
30780
30972
  }
30781
30973
  }],
30782
- line: 13
30974
+ line: 15
30783
30975
  },
30784
30976
  "2": {
30785
30977
  loc: {
30786
30978
  start: {
30787
- line: 13,
30979
+ line: 15,
30788
30980
  column: 68
30789
30981
  },
30790
30982
  end: {
30791
- line: 13,
30983
+ line: 15,
30792
30984
  column: 84
30793
30985
  }
30794
30986
  },
30795
30987
  type: "default-arg",
30796
30988
  locations: [{
30797
30989
  start: {
30798
- line: 13,
30990
+ line: 15,
30799
30991
  column: 79
30800
30992
  },
30801
30993
  end: {
30802
- line: 13,
30994
+ line: 15,
30803
30995
  column: 84
30804
30996
  }
30805
30997
  }],
30806
- line: 13
30998
+ line: 15
30807
30999
  },
30808
31000
  "3": {
30809
31001
  loc: {
30810
31002
  start: {
30811
- line: 14,
31003
+ line: 16,
30812
31004
  column: 142
30813
31005
  },
30814
31006
  end: {
30815
- line: 14,
31007
+ line: 16,
30816
31008
  column: 182
30817
31009
  }
30818
31010
  },
30819
31011
  type: "cond-expr",
30820
31012
  locations: [{
30821
31013
  start: {
30822
- line: 14,
31014
+ line: 16,
30823
31015
  column: 153
30824
31016
  },
30825
31017
  end: {
30826
- line: 14,
31018
+ line: 16,
30827
31019
  column: 166
30828
31020
  }
30829
31021
  }, {
30830
31022
  start: {
30831
- line: 14,
31023
+ line: 16,
30832
31024
  column: 169
30833
31025
  },
30834
31026
  end: {
30835
- line: 14,
31027
+ line: 16,
30836
31028
  column: 182
30837
31029
  }
30838
31030
  }],
30839
- line: 14
31031
+ line: 16
31032
+ },
31033
+ "4": {
31034
+ loc: {
31035
+ start: {
31036
+ line: 17,
31037
+ column: 87
31038
+ },
31039
+ end: {
31040
+ line: 17,
31041
+ column: 144
31042
+ }
31043
+ },
31044
+ type: "cond-expr",
31045
+ locations: [{
31046
+ start: {
31047
+ line: 17,
31048
+ column: 113
31049
+ },
31050
+ end: {
31051
+ line: 17,
31052
+ column: 128
31053
+ }
31054
+ }, {
31055
+ start: {
31056
+ line: 17,
31057
+ column: 131
31058
+ },
31059
+ end: {
31060
+ line: 17,
31061
+ column: 144
31062
+ }
31063
+ }],
31064
+ line: 17
30840
31065
  }
30841
31066
  },
30842
31067
  s: {
@@ -30853,10 +31078,11 @@ function cov_l0ot8xbbf() {
30853
31078
  "0": [0],
30854
31079
  "1": [0],
30855
31080
  "2": [0],
30856
- "3": [0, 0]
31081
+ "3": [0, 0],
31082
+ "4": [0, 0]
30857
31083
  },
30858
31084
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
30859
- hash: "695c6af07334b7182cc64e7e72371043b9b079ed"
31085
+ hash: "f2a7c074383cf7496bcb9348fb1ade6e28d2f91a"
30860
31086
  };
30861
31087
  var coverage = global[gcv] || (global[gcv] = {});
30862
31088
 
@@ -30877,10 +31103,12 @@ function cov_l0ot8xbbf() {
30877
31103
  cov_l0ot8xbbf();
30878
31104
  var badgeTypes = ( /*#__PURE__*/cov_l0ot8xbbf().s[0]++, {
30879
31105
  neutral: 'bg-inverted-2',
31106
+ neutralLight: 'bg-inverted-3',
30880
31107
  primary: 'bg-primary-dark',
30881
31108
  danger: 'bg-danger-dark',
30882
31109
  success: 'bg-success-dark',
30883
- warning: 'bg-warning-dark'
31110
+ warning: 'bg-warning-dark',
31111
+ focus: 'bg-focus'
30884
31112
  });
30885
31113
  var badgeSizes = ( /*#__PURE__*/cov_l0ot8xbbf().s[1]++, {
30886
31114
  "default": 'px-2 py-0.5 text-xs',
@@ -30901,7 +31129,7 @@ var BadgeComponent = function BadgeComponent(_ref) {
30901
31129
  return /*#__PURE__*/React__default.createElement("div", {
30902
31130
  className: "badge items-center justify-center rounded-full " + badgeTypes[type] + " " + badgeSizes[size] + " " + (expanded ? (cov_l0ot8xbbf().b[3][0]++, 'flex w-full') : (cov_l0ot8xbbf().b[3][1]++, 'inline-flex'))
30903
31131
  }, /*#__PURE__*/React__default.createElement("span", {
30904
- className: "tracking-4 font-semibold text-base-1"
31132
+ className: "badgeText tracking-4 font-semibold " + (type === 'neutralLight' ? (cov_l0ot8xbbf().b[4][0]++, 'text-tertiary') : (cov_l0ot8xbbf().b[4][1]++, 'text-base-1'))
30905
31133
  }, text));
30906
31134
  };
30907
31135