@redvars/peacock 3.6.1 → 3.6.2
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/assets/styles.css +1 -1
- package/dist/assets/styles.css.map +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/tokens.css.map +1 -1
- package/dist/{button-colors-Ccys3hvS.js → button-colors-AvGh22Zn.js} +18 -18
- package/dist/{button-colors-Ccys3hvS.js.map → button-colors-AvGh22Zn.js.map} +1 -1
- package/dist/button-group.js +2 -2
- package/dist/button.js +2 -3
- package/dist/button.js.map +1 -1
- package/dist/card.js +1 -1
- package/dist/card.js.map +1 -1
- package/dist/code-highlighter.js +34 -9
- package/dist/code-highlighter.js.map +1 -1
- package/dist/custom-elements-jsdocs.json +661 -73
- package/dist/custom-elements.json +718 -80
- package/dist/flow-designer.js +1402 -8
- package/dist/flow-designer.js.map +1 -1
- package/dist/icon-CueRR7wx.js +260 -0
- package/dist/icon-CueRR7wx.js.map +1 -0
- package/dist/{icon-button-CK1ZuE-2.js → icon-button-ohxHhy4t.js} +2 -2
- package/dist/{icon-button-CK1ZuE-2.js.map → icon-button-ohxHhy4t.js.map} +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/modal.js +11 -11
- package/dist/modal.js.map +1 -1
- package/dist/{navigation-rail-DTTkqohi.js → navigation-rail-CD7IrqbN.js} +247 -123
- package/dist/navigation-rail-CD7IrqbN.js.map +1 -0
- package/dist/peacock-loader.js +30 -30
- package/dist/peacock-loader.js.map +1 -1
- package/dist/{popover-NC7b1lTq.js → popover-DUPmMVWS.js} +9 -4
- package/dist/{popover-NC7b1lTq.js.map → popover-DUPmMVWS.js.map} +1 -1
- package/dist/popover.js +1 -1
- package/dist/src/__controllers/floating-controller.d.ts +1 -0
- package/dist/src/avatar/avatar.d.ts +1 -1
- package/dist/src/breadcrumb/breadcrumb/breadcrumb.d.ts +0 -1
- package/dist/src/chip/chip/chip.d.ts +14 -11
- package/dist/src/chip/chip-set/chip-set.d.ts +20 -0
- package/dist/src/chip/chip-set/index.d.ts +1 -0
- package/dist/src/code-highlighter/code-highlighter.d.ts +4 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/menu/menu/menu.d.ts +1 -0
- package/dist/src/modal/modal.d.ts +1 -1
- package/dist/test/chip.test.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/readme.md +2 -2
- package/scss/styles.scss +3 -3
- package/scss/tokens.css +1 -1
- package/src/__controllers/floating-controller.ts +9 -3
- package/src/avatar/avatar.scss +4 -4
- package/src/avatar/avatar.ts +1 -1
- package/src/breadcrumb/breadcrumb/breadcrumb.ts +0 -1
- package/src/button/button/button.scss +17 -17
- package/src/button/button/button.ts +1 -2
- package/src/card/card.ts +1 -1
- package/src/chip/chip/chip.scss +119 -45
- package/src/chip/chip/chip.ts +97 -38
- package/src/chip/chip-set/chip-set.scss +13 -0
- package/src/chip/chip-set/chip-set.ts +25 -0
- package/src/chip/chip-set/index.ts +1 -0
- package/src/code-highlighter/code-highlighter.ts +33 -6
- package/src/field/field.scss +1 -1
- package/src/index.ts +1 -0
- package/src/menu/menu/menu.ts +11 -0
- package/src/modal/modal.scss +10 -10
- package/src/modal/modal.ts +1 -1
- package/src/peacock-loader.ts +24 -22
- package/dist/flow-designer-DvTUrDp5.js +0 -1656
- package/dist/flow-designer-DvTUrDp5.js.map +0 -1
- package/dist/navigation-rail-DTTkqohi.js.map +0 -1
- package/src/chip/chip/chip-colors.scss +0 -31
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"name": "--avatar-border-radius"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
"description": "Controls the color of the avatar.",
|
|
128
|
-
"name": "--avatar-
|
|
127
|
+
"description": "Controls the color of the avatar container.",
|
|
128
|
+
"name": "--avatar-container-color"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"description": "Controls the size of the avatar.",
|
|
@@ -4558,107 +4558,603 @@
|
|
|
4558
4558
|
"description": "If true, the tag will have a close icon.",
|
|
4559
4559
|
"attribute": "dismissible"
|
|
4560
4560
|
},
|
|
4561
|
+
{
|
|
4562
|
+
"kind": "field",
|
|
4563
|
+
"name": "configAria",
|
|
4564
|
+
"type": {
|
|
4565
|
+
"text": "{ [key: string]: any } | undefined"
|
|
4566
|
+
},
|
|
4567
|
+
"description": "Additional ARIA attributes to pass to the inner button/anchor element.",
|
|
4568
|
+
"attribute": "configAria",
|
|
4569
|
+
"reflects": true
|
|
4570
|
+
},
|
|
4571
|
+
{
|
|
4572
|
+
"kind": "field",
|
|
4573
|
+
"name": "_hasIconSlotContent",
|
|
4574
|
+
"type": {
|
|
4575
|
+
"text": "boolean"
|
|
4576
|
+
},
|
|
4577
|
+
"privacy": "private",
|
|
4578
|
+
"default": "false"
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
"kind": "field",
|
|
4582
|
+
"name": "_isPressed",
|
|
4583
|
+
"type": {
|
|
4584
|
+
"text": "boolean"
|
|
4585
|
+
},
|
|
4586
|
+
"privacy": "private",
|
|
4587
|
+
"default": "false"
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
"kind": "method",
|
|
4591
|
+
"name": "focus"
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
"kind": "method",
|
|
4595
|
+
"name": "blur"
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"kind": "method",
|
|
4599
|
+
"name": "_dismissClickHandler",
|
|
4600
|
+
"privacy": "private",
|
|
4601
|
+
"parameters": [
|
|
4602
|
+
{
|
|
4603
|
+
"name": "e",
|
|
4604
|
+
"type": {
|
|
4605
|
+
"text": "MouseEvent"
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4608
|
+
]
|
|
4609
|
+
},
|
|
4610
|
+
{
|
|
4611
|
+
"kind": "method",
|
|
4612
|
+
"name": "_renderCloseButton",
|
|
4613
|
+
"privacy": "private"
|
|
4614
|
+
},
|
|
4615
|
+
{
|
|
4616
|
+
"kind": "method",
|
|
4617
|
+
"name": "renderChipContent"
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"kind": "field",
|
|
4621
|
+
"name": "htmlType",
|
|
4622
|
+
"type": {
|
|
4623
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
4624
|
+
},
|
|
4625
|
+
"default": "'button'",
|
|
4626
|
+
"description": "The type of the underlying `<button>` element. Maps to the native `type` attribute.\nPossible values are `\"button\"`, `\"submit\"`, `\"reset\"`. Defaults to `\"button\"`.",
|
|
4627
|
+
"attribute": "htmlType",
|
|
4628
|
+
"inheritedFrom": {
|
|
4629
|
+
"name": "BaseButton",
|
|
4630
|
+
"module": "src/button/BaseButton.ts"
|
|
4631
|
+
}
|
|
4632
|
+
},
|
|
4633
|
+
{
|
|
4634
|
+
"kind": "field",
|
|
4635
|
+
"name": "disabled",
|
|
4636
|
+
"type": {
|
|
4637
|
+
"text": "boolean"
|
|
4638
|
+
},
|
|
4639
|
+
"default": "false",
|
|
4640
|
+
"description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
|
|
4641
|
+
"attribute": "disabled",
|
|
4642
|
+
"reflects": true,
|
|
4643
|
+
"inheritedFrom": {
|
|
4644
|
+
"name": "BaseButton",
|
|
4645
|
+
"module": "src/button/BaseButton.ts"
|
|
4646
|
+
}
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
"kind": "field",
|
|
4650
|
+
"name": "softDisabled",
|
|
4651
|
+
"type": {
|
|
4652
|
+
"text": "boolean"
|
|
4653
|
+
},
|
|
4654
|
+
"default": "false",
|
|
4655
|
+
"description": "When `true`, the button is visually styled as disabled and cannot be interacted with, but remains focusable.\nUse this in combination with `disabledReason` to communicate why the button is unavailable.\nReflects to the `soft-disabled` attribute. Defaults to `false`.",
|
|
4656
|
+
"attribute": "soft-disabled",
|
|
4657
|
+
"reflects": true,
|
|
4658
|
+
"inheritedFrom": {
|
|
4659
|
+
"name": "BaseButton",
|
|
4660
|
+
"module": "src/button/BaseButton.ts"
|
|
4661
|
+
}
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
"kind": "field",
|
|
4665
|
+
"name": "disabledReason",
|
|
4666
|
+
"type": {
|
|
4667
|
+
"text": "string"
|
|
4668
|
+
},
|
|
4669
|
+
"default": "''",
|
|
4670
|
+
"description": "A human-readable explanation of why the button is disabled or soft-disabled.\nRendered as a visually hidden tooltip and linked via `aria-describedby` for accessibility.\nMaps to the `disabled-reason` attribute.",
|
|
4671
|
+
"attribute": "disabled-reason",
|
|
4672
|
+
"inheritedFrom": {
|
|
4673
|
+
"name": "BaseButton",
|
|
4674
|
+
"module": "src/button/BaseButton.ts"
|
|
4675
|
+
}
|
|
4676
|
+
},
|
|
4677
|
+
{
|
|
4678
|
+
"kind": "field",
|
|
4679
|
+
"name": "form",
|
|
4680
|
+
"type": {
|
|
4681
|
+
"text": "string"
|
|
4682
|
+
},
|
|
4683
|
+
"default": "''",
|
|
4684
|
+
"description": "The `id` of the `<form>` element to associate the button with.\nIf omitted, the button is associated with its nearest ancestor form.\nMaps to the native `form` attribute.",
|
|
4685
|
+
"attribute": "form",
|
|
4686
|
+
"inheritedFrom": {
|
|
4687
|
+
"name": "BaseButton",
|
|
4688
|
+
"module": "src/button/BaseButton.ts"
|
|
4689
|
+
}
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
"kind": "field",
|
|
4693
|
+
"name": "name",
|
|
4694
|
+
"type": {
|
|
4695
|
+
"text": "string"
|
|
4696
|
+
},
|
|
4697
|
+
"default": "''",
|
|
4698
|
+
"description": "The name of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `name` attribute.",
|
|
4699
|
+
"attribute": "name",
|
|
4700
|
+
"inheritedFrom": {
|
|
4701
|
+
"name": "BaseButton",
|
|
4702
|
+
"module": "src/button/BaseButton.ts"
|
|
4703
|
+
}
|
|
4704
|
+
},
|
|
4705
|
+
{
|
|
4706
|
+
"kind": "field",
|
|
4707
|
+
"name": "value",
|
|
4708
|
+
"type": {
|
|
4709
|
+
"text": "string"
|
|
4710
|
+
},
|
|
4711
|
+
"default": "''",
|
|
4712
|
+
"description": "The value of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `value` attribute.",
|
|
4713
|
+
"attribute": "value",
|
|
4714
|
+
"inheritedFrom": {
|
|
4715
|
+
"name": "BaseButton",
|
|
4716
|
+
"module": "src/button/BaseButton.ts"
|
|
4717
|
+
}
|
|
4718
|
+
},
|
|
4719
|
+
{
|
|
4720
|
+
"kind": "field",
|
|
4721
|
+
"name": "href",
|
|
4722
|
+
"type": {
|
|
4723
|
+
"text": "string | undefined"
|
|
4724
|
+
},
|
|
4725
|
+
"description": "The URL that the hyperlink points to. When set, the component renders as an `<a>` element.\nMaps to the native `href` attribute.",
|
|
4726
|
+
"attribute": "href",
|
|
4727
|
+
"reflects": true,
|
|
4728
|
+
"inheritedFrom": {
|
|
4729
|
+
"name": "BaseButton",
|
|
4730
|
+
"module": "src/button/BaseButton.ts"
|
|
4731
|
+
}
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"kind": "field",
|
|
4735
|
+
"name": "target",
|
|
4736
|
+
"type": {
|
|
4737
|
+
"text": "'_self' | '_parent' | '_blank' | '_top' | string"
|
|
4738
|
+
},
|
|
4739
|
+
"default": "'_self'",
|
|
4740
|
+
"description": "Where to display the linked URL. Maps to the native `target` attribute.\nPossible values are `\"_self\"`, `\"_blank\"`, `\"_parent\"`, `\"_top\"`, or a custom frame name.\nWhen using `\"_blank\"`, consider setting `rel=\"noopener noreferrer\"` for security. Defaults to `\"_self\"`.",
|
|
4741
|
+
"attribute": "target",
|
|
4742
|
+
"inheritedFrom": {
|
|
4743
|
+
"name": "BaseButton",
|
|
4744
|
+
"module": "src/button/BaseButton.ts"
|
|
4745
|
+
}
|
|
4746
|
+
},
|
|
4747
|
+
{
|
|
4748
|
+
"kind": "field",
|
|
4749
|
+
"name": "rel",
|
|
4750
|
+
"type": {
|
|
4751
|
+
"text": "string | undefined"
|
|
4752
|
+
},
|
|
4753
|
+
"description": "The relationship between the current document and the linked URL.\nMaps to the native `rel` attribute on the rendered `<a>` element.\nWhen `target=\"_blank\"`, use `\"noopener noreferrer\"` to prevent tab-napping attacks.",
|
|
4754
|
+
"attribute": "rel",
|
|
4755
|
+
"inheritedFrom": {
|
|
4756
|
+
"name": "BaseButton",
|
|
4757
|
+
"module": "src/button/BaseButton.ts"
|
|
4758
|
+
}
|
|
4759
|
+
},
|
|
4760
|
+
{
|
|
4761
|
+
"kind": "field",
|
|
4762
|
+
"name": "download",
|
|
4763
|
+
"type": {
|
|
4764
|
+
"text": "string | undefined"
|
|
4765
|
+
},
|
|
4766
|
+
"description": "Causes the browser to download the linked URL instead of navigating to it.\nIf a string value is provided, it is used as the suggested filename.\nOmit or leave undefined to preserve normal navigation behaviour.\nMaps to the native `download` attribute. Only applies when `href` is set.",
|
|
4767
|
+
"attribute": "download",
|
|
4768
|
+
"inheritedFrom": {
|
|
4769
|
+
"name": "BaseButton",
|
|
4770
|
+
"module": "src/button/BaseButton.ts"
|
|
4771
|
+
}
|
|
4772
|
+
},
|
|
4773
|
+
{
|
|
4774
|
+
"kind": "method",
|
|
4775
|
+
"name": "__isLink",
|
|
4776
|
+
"return": {
|
|
4777
|
+
"type": {
|
|
4778
|
+
"text": "boolean"
|
|
4779
|
+
}
|
|
4780
|
+
},
|
|
4781
|
+
"description": "Returns `true` when `href` is set, indicating the component should render as a link.",
|
|
4782
|
+
"inheritedFrom": {
|
|
4783
|
+
"name": "BaseButton",
|
|
4784
|
+
"module": "src/button/BaseButton.ts"
|
|
4785
|
+
}
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
"kind": "field",
|
|
4789
|
+
"name": "DISABLED_REASON_ID",
|
|
4790
|
+
"type": {
|
|
4791
|
+
"text": "string"
|
|
4792
|
+
},
|
|
4793
|
+
"privacy": "protected",
|
|
4794
|
+
"static": true,
|
|
4795
|
+
"readonly": true,
|
|
4796
|
+
"default": "'disabled-reason'",
|
|
4797
|
+
"inheritedFrom": {
|
|
4798
|
+
"name": "BaseButton",
|
|
4799
|
+
"module": "src/button/BaseButton.ts"
|
|
4800
|
+
}
|
|
4801
|
+
},
|
|
4561
4802
|
{
|
|
4562
4803
|
"kind": "field",
|
|
4563
4804
|
"name": "color",
|
|
4564
4805
|
"type": {
|
|
4565
|
-
"text": "
|
|
4806
|
+
"text": "string | undefined"
|
|
4807
|
+
},
|
|
4808
|
+
"inheritedFrom": {
|
|
4809
|
+
"name": "BaseButton",
|
|
4810
|
+
"module": "src/button/BaseButton.ts"
|
|
4811
|
+
}
|
|
4812
|
+
},
|
|
4813
|
+
{
|
|
4814
|
+
"kind": "field",
|
|
4815
|
+
"name": "variant",
|
|
4816
|
+
"type": {
|
|
4817
|
+
"text": "string | undefined"
|
|
4818
|
+
},
|
|
4819
|
+
"inheritedFrom": {
|
|
4820
|
+
"name": "BaseButton",
|
|
4821
|
+
"module": "src/button/BaseButton.ts"
|
|
4822
|
+
}
|
|
4823
|
+
},
|
|
4824
|
+
{
|
|
4825
|
+
"kind": "field",
|
|
4826
|
+
"name": "skeleton",
|
|
4827
|
+
"type": {
|
|
4828
|
+
"text": "boolean"
|
|
4829
|
+
},
|
|
4830
|
+
"default": "false",
|
|
4831
|
+
"attribute": "skeleton",
|
|
4832
|
+
"reflects": true,
|
|
4833
|
+
"inheritedFrom": {
|
|
4834
|
+
"name": "BaseButton",
|
|
4835
|
+
"module": "src/button/BaseButton.ts"
|
|
4836
|
+
}
|
|
4837
|
+
},
|
|
4838
|
+
{
|
|
4839
|
+
"kind": "field",
|
|
4840
|
+
"name": "toggle",
|
|
4841
|
+
"type": {
|
|
4842
|
+
"text": "boolean"
|
|
4843
|
+
},
|
|
4844
|
+
"default": "false",
|
|
4845
|
+
"attribute": "toggle",
|
|
4846
|
+
"reflects": true,
|
|
4847
|
+
"inheritedFrom": {
|
|
4848
|
+
"name": "BaseButton",
|
|
4849
|
+
"module": "src/button/BaseButton.ts"
|
|
4850
|
+
}
|
|
4851
|
+
},
|
|
4852
|
+
{
|
|
4853
|
+
"kind": "field",
|
|
4854
|
+
"name": "selected",
|
|
4855
|
+
"type": {
|
|
4856
|
+
"text": "boolean"
|
|
4857
|
+
},
|
|
4858
|
+
"default": "false",
|
|
4859
|
+
"attribute": "selected",
|
|
4860
|
+
"reflects": true,
|
|
4861
|
+
"inheritedFrom": {
|
|
4862
|
+
"name": "BaseButton",
|
|
4863
|
+
"module": "src/button/BaseButton.ts"
|
|
4864
|
+
}
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
"kind": "field",
|
|
4868
|
+
"name": "throttleDelay",
|
|
4869
|
+
"type": {
|
|
4870
|
+
"text": "number"
|
|
4871
|
+
},
|
|
4872
|
+
"default": "200",
|
|
4873
|
+
"description": "Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.",
|
|
4874
|
+
"attribute": "throttleDelay",
|
|
4875
|
+
"inheritedFrom": {
|
|
4876
|
+
"name": "BaseButton",
|
|
4877
|
+
"module": "src/button/BaseButton.ts"
|
|
4878
|
+
}
|
|
4879
|
+
},
|
|
4880
|
+
{
|
|
4881
|
+
"kind": "field",
|
|
4882
|
+
"name": "tooltip",
|
|
4883
|
+
"type": {
|
|
4884
|
+
"text": "string | undefined"
|
|
4885
|
+
},
|
|
4886
|
+
"attribute": "tooltip",
|
|
4887
|
+
"inheritedFrom": {
|
|
4888
|
+
"name": "BaseButton",
|
|
4889
|
+
"module": "src/button/BaseButton.ts"
|
|
4890
|
+
}
|
|
4891
|
+
},
|
|
4892
|
+
{
|
|
4893
|
+
"kind": "field",
|
|
4894
|
+
"name": "isPressed",
|
|
4895
|
+
"type": {
|
|
4896
|
+
"text": "boolean"
|
|
4897
|
+
},
|
|
4898
|
+
"default": "false",
|
|
4899
|
+
"description": "States",
|
|
4900
|
+
"inheritedFrom": {
|
|
4901
|
+
"name": "BaseButton",
|
|
4902
|
+
"module": "src/button/BaseButton.ts"
|
|
4903
|
+
}
|
|
4904
|
+
},
|
|
4905
|
+
{
|
|
4906
|
+
"kind": "field",
|
|
4907
|
+
"name": "buttonElement",
|
|
4908
|
+
"type": {
|
|
4909
|
+
"text": "HTMLElement | null"
|
|
4910
|
+
},
|
|
4911
|
+
"readonly": true,
|
|
4912
|
+
"inheritedFrom": {
|
|
4913
|
+
"name": "BaseButton",
|
|
4914
|
+
"module": "src/button/BaseButton.ts"
|
|
4915
|
+
}
|
|
4916
|
+
},
|
|
4917
|
+
{
|
|
4918
|
+
"kind": "field",
|
|
4919
|
+
"name": "__handlePress",
|
|
4920
|
+
"inheritedFrom": {
|
|
4921
|
+
"name": "BaseButton",
|
|
4922
|
+
"module": "src/button/BaseButton.ts"
|
|
4923
|
+
}
|
|
4924
|
+
},
|
|
4925
|
+
{
|
|
4926
|
+
"kind": "field",
|
|
4927
|
+
"name": "__dispatchClickWithThrottle",
|
|
4928
|
+
"type": {
|
|
4929
|
+
"text": "(event: MouseEvent | KeyboardEvent) => void"
|
|
4930
|
+
},
|
|
4931
|
+
"inheritedFrom": {
|
|
4932
|
+
"name": "BaseButton",
|
|
4933
|
+
"module": "src/button/BaseButton.ts"
|
|
4934
|
+
}
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"kind": "field",
|
|
4938
|
+
"name": "__dispatchClick",
|
|
4939
|
+
"inheritedFrom": {
|
|
4940
|
+
"name": "BaseButton",
|
|
4941
|
+
"module": "src/button/BaseButton.ts"
|
|
4942
|
+
}
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"kind": "method",
|
|
4946
|
+
"name": "__renderDisabledReason",
|
|
4947
|
+
"parameters": [
|
|
4948
|
+
{
|
|
4949
|
+
"name": "softDisabled",
|
|
4950
|
+
"type": {
|
|
4951
|
+
"text": "boolean"
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
],
|
|
4955
|
+
"inheritedFrom": {
|
|
4956
|
+
"name": "BaseButton",
|
|
4957
|
+
"module": "src/button/BaseButton.ts"
|
|
4958
|
+
}
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "method",
|
|
4962
|
+
"name": "__renderTooltip",
|
|
4963
|
+
"inheritedFrom": {
|
|
4964
|
+
"name": "BaseButton",
|
|
4965
|
+
"module": "src/button/BaseButton.ts"
|
|
4966
|
+
}
|
|
4967
|
+
}
|
|
4968
|
+
],
|
|
4969
|
+
"events": [
|
|
4970
|
+
{
|
|
4971
|
+
"name": "tag--dismiss",
|
|
4972
|
+
"type": {
|
|
4973
|
+
"text": "CustomEvent"
|
|
4974
|
+
}
|
|
4975
|
+
}
|
|
4976
|
+
],
|
|
4977
|
+
"attributes": [
|
|
4978
|
+
{
|
|
4979
|
+
"name": "dismissible",
|
|
4980
|
+
"type": {
|
|
4981
|
+
"text": "boolean"
|
|
4982
|
+
},
|
|
4983
|
+
"default": "false",
|
|
4984
|
+
"description": "If true, the tag will have a close icon.",
|
|
4985
|
+
"fieldName": "dismissible"
|
|
4986
|
+
},
|
|
4987
|
+
{
|
|
4988
|
+
"name": "configAria",
|
|
4989
|
+
"type": {
|
|
4990
|
+
"text": "{ [key: string]: any } | undefined"
|
|
4991
|
+
},
|
|
4992
|
+
"description": "Additional ARIA attributes to pass to the inner button/anchor element.",
|
|
4993
|
+
"fieldName": "configAria"
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"name": "htmlType",
|
|
4997
|
+
"type": {
|
|
4998
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
4999
|
+
},
|
|
5000
|
+
"default": "'button'",
|
|
5001
|
+
"description": "The type of the underlying `<button>` element. Maps to the native `type` attribute.\nPossible values are `\"button\"`, `\"submit\"`, `\"reset\"`. Defaults to `\"button\"`.",
|
|
5002
|
+
"fieldName": "htmlType",
|
|
5003
|
+
"inheritedFrom": {
|
|
5004
|
+
"name": "BaseButton",
|
|
5005
|
+
"module": "src/button/BaseButton.ts"
|
|
5006
|
+
}
|
|
5007
|
+
},
|
|
5008
|
+
{
|
|
5009
|
+
"name": "disabled",
|
|
5010
|
+
"type": {
|
|
5011
|
+
"text": "boolean"
|
|
4566
5012
|
},
|
|
4567
|
-
"default": "
|
|
4568
|
-
"description": "
|
|
4569
|
-
"
|
|
4570
|
-
"
|
|
5013
|
+
"default": "false",
|
|
5014
|
+
"description": "When `true`, the button is disabled and cannot be interacted with. Reflects to the `disabled` attribute. Defaults to `false`.",
|
|
5015
|
+
"fieldName": "disabled",
|
|
5016
|
+
"inheritedFrom": {
|
|
5017
|
+
"name": "BaseButton",
|
|
5018
|
+
"module": "src/button/BaseButton.ts"
|
|
5019
|
+
}
|
|
4571
5020
|
},
|
|
4572
5021
|
{
|
|
4573
|
-
"
|
|
4574
|
-
"
|
|
5022
|
+
"name": "soft-disabled",
|
|
5023
|
+
"type": {
|
|
5024
|
+
"text": "boolean"
|
|
5025
|
+
},
|
|
5026
|
+
"default": "false",
|
|
5027
|
+
"description": "When `true`, the button is visually styled as disabled and cannot be interacted with, but remains focusable.\nUse this in combination with `disabledReason` to communicate why the button is unavailable.\nReflects to the `soft-disabled` attribute. Defaults to `false`.",
|
|
5028
|
+
"fieldName": "softDisabled",
|
|
5029
|
+
"inheritedFrom": {
|
|
5030
|
+
"name": "BaseButton",
|
|
5031
|
+
"module": "src/button/BaseButton.ts"
|
|
5032
|
+
}
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
"name": "disabled-reason",
|
|
4575
5036
|
"type": {
|
|
4576
5037
|
"text": "string"
|
|
4577
5038
|
},
|
|
4578
5039
|
"default": "''",
|
|
4579
|
-
"description": "
|
|
4580
|
-
"
|
|
4581
|
-
"
|
|
5040
|
+
"description": "A human-readable explanation of why the button is disabled or soft-disabled.\nRendered as a visually hidden tooltip and linked via `aria-describedby` for accessibility.\nMaps to the `disabled-reason` attribute.",
|
|
5041
|
+
"fieldName": "disabledReason",
|
|
5042
|
+
"inheritedFrom": {
|
|
5043
|
+
"name": "BaseButton",
|
|
5044
|
+
"module": "src/button/BaseButton.ts"
|
|
5045
|
+
}
|
|
4582
5046
|
},
|
|
4583
5047
|
{
|
|
4584
|
-
"
|
|
4585
|
-
"name": "selected",
|
|
5048
|
+
"name": "form",
|
|
4586
5049
|
"type": {
|
|
4587
|
-
"text": "
|
|
5050
|
+
"text": "string"
|
|
4588
5051
|
},
|
|
4589
|
-
"default": "
|
|
4590
|
-
"description": "
|
|
4591
|
-
"
|
|
4592
|
-
"
|
|
5052
|
+
"default": "''",
|
|
5053
|
+
"description": "The `id` of the `<form>` element to associate the button with.\nIf omitted, the button is associated with its nearest ancestor form.\nMaps to the native `form` attribute.",
|
|
5054
|
+
"fieldName": "form",
|
|
5055
|
+
"inheritedFrom": {
|
|
5056
|
+
"name": "BaseButton",
|
|
5057
|
+
"module": "src/button/BaseButton.ts"
|
|
5058
|
+
}
|
|
4593
5059
|
},
|
|
4594
5060
|
{
|
|
4595
|
-
"
|
|
4596
|
-
"name": "imageSrc",
|
|
5061
|
+
"name": "name",
|
|
4597
5062
|
"type": {
|
|
4598
|
-
"text": "string
|
|
5063
|
+
"text": "string"
|
|
4599
5064
|
},
|
|
4600
|
-
"
|
|
4601
|
-
"
|
|
5065
|
+
"default": "''",
|
|
5066
|
+
"description": "The name of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `name` attribute.",
|
|
5067
|
+
"fieldName": "name",
|
|
5068
|
+
"inheritedFrom": {
|
|
5069
|
+
"name": "BaseButton",
|
|
5070
|
+
"module": "src/button/BaseButton.ts"
|
|
5071
|
+
}
|
|
4602
5072
|
},
|
|
4603
5073
|
{
|
|
4604
|
-
"
|
|
4605
|
-
"
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
5074
|
+
"name": "value",
|
|
5075
|
+
"type": {
|
|
5076
|
+
"text": "string"
|
|
5077
|
+
},
|
|
5078
|
+
"default": "''",
|
|
5079
|
+
"description": "The value of the button, submitted as part of a name/value pair when the associated form is submitted.\nMaps to the native `value` attribute.",
|
|
5080
|
+
"fieldName": "value",
|
|
5081
|
+
"inheritedFrom": {
|
|
5082
|
+
"name": "BaseButton",
|
|
5083
|
+
"module": "src/button/BaseButton.ts"
|
|
5084
|
+
}
|
|
4615
5085
|
},
|
|
4616
5086
|
{
|
|
4617
|
-
"
|
|
4618
|
-
"
|
|
4619
|
-
|
|
5087
|
+
"name": "href",
|
|
5088
|
+
"type": {
|
|
5089
|
+
"text": "string | undefined"
|
|
5090
|
+
},
|
|
5091
|
+
"description": "The URL that the hyperlink points to. When set, the component renders as an `<a>` element.\nMaps to the native `href` attribute.",
|
|
5092
|
+
"fieldName": "href",
|
|
5093
|
+
"inheritedFrom": {
|
|
5094
|
+
"name": "BaseButton",
|
|
5095
|
+
"module": "src/button/BaseButton.ts"
|
|
5096
|
+
}
|
|
4620
5097
|
},
|
|
4621
5098
|
{
|
|
4622
|
-
"
|
|
4623
|
-
"
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
5099
|
+
"name": "target",
|
|
5100
|
+
"type": {
|
|
5101
|
+
"text": "'_self' | '_parent' | '_blank' | '_top' | string"
|
|
5102
|
+
},
|
|
5103
|
+
"default": "'_self'",
|
|
5104
|
+
"description": "Where to display the linked URL. Maps to the native `target` attribute.\nPossible values are `\"_self\"`, `\"_blank\"`, `\"_parent\"`, `\"_top\"`, or a custom frame name.\nWhen using `\"_blank\"`, consider setting `rel=\"noopener noreferrer\"` for security. Defaults to `\"_self\"`.",
|
|
5105
|
+
"fieldName": "target",
|
|
5106
|
+
"inheritedFrom": {
|
|
5107
|
+
"name": "BaseButton",
|
|
5108
|
+
"module": "src/button/BaseButton.ts"
|
|
5109
|
+
}
|
|
5110
|
+
},
|
|
4628
5111
|
{
|
|
4629
|
-
"name": "
|
|
5112
|
+
"name": "rel",
|
|
4630
5113
|
"type": {
|
|
4631
|
-
"text": "
|
|
5114
|
+
"text": "string | undefined"
|
|
5115
|
+
},
|
|
5116
|
+
"description": "The relationship between the current document and the linked URL.\nMaps to the native `rel` attribute on the rendered `<a>` element.\nWhen `target=\"_blank\"`, use `\"noopener noreferrer\"` to prevent tab-napping attacks.",
|
|
5117
|
+
"fieldName": "rel",
|
|
5118
|
+
"inheritedFrom": {
|
|
5119
|
+
"name": "BaseButton",
|
|
5120
|
+
"module": "src/button/BaseButton.ts"
|
|
4632
5121
|
}
|
|
4633
|
-
}
|
|
4634
|
-
],
|
|
4635
|
-
"attributes": [
|
|
5122
|
+
},
|
|
4636
5123
|
{
|
|
4637
|
-
"name": "
|
|
5124
|
+
"name": "download",
|
|
4638
5125
|
"type": {
|
|
4639
|
-
"text": "
|
|
5126
|
+
"text": "string | undefined"
|
|
4640
5127
|
},
|
|
4641
|
-
"
|
|
4642
|
-
"
|
|
4643
|
-
"
|
|
5128
|
+
"description": "Causes the browser to download the linked URL instead of navigating to it.\nIf a string value is provided, it is used as the suggested filename.\nOmit or leave undefined to preserve normal navigation behaviour.\nMaps to the native `download` attribute. Only applies when `href` is set.",
|
|
5129
|
+
"fieldName": "download",
|
|
5130
|
+
"inheritedFrom": {
|
|
5131
|
+
"name": "BaseButton",
|
|
5132
|
+
"module": "src/button/BaseButton.ts"
|
|
5133
|
+
}
|
|
4644
5134
|
},
|
|
4645
5135
|
{
|
|
4646
|
-
"name": "
|
|
5136
|
+
"name": "skeleton",
|
|
4647
5137
|
"type": {
|
|
4648
|
-
"text": "
|
|
5138
|
+
"text": "boolean"
|
|
4649
5139
|
},
|
|
4650
|
-
"default": "
|
|
4651
|
-
"
|
|
4652
|
-
"
|
|
5140
|
+
"default": "false",
|
|
5141
|
+
"fieldName": "skeleton",
|
|
5142
|
+
"inheritedFrom": {
|
|
5143
|
+
"name": "BaseButton",
|
|
5144
|
+
"module": "src/button/BaseButton.ts"
|
|
5145
|
+
}
|
|
4653
5146
|
},
|
|
4654
5147
|
{
|
|
4655
|
-
"name": "
|
|
5148
|
+
"name": "toggle",
|
|
4656
5149
|
"type": {
|
|
4657
|
-
"text": "
|
|
5150
|
+
"text": "boolean"
|
|
4658
5151
|
},
|
|
4659
|
-
"default": "
|
|
4660
|
-
"
|
|
4661
|
-
"
|
|
5152
|
+
"default": "false",
|
|
5153
|
+
"fieldName": "toggle",
|
|
5154
|
+
"inheritedFrom": {
|
|
5155
|
+
"name": "BaseButton",
|
|
5156
|
+
"module": "src/button/BaseButton.ts"
|
|
5157
|
+
}
|
|
4662
5158
|
},
|
|
4663
5159
|
{
|
|
4664
5160
|
"name": "selected",
|
|
@@ -4666,21 +5162,40 @@
|
|
|
4666
5162
|
"text": "boolean"
|
|
4667
5163
|
},
|
|
4668
5164
|
"default": "false",
|
|
4669
|
-
"
|
|
4670
|
-
"
|
|
5165
|
+
"fieldName": "selected",
|
|
5166
|
+
"inheritedFrom": {
|
|
5167
|
+
"name": "BaseButton",
|
|
5168
|
+
"module": "src/button/BaseButton.ts"
|
|
5169
|
+
}
|
|
4671
5170
|
},
|
|
4672
5171
|
{
|
|
4673
|
-
"name": "
|
|
5172
|
+
"name": "throttleDelay",
|
|
5173
|
+
"type": {
|
|
5174
|
+
"text": "number"
|
|
5175
|
+
},
|
|
5176
|
+
"default": "200",
|
|
5177
|
+
"description": "Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.",
|
|
5178
|
+
"fieldName": "throttleDelay",
|
|
5179
|
+
"inheritedFrom": {
|
|
5180
|
+
"name": "BaseButton",
|
|
5181
|
+
"module": "src/button/BaseButton.ts"
|
|
5182
|
+
}
|
|
5183
|
+
},
|
|
5184
|
+
{
|
|
5185
|
+
"name": "tooltip",
|
|
4674
5186
|
"type": {
|
|
4675
5187
|
"text": "string | undefined"
|
|
4676
5188
|
},
|
|
4677
|
-
"
|
|
4678
|
-
"
|
|
5189
|
+
"fieldName": "tooltip",
|
|
5190
|
+
"inheritedFrom": {
|
|
5191
|
+
"name": "BaseButton",
|
|
5192
|
+
"module": "src/button/BaseButton.ts"
|
|
5193
|
+
}
|
|
4679
5194
|
}
|
|
4680
5195
|
],
|
|
4681
5196
|
"superclass": {
|
|
4682
|
-
"name": "
|
|
4683
|
-
"package": "
|
|
5197
|
+
"name": "BaseButton",
|
|
5198
|
+
"package": "@/button/BaseButton.js"
|
|
4684
5199
|
},
|
|
4685
5200
|
"tagName": "wc-chip",
|
|
4686
5201
|
"customElement": true,
|
|
@@ -4691,6 +5206,31 @@
|
|
|
4691
5206
|
}
|
|
4692
5207
|
}
|
|
4693
5208
|
},
|
|
5209
|
+
{
|
|
5210
|
+
"label": "Chip Set",
|
|
5211
|
+
"tag": "wc-chip-set",
|
|
5212
|
+
"rawTag": "chip-set",
|
|
5213
|
+
"summary": "A layout container for wrapping chips.",
|
|
5214
|
+
"tags": "layout",
|
|
5215
|
+
"example": "```html\n<wc-chip-set>\n <wc-chip>One</wc-chip>\n <wc-chip>Two</wc-chip>\n</wc-chip-set>\n```",
|
|
5216
|
+
"customElement": {
|
|
5217
|
+
"kind": "class",
|
|
5218
|
+
"description": "",
|
|
5219
|
+
"name": "ChipSet",
|
|
5220
|
+
"members": [],
|
|
5221
|
+
"superclass": {
|
|
5222
|
+
"name": "LitElement",
|
|
5223
|
+
"package": "lit"
|
|
5224
|
+
},
|
|
5225
|
+
"tagName": "wc-chip-set",
|
|
5226
|
+
"customElement": true,
|
|
5227
|
+
"summary": "A layout container for wrapping chips.",
|
|
5228
|
+
"rawTag": {
|
|
5229
|
+
"name": "chip-set",
|
|
5230
|
+
"description": ""
|
|
5231
|
+
}
|
|
5232
|
+
}
|
|
5233
|
+
},
|
|
4694
5234
|
{
|
|
4695
5235
|
"label": "Circular Progress",
|
|
4696
5236
|
"tag": "wc-circular-progress",
|
|
@@ -5227,6 +5767,17 @@
|
|
|
5227
5767
|
"description": "",
|
|
5228
5768
|
"name": "CodeHighlighter",
|
|
5229
5769
|
"members": [
|
|
5770
|
+
{
|
|
5771
|
+
"kind": "field",
|
|
5772
|
+
"name": "COPY_FEEDBACK_DURATION",
|
|
5773
|
+
"type": {
|
|
5774
|
+
"text": "number"
|
|
5775
|
+
},
|
|
5776
|
+
"privacy": "private",
|
|
5777
|
+
"static": true,
|
|
5778
|
+
"readonly": true,
|
|
5779
|
+
"default": "3000"
|
|
5780
|
+
},
|
|
5230
5781
|
{
|
|
5231
5782
|
"kind": "field",
|
|
5232
5783
|
"name": "language",
|
|
@@ -5284,6 +5835,15 @@
|
|
|
5284
5835
|
"privacy": "private",
|
|
5285
5836
|
"default": "null"
|
|
5286
5837
|
},
|
|
5838
|
+
{
|
|
5839
|
+
"kind": "field",
|
|
5840
|
+
"name": "_copied",
|
|
5841
|
+
"type": {
|
|
5842
|
+
"text": "boolean"
|
|
5843
|
+
},
|
|
5844
|
+
"privacy": "private",
|
|
5845
|
+
"default": "false"
|
|
5846
|
+
},
|
|
5287
5847
|
{
|
|
5288
5848
|
"kind": "field",
|
|
5289
5849
|
"name": "parsedCode",
|
|
@@ -5293,6 +5853,15 @@
|
|
|
5293
5853
|
"privacy": "private",
|
|
5294
5854
|
"default": "null"
|
|
5295
5855
|
},
|
|
5856
|
+
{
|
|
5857
|
+
"kind": "field",
|
|
5858
|
+
"name": "_copyFeedbackTimeout",
|
|
5859
|
+
"type": {
|
|
5860
|
+
"text": "number | null"
|
|
5861
|
+
},
|
|
5862
|
+
"privacy": "private",
|
|
5863
|
+
"default": "null"
|
|
5864
|
+
},
|
|
5296
5865
|
{
|
|
5297
5866
|
"kind": "method",
|
|
5298
5867
|
"name": "decode",
|
|
@@ -11428,6 +11997,19 @@
|
|
|
11428
11997
|
}
|
|
11429
11998
|
]
|
|
11430
11999
|
},
|
|
12000
|
+
{
|
|
12001
|
+
"kind": "method",
|
|
12002
|
+
"name": "_dispatchItemActivate",
|
|
12003
|
+
"privacy": "private",
|
|
12004
|
+
"parameters": [
|
|
12005
|
+
{
|
|
12006
|
+
"name": "item",
|
|
12007
|
+
"type": {
|
|
12008
|
+
"text": "MenuItem"
|
|
12009
|
+
}
|
|
12010
|
+
}
|
|
12011
|
+
]
|
|
12012
|
+
},
|
|
11431
12013
|
{
|
|
11432
12014
|
"kind": "field",
|
|
11433
12015
|
"name": "_onClick",
|
|
@@ -11450,6 +12032,12 @@
|
|
|
11450
12032
|
}
|
|
11451
12033
|
],
|
|
11452
12034
|
"events": [
|
|
12035
|
+
{
|
|
12036
|
+
"name": "menu-item-activate",
|
|
12037
|
+
"type": {
|
|
12038
|
+
"text": "CustomEvent"
|
|
12039
|
+
}
|
|
12040
|
+
},
|
|
11453
12041
|
{
|
|
11454
12042
|
"name": "opened",
|
|
11455
12043
|
"type": {
|
|
@@ -12041,7 +12629,7 @@
|
|
|
12041
12629
|
{
|
|
12042
12630
|
"label": "Modal",
|
|
12043
12631
|
"tag": "wc-modal",
|
|
12044
|
-
"rawTag": "modal
|
|
12632
|
+
"rawTag": "modal",
|
|
12045
12633
|
"summary": "A Material Design 3 dialog/modal for displaying content in a layer above the page, with optional header, body, and footer slots.",
|
|
12046
12634
|
"cssprop": "--modal-max-height - Maximum height of the dialog.",
|
|
12047
12635
|
"example": "```html\nMODAL\n```",
|
|
@@ -12294,7 +12882,7 @@
|
|
|
12294
12882
|
"customElement": true,
|
|
12295
12883
|
"summary": "A Material Design 3 dialog/modal for displaying content in a layer above the page, with optional header, body, and footer slots.",
|
|
12296
12884
|
"rawTag": {
|
|
12297
|
-
"name": "modal
|
|
12885
|
+
"name": "modal",
|
|
12298
12886
|
"description": ""
|
|
12299
12887
|
}
|
|
12300
12888
|
}
|