@saasquatch/vanilla-components 1.3.0-0 → 1.3.0-1

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.
@@ -81,7 +81,7 @@ export class ShareButton {
81
81
  "text": "Share Button Display Rule",
82
82
  "name": "uiName"
83
83
  }],
84
- "text": "Show and hide button depending on what type of device the user is on"
84
+ "text": "Show or hide button depending on what type of device the user is on"
85
85
  },
86
86
  "attribute": "displayrule",
87
87
  "reflect": false
@@ -101,7 +101,7 @@ export class ShareButton {
101
101
  "text": "Share Button Text",
102
102
  "name": "uiName"
103
103
  }],
104
- "text": "Text inside the Share button"
104
+ "text": "Text inside the share button"
105
105
  },
106
106
  "attribute": "text",
107
107
  "reflect": false
@@ -121,7 +121,7 @@ export class ShareButton {
121
121
  "text": "Share Button Background Color",
122
122
  "name": "uiName"
123
123
  }],
124
- "text": "Background color of the Share button"
124
+ "text": "Background color of the share button"
125
125
  },
126
126
  "attribute": "backgroundcolor",
127
127
  "reflect": false
@@ -141,7 +141,7 @@ export class ShareButton {
141
141
  "text": "Share Button Text Color",
142
142
  "name": "uiName"
143
143
  }],
144
- "text": "Color of the text inside the Share button"
144
+ "text": "Color of the text inside the share button"
145
145
  },
146
146
  "attribute": "textcolor",
147
147
  "reflect": false
@@ -181,7 +181,7 @@ export class ShareButton {
181
181
  "text": "Share Button Class Name",
182
182
  "name": "uiName"
183
183
  }],
184
- "text": "CSS Class name used to style the Share button"
184
+ "text": "CSS Class name used to style the share button"
185
185
  },
186
186
  "attribute": "button-class-name",
187
187
  "reflect": false
@@ -201,7 +201,7 @@ export class ShareButton {
201
201
  "text": "Share Button Icon Horizontal",
202
202
  "name": "uiName"
203
203
  }],
204
- "text": "Number to horizontally align the Share button icon"
204
+ "text": "Number to horizontally align the share button icon"
205
205
  },
206
206
  "attribute": "iconhorizontal",
207
207
  "reflect": false
@@ -221,7 +221,7 @@ export class ShareButton {
221
221
  "text": "Share Button Icon Vertical",
222
222
  "name": "uiName"
223
223
  }],
224
- "text": "Number to vertically align the Share button icon"
224
+ "text": "Number to vertically align the share button icon"
225
225
  },
226
226
  "attribute": "iconvertical",
227
227
  "reflect": false
@@ -67,9 +67,6 @@ export class StatComponent {
67
67
  "tags": [{
68
68
  "text": "Stat Type",
69
69
  "name": "uiName"
70
- }, {
71
- "text": "stat",
72
- "name": "uiGroup"
73
70
  }],
74
71
  "text": "Type of stat being displayed. e.g /rewardsCount"
75
72
  },
@@ -90,9 +87,6 @@ export class StatComponent {
90
87
  "tags": [{
91
88
  "text": "Stat Value",
92
89
  "name": "uiName"
93
- }, {
94
- "text": "stat",
95
- "name": "uiGroup"
96
90
  }],
97
91
  "text": "Value shown inside stat"
98
92
  },
@@ -113,9 +107,6 @@ export class StatComponent {
113
107
  "tags": [{
114
108
  "text": "Stat Description",
115
109
  "name": "uiName"
116
- }, {
117
- "text": "stat",
118
- "name": "uiGroup"
119
110
  }],
120
111
  "text": "Description shown underneath stat value"
121
112
  },
@@ -136,9 +127,6 @@ export class StatComponent {
136
127
  "tags": [{
137
128
  "text": "Stat Color",
138
129
  "name": "uiName"
139
- }, {
140
- "text": "stat",
141
- "name": "uiGroup"
142
130
  }],
143
131
  "text": "Text color of the stat"
144
132
  },
@@ -3,25 +3,25 @@
3
3
  */
4
4
  export declare class ShareButton {
5
5
  /**
6
- * Show and hide button depending on what type of device the user is on
6
+ * Show or hide button depending on what type of device the user is on
7
7
  *
8
8
  * @uiName Share Button Display Rule
9
9
  */
10
10
  displayrule: string;
11
11
  /**
12
- * Text inside the Share button
12
+ * Text inside the share button
13
13
  *
14
14
  * @uiName Share Button Text
15
15
  */
16
16
  text: string;
17
17
  /**
18
- * Background color of the Share button
18
+ * Background color of the share button
19
19
  *
20
20
  * @uiName Share Button Background Color
21
21
  */
22
22
  backgroundcolor: string;
23
23
  /**
24
- * Color of the text inside the Share button
24
+ * Color of the text inside the share button
25
25
  *
26
26
  * @uiName Share Button Text Color
27
27
  */
@@ -33,19 +33,19 @@ export declare class ShareButton {
33
33
  */
34
34
  icon: string;
35
35
  /**
36
- * CSS Class name used to style the Share button
36
+ * CSS Class name used to style the share button
37
37
  *
38
38
  * @uiName Share Button Class Name
39
39
  */
40
40
  buttonClassName: string;
41
41
  /**
42
- * Number to horizontally align the Share button icon
42
+ * Number to horizontally align the share button icon
43
43
  *
44
44
  * @uiName Share Button Icon Horizontal
45
45
  */
46
46
  iconhorizontal: number;
47
47
  /**
48
- * Number to vertically align the Share button icon
48
+ * Number to vertically align the share button icon
49
49
  *
50
50
  * @uiName Share Button Icon Vertical
51
51
  */
@@ -14,28 +14,24 @@ export declare class StatComponent {
14
14
  * Type of stat being displayed. e.g /rewardsCount
15
15
  *
16
16
  * @uiName Stat Type
17
- * @uiGroup stat
18
17
  */
19
18
  stattype: string;
20
19
  /**
21
20
  * Value shown inside stat
22
21
  *
23
22
  * @uiName Stat Value
24
- * @uiGroup stat
25
23
  */
26
24
  statvalue: string;
27
25
  /**
28
26
  * Description shown underneath stat value
29
27
  *
30
28
  * @uiName Stat Description
31
- * @uiGroup stat
32
29
  */
33
30
  statdescription: string;
34
31
  /**
35
32
  * Text color of the stat
36
33
  *
37
34
  * @uiName Stat Color
38
- * @uiGroup stat
39
35
  */
40
36
  statcolor: string;
41
37
  statTypeUpdated: EventEmitter;
@@ -407,17 +407,17 @@ export namespace Components {
407
407
  }
408
408
  interface SqhShareButton {
409
409
  /**
410
- * Background color of the Share button
410
+ * Background color of the share button
411
411
  * @uiName Share Button Background Color
412
412
  */
413
413
  "backgroundcolor": string;
414
414
  /**
415
- * CSS Class name used to style the Share button
415
+ * CSS Class name used to style the share button
416
416
  * @uiName Share Button Class Name
417
417
  */
418
418
  "buttonClassName": string;
419
419
  /**
420
- * Show and hide button depending on what type of device the user is on
420
+ * Show or hide button depending on what type of device the user is on
421
421
  * @uiName Share Button Display Rule
422
422
  */
423
423
  "displayrule": string;
@@ -427,7 +427,7 @@ export namespace Components {
427
427
  */
428
428
  "icon": string;
429
429
  /**
430
- * Number to horizontally align the Share button icon
430
+ * Number to horizontally align the share button icon
431
431
  * @uiName Share Button Icon Horizontal
432
432
  */
433
433
  "iconhorizontal": number;
@@ -437,17 +437,17 @@ export namespace Components {
437
437
  */
438
438
  "iconsize": number;
439
439
  /**
440
- * Number to vertically align the Share button icon
440
+ * Number to vertically align the share button icon
441
441
  * @uiName Share Button Icon Vertical
442
442
  */
443
443
  "iconvertical": number;
444
444
  /**
445
- * Text inside the Share button
445
+ * Text inside the share button
446
446
  * @uiName Share Button Text
447
447
  */
448
448
  "text": string;
449
449
  /**
450
- * Color of the text inside the Share button
450
+ * Color of the text inside the share button
451
451
  * @uiName Share Button Text Color
452
452
  */
453
453
  "textcolor": string;
@@ -964,25 +964,21 @@ export namespace Components {
964
964
  /**
965
965
  * Text color of the stat
966
966
  * @uiName Stat Color
967
- * @uiGroup stat
968
967
  */
969
968
  "statcolor": string;
970
969
  /**
971
970
  * Description shown underneath stat value
972
971
  * @uiName Stat Description
973
- * @uiGroup stat
974
972
  */
975
973
  "statdescription": string;
976
974
  /**
977
975
  * Type of stat being displayed. e.g /rewardsCount
978
976
  * @uiName Stat Type
979
- * @uiGroup stat
980
977
  */
981
978
  "stattype": string;
982
979
  /**
983
980
  * Value shown inside stat
984
981
  * @uiName Stat Value
985
- * @uiGroup stat
986
982
  */
987
983
  "statvalue": string;
988
984
  }
@@ -1574,17 +1570,17 @@ declare namespace LocalJSX {
1574
1570
  }
1575
1571
  interface SqhShareButton {
1576
1572
  /**
1577
- * Background color of the Share button
1573
+ * Background color of the share button
1578
1574
  * @uiName Share Button Background Color
1579
1575
  */
1580
1576
  "backgroundcolor"?: string;
1581
1577
  /**
1582
- * CSS Class name used to style the Share button
1578
+ * CSS Class name used to style the share button
1583
1579
  * @uiName Share Button Class Name
1584
1580
  */
1585
1581
  "buttonClassName"?: string;
1586
1582
  /**
1587
- * Show and hide button depending on what type of device the user is on
1583
+ * Show or hide button depending on what type of device the user is on
1588
1584
  * @uiName Share Button Display Rule
1589
1585
  */
1590
1586
  "displayrule"?: string;
@@ -1594,7 +1590,7 @@ declare namespace LocalJSX {
1594
1590
  */
1595
1591
  "icon"?: string;
1596
1592
  /**
1597
- * Number to horizontally align the Share button icon
1593
+ * Number to horizontally align the share button icon
1598
1594
  * @uiName Share Button Icon Horizontal
1599
1595
  */
1600
1596
  "iconhorizontal"?: number;
@@ -1604,17 +1600,17 @@ declare namespace LocalJSX {
1604
1600
  */
1605
1601
  "iconsize"?: number;
1606
1602
  /**
1607
- * Number to vertically align the Share button icon
1603
+ * Number to vertically align the share button icon
1608
1604
  * @uiName Share Button Icon Vertical
1609
1605
  */
1610
1606
  "iconvertical"?: number;
1611
1607
  /**
1612
- * Text inside the Share button
1608
+ * Text inside the share button
1613
1609
  * @uiName Share Button Text
1614
1610
  */
1615
1611
  "text"?: string;
1616
1612
  /**
1617
- * Color of the text inside the Share button
1613
+ * Color of the text inside the share button
1618
1614
  * @uiName Share Button Text Color
1619
1615
  */
1620
1616
  "textcolor"?: string;
@@ -2133,25 +2129,21 @@ declare namespace LocalJSX {
2133
2129
  /**
2134
2130
  * Text color of the stat
2135
2131
  * @uiName Stat Color
2136
- * @uiGroup stat
2137
2132
  */
2138
2133
  "statcolor"?: string;
2139
2134
  /**
2140
2135
  * Description shown underneath stat value
2141
2136
  * @uiName Stat Description
2142
- * @uiGroup stat
2143
2137
  */
2144
2138
  "statdescription"?: string;
2145
2139
  /**
2146
2140
  * Type of stat being displayed. e.g /rewardsCount
2147
2141
  * @uiName Stat Type
2148
- * @uiGroup stat
2149
2142
  */
2150
2143
  "stattype"?: string;
2151
2144
  /**
2152
2145
  * Value shown inside stat
2153
2146
  * @uiName Stat Value
2154
- * @uiGroup stat
2155
2147
  */
2156
2148
  "statvalue"?: string;
2157
2149
  }
@@ -116,7 +116,7 @@ var StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=
116
116
 
117
117
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
118
118
  var start = function() {
119
- var url = new URL('./p-58be1132.system.js', new URL(resourcesUrl));
119
+ var url = new URL('./p-58be1132.system.js', new URL(resourcesUrl, window.location.origin));
120
120
  System.import(url.href);
121
121
  };
122
122
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@saasquatch/vanilla-components",
3
- "version": "1.3.0-0",
3
+ "version": "1.3.0-1",
4
4
  "description": "Vanilla component library for the SaaSquatch platform",
5
+ "raisins": "docs/raisins.json",
5
6
  "main": "dist/index.js",
6
7
  "module": "dist/index.mjs",
7
8
  "es2015": "dist/esm/index.mjs",
@@ -20,7 +21,9 @@
20
21
  "generate": "stencil generate",
21
22
  "storybook": "start-storybook -p 6006 -s ./dist",
22
23
  "build-storybook": "build-storybook -o docs -c .storybook-prod",
23
- "contentful": "ts-node templates/build-contentful.ts"
24
+ "contentful": "ts-node templates/build-contentful.ts",
25
+ "serve:package": "serve . --cors",
26
+ "start:raisins": "run-p start serve:package"
24
27
  },
25
28
  "devDependencies": {
26
29
  "@formatjs/intl-relativetimeformat": "^4.5.15",
@@ -71,7 +74,8 @@
71
74
  "homepage": "https://github.com/saasquatch/program-tools",
72
75
  "gitHead": "8bb7593d8b46310071835017f0cd63c8c36013b4",
73
76
  "dependencies": {
74
- "@formatjs/intl-pluralrules": "^1.5.8"
77
+ "@formatjs/intl-pluralrules": "^1.5.8",
78
+ "@raisins/stencil-docs-target": "^0.1.0"
75
79
  },
76
80
  "jest": {
77
81
  "transform": {