@prioticket/design-system-web 1.3.2 → 1.4.0
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/COMPONENT-DOCUMENTATION.md +10 -3
- package/component-documentation.json +58 -5
- package/custom-elements.json +346 -5
- package/dist/components/pd-select.cjs.js +402 -11
- package/dist/components/pd-select.es.js +597 -60
- package/dist/types/components/pd-select.d.ts +47 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @prioticket/design-system-web Components
|
|
2
2
|
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
|
|
5
5
|
### <pd-box> (PdBox)
|
|
6
6
|
|
|
@@ -530,7 +530,7 @@ A segmented button variant that functions as a stepper with completion tracking.
|
|
|
530
530
|
|
|
531
531
|
### <pd-select> (PdSelect)
|
|
532
532
|
|
|
533
|
-
A thin wrapper around the Material Web Select component.
|
|
533
|
+
A thin wrapper around the Material Web Select component with multi-select support.
|
|
534
534
|
|
|
535
535
|
**Properties**
|
|
536
536
|
|
|
@@ -538,7 +538,7 @@ A thin wrapper around the Material Web Select component.
|
|
|
538
538
|
|----------|-----------|------|---------|-------------|
|
|
539
539
|
| `variant` | `variant` | `'filled' \| 'outlined'` | `'outlined'` | The variant of the select field. |
|
|
540
540
|
| `label` | `label` | `string` | `''` | The label for the select field. |
|
|
541
|
-
| `value` | `value` | `string` | `''` | The selected value. |
|
|
541
|
+
| `value` | `value` | `string \| string[]` | `''` | The selected value. For multi-select, use an array of values. |
|
|
542
542
|
| `disabled` | `disabled` | `boolean` | `false` | Whether the select is disabled. |
|
|
543
543
|
| `required` | `required` | `boolean` | `false` | Whether the select is required. |
|
|
544
544
|
| `errorText` | `error-text` | `string` | `''` | The error message to display when `error` is true. |
|
|
@@ -546,12 +546,19 @@ A thin wrapper around the Material Web Select component.
|
|
|
546
546
|
| `supportingText` | `supporting-text` | `string` | `''` | The supporting text to display below the select. |
|
|
547
547
|
| `options` | `options` | `SelectOption[]` | `[]` | An array of options to be rendered. |
|
|
548
548
|
| `leadingIcon` | `leading-icon` | `string` | `''` | The leading icon name. |
|
|
549
|
+
| `multiple` | `multiple` | `boolean` | `false` | Enable multi-select mode. |
|
|
550
|
+
| `maxSelections` | `max-selections` | `number \| undefined` | | Maximum number of selections allowed (only for multi-select). |
|
|
551
|
+
| `showChips` | `show-chips` | `boolean` | `true` | Show selected items as chips (default true when multiple). |
|
|
552
|
+
| `chipVariant` | `chip-variant` | `'input' \| 'filter'` | `'input'` | Chip style variant. |
|
|
553
|
+
| `placeholder` | `placeholder` | `string` | `''` | Placeholder text when nothing is selected. |
|
|
554
|
+
| `searchable` | `searchable` | `boolean` | `false` | Enable search/filter functionality in dropdown. |
|
|
549
555
|
|
|
550
556
|
**Events**
|
|
551
557
|
|
|
552
558
|
| Event | Type | Description |
|
|
553
559
|
|-------|------|-------------|
|
|
554
560
|
| `change` | `CustomEvent` | Fired when the selected value changes. |
|
|
561
|
+
| `chip-remove` | `CustomEvent` | Fired when a chip is removed in multi-select mode. |
|
|
555
562
|
|
|
556
563
|
### <pd-slider> (PdSlider)
|
|
557
564
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"name": "@prioticket/design-system-web",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"installation": "npm install @prioticket/design-system-web"
|
|
7
7
|
},
|
|
8
|
-
"generatedAt": "2025-12-
|
|
8
|
+
"generatedAt": "2025-12-16T12:18:22.497Z",
|
|
9
9
|
"components": {
|
|
10
10
|
"pd-box": {
|
|
11
11
|
"tagName": "pd-box",
|
|
@@ -1586,7 +1586,7 @@
|
|
|
1586
1586
|
"pd-select": {
|
|
1587
1587
|
"tagName": "pd-select",
|
|
1588
1588
|
"className": "PdSelect",
|
|
1589
|
-
"description": "A thin wrapper around the Material Web Select component.",
|
|
1589
|
+
"description": "A thin wrapper around the Material Web Select component with multi-select support.",
|
|
1590
1590
|
"properties": [
|
|
1591
1591
|
{
|
|
1592
1592
|
"name": "variant",
|
|
@@ -1606,9 +1606,9 @@
|
|
|
1606
1606
|
},
|
|
1607
1607
|
{
|
|
1608
1608
|
"name": "value",
|
|
1609
|
-
"type": "string",
|
|
1609
|
+
"type": "string | string[]",
|
|
1610
1610
|
"attribute": "value",
|
|
1611
|
-
"description": "The selected value.",
|
|
1611
|
+
"description": "The selected value. For multi-select, use an array of values.",
|
|
1612
1612
|
"default": "''",
|
|
1613
1613
|
"required": false
|
|
1614
1614
|
},
|
|
@@ -1667,6 +1667,54 @@
|
|
|
1667
1667
|
"description": "The leading icon name.",
|
|
1668
1668
|
"default": "''",
|
|
1669
1669
|
"required": false
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"name": "multiple",
|
|
1673
|
+
"type": "boolean",
|
|
1674
|
+
"attribute": "multiple",
|
|
1675
|
+
"description": "Enable multi-select mode.",
|
|
1676
|
+
"default": "false",
|
|
1677
|
+
"required": false
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "maxSelections",
|
|
1681
|
+
"type": "number | undefined",
|
|
1682
|
+
"attribute": "max-selections",
|
|
1683
|
+
"description": "Maximum number of selections allowed (only for multi-select).",
|
|
1684
|
+
"default": null,
|
|
1685
|
+
"required": false
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "showChips",
|
|
1689
|
+
"type": "boolean",
|
|
1690
|
+
"attribute": "show-chips",
|
|
1691
|
+
"description": "Show selected items as chips (default true when multiple).",
|
|
1692
|
+
"default": "true",
|
|
1693
|
+
"required": false
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"name": "chipVariant",
|
|
1697
|
+
"type": "'input' | 'filter'",
|
|
1698
|
+
"attribute": "chip-variant",
|
|
1699
|
+
"description": "Chip style variant.",
|
|
1700
|
+
"default": "'input'",
|
|
1701
|
+
"required": false
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "placeholder",
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"attribute": "placeholder",
|
|
1707
|
+
"description": "Placeholder text when nothing is selected.",
|
|
1708
|
+
"default": "''",
|
|
1709
|
+
"required": false
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "searchable",
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"attribute": "searchable",
|
|
1715
|
+
"description": "Enable search/filter functionality in dropdown.",
|
|
1716
|
+
"default": "false",
|
|
1717
|
+
"required": false
|
|
1670
1718
|
}
|
|
1671
1719
|
],
|
|
1672
1720
|
"events": [
|
|
@@ -1674,6 +1722,11 @@
|
|
|
1674
1722
|
"name": "change",
|
|
1675
1723
|
"type": "CustomEvent",
|
|
1676
1724
|
"description": "Fired when the selected value changes."
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "chip-remove",
|
|
1728
|
+
"type": "CustomEvent",
|
|
1729
|
+
"description": "Fired when a chip is removed in multi-select mode."
|
|
1677
1730
|
}
|
|
1678
1731
|
],
|
|
1679
1732
|
"slots": [],
|
package/custom-elements.json
CHANGED
|
@@ -4479,6 +4479,24 @@
|
|
|
4479
4479
|
"privacy": "private",
|
|
4480
4480
|
"readonly": true
|
|
4481
4481
|
},
|
|
4482
|
+
{
|
|
4483
|
+
"kind": "field",
|
|
4484
|
+
"name": "dropdown",
|
|
4485
|
+
"type": {
|
|
4486
|
+
"text": "HTMLElement | null"
|
|
4487
|
+
},
|
|
4488
|
+
"privacy": "private",
|
|
4489
|
+
"readonly": true
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"kind": "field",
|
|
4493
|
+
"name": "trigger",
|
|
4494
|
+
"type": {
|
|
4495
|
+
"text": "HTMLElement | null"
|
|
4496
|
+
},
|
|
4497
|
+
"privacy": "private",
|
|
4498
|
+
"readonly": true
|
|
4499
|
+
},
|
|
4482
4500
|
{
|
|
4483
4501
|
"kind": "field",
|
|
4484
4502
|
"name": "variant",
|
|
@@ -4503,10 +4521,10 @@
|
|
|
4503
4521
|
"kind": "field",
|
|
4504
4522
|
"name": "value",
|
|
4505
4523
|
"type": {
|
|
4506
|
-
"text": "string"
|
|
4524
|
+
"text": "string | string[]"
|
|
4507
4525
|
},
|
|
4508
4526
|
"default": "''",
|
|
4509
|
-
"description": "The selected value.",
|
|
4527
|
+
"description": "The selected value. For multi-select, use an array of values.",
|
|
4510
4528
|
"attribute": "value",
|
|
4511
4529
|
"reflects": true
|
|
4512
4530
|
},
|
|
@@ -4581,6 +4599,110 @@
|
|
|
4581
4599
|
"description": "The leading icon name.",
|
|
4582
4600
|
"attribute": "leading-icon"
|
|
4583
4601
|
},
|
|
4602
|
+
{
|
|
4603
|
+
"kind": "field",
|
|
4604
|
+
"name": "multiple",
|
|
4605
|
+
"type": {
|
|
4606
|
+
"text": "boolean"
|
|
4607
|
+
},
|
|
4608
|
+
"default": "false",
|
|
4609
|
+
"description": "Enable multi-select mode.",
|
|
4610
|
+
"attribute": "multiple"
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
"kind": "field",
|
|
4614
|
+
"name": "maxSelections",
|
|
4615
|
+
"type": {
|
|
4616
|
+
"text": "number | undefined"
|
|
4617
|
+
},
|
|
4618
|
+
"description": "Maximum number of selections allowed (only for multi-select).",
|
|
4619
|
+
"attribute": "max-selections"
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"kind": "field",
|
|
4623
|
+
"name": "showChips",
|
|
4624
|
+
"type": {
|
|
4625
|
+
"text": "boolean"
|
|
4626
|
+
},
|
|
4627
|
+
"default": "true",
|
|
4628
|
+
"description": "Show selected items as chips (default true when multiple).",
|
|
4629
|
+
"attribute": "show-chips"
|
|
4630
|
+
},
|
|
4631
|
+
{
|
|
4632
|
+
"kind": "field",
|
|
4633
|
+
"name": "chipVariant",
|
|
4634
|
+
"type": {
|
|
4635
|
+
"text": "'input' | 'filter'"
|
|
4636
|
+
},
|
|
4637
|
+
"default": "'input'",
|
|
4638
|
+
"description": "Chip style variant.",
|
|
4639
|
+
"attribute": "chip-variant"
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"kind": "field",
|
|
4643
|
+
"name": "placeholder",
|
|
4644
|
+
"type": {
|
|
4645
|
+
"text": "string"
|
|
4646
|
+
},
|
|
4647
|
+
"default": "''",
|
|
4648
|
+
"description": "Placeholder text when nothing is selected.",
|
|
4649
|
+
"attribute": "placeholder"
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
"kind": "field",
|
|
4653
|
+
"name": "searchable",
|
|
4654
|
+
"type": {
|
|
4655
|
+
"text": "boolean"
|
|
4656
|
+
},
|
|
4657
|
+
"default": "false",
|
|
4658
|
+
"description": "Enable search/filter functionality in dropdown.",
|
|
4659
|
+
"attribute": "searchable"
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
"kind": "field",
|
|
4663
|
+
"name": "isOpen",
|
|
4664
|
+
"type": {
|
|
4665
|
+
"text": "boolean"
|
|
4666
|
+
},
|
|
4667
|
+
"privacy": "private",
|
|
4668
|
+
"default": "false",
|
|
4669
|
+
"description": "Internal state for dropdown open/close"
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
"kind": "field",
|
|
4673
|
+
"name": "searchQuery",
|
|
4674
|
+
"type": {
|
|
4675
|
+
"text": "string"
|
|
4676
|
+
},
|
|
4677
|
+
"privacy": "private",
|
|
4678
|
+
"default": "''",
|
|
4679
|
+
"description": "Internal state for search query"
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
"kind": "field",
|
|
4683
|
+
"name": "selectedValues",
|
|
4684
|
+
"type": {
|
|
4685
|
+
"text": "string[]"
|
|
4686
|
+
},
|
|
4687
|
+
"privacy": "private",
|
|
4688
|
+
"default": "[]",
|
|
4689
|
+
"description": "Internal array of selected values for multi-select"
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
"kind": "field",
|
|
4693
|
+
"name": "boundHandleClickOutside",
|
|
4694
|
+
"privacy": "private"
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"kind": "field",
|
|
4698
|
+
"name": "boundHandleKeyDown",
|
|
4699
|
+
"privacy": "private"
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"kind": "field",
|
|
4703
|
+
"name": "boundUpdateDropdownPosition",
|
|
4704
|
+
"privacy": "private"
|
|
4705
|
+
},
|
|
4584
4706
|
{
|
|
4585
4707
|
"kind": "method",
|
|
4586
4708
|
"name": "handleChange",
|
|
@@ -4603,6 +4725,165 @@
|
|
|
4603
4725
|
"kind": "method",
|
|
4604
4726
|
"name": "handleClose",
|
|
4605
4727
|
"privacy": "private"
|
|
4728
|
+
},
|
|
4729
|
+
{
|
|
4730
|
+
"kind": "method",
|
|
4731
|
+
"name": "handleTriggerClick",
|
|
4732
|
+
"privacy": "private",
|
|
4733
|
+
"parameters": [
|
|
4734
|
+
{
|
|
4735
|
+
"name": "event",
|
|
4736
|
+
"type": {
|
|
4737
|
+
"text": "Event"
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
]
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"kind": "method",
|
|
4744
|
+
"name": "handleOptionClick",
|
|
4745
|
+
"privacy": "private",
|
|
4746
|
+
"parameters": [
|
|
4747
|
+
{
|
|
4748
|
+
"name": "optionValue",
|
|
4749
|
+
"type": {
|
|
4750
|
+
"text": "string"
|
|
4751
|
+
}
|
|
4752
|
+
},
|
|
4753
|
+
{
|
|
4754
|
+
"name": "event",
|
|
4755
|
+
"type": {
|
|
4756
|
+
"text": "Event"
|
|
4757
|
+
}
|
|
4758
|
+
}
|
|
4759
|
+
]
|
|
4760
|
+
},
|
|
4761
|
+
{
|
|
4762
|
+
"kind": "method",
|
|
4763
|
+
"name": "handleChipRemove",
|
|
4764
|
+
"privacy": "private",
|
|
4765
|
+
"parameters": [
|
|
4766
|
+
{
|
|
4767
|
+
"name": "optionValue",
|
|
4768
|
+
"type": {
|
|
4769
|
+
"text": "string"
|
|
4770
|
+
}
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
"name": "event",
|
|
4774
|
+
"type": {
|
|
4775
|
+
"text": "Event"
|
|
4776
|
+
}
|
|
4777
|
+
}
|
|
4778
|
+
]
|
|
4779
|
+
},
|
|
4780
|
+
{
|
|
4781
|
+
"kind": "method",
|
|
4782
|
+
"name": "handleClickOutside",
|
|
4783
|
+
"privacy": "private",
|
|
4784
|
+
"parameters": [
|
|
4785
|
+
{
|
|
4786
|
+
"name": "event",
|
|
4787
|
+
"type": {
|
|
4788
|
+
"text": "Event"
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
]
|
|
4792
|
+
},
|
|
4793
|
+
{
|
|
4794
|
+
"kind": "method",
|
|
4795
|
+
"name": "handleKeyDown",
|
|
4796
|
+
"privacy": "private",
|
|
4797
|
+
"parameters": [
|
|
4798
|
+
{
|
|
4799
|
+
"name": "event",
|
|
4800
|
+
"type": {
|
|
4801
|
+
"text": "KeyboardEvent"
|
|
4802
|
+
}
|
|
4803
|
+
}
|
|
4804
|
+
]
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"kind": "method",
|
|
4808
|
+
"name": "handleSearchInput",
|
|
4809
|
+
"privacy": "private",
|
|
4810
|
+
"parameters": [
|
|
4811
|
+
{
|
|
4812
|
+
"name": "event",
|
|
4813
|
+
"type": {
|
|
4814
|
+
"text": "Event"
|
|
4815
|
+
}
|
|
4816
|
+
}
|
|
4817
|
+
]
|
|
4818
|
+
},
|
|
4819
|
+
{
|
|
4820
|
+
"kind": "method",
|
|
4821
|
+
"name": "updateDropdownPosition",
|
|
4822
|
+
"privacy": "private"
|
|
4823
|
+
},
|
|
4824
|
+
{
|
|
4825
|
+
"kind": "method",
|
|
4826
|
+
"name": "getOptionLabel",
|
|
4827
|
+
"privacy": "private",
|
|
4828
|
+
"return": {
|
|
4829
|
+
"type": {
|
|
4830
|
+
"text": "string"
|
|
4831
|
+
}
|
|
4832
|
+
},
|
|
4833
|
+
"parameters": [
|
|
4834
|
+
{
|
|
4835
|
+
"name": "value",
|
|
4836
|
+
"type": {
|
|
4837
|
+
"text": "string"
|
|
4838
|
+
}
|
|
4839
|
+
}
|
|
4840
|
+
]
|
|
4841
|
+
},
|
|
4842
|
+
{
|
|
4843
|
+
"kind": "method",
|
|
4844
|
+
"name": "isSelected",
|
|
4845
|
+
"privacy": "private",
|
|
4846
|
+
"return": {
|
|
4847
|
+
"type": {
|
|
4848
|
+
"text": "boolean"
|
|
4849
|
+
}
|
|
4850
|
+
},
|
|
4851
|
+
"parameters": [
|
|
4852
|
+
{
|
|
4853
|
+
"name": "value",
|
|
4854
|
+
"type": {
|
|
4855
|
+
"text": "string"
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
]
|
|
4859
|
+
},
|
|
4860
|
+
{
|
|
4861
|
+
"kind": "field",
|
|
4862
|
+
"name": "filteredOptions",
|
|
4863
|
+
"type": {
|
|
4864
|
+
"text": "SelectOption[]"
|
|
4865
|
+
},
|
|
4866
|
+
"privacy": "private",
|
|
4867
|
+
"readonly": true
|
|
4868
|
+
},
|
|
4869
|
+
{
|
|
4870
|
+
"kind": "field",
|
|
4871
|
+
"name": "displayPlaceholder",
|
|
4872
|
+
"type": {
|
|
4873
|
+
"text": "string"
|
|
4874
|
+
},
|
|
4875
|
+
"privacy": "private",
|
|
4876
|
+
"readonly": true
|
|
4877
|
+
},
|
|
4878
|
+
{
|
|
4879
|
+
"kind": "method",
|
|
4880
|
+
"name": "renderMultiSelect",
|
|
4881
|
+
"privacy": "private"
|
|
4882
|
+
},
|
|
4883
|
+
{
|
|
4884
|
+
"kind": "method",
|
|
4885
|
+
"name": "renderSingleSelect",
|
|
4886
|
+
"privacy": "private"
|
|
4606
4887
|
}
|
|
4607
4888
|
],
|
|
4608
4889
|
"events": [
|
|
@@ -4612,6 +4893,13 @@
|
|
|
4612
4893
|
"text": "CustomEvent"
|
|
4613
4894
|
},
|
|
4614
4895
|
"description": "Fired when the selected value changes."
|
|
4896
|
+
},
|
|
4897
|
+
{
|
|
4898
|
+
"name": "chip-remove",
|
|
4899
|
+
"type": {
|
|
4900
|
+
"text": "CustomEvent"
|
|
4901
|
+
},
|
|
4902
|
+
"description": "Fired when a chip is removed in multi-select mode."
|
|
4615
4903
|
}
|
|
4616
4904
|
],
|
|
4617
4905
|
"attributes": [
|
|
@@ -4636,10 +4924,10 @@
|
|
|
4636
4924
|
{
|
|
4637
4925
|
"name": "value",
|
|
4638
4926
|
"type": {
|
|
4639
|
-
"text": "string"
|
|
4927
|
+
"text": "string | string[]"
|
|
4640
4928
|
},
|
|
4641
4929
|
"default": "''",
|
|
4642
|
-
"description": "The selected value.",
|
|
4930
|
+
"description": "The selected value. For multi-select, use an array of values.",
|
|
4643
4931
|
"fieldName": "value"
|
|
4644
4932
|
},
|
|
4645
4933
|
{
|
|
@@ -4704,13 +4992,66 @@
|
|
|
4704
4992
|
"default": "''",
|
|
4705
4993
|
"description": "The leading icon name.",
|
|
4706
4994
|
"fieldName": "leadingIcon"
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"name": "multiple",
|
|
4998
|
+
"type": {
|
|
4999
|
+
"text": "boolean"
|
|
5000
|
+
},
|
|
5001
|
+
"default": "false",
|
|
5002
|
+
"description": "Enable multi-select mode.",
|
|
5003
|
+
"fieldName": "multiple"
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
"name": "max-selections",
|
|
5007
|
+
"type": {
|
|
5008
|
+
"text": "number | undefined"
|
|
5009
|
+
},
|
|
5010
|
+
"description": "Maximum number of selections allowed (only for multi-select).",
|
|
5011
|
+
"fieldName": "maxSelections"
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"name": "show-chips",
|
|
5015
|
+
"type": {
|
|
5016
|
+
"text": "boolean"
|
|
5017
|
+
},
|
|
5018
|
+
"default": "true",
|
|
5019
|
+
"description": "Show selected items as chips (default true when multiple).",
|
|
5020
|
+
"fieldName": "showChips"
|
|
5021
|
+
},
|
|
5022
|
+
{
|
|
5023
|
+
"name": "chip-variant",
|
|
5024
|
+
"type": {
|
|
5025
|
+
"text": "'input' | 'filter'"
|
|
5026
|
+
},
|
|
5027
|
+
"default": "'input'",
|
|
5028
|
+
"description": "Chip style variant.",
|
|
5029
|
+
"fieldName": "chipVariant"
|
|
5030
|
+
},
|
|
5031
|
+
{
|
|
5032
|
+
"name": "placeholder",
|
|
5033
|
+
"type": {
|
|
5034
|
+
"text": "string"
|
|
5035
|
+
},
|
|
5036
|
+
"default": "''",
|
|
5037
|
+
"description": "Placeholder text when nothing is selected.",
|
|
5038
|
+
"fieldName": "placeholder"
|
|
5039
|
+
},
|
|
5040
|
+
{
|
|
5041
|
+
"name": "searchable",
|
|
5042
|
+
"type": {
|
|
5043
|
+
"text": "boolean"
|
|
5044
|
+
},
|
|
5045
|
+
"default": "false",
|
|
5046
|
+
"description": "Enable search/filter functionality in dropdown.",
|
|
5047
|
+
"fieldName": "searchable"
|
|
4707
5048
|
}
|
|
4708
5049
|
],
|
|
4709
5050
|
"superclass": {
|
|
4710
5051
|
"name": "LitElement",
|
|
4711
5052
|
"package": "lit"
|
|
4712
5053
|
},
|
|
4713
|
-
"summary": "A thin wrapper around the Material Web Select component.",
|
|
5054
|
+
"summary": "A thin wrapper around the Material Web Select component with multi-select support.",
|
|
4714
5055
|
"tagName": "pd-select",
|
|
4715
5056
|
"customElement": true
|
|
4716
5057
|
}
|