@pure-ds/core 0.5.56 → 0.5.57
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/.cursorrules +520 -512
- package/.github/copilot-instructions.md +520 -512
- package/custom-elements.json +258 -98
- package/dist/types/public/assets/js/pds-manager.d.ts +141 -426
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts +3 -4
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -1
- package/dist/types/src/js/common/common.d.ts +6 -0
- package/dist/types/src/js/common/common.d.ts.map +1 -1
- package/dist/types/src/js/pds.d.ts.map +1 -1
- package/package.json +1 -1
- package/packages/pds-cli/bin/templates/bootstrap/src/js/app.js +1 -10
- package/public/assets/js/app.js +19 -19
- package/public/assets/js/pds-manager.js +4 -4
- package/public/assets/js/pds.js +6 -6
- package/public/assets/pds/components/pds-omnibox.js +2 -10
- package/public/assets/pds/custom-elements.json +471 -0
- package/public/assets/pds/pds-css-complete.json +590 -179
- package/public/assets/pds/pds.css-data.json +201 -165
- package/public/assets/pds/vscode-custom-data.json +42 -25
- package/src/js/pds.js +6 -15
|
@@ -506,6 +506,193 @@
|
|
|
506
506
|
}
|
|
507
507
|
]
|
|
508
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"kind": "javascript-module",
|
|
511
|
+
"path": "public/assets/pds/components/pds-fab.js",
|
|
512
|
+
"declarations": [
|
|
513
|
+
{
|
|
514
|
+
"kind": "class",
|
|
515
|
+
"description": "Floating Action Button (FAB) with expandable satellite actions",
|
|
516
|
+
"name": "PdsFab",
|
|
517
|
+
"cssProperties": [
|
|
518
|
+
{
|
|
519
|
+
"description": "Size of the main FAB button (default: 64px)",
|
|
520
|
+
"name": "--fab-size"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"description": "Background color of the main FAB (default: var(--color-primary-600))",
|
|
524
|
+
"name": "--fab-bg"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"description": "Foreground color of the main FAB (default: white)",
|
|
528
|
+
"name": "--fab-fg"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"description": "Size of satellite buttons (default: 48px)",
|
|
532
|
+
"name": "--sat-size"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"description": "Background color of satellites (default: var(--color-surface-elevated))",
|
|
536
|
+
"name": "--sat-bg"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"description": "Foreground color of satellites (default: var(--color-text-primary))",
|
|
540
|
+
"name": "--sat-fg"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"description": "Distance of satellites from main FAB (default: 100px)",
|
|
544
|
+
"name": "--radius"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"description": "Animation duration (default: 420ms)",
|
|
548
|
+
"name": "--transition-duration"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"cssParts": [
|
|
552
|
+
{
|
|
553
|
+
"description": "The main FAB button",
|
|
554
|
+
"name": "fab"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"description": "Individual satellite buttons",
|
|
558
|
+
"name": "satellite"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"description": "Satellite button labels",
|
|
562
|
+
"name": "label"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"slots": [
|
|
566
|
+
{
|
|
567
|
+
"description": "Main FAB button content (typically an icon or avatar)",
|
|
568
|
+
"name": ""
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"description": "Override individual satellite button content",
|
|
572
|
+
"name": "satellite-{key}"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"members": [
|
|
576
|
+
{
|
|
577
|
+
"kind": "field",
|
|
578
|
+
"name": "open",
|
|
579
|
+
"description": "Controls whether the FAB is expanded",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "boolean"
|
|
582
|
+
},
|
|
583
|
+
"attribute": "open"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"kind": "field",
|
|
587
|
+
"name": "radius",
|
|
588
|
+
"description": "Distance in pixels from the main FAB to satellites",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "number"
|
|
591
|
+
},
|
|
592
|
+
"default": "100",
|
|
593
|
+
"attribute": "radius"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"kind": "field",
|
|
597
|
+
"name": "spread",
|
|
598
|
+
"description": "Arc angle in degrees for satellite distribution",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "number"
|
|
601
|
+
},
|
|
602
|
+
"default": "90",
|
|
603
|
+
"attribute": "spread"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"kind": "field",
|
|
607
|
+
"name": "startAngle",
|
|
608
|
+
"description": "Starting angle in degrees (0=right, 90=down, 180=left, 270=up)\r\nIf not specified, the angle is auto-detected based on the FAB's corner position:\r\n- Bottom-right: 180° (fly left/up)\r\n- Bottom-left: 315° (fly right/up)\r\n- Top-right: 225° (fly left/down)\r\n- Top-left: 45° (fly right/down)",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "number"
|
|
611
|
+
},
|
|
612
|
+
"default": "180 (or auto-detected)",
|
|
613
|
+
"attribute": "start-angle"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"kind": "field",
|
|
617
|
+
"name": "satellites",
|
|
618
|
+
"description": "Array of satellite button configurations",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "Array<{key: string, icon?: string, label?: string, action?: string}>"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"events": [
|
|
625
|
+
{
|
|
626
|
+
"name": "satellite-click",
|
|
627
|
+
"type": {
|
|
628
|
+
"text": "CustomEvent"
|
|
629
|
+
},
|
|
630
|
+
"description": "Fired when a satellite button is clicked"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"attributes": [
|
|
634
|
+
{
|
|
635
|
+
"name": "open",
|
|
636
|
+
"description": "Controls whether the FAB is expanded",
|
|
637
|
+
"type": {
|
|
638
|
+
"text": "boolean"
|
|
639
|
+
},
|
|
640
|
+
"fieldName": "open"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "radius",
|
|
644
|
+
"description": "Distance in pixels from the main FAB to satellites",
|
|
645
|
+
"type": {
|
|
646
|
+
"text": "number"
|
|
647
|
+
},
|
|
648
|
+
"default": "100",
|
|
649
|
+
"fieldName": "radius"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "spread",
|
|
653
|
+
"description": "Arc angle in degrees for satellite distribution",
|
|
654
|
+
"type": {
|
|
655
|
+
"text": "number"
|
|
656
|
+
},
|
|
657
|
+
"default": "90",
|
|
658
|
+
"fieldName": "spread"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "start-angle",
|
|
662
|
+
"description": "Starting angle in degrees (0=right, 90=down, 180=left, 270=up)\r\nIf not specified, the angle is auto-detected based on the FAB's corner position:\r\n- Bottom-right: 180° (fly left/up)\r\n- Bottom-left: 315° (fly right/up)\r\n- Top-right: 225° (fly left/down)\r\n- Top-left: 45° (fly right/down)",
|
|
663
|
+
"type": {
|
|
664
|
+
"text": "number"
|
|
665
|
+
},
|
|
666
|
+
"default": "180 (or auto-detected)",
|
|
667
|
+
"fieldName": "startAngle"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"superclass": {
|
|
671
|
+
"name": "HTMLElement"
|
|
672
|
+
},
|
|
673
|
+
"tagName": "pds-fab",
|
|
674
|
+
"customElement": true
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"exports": [
|
|
678
|
+
{
|
|
679
|
+
"kind": "js",
|
|
680
|
+
"name": "PdsFab",
|
|
681
|
+
"declaration": {
|
|
682
|
+
"name": "PdsFab",
|
|
683
|
+
"module": "public/assets/pds/components/pds-fab.js"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "custom-element-definition",
|
|
688
|
+
"name": "pds-fab",
|
|
689
|
+
"declaration": {
|
|
690
|
+
"name": "PdsFab",
|
|
691
|
+
"module": "public/assets/pds/components/pds-fab.js"
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
]
|
|
695
|
+
},
|
|
509
696
|
{
|
|
510
697
|
"kind": "javascript-module",
|
|
511
698
|
"path": "public/assets/pds/components/pds-form.js",
|
|
@@ -903,6 +1090,86 @@
|
|
|
903
1090
|
"kind": "method",
|
|
904
1091
|
"name": "notifyInstances",
|
|
905
1092
|
"static": true
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "field",
|
|
1096
|
+
"name": "_currentIcon",
|
|
1097
|
+
"type": {
|
|
1098
|
+
"text": "null"
|
|
1099
|
+
},
|
|
1100
|
+
"default": "null"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"kind": "field",
|
|
1104
|
+
"name": "_pendingIcon",
|
|
1105
|
+
"type": {
|
|
1106
|
+
"text": "null"
|
|
1107
|
+
},
|
|
1108
|
+
"default": "null"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"kind": "field",
|
|
1112
|
+
"name": "_morphing",
|
|
1113
|
+
"type": {
|
|
1114
|
+
"text": "boolean"
|
|
1115
|
+
},
|
|
1116
|
+
"default": "false"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"kind": "field",
|
|
1120
|
+
"name": "_morphTimer",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "null"
|
|
1123
|
+
},
|
|
1124
|
+
"default": "null"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "field",
|
|
1128
|
+
"name": "_templateReady",
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "boolean"
|
|
1131
|
+
},
|
|
1132
|
+
"default": "false"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "field",
|
|
1136
|
+
"name": "_stackEl",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "null"
|
|
1139
|
+
},
|
|
1140
|
+
"default": "null"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"kind": "field",
|
|
1144
|
+
"name": "_svgOldEl",
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "null"
|
|
1147
|
+
},
|
|
1148
|
+
"default": "null"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"kind": "field",
|
|
1152
|
+
"name": "_svgNewEl",
|
|
1153
|
+
"type": {
|
|
1154
|
+
"text": "null"
|
|
1155
|
+
},
|
|
1156
|
+
"default": "null"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"kind": "field",
|
|
1160
|
+
"name": "_iconOldGroupEl",
|
|
1161
|
+
"type": {
|
|
1162
|
+
"text": "null"
|
|
1163
|
+
},
|
|
1164
|
+
"default": "null"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "field",
|
|
1168
|
+
"name": "_iconNewGroupEl",
|
|
1169
|
+
"type": {
|
|
1170
|
+
"text": "null"
|
|
1171
|
+
},
|
|
1172
|
+
"default": "null"
|
|
906
1173
|
}
|
|
907
1174
|
],
|
|
908
1175
|
"attributes": [
|
|
@@ -941,6 +1208,13 @@
|
|
|
941
1208
|
},
|
|
942
1209
|
"description": "Rotation angle in degrees"
|
|
943
1210
|
},
|
|
1211
|
+
{
|
|
1212
|
+
"name": "morph",
|
|
1213
|
+
"type": {
|
|
1214
|
+
"text": "boolean"
|
|
1215
|
+
},
|
|
1216
|
+
"description": "Morph the icon when the icon name changes"
|
|
1217
|
+
},
|
|
944
1218
|
{
|
|
945
1219
|
"type": {
|
|
946
1220
|
"text": "string"
|
|
@@ -982,6 +1256,160 @@
|
|
|
982
1256
|
}
|
|
983
1257
|
]
|
|
984
1258
|
},
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "javascript-module",
|
|
1261
|
+
"path": "public/assets/pds/components/pds-omnibox.js",
|
|
1262
|
+
"declarations": [
|
|
1263
|
+
{
|
|
1264
|
+
"kind": "class",
|
|
1265
|
+
"description": "",
|
|
1266
|
+
"name": "PdsOmnibox",
|
|
1267
|
+
"members": [
|
|
1268
|
+
{
|
|
1269
|
+
"kind": "field",
|
|
1270
|
+
"name": "formAssociated",
|
|
1271
|
+
"type": {
|
|
1272
|
+
"text": "boolean"
|
|
1273
|
+
},
|
|
1274
|
+
"static": true,
|
|
1275
|
+
"default": "true"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"kind": "field",
|
|
1279
|
+
"name": "settings"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"kind": "field",
|
|
1283
|
+
"name": "name"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "field",
|
|
1287
|
+
"name": "placeholder"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"kind": "field",
|
|
1291
|
+
"name": "value"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "field",
|
|
1295
|
+
"name": "disabled"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"kind": "field",
|
|
1299
|
+
"name": "required"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "field",
|
|
1303
|
+
"name": "autocomplete"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "field",
|
|
1307
|
+
"name": "icon"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"kind": "method",
|
|
1311
|
+
"name": "formAssociatedCallback"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"kind": "method",
|
|
1315
|
+
"name": "formDisabledCallback",
|
|
1316
|
+
"parameters": [
|
|
1317
|
+
{
|
|
1318
|
+
"name": "disabled"
|
|
1319
|
+
}
|
|
1320
|
+
]
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "method",
|
|
1324
|
+
"name": "formResetCallback"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "method",
|
|
1328
|
+
"name": "formStateRestoreCallback",
|
|
1329
|
+
"parameters": [
|
|
1330
|
+
{
|
|
1331
|
+
"name": "state"
|
|
1332
|
+
}
|
|
1333
|
+
]
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "method",
|
|
1337
|
+
"name": "checkValidity"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"kind": "method",
|
|
1341
|
+
"name": "reportValidity"
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"events": [
|
|
1345
|
+
{
|
|
1346
|
+
"name": "input",
|
|
1347
|
+
"type": {
|
|
1348
|
+
"text": "Event"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
"name": "change",
|
|
1353
|
+
"type": {
|
|
1354
|
+
"text": "Event"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "suggestions-updated",
|
|
1359
|
+
"type": {
|
|
1360
|
+
"text": "CustomEvent"
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"attributes": [
|
|
1365
|
+
{
|
|
1366
|
+
"name": "name"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "placeholder"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "value"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "disabled"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"name": "required"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "autocomplete"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "icon"
|
|
1385
|
+
}
|
|
1386
|
+
],
|
|
1387
|
+
"superclass": {
|
|
1388
|
+
"name": "HTMLElement"
|
|
1389
|
+
},
|
|
1390
|
+
"tagName": "pds-omnibox",
|
|
1391
|
+
"customElement": true
|
|
1392
|
+
}
|
|
1393
|
+
],
|
|
1394
|
+
"exports": [
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "js",
|
|
1397
|
+
"name": "PdsOmnibox",
|
|
1398
|
+
"declaration": {
|
|
1399
|
+
"name": "PdsOmnibox",
|
|
1400
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "custom-element-definition",
|
|
1405
|
+
"name": "pds-omnibox",
|
|
1406
|
+
"declaration": {
|
|
1407
|
+
"name": "PdsOmnibox",
|
|
1408
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
]
|
|
1412
|
+
},
|
|
985
1413
|
{
|
|
986
1414
|
"kind": "javascript-module",
|
|
987
1415
|
"path": "public/assets/pds/components/pds-richtext.js",
|
|
@@ -1804,6 +2232,49 @@
|
|
|
1804
2232
|
}
|
|
1805
2233
|
]
|
|
1806
2234
|
},
|
|
2235
|
+
{
|
|
2236
|
+
"kind": "javascript-module",
|
|
2237
|
+
"path": "public/assets/pds/components/pds-theme.js",
|
|
2238
|
+
"declarations": [
|
|
2239
|
+
{
|
|
2240
|
+
"kind": "class",
|
|
2241
|
+
"description": "",
|
|
2242
|
+
"name": "PdsTheme",
|
|
2243
|
+
"members": [
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "field",
|
|
2246
|
+
"name": "label",
|
|
2247
|
+
"description": "Gets the legend/aria-label text to display.",
|
|
2248
|
+
"return": {
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": "string"
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
],
|
|
2255
|
+
"attributes": [
|
|
2256
|
+
{
|
|
2257
|
+
"name": "label"
|
|
2258
|
+
}
|
|
2259
|
+
],
|
|
2260
|
+
"superclass": {
|
|
2261
|
+
"name": "HTMLElement"
|
|
2262
|
+
},
|
|
2263
|
+
"tagName": "pds-theme",
|
|
2264
|
+
"customElement": true
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
"exports": [
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "custom-element-definition",
|
|
2270
|
+
"name": "pds-theme",
|
|
2271
|
+
"declaration": {
|
|
2272
|
+
"name": "PdsTheme",
|
|
2273
|
+
"module": "public/assets/pds/components/pds-theme.js"
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
]
|
|
2277
|
+
},
|
|
1807
2278
|
{
|
|
1808
2279
|
"kind": "javascript-module",
|
|
1809
2280
|
"path": "public/assets/pds/components/pds-toaster.js",
|