@fewangsit/wangsvue-presets 1.0.96-alpha.9 → 1.0.96

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,18 +1,5 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
2
2
 
3
- .icon{
4
- display: flex;
5
- height: 1em;
6
- width: 1em;
7
- background-color: currentColor;
8
- -webkit-mask-image: var(--svg);
9
- mask-image: var(--svg);
10
- -webkit-mask-repeat: no-repeat;
11
- mask-repeat: no-repeat;
12
- -webkit-mask-size: 100% 100%;
13
- mask-size: 100% 100%;
14
- }
15
-
16
3
  .ic-add {
17
4
  /* ri-add-line */
18
5
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z'/%3E%3C/svg%3E");
@@ -896,6 +883,53 @@
896
883
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.199 9.944a2.6 2.6 0 0 1-.79-1.55l-.403-3.083l-2.731 1.486a2.6 2.6 0 0 1-1.719.272L6.5 6.5l.57 3.056a2.6 2.6 0 0 1-.273 1.72l-1.486 2.73l3.083.403a2.6 2.6 0 0 1 1.55.79l2.138 2.257l1.336-2.807a2.6 2.6 0 0 1 1.23-1.231l2.808-1.336zm.025 5.564l-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.358-.182l-5.106-.668a.6.6 0 0 1-.45-.881l2.462-4.524a.6.6 0 0 0 .063-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.062.943a.6.6 0 0 0 .397-.063l4.523-2.46a.6.6 0 0 1 .882.448l.668 5.107a.6.6 0 0 0 .182.357l3.739 3.542a.6.6 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284m.797 1.927l1.414-1.414l4.243 4.242l-1.415 1.415z'/%3E%3C/svg%3E");
897
884
  }
898
885
 
886
+ .container{
887
+ width: 100%;
888
+ }
889
+
890
+ @media (min-width: 640px){
891
+ .container{
892
+ max-width: 640px;
893
+ }
894
+ }
895
+
896
+ @media (min-width: 768px){
897
+ .container{
898
+ max-width: 768px;
899
+ }
900
+ }
901
+
902
+ @media (min-width: 1024px){
903
+ .container{
904
+ max-width: 1024px;
905
+ }
906
+ }
907
+
908
+ @media (min-width: 1280px){
909
+ .container{
910
+ max-width: 1280px;
911
+ }
912
+ }
913
+
914
+ @media (min-width: 1536px){
915
+ .container{
916
+ max-width: 1536px;
917
+ }
918
+ }
919
+
920
+ .icon{
921
+ display: flex;
922
+ height: 1em;
923
+ width: 1em;
924
+ background-color: currentColor;
925
+ -webkit-mask-image: var(--svg);
926
+ mask-image: var(--svg);
927
+ -webkit-mask-repeat: no-repeat;
928
+ mask-repeat: no-repeat;
929
+ -webkit-mask-size: 100% 100%;
930
+ mask-size: 100% 100%;
931
+ }
932
+
899
933
  .\!pointer-events-none{
900
934
  pointer-events: none !important;
901
935
  }
@@ -1133,10 +1167,6 @@
1133
1167
  margin: 0px;
1134
1168
  }
1135
1169
 
1136
- .m-\[3px\]{
1137
- margin: 3px;
1138
- }
1139
-
1140
1170
  .\!mx-auto{
1141
1171
  margin-left: auto !important;
1142
1172
  margin-right: auto !important;
@@ -1381,10 +1411,6 @@
1381
1411
  display: inline;
1382
1412
  }
1383
1413
 
1384
- .\!flex{
1385
- display: flex !important;
1386
- }
1387
-
1388
1414
  .flex{
1389
1415
  display: flex;
1390
1416
  }
@@ -1538,10 +1564,6 @@
1538
1564
  height: 21px;
1539
1565
  }
1540
1566
 
1541
- .h-\[22px\]{
1542
- height: 22px;
1543
- }
1544
-
1545
1567
  .h-\[26px\]{
1546
1568
  height: 26px;
1547
1569
  }
@@ -1788,10 +1810,6 @@
1788
1810
  width: 18px;
1789
1811
  }
1790
1812
 
1791
- .w-\[1px\]{
1792
- width: 1px;
1793
- }
1794
-
1795
1813
  .w-\[200px\]{
1796
1814
  width: 200px;
1797
1815
  }
@@ -1800,10 +1818,6 @@
1800
1818
  width: 224px;
1801
1819
  }
1802
1820
 
1803
- .w-\[22px\]{
1804
- width: 22px;
1805
- }
1806
-
1807
1821
  .w-\[272px\]{
1808
1822
  width: 272px;
1809
1823
  }
@@ -2534,12 +2548,6 @@
2534
2548
  scroll-behavior: smooth;
2535
2549
  }
2536
2550
 
2537
- .truncate{
2538
- overflow: hidden;
2539
- text-overflow: ellipsis;
2540
- white-space: nowrap;
2541
- }
2542
-
2543
2551
  .overflow-ellipsis{
2544
2552
  text-overflow: ellipsis;
2545
2553
  }
@@ -38,28 +38,6 @@ declare namespace _default {
38
38
  })[];
39
39
  'data-wv-section': string;
40
40
  };
41
- function markerDot(item: any): {
42
- class: (string | {
43
- '!flex': any;
44
- })[];
45
- 'data-wv-section': string;
46
- };
47
- namespace contentHeader {
48
- let _class_1: string[];
49
- export { _class_1 as class };
50
- }
51
- namespace contentDetailKey {
52
- let _class_2: string[];
53
- export { _class_2 as class };
54
- }
55
- namespace contentDetailValue {
56
- let _class_3: string[];
57
- export { _class_3 as class };
58
- }
59
- namespace contentDate {
60
- let _class_4: string[];
61
- export { _class_4 as class };
62
- }
63
41
  function connector({ props }: {
64
42
  props: any;
65
43
  }): {
@@ -68,25 +68,6 @@ exports.default = {
68
68
  ],
69
69
  'data-wv-section': 'markerArrow',
70
70
  }); },
71
- markerDot: function (item) { return ({
72
- 'class': [
73
- 'hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black',
74
- { '!flex': !item.detail || isEmptyObject(item.detail) },
75
- ],
76
- 'data-wv-section': 'markerDot',
77
- }); },
78
- contentHeader: {
79
- class: ['leading-5 cursor-pointer truncate !text-xs !font-bold'],
80
- },
81
- contentDetailKey: {
82
- class: ['text-general-400 whitespace-nowrap'],
83
- },
84
- contentDetailValue: {
85
- class: ['text-xs text-general-800'],
86
- },
87
- contentDate: {
88
- class: ['text-xs font-medium'],
89
- },
90
71
  connector: function (_a) {
91
72
  var props = _a.props;
92
73
  return ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-presets",
3
- "version": "1.0.96-alpha.9",
3
+ "version": "1.0.96",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Wangsit VueJS Component Library Presets",
6
6
  "main": "index.js",
@@ -4,13 +4,10 @@ declare namespace _default {
4
4
  'data-wv-name': string;
5
5
  'data-wv-section': string;
6
6
  };
7
- function label({ props, slots }: {
7
+ function label({ props }: {
8
8
  props: any;
9
- slots: any;
10
9
  }): {
11
- class: (any[] | {
12
- 'w-full': any;
13
- })[];
10
+ class: any[][];
14
11
  'data-wv-section': string;
15
12
  };
16
13
  namespace info {
@@ -9,16 +9,13 @@ exports.default = {
9
9
  'data-wv-section': 'root',
10
10
  },
11
11
  label: function (_a) {
12
- var props = _a.props, slots = _a.slots;
12
+ var props = _a.props;
13
13
  return ({
14
14
  'class': [
15
15
  [
16
16
  'text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]',
17
17
  props.labelClass,
18
18
  ],
19
- {
20
- 'w-full': slots['label-addon']
21
- }
22
19
  ],
23
20
  'data-wv-section': 'fieldlabel',
24
21
  });