@pure-ds/core 0.5.32 → 0.5.34
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/custom-elements.json +89 -0
- package/dist/types/pds.d.ts +2 -0
- package/dist/types/public/assets/js/pds-manager.d.ts +426 -141
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts +4 -3
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-icon.d.ts +11 -0
- package/dist/types/public/assets/pds/components/pds-icon.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts +31 -0
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -0
- package/dist/types/src/js/pds.d.ts.map +1 -1
- package/package.json +1 -1
- package/public/assets/js/app.js +21 -21
- package/public/assets/js/pds.js +10 -4
- package/public/assets/pds/components/pds-icon.js +315 -40
- package/public/assets/pds/components/pds-omnibox.js +624 -0
- package/src/js/pds.d.ts +2 -0
- package/src/js/pds.js +15 -0
package/custom-elements.json
CHANGED
|
@@ -2473,5 +2473,94 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
]
|
|
2475
2475
|
}
|
|
2476
|
+
,
|
|
2477
|
+
{
|
|
2478
|
+
"kind": "javascript-module",
|
|
2479
|
+
"path": "public/assets/pds/components/pds-omnibox.js",
|
|
2480
|
+
"declarations": [
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "class",
|
|
2483
|
+
"description": "Omnibox search input with PDS styling and form-associated behavior.",
|
|
2484
|
+
"name": "PdsOmnibox",
|
|
2485
|
+
"members": [
|
|
2486
|
+
{
|
|
2487
|
+
"kind": "field",
|
|
2488
|
+
"name": "settings",
|
|
2489
|
+
"description": "AutoComplete settings object provided by the consumer.",
|
|
2490
|
+
"type": {
|
|
2491
|
+
"text": "object"
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
],
|
|
2495
|
+
"attributes": [
|
|
2496
|
+
{
|
|
2497
|
+
"name": "name",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "string"
|
|
2500
|
+
},
|
|
2501
|
+
"description": "Form field name for submitted data"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"name": "placeholder",
|
|
2505
|
+
"type": {
|
|
2506
|
+
"text": "string"
|
|
2507
|
+
},
|
|
2508
|
+
"description": "Placeholder text for the search input"
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"name": "value",
|
|
2512
|
+
"type": {
|
|
2513
|
+
"text": "string"
|
|
2514
|
+
},
|
|
2515
|
+
"description": "Current input value"
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
"name": "disabled",
|
|
2519
|
+
"type": {
|
|
2520
|
+
"text": "boolean"
|
|
2521
|
+
},
|
|
2522
|
+
"description": "Disable the input"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"name": "required",
|
|
2526
|
+
"type": {
|
|
2527
|
+
"text": "boolean"
|
|
2528
|
+
},
|
|
2529
|
+
"description": "Mark the input as required"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"name": "autocomplete",
|
|
2533
|
+
"type": {
|
|
2534
|
+
"text": "string"
|
|
2535
|
+
},
|
|
2536
|
+
"description": "Native autocomplete attribute (default: off)"
|
|
2537
|
+
}
|
|
2538
|
+
],
|
|
2539
|
+
"superclass": {
|
|
2540
|
+
"name": "HTMLElement"
|
|
2541
|
+
},
|
|
2542
|
+
"tagName": "pds-omnibox",
|
|
2543
|
+
"customElement": true
|
|
2544
|
+
}
|
|
2545
|
+
],
|
|
2546
|
+
"exports": [
|
|
2547
|
+
{
|
|
2548
|
+
"kind": "js",
|
|
2549
|
+
"name": "PdsOmnibox",
|
|
2550
|
+
"declaration": {
|
|
2551
|
+
"name": "PdsOmnibox",
|
|
2552
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"kind": "custom-element-definition",
|
|
2557
|
+
"name": "pds-omnibox",
|
|
2558
|
+
"declaration": {
|
|
2559
|
+
"name": "PdsOmnibox",
|
|
2560
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
]
|
|
2564
|
+
}
|
|
2476
2565
|
]
|
|
2477
2566
|
}
|
package/dist/types/pds.d.ts
CHANGED
|
@@ -174,6 +174,8 @@ export class PDS extends EventTarget {
|
|
|
174
174
|
static enums?: Record<string, any>;
|
|
175
175
|
static common?: Record<string, any>;
|
|
176
176
|
static query?: (question: string) => Promise<any[]>;
|
|
177
|
+
static AutoComplete?: any;
|
|
178
|
+
static loadAutoComplete?: () => Promise<any>;
|
|
177
179
|
|
|
178
180
|
/**
|
|
179
181
|
* Display a toast notification.
|