@pure-ds/core 0.5.30 → 0.5.32
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/.github/copilot-instructions.md +1 -1
- package/INTELLISENSE.md +1 -1
- package/custom-elements.json +222 -0
- package/dist/types/public/assets/js/pds-configurator.d.ts +2 -0
- package/dist/types/public/assets/js/pds-configurator.d.ts.map +1 -0
- package/dist/types/public/assets/js/pds-manager.d.ts +1 -1
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-fab.d.ts +82 -0
- package/dist/types/public/assets/pds/components/pds-fab.d.ts.map +1 -0
- package/dist/types/public/assets/pds/components/pds-theme.d.ts +28 -0
- package/dist/types/public/assets/pds/components/pds-theme.d.ts.map +1 -0
- package/dist/types/src/js/common/ask.d.ts +6 -6
- package/dist/types/src/js/common/ask.d.ts.map +1 -1
- package/dist/types/src/js/common/common.d.ts +9 -0
- package/dist/types/src/js/common/common.d.ts.map +1 -1
- package/dist/types/src/js/pds-configurator.d.ts +2 -0
- package/dist/types/src/js/pds-configurator.d.ts.map +1 -0
- package/dist/types/src/js/pds-core/pds-config.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enhancers-meta.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enhancers.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enums.d.ts +9 -0
- package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-live.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-ontology.d.ts +146 -158
- package/dist/types/src/js/pds-core/pds-ontology.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-start-helpers.d.ts.map +1 -1
- package/dist/types/src/js/pds.d.ts.map +1 -1
- package/package.json +3 -2
- package/packages/pds-cli/bin/templates/bootstrap/pds.config.js +2 -2
- package/packages/pds-cli/bin/templates/bootstrap/src/js/app.js +21 -1
- package/public/assets/js/app.js +311 -203
- package/public/assets/js/pds-manager.js +297 -189
- package/public/assets/js/pds.js +10 -53
- package/public/assets/pds/components/pds-calendar.js +1 -1
- package/public/assets/pds/components/pds-fab.js +598 -0
- package/public/assets/pds/components/pds-form.js +1 -1
- package/public/assets/pds/components/pds-icon.js +10 -10
- package/public/assets/pds/components/pds-theme.js +170 -0
- package/public/assets/pds/components/pds-toaster.js +15 -15
- package/public/assets/pds/vscode-custom-data.json +33 -0
- package/readme.md +21 -4
- package/src/js/pds-core/pds-config.js +1 -8
- package/src/js/pds-core/pds-enhancers-meta.js +20 -5
- package/src/js/pds-core/pds-enhancers.js +45 -2
- package/src/js/pds-core/pds-enums.js +9 -0
- package/src/js/pds-core/pds-generator.js +245 -143
- package/src/js/pds-core/pds-live.js +2 -0
- package/src/js/pds-core/pds-ontology.js +47 -20
- package/src/js/pds-core/pds-query.js +1 -1
- package/src/js/pds-core/pds-start-helpers.js +2 -6
- package/src/js/pds.js +8 -0
- package/packages/pds-cli/bin/templates/bootstrap/public/assets/my/my-theme.js +0 -74
|
@@ -497,7 +497,7 @@ Before generating code:
|
|
|
497
497
|
5. ✅ **Use semantic HTML** — `<button>`, `<nav>`, `<article>`, `<label>`, `<details>`
|
|
498
498
|
6. ✅ **Apply enhancements via data-* attributes** — See `pds-enhancers.js` → `defaultPDSEnhancerMetadata`
|
|
499
499
|
7. ✅ **Components as last resort** — Only when native HTML can't achieve it
|
|
500
|
-
8. ✅ **Prefer primitives** — `.card`, `.badge`, `.
|
|
500
|
+
8. ✅ **Prefer primitives** — `.card`, `.badge`, `.callout` over custom components
|
|
501
501
|
9. ✅ **Wait for lazy components** — Use `await customElements.whenDefined()` before accessing APIs
|
|
502
502
|
10. ✅ **Include import map** — When using `pds-form` or `pds-drawer`, ensure `#pds/lit` is mapped
|
|
503
503
|
|
package/INTELLISENSE.md
CHANGED
|
@@ -225,7 +225,7 @@ Progressive enhancement attributes with example code:
|
|
|
225
225
|
### CSS Classes (50+ utilities)
|
|
226
226
|
|
|
227
227
|
**Primitives**:
|
|
228
|
-
- `.badge`, `.card`, `.surface`, `.
|
|
228
|
+
- `.badge`, `.card`, `.surface`, `.callout`, `.dialog`, `.table`, `.button`
|
|
229
229
|
|
|
230
230
|
**Layout**:
|
|
231
231
|
- `.flex`, `.grid`, `.grid-cols-{1-6}`, `.grid-auto-{sm|md|lg|xl}`, `.container`
|
package/custom-elements.json
CHANGED
|
@@ -506,6 +506,185 @@
|
|
|
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). Auto-detected based on FAB corner position if not specified: bottom-right=180°, bottom-left=315°, top-right=225°, top-left=45°",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "number"
|
|
611
|
+
},
|
|
612
|
+
"default": "180",
|
|
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
|
+
"description": "Fired when a satellite button is clicked",
|
|
627
|
+
"name": "satellite-click",
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "CustomEvent"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"attributes": [
|
|
634
|
+
{
|
|
635
|
+
"name": "open",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "boolean"
|
|
638
|
+
},
|
|
639
|
+
"description": "Controls whether the FAB is expanded",
|
|
640
|
+
"fieldName": "open"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "radius",
|
|
644
|
+
"type": {
|
|
645
|
+
"text": "number"
|
|
646
|
+
},
|
|
647
|
+
"default": "100",
|
|
648
|
+
"description": "Distance in pixels from the main FAB to satellites",
|
|
649
|
+
"fieldName": "radius"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "spread",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "number"
|
|
655
|
+
},
|
|
656
|
+
"default": "90",
|
|
657
|
+
"description": "Arc angle in degrees for satellite distribution",
|
|
658
|
+
"fieldName": "spread"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "start-angle",
|
|
662
|
+
"type": {
|
|
663
|
+
"text": "number"
|
|
664
|
+
},
|
|
665
|
+
"default": "180",
|
|
666
|
+
"description": "Starting angle in degrees (0=right, 90=down, 180=left, 270=up). Auto-detected based on FAB corner position if not specified: bottom-right=180°, bottom-left=315°, top-right=225°, top-left=45°",
|
|
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": "custom-element-definition",
|
|
680
|
+
"name": "pds-fab",
|
|
681
|
+
"declaration": {
|
|
682
|
+
"name": "PdsFab",
|
|
683
|
+
"module": "public/assets/pds/components/pds-fab.js"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
509
688
|
{
|
|
510
689
|
"kind": "javascript-module",
|
|
511
690
|
"path": "public/assets/pds/components/pds-form.js",
|
|
@@ -1804,6 +1983,49 @@
|
|
|
1804
1983
|
}
|
|
1805
1984
|
]
|
|
1806
1985
|
},
|
|
1986
|
+
{
|
|
1987
|
+
"kind": "javascript-module",
|
|
1988
|
+
"path": "public/assets/pds/components/pds-theme.js",
|
|
1989
|
+
"declarations": [
|
|
1990
|
+
{
|
|
1991
|
+
"kind": "class",
|
|
1992
|
+
"description": "",
|
|
1993
|
+
"name": "PdsTheme",
|
|
1994
|
+
"members": [
|
|
1995
|
+
{
|
|
1996
|
+
"kind": "field",
|
|
1997
|
+
"name": "label",
|
|
1998
|
+
"description": "Gets the legend/aria-label text to display.",
|
|
1999
|
+
"return": {
|
|
2000
|
+
"type": {
|
|
2001
|
+
"text": "string"
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
],
|
|
2006
|
+
"attributes": [
|
|
2007
|
+
{
|
|
2008
|
+
"name": "label"
|
|
2009
|
+
}
|
|
2010
|
+
],
|
|
2011
|
+
"superclass": {
|
|
2012
|
+
"name": "HTMLElement"
|
|
2013
|
+
},
|
|
2014
|
+
"tagName": "pds-theme",
|
|
2015
|
+
"customElement": true
|
|
2016
|
+
}
|
|
2017
|
+
],
|
|
2018
|
+
"exports": [
|
|
2019
|
+
{
|
|
2020
|
+
"kind": "custom-element-definition",
|
|
2021
|
+
"name": "pds-theme",
|
|
2022
|
+
"declaration": {
|
|
2023
|
+
"name": "PdsTheme",
|
|
2024
|
+
"module": "public/assets/pds/components/pds-theme.js"
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
]
|
|
2028
|
+
},
|
|
1807
2029
|
{
|
|
1808
2030
|
"kind": "javascript-module",
|
|
1809
2031
|
"path": "public/assets/pds/components/pds-toaster.js",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-configurator.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-configurator.js"],"names":[],"mappings":""}
|
|
@@ -768,7 +768,7 @@ export function startLive(PDS2: any, config: any, { emitReady, applyResolvedThem
|
|
|
768
768
|
"__#private@#generateSemanticHTMLStyles"(): string;
|
|
769
769
|
"__#private@#generateFormStyles"(): string;
|
|
770
770
|
"__#private@#generateTableStyles"(): string;
|
|
771
|
-
"__#private@#
|
|
771
|
+
"__#private@#generateCalloutStyles"(): string;
|
|
772
772
|
"__#private@#generateAccordionStyles"(): string;
|
|
773
773
|
"__#private@#generateBadgeStyles"(): string;
|
|
774
774
|
"__#private@#generateDialogStyles"(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-manager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAw/GH;;;WAGG;;;;;;QAurBH;;WAEG;;;;;;;;QAoFH;;;;;;WAMG;;;;;;QAsKH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq6CJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"AAgjDA;;;;EAAwB;AAiFxB,mDAiBC;AACD,4DAqCC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floating Action Button (FAB) with expandable satellite actions
|
|
3
|
+
*
|
|
4
|
+
* @element pds-fab
|
|
5
|
+
* @fires satellite-click - Fired when a satellite button is clicked
|
|
6
|
+
*
|
|
7
|
+
* @slot - Main FAB button content (typically an icon or avatar)
|
|
8
|
+
* @slot satellite-{key} - Override individual satellite button content
|
|
9
|
+
*
|
|
10
|
+
* @cssprop --fab-size - Size of the main FAB button (default: 64px)
|
|
11
|
+
* @cssprop --fab-bg - Background color of the main FAB (default: var(--color-primary-600))
|
|
12
|
+
* @cssprop --fab-fg - Foreground color of the main FAB (default: white)
|
|
13
|
+
* @cssprop --sat-size - Size of satellite buttons (default: 48px)
|
|
14
|
+
* @cssprop --sat-bg - Background color of satellites (default: var(--color-surface-elevated))
|
|
15
|
+
* @cssprop --sat-fg - Foreground color of satellites (default: var(--color-text-primary))
|
|
16
|
+
* @cssprop --radius - Distance of satellites from main FAB (default: 100px)
|
|
17
|
+
* @cssprop --transition-duration - Animation duration (default: 420ms)
|
|
18
|
+
*
|
|
19
|
+
* @csspart fab - The main FAB button
|
|
20
|
+
* @csspart satellite - Individual satellite buttons
|
|
21
|
+
* @csspart label - Satellite button labels
|
|
22
|
+
*/
|
|
23
|
+
export class PdsFab extends HTMLElement {
|
|
24
|
+
static get observedAttributes(): string[];
|
|
25
|
+
set open(val: boolean);
|
|
26
|
+
/**
|
|
27
|
+
* Controls whether the FAB is expanded
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @attr open
|
|
30
|
+
*/
|
|
31
|
+
get open(): boolean;
|
|
32
|
+
set radius(val: number);
|
|
33
|
+
/**
|
|
34
|
+
* Distance in pixels from the main FAB to satellites
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @attr radius
|
|
37
|
+
* @default 100
|
|
38
|
+
*/
|
|
39
|
+
get radius(): number;
|
|
40
|
+
set spread(val: number);
|
|
41
|
+
/**
|
|
42
|
+
* Arc angle in degrees for satellite distribution
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @attr spread
|
|
45
|
+
* @default 90
|
|
46
|
+
*/
|
|
47
|
+
get spread(): number;
|
|
48
|
+
set startAngle(val: number);
|
|
49
|
+
/**
|
|
50
|
+
* Starting angle in degrees (0=right, 90=down, 180=left, 270=up)
|
|
51
|
+
* If not specified, the angle is auto-detected based on the FAB's corner position:
|
|
52
|
+
* - Bottom-right: 180° (fly left/up)
|
|
53
|
+
* - Bottom-left: 315° (fly right/up)
|
|
54
|
+
* - Top-right: 225° (fly left/down)
|
|
55
|
+
* - Top-left: 45° (fly right/down)
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @attr start-angle
|
|
58
|
+
* @default 180 (or auto-detected)
|
|
59
|
+
*/
|
|
60
|
+
get startAngle(): number;
|
|
61
|
+
set satellites(val: Array<{
|
|
62
|
+
key: string;
|
|
63
|
+
icon?: string;
|
|
64
|
+
label?: string;
|
|
65
|
+
action?: string;
|
|
66
|
+
}>);
|
|
67
|
+
/**
|
|
68
|
+
* Array of satellite button configurations
|
|
69
|
+
* @type {Array<{key: string, icon?: string, label?: string, action?: string}>}
|
|
70
|
+
*/
|
|
71
|
+
get satellites(): Array<{
|
|
72
|
+
key: string;
|
|
73
|
+
icon?: string;
|
|
74
|
+
label?: string;
|
|
75
|
+
action?: string;
|
|
76
|
+
}>;
|
|
77
|
+
attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
|
|
78
|
+
connectedCallback(): void;
|
|
79
|
+
disconnectedCallback(): void;
|
|
80
|
+
#private;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=pds-fab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-fab.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-fab.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;IAkBE,0CAEC;IAUD,cANU,OAAO,EAsBhB;IAxBD;;;;OAIG;IACH,YAHU,OAAO,CAKhB;IA4BD,gBAPU,MAAM,EAef;IAjBD;;;;;OAKG;IACH,cAJU,MAAM,CAMf;IAoBD,gBAPU,MAAM,EAef;IAjBD;;;;;OAKG;IACH,cAJU,MAAM,CAMf;IAyBD,oBAPU,MAAM,EAef;IAtBD;;;;;;;;;;OAUG;IACH,kBAJU,MAAM,CAMf;IAkBD,oBALU,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,EAa7E;IAfD;;;OAGG;IACH,kBAFU,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAI7E;IAWD,oEAsCC;IAED,0BAKC;IAED,6BAEC;;CA6YF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `<pds-theme>` exposes a zero-config theme toggle that updates `PDS.theme` and
|
|
3
|
+
* keeps its UI in sync with programmatic theme changes.
|
|
4
|
+
*
|
|
5
|
+
* @element pds-theme
|
|
6
|
+
* @attr {string} label - Optional legend text (defaults to "Theme").
|
|
7
|
+
*/
|
|
8
|
+
declare const THEME_OPTIONS: {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
}[];
|
|
13
|
+
declare const DEFAULT_LABEL: "Theme";
|
|
14
|
+
declare const LAYERS: string[];
|
|
15
|
+
declare class PdsTheme extends HTMLElement {
|
|
16
|
+
static get observedAttributes(): string[];
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
attributeChangedCallback(name: any, oldValue: any, newValue: any): void;
|
|
20
|
+
set label(value: string);
|
|
21
|
+
/**
|
|
22
|
+
* Gets the legend/aria-label text to display.
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
get label(): string;
|
|
26
|
+
#private;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=pds-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-theme.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-theme.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH;;;;IAIE;AAEF,6BAAsB,OAAO,CAAC;AAC9B,+BAAmE;AAEnE;IACE,0CAEC;IAUD,0BAQC;IAED,6BAEC;IAED,wEAKC;IAUD,iBANa,MAAM,EAYlB;IAdD;;;OAGG;IACH,aAFa,MAAM,CAIlB;;CA6GF"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a PDS-compliant dialog with proper semantic structure
|
|
3
|
-
* @param {string|
|
|
3
|
+
* @param {string|Node|Array} message - Message content (string or DOM nodes)
|
|
4
4
|
* @param {Object} options - Dialog options
|
|
5
5
|
* @returns {Promise} Resolves with result when dialog closes
|
|
6
6
|
*/
|
|
7
|
-
export function ask(message: string |
|
|
7
|
+
export function ask(message: string | Node | any[], options?: any): Promise<any>;
|
|
8
8
|
/**
|
|
9
9
|
* Show an alert dialog
|
|
10
|
-
* @param {string|
|
|
10
|
+
* @param {string|Node|Array} message - Alert message
|
|
11
11
|
* @param {Object} options - Optional dialog options
|
|
12
12
|
* @returns {Promise}
|
|
13
13
|
*/
|
|
14
|
-
export function alert(message: string |
|
|
14
|
+
export function alert(message: string | Node | any[], options?: any): Promise<any>;
|
|
15
15
|
/**
|
|
16
16
|
* Show a confirmation dialog
|
|
17
|
-
* @param {string|
|
|
17
|
+
* @param {string|Node|Array} message - Confirmation message
|
|
18
18
|
* @param {Object} options - Optional dialog options
|
|
19
19
|
* @returns {Promise<boolean>}
|
|
20
20
|
*/
|
|
21
|
-
export function confirm(message: string |
|
|
21
|
+
export function confirm(message: string | Node | any[], options?: any): Promise<boolean>;
|
|
22
22
|
//# sourceMappingURL=ask.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/ask.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/ask.js"],"names":[],"mappings":"AA2CA;;;;;GAKG;AACH,6BAJW,MAAM,GAAC,IAAI,QAAM,+BA2K3B;AAED;;;;;GAKG;AACH,+BAJW,MAAM,GAAC,IAAI,QAAM,+BAc3B;AAED;;;;;GAKG;AACH,iCAJW,MAAM,GAAC,IAAI,QAAM,kBAEf,OAAO,CAAC,OAAO,CAAC,CAa5B"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
export function isObject(item: any): boolean;
|
|
2
2
|
export function deepMerge(target: any, source: any): any;
|
|
3
|
+
/**
|
|
4
|
+
* Build a DocumentFragment from a template-like object (strings + values)
|
|
5
|
+
* @param {{strings: string[], values: unknown[]}} templateLike
|
|
6
|
+
* @returns {DocumentFragment}
|
|
7
|
+
*/
|
|
8
|
+
export function fragmentFromTemplateLike(templateLike: {
|
|
9
|
+
strings: string[];
|
|
10
|
+
values: unknown[];
|
|
11
|
+
}): DocumentFragment;
|
|
3
12
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/common.js"],"names":[],"mappings":"AAAA,6CAEC;AAED,yDAeG"}
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/common.js"],"names":[],"mappings":"AAAA,6CAEC;AAED,yDAeG;AAEH;;;;GAIG;AACH,uDAHW;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,OAAO,EAAE,CAAA;CAAC,GACpC,gBAAgB,CAwF5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-configurator.d.ts","sourceRoot":"","sources":["../../../../src/js/pds-configurator.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"AA+mCA;;;;;;GAMG;AACH,kCAJW,MAAM,WACN,MAAM,WACH,GAAG,EAAA,QAchB;AAhoCD;;;GAGG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoxBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-enhancers-meta.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers-meta.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;
|
|
1
|
+
{"version":3,"file":"pds-enhancers-meta.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers-meta.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;IA8GE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers.js"],"names":[],"mappings":"AAocA;;;;;GAKG;AACH;;;IAGI;AAjbJ,mDAeC"}
|
|
@@ -83,5 +83,14 @@ export namespace enums {
|
|
|
83
83
|
let none_2: string;
|
|
84
84
|
export { none_2 as none };
|
|
85
85
|
}
|
|
86
|
+
let IconSizes: {
|
|
87
|
+
xs: number;
|
|
88
|
+
sm: number;
|
|
89
|
+
md: number;
|
|
90
|
+
lg: number;
|
|
91
|
+
xl: number;
|
|
92
|
+
"2xl": number;
|
|
93
|
+
"3xl": number;
|
|
94
|
+
};
|
|
86
95
|
}
|
|
87
96
|
//# sourceMappingURL=pds-enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-generator.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-generator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-generator.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-generator.js"],"names":[],"mappings":"AAojKA;;;;;;;;;GASG;AACH,8CALW,MAAM,YAEd;IAAyB,WAAW,GAA5B,MAAM;CACd,GAAU;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,OAAO,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,OAAO,CAAC,EAAC,MAAM,CAAA;KAAC,CAAC,CAAA;CAAE,CAyIpH;AAED;;;;;;;GAOG;AACH,0CAJW,KAAK,CAAC,MAAM,CAAC,YACb,MAAM,GACJ;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC;YAAC,IAAI,EAAC,MAAM,CAAC;YAAC,OAAO,EAAC,MAAM,CAAC;YAAC,KAAK,EAAC,MAAM,CAAC;YAAC,GAAG,EAAC,MAAM,CAAC;YAAC,OAAO,CAAC,EAAC,MAAM,CAAA;SAAC,CAAC,CAAA;KAAE,CAAC,CAAA;CAAE,CAkGpK;AA7yKD;;;GAGG;AACH;IAEE,mCAAiB;I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;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"pds-live.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-live.js"],"names":[],"mappings":"AA8IA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+NC;0BAzWyB,oBAAoB"}
|