@redvars/peacock 3.2.6 → 3.2.7
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/BaseButton.js +1 -1
- package/dist/assets/components.css +2 -0
- package/dist/assets/components.css.map +1 -0
- package/dist/assets/styles.css +2 -0
- package/dist/assets/styles.css.map +1 -0
- package/dist/avatar.js +1 -1
- package/dist/avatar.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +4 -4
- package/dist/custom-elements.json +268 -154
- package/dist/divider.js +1 -1
- package/dist/field.js +1 -1
- package/dist/icon.js +1 -1
- package/dist/index.js +2 -2
- package/dist/peacock-loader.js +46 -500
- package/dist/peacock-loader.js.map +1 -1
- package/dist/src/CssLoader.d.ts +5 -0
- package/dist/src/avatar/avatar.d.ts +1 -1
- package/dist/src/button/button/button.d.ts +1 -1
- package/dist/{switch-CC-S5fbc.js → switch-DqxIiVsB.js} +3 -3
- package/dist/switch-DqxIiVsB.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{utils.js → utils-DGMeCC48.js} +2 -6
- package/dist/utils-DGMeCC48.js.map +1 -0
- package/package.json +11 -5
- package/readme.md +1 -0
- package/scss/components.scss +3 -0
- package/scss/styles.scss +4 -0
- package/src/CssLoader.ts +66 -0
- package/src/avatar/avatar.ts +1 -1
- package/src/button/button/button.ts +1 -1
- package/src/peacock-loader.ts +14 -9
- package/dist/switch-CC-S5fbc.js.map +0 -1
- package/dist/utils.js.map +0 -1
- /package/{dist/assets/styles → scss}/tokens.css +0 -0
|
@@ -2,6 +2,120 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/CssLoader.ts",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "function",
|
|
11
|
+
"name": "loadCSS",
|
|
12
|
+
"return": {
|
|
13
|
+
"type": {
|
|
14
|
+
"text": "Promise<CSSStyleSheet>"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"name": "url",
|
|
20
|
+
"type": {
|
|
21
|
+
"text": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "options",
|
|
26
|
+
"default": "{}",
|
|
27
|
+
"type": {
|
|
28
|
+
"text": "any"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "function",
|
|
35
|
+
"name": "loadMultipleCSS",
|
|
36
|
+
"return": {
|
|
37
|
+
"type": {
|
|
38
|
+
"text": "Promise<CSSStyleSheet[]>"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"parameters": [
|
|
42
|
+
{
|
|
43
|
+
"name": "urls",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "string[]"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "options",
|
|
50
|
+
"default": "{}",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "any"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "function",
|
|
59
|
+
"name": "unloadCSS",
|
|
60
|
+
"return": {
|
|
61
|
+
"type": {
|
|
62
|
+
"text": "boolean"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"parameters": [
|
|
66
|
+
{
|
|
67
|
+
"name": "url",
|
|
68
|
+
"type": {
|
|
69
|
+
"text": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"kind": "function",
|
|
76
|
+
"name": "clearAllCSS",
|
|
77
|
+
"return": {
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "void"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"exports": [
|
|
85
|
+
{
|
|
86
|
+
"kind": "js",
|
|
87
|
+
"name": "loadCSS",
|
|
88
|
+
"declaration": {
|
|
89
|
+
"name": "loadCSS",
|
|
90
|
+
"module": "src/CssLoader.ts"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "js",
|
|
95
|
+
"name": "loadMultipleCSS",
|
|
96
|
+
"declaration": {
|
|
97
|
+
"name": "loadMultipleCSS",
|
|
98
|
+
"module": "src/CssLoader.ts"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "js",
|
|
103
|
+
"name": "unloadCSS",
|
|
104
|
+
"declaration": {
|
|
105
|
+
"name": "unloadCSS",
|
|
106
|
+
"module": "src/CssLoader.ts"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"kind": "js",
|
|
111
|
+
"name": "clearAllCSS",
|
|
112
|
+
"declaration": {
|
|
113
|
+
"name": "clearAllCSS",
|
|
114
|
+
"module": "src/CssLoader.ts"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
5
119
|
{
|
|
6
120
|
"kind": "javascript-module",
|
|
7
121
|
"path": "src/LoaderUtils.ts",
|
|
@@ -852,158 +966,6 @@
|
|
|
852
966
|
}
|
|
853
967
|
]
|
|
854
968
|
},
|
|
855
|
-
{
|
|
856
|
-
"kind": "javascript-module",
|
|
857
|
-
"path": "src/badge/badge.ts",
|
|
858
|
-
"declarations": [
|
|
859
|
-
{
|
|
860
|
-
"kind": "class",
|
|
861
|
-
"description": "",
|
|
862
|
-
"name": "Badge",
|
|
863
|
-
"cssProperties": [
|
|
864
|
-
{
|
|
865
|
-
"description": "Controls the color of the badge.",
|
|
866
|
-
"name": "--badge-color"
|
|
867
|
-
}
|
|
868
|
-
],
|
|
869
|
-
"members": [
|
|
870
|
-
{
|
|
871
|
-
"kind": "field",
|
|
872
|
-
"name": "value",
|
|
873
|
-
"type": {
|
|
874
|
-
"text": "string"
|
|
875
|
-
},
|
|
876
|
-
"default": "''",
|
|
877
|
-
"description": "The value to display in the badge.",
|
|
878
|
-
"attribute": "value"
|
|
879
|
-
}
|
|
880
|
-
],
|
|
881
|
-
"attributes": [
|
|
882
|
-
{
|
|
883
|
-
"name": "value",
|
|
884
|
-
"type": {
|
|
885
|
-
"text": "string"
|
|
886
|
-
},
|
|
887
|
-
"default": "''",
|
|
888
|
-
"description": "The value to display in the badge.",
|
|
889
|
-
"fieldName": "value"
|
|
890
|
-
}
|
|
891
|
-
],
|
|
892
|
-
"superclass": {
|
|
893
|
-
"name": "LitElement",
|
|
894
|
-
"package": "lit"
|
|
895
|
-
},
|
|
896
|
-
"tagName": "base-badge",
|
|
897
|
-
"customElement": true,
|
|
898
|
-
"summary": "The badge component is used to display a small amount of information to the user.",
|
|
899
|
-
"rawTag": {
|
|
900
|
-
"name": "badge",
|
|
901
|
-
"description": ""
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
],
|
|
905
|
-
"exports": [
|
|
906
|
-
{
|
|
907
|
-
"kind": "js",
|
|
908
|
-
"name": "Badge",
|
|
909
|
-
"declaration": {
|
|
910
|
-
"name": "Badge",
|
|
911
|
-
"module": "src/badge/badge.ts"
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
]
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"kind": "javascript-module",
|
|
918
|
-
"path": "src/badge/index.ts",
|
|
919
|
-
"declarations": [],
|
|
920
|
-
"exports": [
|
|
921
|
-
{
|
|
922
|
-
"kind": "js",
|
|
923
|
-
"name": "Badge",
|
|
924
|
-
"declaration": {
|
|
925
|
-
"name": "Badge",
|
|
926
|
-
"module": "./badge.js"
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
]
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"kind": "javascript-module",
|
|
933
|
-
"path": "src/badge/p-badge.ts",
|
|
934
|
-
"declarations": [
|
|
935
|
-
{
|
|
936
|
-
"kind": "class",
|
|
937
|
-
"description": "",
|
|
938
|
-
"name": "PBadge",
|
|
939
|
-
"superclass": {
|
|
940
|
-
"name": "Badge",
|
|
941
|
-
"module": "/src/badge/badge.js"
|
|
942
|
-
},
|
|
943
|
-
"tagName": "p-badge",
|
|
944
|
-
"customElement": true,
|
|
945
|
-
"cssProperties": [
|
|
946
|
-
{
|
|
947
|
-
"description": "Controls the color of the badge.",
|
|
948
|
-
"name": "--badge-color",
|
|
949
|
-
"inheritedFrom": {
|
|
950
|
-
"name": "Badge",
|
|
951
|
-
"module": "src/badge/badge.ts"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"attributes": [
|
|
956
|
-
{
|
|
957
|
-
"name": "value",
|
|
958
|
-
"type": {
|
|
959
|
-
"text": "string"
|
|
960
|
-
},
|
|
961
|
-
"default": "''",
|
|
962
|
-
"description": "The value to display in the badge.",
|
|
963
|
-
"fieldName": "value",
|
|
964
|
-
"inheritedFrom": {
|
|
965
|
-
"name": "Badge",
|
|
966
|
-
"module": "src/badge/badge.ts"
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
"members": [
|
|
971
|
-
{
|
|
972
|
-
"kind": "field",
|
|
973
|
-
"name": "value",
|
|
974
|
-
"type": {
|
|
975
|
-
"text": "string"
|
|
976
|
-
},
|
|
977
|
-
"default": "''",
|
|
978
|
-
"description": "The value to display in the badge.",
|
|
979
|
-
"attribute": "value",
|
|
980
|
-
"inheritedFrom": {
|
|
981
|
-
"name": "Badge",
|
|
982
|
-
"module": "src/badge/badge.ts"
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
]
|
|
986
|
-
}
|
|
987
|
-
],
|
|
988
|
-
"exports": [
|
|
989
|
-
{
|
|
990
|
-
"kind": "js",
|
|
991
|
-
"name": "PBadge",
|
|
992
|
-
"declaration": {
|
|
993
|
-
"name": "PBadge",
|
|
994
|
-
"module": "src/badge/p-badge.ts"
|
|
995
|
-
}
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"kind": "custom-element-definition",
|
|
999
|
-
"name": "p-badge",
|
|
1000
|
-
"declaration": {
|
|
1001
|
-
"name": "PBadge",
|
|
1002
|
-
"module": "src/badge/p-badge.ts"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
]
|
|
1006
|
-
},
|
|
1007
969
|
{
|
|
1008
970
|
"kind": "javascript-module",
|
|
1009
971
|
"path": "src/avatar/avatar.ts",
|
|
@@ -1244,6 +1206,158 @@
|
|
|
1244
1206
|
}
|
|
1245
1207
|
]
|
|
1246
1208
|
},
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "javascript-module",
|
|
1211
|
+
"path": "src/badge/badge.ts",
|
|
1212
|
+
"declarations": [
|
|
1213
|
+
{
|
|
1214
|
+
"kind": "class",
|
|
1215
|
+
"description": "",
|
|
1216
|
+
"name": "Badge",
|
|
1217
|
+
"cssProperties": [
|
|
1218
|
+
{
|
|
1219
|
+
"description": "Controls the color of the badge.",
|
|
1220
|
+
"name": "--badge-color"
|
|
1221
|
+
}
|
|
1222
|
+
],
|
|
1223
|
+
"members": [
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "field",
|
|
1226
|
+
"name": "value",
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "string"
|
|
1229
|
+
},
|
|
1230
|
+
"default": "''",
|
|
1231
|
+
"description": "The value to display in the badge.",
|
|
1232
|
+
"attribute": "value"
|
|
1233
|
+
}
|
|
1234
|
+
],
|
|
1235
|
+
"attributes": [
|
|
1236
|
+
{
|
|
1237
|
+
"name": "value",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"text": "string"
|
|
1240
|
+
},
|
|
1241
|
+
"default": "''",
|
|
1242
|
+
"description": "The value to display in the badge.",
|
|
1243
|
+
"fieldName": "value"
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
"superclass": {
|
|
1247
|
+
"name": "LitElement",
|
|
1248
|
+
"package": "lit"
|
|
1249
|
+
},
|
|
1250
|
+
"tagName": "base-badge",
|
|
1251
|
+
"customElement": true,
|
|
1252
|
+
"summary": "The badge component is used to display a small amount of information to the user.",
|
|
1253
|
+
"rawTag": {
|
|
1254
|
+
"name": "badge",
|
|
1255
|
+
"description": ""
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"exports": [
|
|
1260
|
+
{
|
|
1261
|
+
"kind": "js",
|
|
1262
|
+
"name": "Badge",
|
|
1263
|
+
"declaration": {
|
|
1264
|
+
"name": "Badge",
|
|
1265
|
+
"module": "src/badge/badge.ts"
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
]
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"kind": "javascript-module",
|
|
1272
|
+
"path": "src/badge/index.ts",
|
|
1273
|
+
"declarations": [],
|
|
1274
|
+
"exports": [
|
|
1275
|
+
{
|
|
1276
|
+
"kind": "js",
|
|
1277
|
+
"name": "Badge",
|
|
1278
|
+
"declaration": {
|
|
1279
|
+
"name": "Badge",
|
|
1280
|
+
"module": "./badge.js"
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
]
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "javascript-module",
|
|
1287
|
+
"path": "src/badge/p-badge.ts",
|
|
1288
|
+
"declarations": [
|
|
1289
|
+
{
|
|
1290
|
+
"kind": "class",
|
|
1291
|
+
"description": "",
|
|
1292
|
+
"name": "PBadge",
|
|
1293
|
+
"superclass": {
|
|
1294
|
+
"name": "Badge",
|
|
1295
|
+
"module": "/src/badge/badge.js"
|
|
1296
|
+
},
|
|
1297
|
+
"tagName": "p-badge",
|
|
1298
|
+
"customElement": true,
|
|
1299
|
+
"cssProperties": [
|
|
1300
|
+
{
|
|
1301
|
+
"description": "Controls the color of the badge.",
|
|
1302
|
+
"name": "--badge-color",
|
|
1303
|
+
"inheritedFrom": {
|
|
1304
|
+
"name": "Badge",
|
|
1305
|
+
"module": "src/badge/badge.ts"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
],
|
|
1309
|
+
"attributes": [
|
|
1310
|
+
{
|
|
1311
|
+
"name": "value",
|
|
1312
|
+
"type": {
|
|
1313
|
+
"text": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"default": "''",
|
|
1316
|
+
"description": "The value to display in the badge.",
|
|
1317
|
+
"fieldName": "value",
|
|
1318
|
+
"inheritedFrom": {
|
|
1319
|
+
"name": "Badge",
|
|
1320
|
+
"module": "src/badge/badge.ts"
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
"members": [
|
|
1325
|
+
{
|
|
1326
|
+
"kind": "field",
|
|
1327
|
+
"name": "value",
|
|
1328
|
+
"type": {
|
|
1329
|
+
"text": "string"
|
|
1330
|
+
},
|
|
1331
|
+
"default": "''",
|
|
1332
|
+
"description": "The value to display in the badge.",
|
|
1333
|
+
"attribute": "value",
|
|
1334
|
+
"inheritedFrom": {
|
|
1335
|
+
"name": "Badge",
|
|
1336
|
+
"module": "src/badge/badge.ts"
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
]
|
|
1340
|
+
}
|
|
1341
|
+
],
|
|
1342
|
+
"exports": [
|
|
1343
|
+
{
|
|
1344
|
+
"kind": "js",
|
|
1345
|
+
"name": "PBadge",
|
|
1346
|
+
"declaration": {
|
|
1347
|
+
"name": "PBadge",
|
|
1348
|
+
"module": "src/badge/p-badge.ts"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"kind": "custom-element-definition",
|
|
1353
|
+
"name": "p-badge",
|
|
1354
|
+
"declaration": {
|
|
1355
|
+
"name": "PBadge",
|
|
1356
|
+
"module": "src/badge/p-badge.ts"
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
]
|
|
1360
|
+
},
|
|
1247
1361
|
{
|
|
1248
1362
|
"kind": "javascript-module",
|
|
1249
1363
|
"path": "src/breadcrumb/index.ts",
|
|
@@ -8274,10 +8388,10 @@
|
|
|
8274
8388
|
"events": [
|
|
8275
8389
|
{
|
|
8276
8390
|
"type": {
|
|
8277
|
-
"text": "
|
|
8391
|
+
"text": "MouseEvent"
|
|
8278
8392
|
},
|
|
8279
8393
|
"description": "Dispatched when the button is clicked.",
|
|
8280
|
-
"name": "
|
|
8394
|
+
"name": "click"
|
|
8281
8395
|
}
|
|
8282
8396
|
],
|
|
8283
8397
|
"attributes": [
|
package/dist/divider.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate, n } from './property-DNVWDdPC.js';
|
|
|
2
2
|
import { i, a as i$1, b } from './lit-element-CA46RFZ_.js';
|
|
3
3
|
import { r } from './state-CV1fRmOT.js';
|
|
4
4
|
import { e } from './class-map-BmCohX9p.js';
|
|
5
|
-
import { observerSlotChangesWithCallback } from './utils.js';
|
|
5
|
+
import { o as observerSlotChangesWithCallback } from './utils-DGMeCC48.js';
|
|
6
6
|
import './directive-Cuw6h7YA.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = i`* {
|
package/dist/field.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as __decorate, n } from './property-DNVWDdPC.js';
|
|
|
2
2
|
import { i, a as i$1, b, A } from './lit-element-CA46RFZ_.js';
|
|
3
3
|
import { r } from './state-CV1fRmOT.js';
|
|
4
4
|
import { e } from './class-map-BmCohX9p.js';
|
|
5
|
-
import { observerSlotChangesWithCallback } from './utils.js';
|
|
5
|
+
import { o as observerSlotChangesWithCallback } from './utils-DGMeCC48.js';
|
|
6
6
|
import './directive-Cuw6h7YA.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = i`* {
|
package/dist/icon.js
CHANGED
|
@@ -3,7 +3,7 @@ import { i, a as i$1, b } from './lit-element-CA46RFZ_.js';
|
|
|
3
3
|
import { r } from './state-CV1fRmOT.js';
|
|
4
4
|
import { e } from './directive-Cuw6h7YA.js';
|
|
5
5
|
import { e as e$1 } from './unsafe-html-BS8X6Gto.js';
|
|
6
|
-
import { createCacheFetch, sanitizeSvg } from './utils.js';
|
|
6
|
+
import { c as createCacheFetch, s as sanitizeSvg } from './utils-DGMeCC48.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { Badge } from './badge.js';
|
|
|
4
4
|
export { Divider } from './divider.js';
|
|
5
5
|
export { Clock } from './clock.js';
|
|
6
6
|
export { Elevation } from './elevation.js';
|
|
7
|
-
export { B as Button, C as CircularProgress, D as DatePicker, I as IconButton, a as Input, L as LinearProgress, N as NumberField, S as Switch, T as Textarea, b as TimePicker } from './switch-
|
|
7
|
+
export { B as Button, C as CircularProgress, D as DatePicker, I as IconButton, a as Input, L as LinearProgress, N as NumberField, S as Switch, T as Textarea, b as TimePicker } from './switch-DqxIiVsB.js';
|
|
8
8
|
export { ButtonGroup } from './button-group.js';
|
|
9
9
|
export { FocusRing } from './focus-ring.js';
|
|
10
10
|
export { Ripple } from './ripple.js';
|
|
@@ -27,7 +27,7 @@ import './lit-element-CA46RFZ_.js';
|
|
|
27
27
|
import './state-CV1fRmOT.js';
|
|
28
28
|
import './directive-Cuw6h7YA.js';
|
|
29
29
|
import './unsafe-html-BS8X6Gto.js';
|
|
30
|
-
import './utils.js';
|
|
30
|
+
import './utils-DGMeCC48.js';
|
|
31
31
|
import './class-map-BmCohX9p.js';
|
|
32
32
|
import './spread-axRTFMoH.js';
|
|
33
33
|
import './BaseButton.js';
|