placer-toolkit 1.0.0-alpha.2 → 1.0.0-alpha.3
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/cdn/chunks/{chunk.63PFEC3G.js → chunk.2P2SQGIO.js} +1 -1
- package/cdn/chunks/{chunk.POW4JBEN.js → chunk.2RFUFV3Y.js} +1 -1
- package/cdn/chunks/{chunk.4GFJDCKO.js → chunk.2U2XCELL.js} +1 -1
- package/cdn/chunks/{chunk.YDM7FW42.js → chunk.2VK2UNEQ.js} +1 -1
- package/cdn/chunks/{chunk.UDGTTCHU.js → chunk.3XA4JGJ5.js} +1 -1
- package/cdn/chunks/{chunk.LCCA4ADE.js → chunk.3Z4OHR74.js} +1 -1
- package/cdn/chunks/{chunk.5YXXLUP2.js → chunk.4EP7ZBSO.js} +1 -1
- package/cdn/chunks/{chunk.SUPXW5XU.js → chunk.5BEN2BOQ.js} +1 -1
- package/cdn/chunks/chunk.5LGTKAEH.js +1 -0
- package/cdn/chunks/{chunk.6T73D5OE.js → chunk.6742DB6S.js} +1 -1
- package/cdn/chunks/{chunk.RYPVSVQS.js → chunk.A3VT7PRV.js} +1 -1
- package/cdn/chunks/{chunk.IUL3BHES.js → chunk.A6ONELGL.js} +1 -1
- package/cdn/chunks/{chunk.C2RXDH23.js → chunk.BGPEAUGS.js} +1 -1
- package/cdn/chunks/{chunk.3EUMG6CL.js → chunk.BGVJGNK6.js} +1 -1
- package/cdn/chunks/{chunk.ZRRFT6U7.js → chunk.C2O5YUUX.js} +1 -1
- package/cdn/chunks/{chunk.YVZPSF4R.js → chunk.E6NMJF5G.js} +1 -1
- package/cdn/chunks/{chunk.J35PXB2V.js → chunk.ECJF6Z7E.js} +1 -1
- package/cdn/chunks/{chunk.5OTOOMMJ.js → chunk.ES47SAMT.js} +1 -1
- package/cdn/chunks/{chunk.VVTMOSN2.js → chunk.HRYXB4XS.js} +1 -1
- package/cdn/chunks/{chunk.TRVVBQVV.js → chunk.HWMGGAZX.js} +1 -1
- package/cdn/chunks/{chunk.XSSNRCMY.js → chunk.HYHJFQIK.js} +1 -1
- package/cdn/chunks/{chunk.STH7HATQ.js → chunk.IDEOYEH5.js} +1 -1
- package/cdn/chunks/{chunk.NTFNGAOW.js → chunk.IKCSY3XB.js} +1 -1
- package/cdn/chunks/{chunk.OI4TZZJC.js → chunk.IMGO3QPH.js} +1 -1
- package/cdn/chunks/{chunk.YUNTZWZZ.js → chunk.JMVPFP5H.js} +1 -1
- package/cdn/chunks/{chunk.ITURS4YZ.js → chunk.JWREYUSA.js} +1 -1
- package/cdn/chunks/{chunk.QCISI32Q.js → chunk.LHATWPOI.js} +1 -1
- package/cdn/chunks/{chunk.XGNJKW3A.js → chunk.LNO6JIJZ.js} +1 -1
- package/cdn/chunks/{chunk.KDTLVKSZ.js → chunk.LVULGXIL.js} +1 -1
- package/cdn/chunks/{chunk.OQDGIWGZ.js → chunk.LXPQCMG2.js} +1 -1
- package/cdn/chunks/{chunk.QPQZP354.js → chunk.PGJ7OAQD.js} +1 -1
- package/cdn/chunks/{chunk.AMJDSJZ5.js → chunk.QCMKS7IC.js} +1 -1
- package/cdn/chunks/{chunk.SPURF5RT.js → chunk.R2GNM632.js} +1 -1
- package/cdn/chunks/{chunk.V4LKFSOV.js → chunk.RHN4JZ57.js} +1 -1
- package/cdn/chunks/{chunk.U3P5JBYR.js → chunk.RZ7KQST2.js} +1 -1
- package/cdn/chunks/{chunk.4ZFWIEG2.js → chunk.SFKBJWBF.js} +1 -1
- package/cdn/chunks/{chunk.75Y77XUI.js → chunk.TCUNSFUM.js} +1 -1
- package/cdn/chunks/{chunk.L4UUK6G4.js → chunk.TJCFHB4A.js} +1 -1
- package/cdn/chunks/{chunk.5WAFFOC5.js → chunk.TX6DBCID.js} +1 -1
- package/cdn/chunks/{chunk.BHNAOKFP.js → chunk.UWTWJOLP.js} +1 -1
- package/cdn/chunks/{chunk.RWQ2HCYN.js → chunk.WTHYUTK2.js} +1 -1
- package/cdn/chunks/{chunk.7SJBQWSL.js → chunk.WWILACMK.js} +1 -1
- package/cdn/chunks/{chunk.QY5QOZRE.js → chunk.WWYVN7H6.js} +1 -1
- package/cdn/chunks/{chunk.GRSW4YMQ.js → chunk.XLCQOQ4X.js} +1 -1
- package/cdn/chunks/{chunk.63YZ2OGJ.js → chunk.XOO5JJXI.js} +1 -1
- package/cdn/chunks/chunk.ZPHZCJBG.js +1 -0
- package/cdn/chunks/{chunk.NYIRGEA7.js → chunk.ZSA2RXCN.js} +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/color-picker/color-picker.js +1 -1
- package/cdn/components/comparer/comparer.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/details/details.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/dropdown-item/dropdown-item.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +1 -1
- package/cdn/components/format-date/format-date.js +1 -1
- package/cdn/components/format-number/format-number.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/qr-code/qr-code.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/rating/rating.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/scroller/scroller.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +245 -245
- package/cdn/placer.js +1 -1
- package/cdn/styles/palette/base.css +35 -35
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/bg.js +1 -1
- package/cdn/translations/bn.js +1 -1
- package/cdn/translations/bs.js +1 -1
- package/cdn/translations/ca.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/cy.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-at.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/el.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es-es.js +1 -1
- package/cdn/translations/es.js +1 -1
- package/cdn/translations/et.js +1 -1
- package/cdn/translations/eu.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fil.js +1 -1
- package/cdn/translations/fo.js +1 -1
- package/cdn/translations/fr-ca.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/ga.js +1 -1
- package/cdn/translations/gu.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hi.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/index.js +1 -1
- package/cdn/translations/is.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/ko.js +1 -1
- package/cdn/translations/lb.js +1 -1
- package/cdn/translations/lo.js +1 -1
- package/cdn/translations/lt.js +1 -1
- package/cdn/translations/lv.js +1 -1
- package/cdn/translations/mr.js +1 -1
- package/cdn/translations/ms.js +1 -1
- package/cdn/translations/mt.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl-be.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pa-guru.js +1 -1
- package/cdn/translations/pa.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/ps.js +1 -1
- package/cdn/translations/pt-br.js +1 -1
- package/cdn/translations/pt-pt.js +1 -1
- package/cdn/translations/pt.js +1 -1
- package/cdn/translations/ro.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sk.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sq.js +1 -1
- package/cdn/translations/sr.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/sw.js +1 -1
- package/cdn/translations/te.js +1 -1
- package/cdn/translations/th.js +1 -1
- package/cdn/translations/tl.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/ur.js +1 -1
- package/cdn/translations/vi.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-hk.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/dist/components/color-picker/color-picker.js +2 -2
- package/dist/components/comparer/comparer.js +2 -2
- package/dist/components/copy-button/copy-button.js +2 -2
- package/dist/components/details/details.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/dropdown-item/dropdown-item.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/rating/rating.js +2 -2
- package/dist/components/scroller/scroller.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +957 -957
- package/dist/placer.js +2 -2
- package/dist/styles/palette/base.css +35 -35
- package/dist/translations/ar.js +6 -571
- package/dist/translations/bg.js +6 -571
- package/dist/translations/bn.js +6 -571
- package/dist/translations/bs.js +6 -571
- package/dist/translations/ca.js +6 -571
- package/dist/translations/cs.js +6 -571
- package/dist/translations/cy.js +6 -571
- package/dist/translations/da.js +6 -571
- package/dist/translations/de-at.js +6 -571
- package/dist/translations/de-ch.js +6 -571
- package/dist/translations/de.js +6 -571
- package/dist/translations/el.js +6 -571
- package/dist/translations/en-gb.js +6 -571
- package/dist/translations/en.js +6 -571
- package/dist/translations/es-es.js +6 -571
- package/dist/translations/es.js +6 -571
- package/dist/translations/et.js +6 -571
- package/dist/translations/eu.js +6 -571
- package/dist/translations/fa.js +6 -571
- package/dist/translations/fi.js +6 -571
- package/dist/translations/fil.js +6 -571
- package/dist/translations/fo.js +6 -571
- package/dist/translations/fr-ca.js +6 -571
- package/dist/translations/fr.js +6 -571
- package/dist/translations/ga.js +6 -571
- package/dist/translations/gu.js +6 -571
- package/dist/translations/he.js +6 -571
- package/dist/translations/hi.js +6 -571
- package/dist/translations/hr.js +6 -571
- package/dist/translations/hu.js +6 -571
- package/dist/translations/id.js +6 -571
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.js +7 -572
- package/dist/translations/is.js +6 -571
- package/dist/translations/it.js +6 -571
- package/dist/translations/ja.js +6 -571
- package/dist/translations/ko.js +6 -571
- package/dist/translations/lb.js +6 -571
- package/dist/translations/lo.js +6 -571
- package/dist/translations/lt.js +6 -571
- package/dist/translations/lv.js +6 -571
- package/dist/translations/mr.js +6 -571
- package/dist/translations/ms.js +6 -571
- package/dist/translations/mt.js +6 -571
- package/dist/translations/nb.js +6 -571
- package/dist/translations/nl-be.js +6 -571
- package/dist/translations/nl.js +6 -571
- package/dist/translations/nn.js +6 -571
- package/dist/translations/pa-guru.js +6 -571
- package/dist/translations/pa.js +6 -571
- package/dist/translations/pl.js +6 -571
- package/dist/translations/ps.js +6 -571
- package/dist/translations/pt-br.js +6 -571
- package/dist/translations/pt-pt.js +6 -571
- package/dist/translations/pt.js +6 -571
- package/dist/translations/ro.js +6 -571
- package/dist/translations/ru.js +6 -571
- package/dist/translations/sk.js +6 -571
- package/dist/translations/sl.js +6 -571
- package/dist/translations/sq.js +6 -571
- package/dist/translations/sr.js +6 -571
- package/dist/translations/sv.js +6 -571
- package/dist/translations/sw.js +6 -571
- package/dist/translations/te.js +6 -571
- package/dist/translations/th.js +6 -571
- package/dist/translations/tl.js +6 -571
- package/dist/translations/tr.js +6 -571
- package/dist/translations/uk.js +6 -571
- package/dist/translations/ur.js +6 -571
- package/dist/translations/vi.js +6 -571
- package/dist/translations/zh-cn.js +6 -571
- package/dist/translations/zh-hk.js +6 -571
- package/dist/translations/zh-tw.js +6 -571
- package/dist/utilities/localize.js +7 -572
- package/package.json +12 -5
- package/cdn/chunks/chunk.E4QLFQIH.js +0 -1
- package/cdn/chunks/chunk.ZY64ASSW.js +0 -1
|
@@ -2,6 +2,141 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": ".js",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "PcBadge",
|
|
13
|
+
"cssParts": [
|
|
14
|
+
{
|
|
15
|
+
"description": "The component’s base wrapper.",
|
|
16
|
+
"name": "base"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"slots": [
|
|
20
|
+
{
|
|
21
|
+
"description": "The badge’s content.",
|
|
22
|
+
"name": ""
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"members": [
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "appearance",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "| \"primary\"\n | \"success\"\n | \"neutral\"\n | \"warning\"\n | \"danger\""
|
|
31
|
+
},
|
|
32
|
+
"default": "\"primary\"",
|
|
33
|
+
"description": "The badge’s appearance.",
|
|
34
|
+
"attribute": "appearance",
|
|
35
|
+
"reflects": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"kind": "field",
|
|
39
|
+
"name": "variant",
|
|
40
|
+
"type": {
|
|
41
|
+
"text": "\"accent\" | \"filled\" | \"outlined\""
|
|
42
|
+
},
|
|
43
|
+
"default": "\"accent\"",
|
|
44
|
+
"description": "The badge’s variant.",
|
|
45
|
+
"attribute": "variant",
|
|
46
|
+
"reflects": true
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "field",
|
|
50
|
+
"name": "rounded",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"default": "false",
|
|
55
|
+
"description": "Gives the badge a rounded rectangle shape.",
|
|
56
|
+
"attribute": "rounded",
|
|
57
|
+
"reflects": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "pulse",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"default": "false",
|
|
66
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
67
|
+
"attribute": "pulse",
|
|
68
|
+
"reflects": true
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"attributes": [
|
|
72
|
+
{
|
|
73
|
+
"name": "appearance",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "| \"primary\"\n | \"success\"\n | \"neutral\"\n | \"warning\"\n | \"danger\""
|
|
76
|
+
},
|
|
77
|
+
"default": "\"primary\"",
|
|
78
|
+
"description": "The badge’s appearance.",
|
|
79
|
+
"fieldName": "appearance"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "variant",
|
|
83
|
+
"type": {
|
|
84
|
+
"text": "\"accent\" | \"filled\" | \"outlined\""
|
|
85
|
+
},
|
|
86
|
+
"default": "\"accent\"",
|
|
87
|
+
"description": "The badge’s variant.",
|
|
88
|
+
"fieldName": "variant"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "rounded",
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"default": "false",
|
|
96
|
+
"description": "Gives the badge a rounded rectangle shape.",
|
|
97
|
+
"fieldName": "rounded"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "pulse",
|
|
101
|
+
"type": {
|
|
102
|
+
"text": "boolean"
|
|
103
|
+
},
|
|
104
|
+
"default": "false",
|
|
105
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
106
|
+
"fieldName": "pulse"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"superclass": {
|
|
110
|
+
"name": "PlacerElement",
|
|
111
|
+
"module": "/src/internal/placer-element.js"
|
|
112
|
+
},
|
|
113
|
+
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
114
|
+
"jsDoc": "/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @status experimental\n * @since 0.1.0\n *\n * @slot - The badge’s content.\n *\n * @csspart base - The component’s base wrapper.\n */",
|
|
115
|
+
"status": "experimental",
|
|
116
|
+
"since": "0.1.0",
|
|
117
|
+
"tagName": "pc-badge",
|
|
118
|
+
"customElement": true
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"exports": [
|
|
122
|
+
{
|
|
123
|
+
"kind": "js",
|
|
124
|
+
"name": "PcBadge",
|
|
125
|
+
"declaration": {
|
|
126
|
+
"name": "PcBadge",
|
|
127
|
+
"module": ".js"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "custom-element-definition",
|
|
132
|
+
"name": "pc-badge",
|
|
133
|
+
"declaration": {
|
|
134
|
+
"name": "PcBadge",
|
|
135
|
+
"module": ".js"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
5
140
|
{
|
|
6
141
|
"kind": "javascript-module",
|
|
7
142
|
"path": ".js",
|
|
@@ -202,222 +337,87 @@
|
|
|
202
337
|
{
|
|
203
338
|
"kind": "class",
|
|
204
339
|
"description": "",
|
|
205
|
-
"name": "
|
|
206
|
-
"cssParts": [
|
|
207
|
-
{
|
|
208
|
-
"description": "The component’s base wrapper.",
|
|
209
|
-
"name": "base"
|
|
210
|
-
}
|
|
211
|
-
],
|
|
340
|
+
"name": "PcAnimation",
|
|
212
341
|
"slots": [
|
|
213
342
|
{
|
|
214
|
-
"description": "The
|
|
343
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<pc-animation>` elements.",
|
|
215
344
|
"name": ""
|
|
216
345
|
}
|
|
217
346
|
],
|
|
218
347
|
"members": [
|
|
219
348
|
{
|
|
220
349
|
"kind": "field",
|
|
221
|
-
"name": "
|
|
350
|
+
"name": "animation",
|
|
222
351
|
"type": {
|
|
223
|
-
"text": "
|
|
352
|
+
"text": "Animation | undefined"
|
|
224
353
|
},
|
|
225
|
-
"
|
|
226
|
-
"description": "The badge’s appearance.",
|
|
227
|
-
"attribute": "appearance",
|
|
228
|
-
"reflects": true
|
|
354
|
+
"privacy": "private"
|
|
229
355
|
},
|
|
230
356
|
{
|
|
231
357
|
"kind": "field",
|
|
232
|
-
"name": "
|
|
358
|
+
"name": "hasStarted",
|
|
233
359
|
"type": {
|
|
234
|
-
"text": "
|
|
360
|
+
"text": "boolean"
|
|
235
361
|
},
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"attribute": "variant",
|
|
239
|
-
"reflects": true
|
|
362
|
+
"privacy": "private",
|
|
363
|
+
"default": "false"
|
|
240
364
|
},
|
|
241
365
|
{
|
|
242
366
|
"kind": "field",
|
|
243
|
-
"name": "
|
|
367
|
+
"name": "name",
|
|
244
368
|
"type": {
|
|
245
|
-
"text": "
|
|
369
|
+
"text": "string"
|
|
246
370
|
},
|
|
247
|
-
"default": "
|
|
248
|
-
"description": "
|
|
249
|
-
"attribute": "
|
|
250
|
-
"reflects": true
|
|
371
|
+
"default": "\"none\"",
|
|
372
|
+
"description": "The name of the built‐in animation to use. For custom animations, use the `keyframes` prop.",
|
|
373
|
+
"attribute": "name"
|
|
251
374
|
},
|
|
252
375
|
{
|
|
253
376
|
"kind": "field",
|
|
254
|
-
"name": "
|
|
377
|
+
"name": "play",
|
|
255
378
|
"type": {
|
|
256
379
|
"text": "boolean"
|
|
257
380
|
},
|
|
258
381
|
"default": "false",
|
|
259
|
-
"description": "
|
|
260
|
-
"attribute": "
|
|
382
|
+
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when the animation finishes or gets cancelled.",
|
|
383
|
+
"attribute": "play",
|
|
261
384
|
"reflects": true
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"attributes": [
|
|
385
|
+
},
|
|
265
386
|
{
|
|
266
|
-
"
|
|
387
|
+
"kind": "field",
|
|
388
|
+
"name": "delay",
|
|
267
389
|
"type": {
|
|
268
|
-
"text": "
|
|
390
|
+
"text": "number"
|
|
269
391
|
},
|
|
270
|
-
"default": "
|
|
271
|
-
"description": "The
|
|
272
|
-
"
|
|
392
|
+
"default": "0",
|
|
393
|
+
"description": "The number of milliseconds to delay the start of the animation.",
|
|
394
|
+
"attribute": "delay"
|
|
273
395
|
},
|
|
274
396
|
{
|
|
275
|
-
"
|
|
397
|
+
"kind": "field",
|
|
398
|
+
"name": "direction",
|
|
276
399
|
"type": {
|
|
277
|
-
"text": "
|
|
400
|
+
"text": "PlaybackDirection"
|
|
278
401
|
},
|
|
279
|
-
"default": "\"
|
|
280
|
-
"description": "
|
|
281
|
-
"
|
|
402
|
+
"default": "\"normal\"",
|
|
403
|
+
"description": "Determines the direction of playback as well as the behaviour when reaching the end of an iteration. Learn more about the CSS [`animation-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction) property.",
|
|
404
|
+
"attribute": "direction"
|
|
282
405
|
},
|
|
283
406
|
{
|
|
284
|
-
"
|
|
407
|
+
"kind": "field",
|
|
408
|
+
"name": "duration",
|
|
285
409
|
"type": {
|
|
286
|
-
"text": "
|
|
410
|
+
"text": "number"
|
|
287
411
|
},
|
|
288
|
-
"default": "
|
|
289
|
-
"description": "
|
|
290
|
-
"
|
|
412
|
+
"default": "1000",
|
|
413
|
+
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
414
|
+
"attribute": "duration"
|
|
291
415
|
},
|
|
292
416
|
{
|
|
293
|
-
"
|
|
417
|
+
"kind": "field",
|
|
418
|
+
"name": "easing",
|
|
294
419
|
"type": {
|
|
295
|
-
"text": "
|
|
296
|
-
},
|
|
297
|
-
"default": "false",
|
|
298
|
-
"description": "Makes the badge pulsate to draw attention.",
|
|
299
|
-
"fieldName": "pulse"
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
"superclass": {
|
|
303
|
-
"name": "PlacerElement",
|
|
304
|
-
"module": "/src/internal/placer-element.js"
|
|
305
|
-
},
|
|
306
|
-
"summary": "Badges are used to draw attention and display statuses or counts.",
|
|
307
|
-
"jsDoc": "/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @status experimental\n * @since 0.1.0\n *\n * @slot - The badge’s content.\n *\n * @csspart base - The component’s base wrapper.\n */",
|
|
308
|
-
"status": "experimental",
|
|
309
|
-
"since": "0.1.0",
|
|
310
|
-
"tagName": "pc-badge",
|
|
311
|
-
"customElement": true
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
"exports": [
|
|
315
|
-
{
|
|
316
|
-
"kind": "js",
|
|
317
|
-
"name": "PcBadge",
|
|
318
|
-
"declaration": {
|
|
319
|
-
"name": "PcBadge",
|
|
320
|
-
"module": ".js"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"kind": "custom-element-definition",
|
|
325
|
-
"name": "pc-badge",
|
|
326
|
-
"declaration": {
|
|
327
|
-
"name": "PcBadge",
|
|
328
|
-
"module": ".js"
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "javascript-module",
|
|
335
|
-
"path": ".js",
|
|
336
|
-
"declarations": [
|
|
337
|
-
{
|
|
338
|
-
"kind": "class",
|
|
339
|
-
"description": "",
|
|
340
|
-
"name": "PcAnimation",
|
|
341
|
-
"slots": [
|
|
342
|
-
{
|
|
343
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<pc-animation>` elements.",
|
|
344
|
-
"name": ""
|
|
345
|
-
}
|
|
346
|
-
],
|
|
347
|
-
"members": [
|
|
348
|
-
{
|
|
349
|
-
"kind": "field",
|
|
350
|
-
"name": "animation",
|
|
351
|
-
"type": {
|
|
352
|
-
"text": "Animation | undefined"
|
|
353
|
-
},
|
|
354
|
-
"privacy": "private"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"kind": "field",
|
|
358
|
-
"name": "hasStarted",
|
|
359
|
-
"type": {
|
|
360
|
-
"text": "boolean"
|
|
361
|
-
},
|
|
362
|
-
"privacy": "private",
|
|
363
|
-
"default": "false"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "field",
|
|
367
|
-
"name": "name",
|
|
368
|
-
"type": {
|
|
369
|
-
"text": "string"
|
|
370
|
-
},
|
|
371
|
-
"default": "\"none\"",
|
|
372
|
-
"description": "The name of the built‐in animation to use. For custom animations, use the `keyframes` prop.",
|
|
373
|
-
"attribute": "name"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"kind": "field",
|
|
377
|
-
"name": "play",
|
|
378
|
-
"type": {
|
|
379
|
-
"text": "boolean"
|
|
380
|
-
},
|
|
381
|
-
"default": "false",
|
|
382
|
-
"description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when the animation finishes or gets cancelled.",
|
|
383
|
-
"attribute": "play",
|
|
384
|
-
"reflects": true
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"kind": "field",
|
|
388
|
-
"name": "delay",
|
|
389
|
-
"type": {
|
|
390
|
-
"text": "number"
|
|
391
|
-
},
|
|
392
|
-
"default": "0",
|
|
393
|
-
"description": "The number of milliseconds to delay the start of the animation.",
|
|
394
|
-
"attribute": "delay"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"kind": "field",
|
|
398
|
-
"name": "direction",
|
|
399
|
-
"type": {
|
|
400
|
-
"text": "PlaybackDirection"
|
|
401
|
-
},
|
|
402
|
-
"default": "\"normal\"",
|
|
403
|
-
"description": "Determines the direction of playback as well as the behaviour when reaching the end of an iteration. Learn more about the CSS [`animation-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction) property.",
|
|
404
|
-
"attribute": "direction"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"kind": "field",
|
|
408
|
-
"name": "duration",
|
|
409
|
-
"type": {
|
|
410
|
-
"text": "number"
|
|
411
|
-
},
|
|
412
|
-
"default": "1000",
|
|
413
|
-
"description": "The number of milliseconds each iteration of the animation takes to complete.",
|
|
414
|
-
"attribute": "duration"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "field",
|
|
418
|
-
"name": "easing",
|
|
419
|
-
"type": {
|
|
420
|
-
"text": "string"
|
|
420
|
+
"text": "string"
|
|
421
421
|
},
|
|
422
422
|
"default": "\"ease-in-out\"",
|
|
423
423
|
"description": "The easing function to use for the animation. This can be an easing function name like `easeInSine` or a custom easing function like `cubic-bezier(0.12, 0, 0.39, 0)`.",
|
|
@@ -1392,6 +1392,123 @@
|
|
|
1392
1392
|
}
|
|
1393
1393
|
]
|
|
1394
1394
|
},
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "javascript-module",
|
|
1397
|
+
"path": ".js",
|
|
1398
|
+
"declarations": [
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "class",
|
|
1401
|
+
"description": "",
|
|
1402
|
+
"name": "PcCard",
|
|
1403
|
+
"cssProperties": [
|
|
1404
|
+
{
|
|
1405
|
+
"name": "--spacing",
|
|
1406
|
+
"description": "The amount of space around and between sections of the card.",
|
|
1407
|
+
"default": "var(--pc-spacing-l)"
|
|
1408
|
+
}
|
|
1409
|
+
],
|
|
1410
|
+
"cssParts": [
|
|
1411
|
+
{
|
|
1412
|
+
"description": "The component’s base wrapper.",
|
|
1413
|
+
"name": "base"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"description": "The container that wraps the card’s media.",
|
|
1417
|
+
"name": "media"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"description": "The container that wraps the card’s header.",
|
|
1421
|
+
"name": "header"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"description": "The container that wraps the card’s main content.",
|
|
1425
|
+
"name": "body"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"description": "The container that wraps the card’s footer.",
|
|
1429
|
+
"name": "footer"
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
"slots": [
|
|
1433
|
+
{
|
|
1434
|
+
"description": "The card’s main content.",
|
|
1435
|
+
"name": ""
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"description": "An optional media section to render at the start of the card.",
|
|
1439
|
+
"name": "media"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"description": "An optional header for the card.",
|
|
1443
|
+
"name": "header"
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"description": "An optional footer for the card.",
|
|
1447
|
+
"name": "footer"
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
"members": [
|
|
1451
|
+
{
|
|
1452
|
+
"kind": "field",
|
|
1453
|
+
"name": "hasSlotController",
|
|
1454
|
+
"privacy": "private",
|
|
1455
|
+
"readonly": true,
|
|
1456
|
+
"default": "new HasSlotController( this, \"media\", \"header\", \"footer\", )"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"kind": "field",
|
|
1460
|
+
"name": "variant",
|
|
1461
|
+
"type": {
|
|
1462
|
+
"text": "| \"accent\"\n | \"filled\"\n | \"outlined\"\n | \"plain\""
|
|
1463
|
+
},
|
|
1464
|
+
"default": "\"outlined\"",
|
|
1465
|
+
"description": "The card’s variant.",
|
|
1466
|
+
"attribute": "variant",
|
|
1467
|
+
"reflects": true
|
|
1468
|
+
}
|
|
1469
|
+
],
|
|
1470
|
+
"attributes": [
|
|
1471
|
+
{
|
|
1472
|
+
"name": "variant",
|
|
1473
|
+
"type": {
|
|
1474
|
+
"text": "| \"accent\"\n | \"filled\"\n | \"outlined\"\n | \"plain\""
|
|
1475
|
+
},
|
|
1476
|
+
"default": "\"outlined\"",
|
|
1477
|
+
"description": "The card’s variant.",
|
|
1478
|
+
"fieldName": "variant"
|
|
1479
|
+
}
|
|
1480
|
+
],
|
|
1481
|
+
"superclass": {
|
|
1482
|
+
"name": "PlacerElement",
|
|
1483
|
+
"module": "/src/internal/placer-element.js"
|
|
1484
|
+
},
|
|
1485
|
+
"summary": "Cards can be used to group related subjects in a container.",
|
|
1486
|
+
"jsDoc": "/**\n * @summary Cards can be used to group related subjects in a container.\n * @status experimental\n * @since 0.1.0\n *\n * @slot - The card’s main content.\n * @slot media - An optional media section to render at the start of the card.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n *\n * @csspart base - The component’s base wrapper.\n * @csspart media - The container that wraps the card’s media.\n * @csspart header - The container that wraps the card’s header.\n * @csspart body - The container that wraps the card’s main content.\n * @csspart footer - The container that wraps the card’s footer.\n *\n * @cssproperty --spacing: var(--pc-spacing-l) - The amount of space around and between sections of the card.\n */",
|
|
1487
|
+
"status": "experimental",
|
|
1488
|
+
"since": "0.1.0",
|
|
1489
|
+
"tagName": "pc-card",
|
|
1490
|
+
"customElement": true
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
"exports": [
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "js",
|
|
1496
|
+
"name": "PcCard",
|
|
1497
|
+
"declaration": {
|
|
1498
|
+
"name": "PcCard",
|
|
1499
|
+
"module": ".js"
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"kind": "custom-element-definition",
|
|
1504
|
+
"name": "pc-card",
|
|
1505
|
+
"declaration": {
|
|
1506
|
+
"name": "PcCard",
|
|
1507
|
+
"module": ".js"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
]
|
|
1511
|
+
},
|
|
1395
1512
|
{
|
|
1396
1513
|
"kind": "javascript-module",
|
|
1397
1514
|
"path": ".js",
|
|
@@ -1526,159 +1643,42 @@
|
|
|
1526
1643
|
{
|
|
1527
1644
|
"kind": "class",
|
|
1528
1645
|
"description": "",
|
|
1529
|
-
"name": "
|
|
1530
|
-
"cssProperties": [
|
|
1531
|
-
{
|
|
1532
|
-
"name": "--spacing",
|
|
1533
|
-
"description": "The amount of space around and between sections of the card.",
|
|
1534
|
-
"default": "var(--pc-spacing-l)"
|
|
1535
|
-
}
|
|
1536
|
-
],
|
|
1646
|
+
"name": "PcCheckbox",
|
|
1537
1647
|
"cssParts": [
|
|
1538
1648
|
{
|
|
1539
1649
|
"description": "The component’s base wrapper.",
|
|
1540
1650
|
"name": "base"
|
|
1541
1651
|
},
|
|
1542
1652
|
{
|
|
1543
|
-
"description": "The container that wraps the
|
|
1544
|
-
"name": "
|
|
1653
|
+
"description": "The container that wraps the checkbox’s state.",
|
|
1654
|
+
"name": "control"
|
|
1545
1655
|
},
|
|
1546
1656
|
{
|
|
1547
|
-
"description": "
|
|
1548
|
-
"name": "
|
|
1657
|
+
"description": "Matches the `control` part when the checkbox is checked.",
|
|
1658
|
+
"name": "checkbox-checked"
|
|
1549
1659
|
},
|
|
1550
1660
|
{
|
|
1551
|
-
"description": "
|
|
1552
|
-
"name": "
|
|
1661
|
+
"description": "Matches the `control` part when the checkbox is indeterminate.",
|
|
1662
|
+
"name": "checkbox-indeterminate"
|
|
1553
1663
|
},
|
|
1554
1664
|
{
|
|
1555
|
-
"description": "The
|
|
1556
|
-
"name": "
|
|
1557
|
-
}
|
|
1558
|
-
],
|
|
1559
|
-
"slots": [
|
|
1560
|
-
{
|
|
1561
|
-
"description": "The card’s main content.",
|
|
1562
|
-
"name": ""
|
|
1665
|
+
"description": "The checked icon, a `<pc-icon>` element.",
|
|
1666
|
+
"name": "icon-checked"
|
|
1563
1667
|
},
|
|
1564
1668
|
{
|
|
1565
|
-
"description": "
|
|
1566
|
-
"name": "
|
|
1669
|
+
"description": "The indeterminate icon, a `<pc-icon>` element.",
|
|
1670
|
+
"name": "icon-indeterminate"
|
|
1567
1671
|
},
|
|
1568
1672
|
{
|
|
1569
|
-
"description": "
|
|
1570
|
-
"name": "
|
|
1673
|
+
"description": "The container that wraps the checkbox’s label.",
|
|
1674
|
+
"name": "label"
|
|
1571
1675
|
},
|
|
1572
1676
|
{
|
|
1573
|
-
"description": "
|
|
1574
|
-
"name": "
|
|
1677
|
+
"description": "The container that wraps the checkbox’s hint.",
|
|
1678
|
+
"name": "hint"
|
|
1575
1679
|
}
|
|
1576
1680
|
],
|
|
1577
|
-
"
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "field",
|
|
1580
|
-
"name": "hasSlotController",
|
|
1581
|
-
"privacy": "private",
|
|
1582
|
-
"readonly": true,
|
|
1583
|
-
"default": "new HasSlotController( this, \"media\", \"header\", \"footer\", )"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "field",
|
|
1587
|
-
"name": "variant",
|
|
1588
|
-
"type": {
|
|
1589
|
-
"text": "| \"accent\"\n | \"filled\"\n | \"outlined\"\n | \"plain\""
|
|
1590
|
-
},
|
|
1591
|
-
"default": "\"outlined\"",
|
|
1592
|
-
"description": "The card’s variant.",
|
|
1593
|
-
"attribute": "variant",
|
|
1594
|
-
"reflects": true
|
|
1595
|
-
}
|
|
1596
|
-
],
|
|
1597
|
-
"attributes": [
|
|
1598
|
-
{
|
|
1599
|
-
"name": "variant",
|
|
1600
|
-
"type": {
|
|
1601
|
-
"text": "| \"accent\"\n | \"filled\"\n | \"outlined\"\n | \"plain\""
|
|
1602
|
-
},
|
|
1603
|
-
"default": "\"outlined\"",
|
|
1604
|
-
"description": "The card’s variant.",
|
|
1605
|
-
"fieldName": "variant"
|
|
1606
|
-
}
|
|
1607
|
-
],
|
|
1608
|
-
"superclass": {
|
|
1609
|
-
"name": "PlacerElement",
|
|
1610
|
-
"module": "/src/internal/placer-element.js"
|
|
1611
|
-
},
|
|
1612
|
-
"summary": "Cards can be used to group related subjects in a container.",
|
|
1613
|
-
"jsDoc": "/**\n * @summary Cards can be used to group related subjects in a container.\n * @status experimental\n * @since 0.1.0\n *\n * @slot - The card’s main content.\n * @slot media - An optional media section to render at the start of the card.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n *\n * @csspart base - The component’s base wrapper.\n * @csspart media - The container that wraps the card’s media.\n * @csspart header - The container that wraps the card’s header.\n * @csspart body - The container that wraps the card’s main content.\n * @csspart footer - The container that wraps the card’s footer.\n *\n * @cssproperty --spacing: var(--pc-spacing-l) - The amount of space around and between sections of the card.\n */",
|
|
1614
|
-
"status": "experimental",
|
|
1615
|
-
"since": "0.1.0",
|
|
1616
|
-
"tagName": "pc-card",
|
|
1617
|
-
"customElement": true
|
|
1618
|
-
}
|
|
1619
|
-
],
|
|
1620
|
-
"exports": [
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "js",
|
|
1623
|
-
"name": "PcCard",
|
|
1624
|
-
"declaration": {
|
|
1625
|
-
"name": "PcCard",
|
|
1626
|
-
"module": ".js"
|
|
1627
|
-
}
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"kind": "custom-element-definition",
|
|
1631
|
-
"name": "pc-card",
|
|
1632
|
-
"declaration": {
|
|
1633
|
-
"name": "PcCard",
|
|
1634
|
-
"module": ".js"
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
]
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"kind": "javascript-module",
|
|
1641
|
-
"path": ".js",
|
|
1642
|
-
"declarations": [
|
|
1643
|
-
{
|
|
1644
|
-
"kind": "class",
|
|
1645
|
-
"description": "",
|
|
1646
|
-
"name": "PcCheckbox",
|
|
1647
|
-
"cssParts": [
|
|
1648
|
-
{
|
|
1649
|
-
"description": "The component’s base wrapper.",
|
|
1650
|
-
"name": "base"
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"description": "The container that wraps the checkbox’s state.",
|
|
1654
|
-
"name": "control"
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"description": "Matches the `control` part when the checkbox is checked.",
|
|
1658
|
-
"name": "checkbox-checked"
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
"description": "Matches the `control` part when the checkbox is indeterminate.",
|
|
1662
|
-
"name": "checkbox-indeterminate"
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"description": "The checked icon, a `<pc-icon>` element.",
|
|
1666
|
-
"name": "icon-checked"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"description": "The indeterminate icon, a `<pc-icon>` element.",
|
|
1670
|
-
"name": "icon-indeterminate"
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"description": "The container that wraps the checkbox’s label.",
|
|
1674
|
-
"name": "label"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"description": "The container that wraps the checkbox’s hint.",
|
|
1678
|
-
"name": "hint"
|
|
1679
|
-
}
|
|
1680
|
-
],
|
|
1681
|
-
"slots": [
|
|
1681
|
+
"slots": [
|
|
1682
1682
|
{
|
|
1683
1683
|
"description": "The checkbox’s label.",
|
|
1684
1684
|
"name": ""
|
|
@@ -5739,261 +5739,238 @@
|
|
|
5739
5739
|
{
|
|
5740
5740
|
"kind": "class",
|
|
5741
5741
|
"description": "",
|
|
5742
|
-
"name": "
|
|
5743
|
-
"
|
|
5742
|
+
"name": "PcIcon",
|
|
5743
|
+
"cssProperties": [
|
|
5744
5744
|
{
|
|
5745
|
-
"
|
|
5746
|
-
"
|
|
5747
|
-
"
|
|
5748
|
-
"readonly": true,
|
|
5749
|
-
"default": "new LocalizeController(this)"
|
|
5745
|
+
"name": "--fa-primary-color",
|
|
5746
|
+
"description": "The primary colour for the primary layer in duotone icons.",
|
|
5747
|
+
"default": "currentColor"
|
|
5750
5748
|
},
|
|
5751
5749
|
{
|
|
5752
|
-
"
|
|
5753
|
-
"
|
|
5754
|
-
"
|
|
5755
|
-
"text": "number"
|
|
5756
|
-
},
|
|
5757
|
-
"default": "0",
|
|
5758
|
-
"description": "The number to format.",
|
|
5759
|
-
"attribute": "value"
|
|
5750
|
+
"name": "--fa-secondary-color",
|
|
5751
|
+
"description": "The secondary colour for the secondary layer in duotone icons.",
|
|
5752
|
+
"default": "currentColor"
|
|
5760
5753
|
},
|
|
5761
5754
|
{
|
|
5762
|
-
"
|
|
5763
|
-
"
|
|
5764
|
-
"
|
|
5765
|
-
"text": "\"currency\" | \"decimal\" | \"percent\""
|
|
5766
|
-
},
|
|
5767
|
-
"default": "\"decimal\"",
|
|
5768
|
-
"description": "The formatting style to use.",
|
|
5769
|
-
"attribute": "type"
|
|
5755
|
+
"name": "--fa-primary-opacity",
|
|
5756
|
+
"description": "The primary opacity for the primary layer in duotone icons.",
|
|
5757
|
+
"default": "1"
|
|
5770
5758
|
},
|
|
5771
5759
|
{
|
|
5772
|
-
"
|
|
5773
|
-
"
|
|
5774
|
-
"
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
"
|
|
5760
|
+
"name": "--fa-secondary-opacity",
|
|
5761
|
+
"description": "The secondary opacity for the secondary layer in duotone icons.",
|
|
5762
|
+
"default": "0.4"
|
|
5763
|
+
}
|
|
5764
|
+
],
|
|
5765
|
+
"cssParts": [
|
|
5766
|
+
{
|
|
5767
|
+
"description": "The component’s internal SVG element.",
|
|
5768
|
+
"name": "svg"
|
|
5780
5769
|
},
|
|
5770
|
+
{
|
|
5771
|
+
"description": "The `<use>` element generated when using `spriteSheet: true`.",
|
|
5772
|
+
"name": "use"
|
|
5773
|
+
}
|
|
5774
|
+
],
|
|
5775
|
+
"members": [
|
|
5781
5776
|
{
|
|
5782
5777
|
"kind": "field",
|
|
5783
|
-
"name": "
|
|
5778
|
+
"name": "svg",
|
|
5784
5779
|
"type": {
|
|
5785
|
-
"text": "
|
|
5780
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
5786
5781
|
},
|
|
5787
|
-
"
|
|
5788
|
-
"
|
|
5789
|
-
"attribute": "currency"
|
|
5782
|
+
"privacy": "private",
|
|
5783
|
+
"default": "null"
|
|
5790
5784
|
},
|
|
5791
5785
|
{
|
|
5792
5786
|
"kind": "field",
|
|
5793
|
-
"name": "
|
|
5787
|
+
"name": "name",
|
|
5794
5788
|
"type": {
|
|
5795
|
-
"text": "
|
|
5789
|
+
"text": "string | undefined"
|
|
5796
5790
|
},
|
|
5797
|
-
"
|
|
5798
|
-
"
|
|
5799
|
-
"
|
|
5791
|
+
"description": "The name of the icon to render. Available names depend on the icon library being used.",
|
|
5792
|
+
"attribute": "name",
|
|
5793
|
+
"reflects": true
|
|
5800
5794
|
},
|
|
5801
5795
|
{
|
|
5802
5796
|
"kind": "field",
|
|
5803
|
-
"name": "
|
|
5797
|
+
"name": "iconStyle",
|
|
5804
5798
|
"type": {
|
|
5805
|
-
"text": "
|
|
5799
|
+
"text": "string"
|
|
5806
5800
|
},
|
|
5807
|
-
"
|
|
5808
|
-
"
|
|
5801
|
+
"default": "\"solid\"",
|
|
5802
|
+
"description": "The icon style to use for the icon. If not configured, this only works for the default icon library.",
|
|
5803
|
+
"attribute": "icon-style",
|
|
5804
|
+
"reflects": true
|
|
5809
5805
|
},
|
|
5810
5806
|
{
|
|
5811
5807
|
"kind": "field",
|
|
5812
|
-
"name": "
|
|
5808
|
+
"name": "autoWidth",
|
|
5813
5809
|
"type": {
|
|
5814
|
-
"text": "
|
|
5810
|
+
"text": "boolean"
|
|
5815
5811
|
},
|
|
5816
|
-
"
|
|
5817
|
-
"
|
|
5812
|
+
"default": "false",
|
|
5813
|
+
"description": "Sets the width of the icon to match the cropped SVG viewBox. This operates like the Font Awesome `fa-width-auto` class.",
|
|
5814
|
+
"attribute": "auto-width",
|
|
5815
|
+
"reflects": true
|
|
5818
5816
|
},
|
|
5819
5817
|
{
|
|
5820
5818
|
"kind": "field",
|
|
5821
|
-
"name": "
|
|
5819
|
+
"name": "swapOpacity",
|
|
5822
5820
|
"type": {
|
|
5823
|
-
"text": "
|
|
5821
|
+
"text": "boolean"
|
|
5824
5822
|
},
|
|
5825
|
-
"
|
|
5826
|
-
"
|
|
5823
|
+
"default": "false",
|
|
5824
|
+
"description": "Swaps the opacity of duotone icons. Has no effect on custom icon libraries.",
|
|
5825
|
+
"attribute": "swap-opacity",
|
|
5826
|
+
"reflects": true
|
|
5827
5827
|
},
|
|
5828
5828
|
{
|
|
5829
5829
|
"kind": "field",
|
|
5830
|
-
"name": "
|
|
5830
|
+
"name": "src",
|
|
5831
5831
|
"type": {
|
|
5832
|
-
"text": "
|
|
5832
|
+
"text": "string | undefined"
|
|
5833
5833
|
},
|
|
5834
|
-
"description": "The
|
|
5835
|
-
"attribute": "
|
|
5834
|
+
"description": "The external URL of an SVG file. Make sure you trust the content you are included, as it will be executed as code and can result in XSS attacks.",
|
|
5835
|
+
"attribute": "src"
|
|
5836
5836
|
},
|
|
5837
5837
|
{
|
|
5838
5838
|
"kind": "field",
|
|
5839
|
-
"name": "
|
|
5839
|
+
"name": "label",
|
|
5840
5840
|
"type": {
|
|
5841
|
-
"text": "
|
|
5841
|
+
"text": "string"
|
|
5842
5842
|
},
|
|
5843
|
-
"
|
|
5844
|
-
"
|
|
5843
|
+
"default": "\"\"",
|
|
5844
|
+
"description": "A label to include for assistive devices. If omitted, the icon will be considered presentational and ignored by assistive devices.",
|
|
5845
|
+
"attribute": "label"
|
|
5845
5846
|
},
|
|
5846
5847
|
{
|
|
5847
5848
|
"kind": "field",
|
|
5848
|
-
"name": "
|
|
5849
|
+
"name": "library",
|
|
5849
5850
|
"type": {
|
|
5850
|
-
"text": "
|
|
5851
|
+
"text": "string"
|
|
5851
5852
|
},
|
|
5852
|
-
"default": "
|
|
5853
|
-
"description": "
|
|
5854
|
-
"attribute": "
|
|
5853
|
+
"default": "\"default\"",
|
|
5854
|
+
"description": "The name of a registered icon library.",
|
|
5855
|
+
"attribute": "library",
|
|
5856
|
+
"reflects": true
|
|
5855
5857
|
},
|
|
5856
5858
|
{
|
|
5857
5859
|
"kind": "method",
|
|
5858
|
-
"name": "
|
|
5860
|
+
"name": "getIconSource",
|
|
5859
5861
|
"privacy": "private",
|
|
5860
5862
|
"return": {
|
|
5861
5863
|
"type": {
|
|
5862
|
-
"text": "
|
|
5863
|
-
}
|
|
5864
|
-
},
|
|
5865
|
-
"parameters": [
|
|
5866
|
-
{
|
|
5867
|
-
"name": "value",
|
|
5868
|
-
"type": {
|
|
5869
|
-
"text": "number"
|
|
5870
|
-
}
|
|
5864
|
+
"text": "IconSource"
|
|
5871
5865
|
}
|
|
5872
|
-
|
|
5866
|
+
}
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
"kind": "field",
|
|
5870
|
+
"name": "resolveIcon",
|
|
5871
|
+
"privacy": "private",
|
|
5872
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error icon."
|
|
5873
5873
|
}
|
|
5874
5874
|
],
|
|
5875
|
-
"
|
|
5875
|
+
"events": [
|
|
5876
5876
|
{
|
|
5877
|
-
"
|
|
5878
|
-
"
|
|
5879
|
-
"text": "number"
|
|
5880
|
-
},
|
|
5881
|
-
"default": "0",
|
|
5882
|
-
"description": "The number to format.",
|
|
5883
|
-
"fieldName": "value"
|
|
5877
|
+
"description": "Emitted when the icon has loaded. When using `spriteSheet: true`, this will not emit.",
|
|
5878
|
+
"name": "pc-load"
|
|
5884
5879
|
},
|
|
5885
5880
|
{
|
|
5886
|
-
"
|
|
5887
|
-
"
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
"description": "The formatting style to use.",
|
|
5892
|
-
"fieldName": "type"
|
|
5893
|
-
},
|
|
5881
|
+
"description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true`, this will not emit.",
|
|
5882
|
+
"name": "pc-error"
|
|
5883
|
+
}
|
|
5884
|
+
],
|
|
5885
|
+
"attributes": [
|
|
5894
5886
|
{
|
|
5895
|
-
"name": "
|
|
5887
|
+
"name": "name",
|
|
5896
5888
|
"type": {
|
|
5897
|
-
"text": "
|
|
5889
|
+
"text": "string | undefined"
|
|
5898
5890
|
},
|
|
5899
|
-
"
|
|
5900
|
-
"
|
|
5901
|
-
"fieldName": "withoutGrouping"
|
|
5891
|
+
"description": "The name of the icon to render. Available names depend on the icon library being used.",
|
|
5892
|
+
"fieldName": "name"
|
|
5902
5893
|
},
|
|
5903
5894
|
{
|
|
5904
|
-
"name": "
|
|
5895
|
+
"name": "icon-style",
|
|
5905
5896
|
"type": {
|
|
5906
5897
|
"text": "string"
|
|
5907
5898
|
},
|
|
5908
|
-
"default": "\"
|
|
5909
|
-
"description": "The
|
|
5910
|
-
"fieldName": "
|
|
5911
|
-
},
|
|
5912
|
-
{
|
|
5913
|
-
"name": "currency-display",
|
|
5914
|
-
"type": {
|
|
5915
|
-
"text": "| \"symbol\"\n | \"narrowSymbol\"\n | \"code\"\n | \"name\""
|
|
5916
|
-
},
|
|
5917
|
-
"default": "\"symbol\"",
|
|
5918
|
-
"description": "Specifies how to display the currency.",
|
|
5919
|
-
"fieldName": "currencyDisplay"
|
|
5920
|
-
},
|
|
5921
|
-
{
|
|
5922
|
-
"name": "minimum-integer-digits",
|
|
5923
|
-
"type": {
|
|
5924
|
-
"text": "number | undefined"
|
|
5925
|
-
},
|
|
5926
|
-
"description": "The minimum number of integer digits to use. Possible values are 1–21.",
|
|
5927
|
-
"fieldName": "minimumIntegerDigits"
|
|
5899
|
+
"default": "\"solid\"",
|
|
5900
|
+
"description": "The icon style to use for the icon. If not configured, this only works for the default icon library.",
|
|
5901
|
+
"fieldName": "iconStyle"
|
|
5928
5902
|
},
|
|
5929
5903
|
{
|
|
5930
|
-
"name": "
|
|
5904
|
+
"name": "auto-width",
|
|
5931
5905
|
"type": {
|
|
5932
|
-
"text": "
|
|
5906
|
+
"text": "boolean"
|
|
5933
5907
|
},
|
|
5934
|
-
"
|
|
5935
|
-
"
|
|
5908
|
+
"default": "false",
|
|
5909
|
+
"description": "Sets the width of the icon to match the cropped SVG viewBox. This operates like the Font Awesome `fa-width-auto` class.",
|
|
5910
|
+
"fieldName": "autoWidth"
|
|
5936
5911
|
},
|
|
5937
5912
|
{
|
|
5938
|
-
"name": "
|
|
5913
|
+
"name": "swap-opacity",
|
|
5939
5914
|
"type": {
|
|
5940
|
-
"text": "
|
|
5915
|
+
"text": "boolean"
|
|
5941
5916
|
},
|
|
5942
|
-
"
|
|
5943
|
-
"
|
|
5917
|
+
"default": "false",
|
|
5918
|
+
"description": "Swaps the opacity of duotone icons. Has no effect on custom icon libraries.",
|
|
5919
|
+
"fieldName": "swapOpacity"
|
|
5944
5920
|
},
|
|
5945
5921
|
{
|
|
5946
|
-
"name": "
|
|
5922
|
+
"name": "src",
|
|
5947
5923
|
"type": {
|
|
5948
|
-
"text": "
|
|
5924
|
+
"text": "string | undefined"
|
|
5949
5925
|
},
|
|
5950
|
-
"description": "The
|
|
5951
|
-
"fieldName": "
|
|
5926
|
+
"description": "The external URL of an SVG file. Make sure you trust the content you are included, as it will be executed as code and can result in XSS attacks.",
|
|
5927
|
+
"fieldName": "src"
|
|
5952
5928
|
},
|
|
5953
5929
|
{
|
|
5954
|
-
"name": "
|
|
5930
|
+
"name": "label",
|
|
5955
5931
|
"type": {
|
|
5956
|
-
"text": "
|
|
5932
|
+
"text": "string"
|
|
5957
5933
|
},
|
|
5958
|
-
"
|
|
5959
|
-
"
|
|
5934
|
+
"default": "\"\"",
|
|
5935
|
+
"description": "A label to include for assistive devices. If omitted, the icon will be considered presentational and ignored by assistive devices.",
|
|
5936
|
+
"fieldName": "label"
|
|
5960
5937
|
},
|
|
5961
5938
|
{
|
|
5962
|
-
"name": "
|
|
5939
|
+
"name": "library",
|
|
5963
5940
|
"type": {
|
|
5964
|
-
"text": "
|
|
5941
|
+
"text": "string"
|
|
5965
5942
|
},
|
|
5966
|
-
"default": "
|
|
5967
|
-
"description": "
|
|
5968
|
-
"fieldName": "
|
|
5943
|
+
"default": "\"default\"",
|
|
5944
|
+
"description": "The name of a registered icon library.",
|
|
5945
|
+
"fieldName": "library"
|
|
5969
5946
|
}
|
|
5970
5947
|
],
|
|
5971
5948
|
"superclass": {
|
|
5972
5949
|
"name": "PlacerElement",
|
|
5973
5950
|
"module": "/src/internal/placer-element.js"
|
|
5974
5951
|
},
|
|
5975
|
-
"summary": "
|
|
5976
|
-
"jsDoc": "/**\n * @summary
|
|
5952
|
+
"summary": "Icons are visual symbols that represent actions, objects or ideas.",
|
|
5953
|
+
"jsDoc": "/**\n * @summary Icons are visual symbols that represent actions, objects or ideas.\n * @status experimental\n * @since 0.1.0\n *\n * @event pc-load - Emitted when the icon has loaded. When using `spriteSheet: true`, this will not emit.\n * @event pc-error - Emitted when the icon fails to load due to an error. When using `spriteSheet: true`, this will not emit.\n *\n * @csspart svg - The component’s internal SVG element.\n * @csspart use - The `<use>` element generated when using `spriteSheet: true`.\n *\n * @cssproperty --fa-primary-color: currentColor - The primary colour for the primary layer in duotone icons.\n * @cssproperty --fa-secondary-color: currentColor - The secondary colour for the secondary layer in duotone icons.\n * @cssproperty --fa-primary-opacity: 1 - The primary opacity for the primary layer in duotone icons.\n * @cssproperty --fa-secondary-opacity: 0.4 - The secondary opacity for the secondary layer in duotone icons.\n */",
|
|
5977
5954
|
"status": "experimental",
|
|
5978
|
-
"since": "1.0
|
|
5979
|
-
"tagName": "pc-
|
|
5955
|
+
"since": "0.1.0",
|
|
5956
|
+
"tagName": "pc-icon",
|
|
5980
5957
|
"customElement": true
|
|
5981
5958
|
}
|
|
5982
5959
|
],
|
|
5983
5960
|
"exports": [
|
|
5984
5961
|
{
|
|
5985
5962
|
"kind": "js",
|
|
5986
|
-
"name": "
|
|
5963
|
+
"name": "PcIcon",
|
|
5987
5964
|
"declaration": {
|
|
5988
|
-
"name": "
|
|
5965
|
+
"name": "PcIcon",
|
|
5989
5966
|
"module": ".js"
|
|
5990
5967
|
}
|
|
5991
5968
|
},
|
|
5992
5969
|
{
|
|
5993
5970
|
"kind": "custom-element-definition",
|
|
5994
|
-
"name": "pc-
|
|
5971
|
+
"name": "pc-icon",
|
|
5995
5972
|
"declaration": {
|
|
5996
|
-
"name": "
|
|
5973
|
+
"name": "PcIcon",
|
|
5997
5974
|
"module": ".js"
|
|
5998
5975
|
}
|
|
5999
5976
|
}
|
|
@@ -6004,403 +5981,426 @@
|
|
|
6004
5981
|
"path": ".js",
|
|
6005
5982
|
"declarations": [
|
|
6006
5983
|
{
|
|
6007
|
-
"kind": "
|
|
6008
|
-
"
|
|
6009
|
-
"
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
5984
|
+
"kind": "variable",
|
|
5985
|
+
"name": "library",
|
|
5986
|
+
"type": {
|
|
5987
|
+
"text": "IconLibrary"
|
|
5988
|
+
},
|
|
5989
|
+
"default": "{ name: \"default\", resolver: (name: string, iconStyle = \"solid\", autoWidth = false) => { return getIconURL(name, iconStyle, autoWidth); }, mutator: (svg, hostElement) => { if ( hostElement?.iconStyle && !svg.hasAttribute(\"data-duotone-initialized\") ) { const { iconStyle } = hostElement; if ( iconStyle?.startsWith(\"duotone\") || iconStyle?.startsWith(\"sharp-duotone\") || iconStyle === \"jelly-duo-regular\" || iconStyle === \"notdog-duo-solid\" || iconStyle?.startsWith(\"thumbprint\") || iconStyle === \"utility-duo-semibold\" ) { const paths = [...svg.querySelectorAll<SVGPathElement>(\"path\")]; const primaryPath = paths.find( (path) => !path.hasAttribute(\"opacity\"), ); const secondaryPath = paths.find((path) => path.hasAttribute(\"opacity\"), ); if (!primaryPath || !secondaryPath) { return; } primaryPath.setAttribute(\"data-duotone-primary\", \"\"); secondaryPath.setAttribute(\"data-duotone-secondary\", \"\"); if (hostElement.swapOpacity && primaryPath && secondaryPath) { const originalOpacity = secondaryPath.getAttribute(\"opacity\") || \"0.4\"; primaryPath.style.setProperty( \"--fa-primary-opacity\", originalOpacity, ); secondaryPath.style.setProperty( \"--fa-secondary-opacity\", \"1\", ); } svg.setAttribute(\"data-duotone-initialized\", \"\"); } } }, }"
|
|
5990
|
+
}
|
|
5991
|
+
],
|
|
5992
|
+
"exports": [
|
|
5993
|
+
{
|
|
5994
|
+
"kind": "js",
|
|
5995
|
+
"name": "default",
|
|
5996
|
+
"declaration": {
|
|
5997
|
+
"name": "library",
|
|
5998
|
+
"module": ".js"
|
|
5999
|
+
}
|
|
6000
|
+
}
|
|
6001
|
+
]
|
|
6002
|
+
},
|
|
6003
|
+
{
|
|
6004
|
+
"kind": "javascript-module",
|
|
6005
|
+
"path": ".js",
|
|
6006
|
+
"declarations": [
|
|
6007
|
+
{
|
|
6008
|
+
"kind": "variable",
|
|
6009
|
+
"name": "systemLibrary",
|
|
6010
|
+
"type": {
|
|
6011
|
+
"text": "IconLibrary"
|
|
6012
|
+
},
|
|
6013
|
+
"default": "{ name: \"system\", resolver: (name: string, iconStyle = \"solid\") => { let collection = icons[iconStyle]; // Fall back to a question mark if the icon is missing let svg = collection[name] ?? icons.regular[name] ?? icons.regular[\"circle-question\"]; if (svg) { return dataURI(svg); } return \"\"; }, }"
|
|
6014
|
+
}
|
|
6015
|
+
],
|
|
6016
|
+
"exports": [
|
|
6017
|
+
{
|
|
6018
|
+
"kind": "js",
|
|
6019
|
+
"name": "default",
|
|
6020
|
+
"declaration": {
|
|
6021
|
+
"name": "systemLibrary",
|
|
6022
|
+
"module": ".js"
|
|
6023
|
+
}
|
|
6024
|
+
}
|
|
6025
|
+
]
|
|
6026
|
+
},
|
|
6027
|
+
{
|
|
6028
|
+
"kind": "javascript-module",
|
|
6029
|
+
"path": ".js",
|
|
6030
|
+
"declarations": [
|
|
6031
|
+
{
|
|
6032
|
+
"kind": "function",
|
|
6033
|
+
"name": "watchIcon",
|
|
6034
|
+
"parameters": [
|
|
6026
6035
|
{
|
|
6027
|
-
"name": "
|
|
6028
|
-
"
|
|
6029
|
-
|
|
6036
|
+
"name": "icon",
|
|
6037
|
+
"type": {
|
|
6038
|
+
"text": "PcIcon"
|
|
6039
|
+
}
|
|
6030
6040
|
}
|
|
6031
|
-
]
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6041
|
+
]
|
|
6042
|
+
},
|
|
6043
|
+
{
|
|
6044
|
+
"kind": "function",
|
|
6045
|
+
"name": "unwatchIcon",
|
|
6046
|
+
"parameters": [
|
|
6037
6047
|
{
|
|
6038
|
-
"
|
|
6039
|
-
"
|
|
6048
|
+
"name": "icon",
|
|
6049
|
+
"type": {
|
|
6050
|
+
"text": "PcIcon"
|
|
6051
|
+
}
|
|
6040
6052
|
}
|
|
6041
|
-
]
|
|
6042
|
-
|
|
6053
|
+
]
|
|
6054
|
+
},
|
|
6055
|
+
{
|
|
6056
|
+
"kind": "function",
|
|
6057
|
+
"name": "getIconLibrary",
|
|
6058
|
+
"parameters": [
|
|
6043
6059
|
{
|
|
6044
|
-
"
|
|
6045
|
-
"
|
|
6060
|
+
"name": "name",
|
|
6061
|
+
"optional": true,
|
|
6046
6062
|
"type": {
|
|
6047
|
-
"text": "
|
|
6048
|
-
}
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6063
|
+
"text": "string"
|
|
6064
|
+
}
|
|
6065
|
+
}
|
|
6066
|
+
]
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
"kind": "function",
|
|
6070
|
+
"name": "registerIconLibrary",
|
|
6071
|
+
"parameters": [
|
|
6052
6072
|
{
|
|
6053
|
-
"kind": "field",
|
|
6054
6073
|
"name": "name",
|
|
6055
6074
|
"type": {
|
|
6056
|
-
"text": "string
|
|
6057
|
-
}
|
|
6058
|
-
"description": "The name of the icon to render. Available names depend on the icon library being used.",
|
|
6059
|
-
"attribute": "name",
|
|
6060
|
-
"reflects": true
|
|
6075
|
+
"text": "string"
|
|
6076
|
+
}
|
|
6061
6077
|
},
|
|
6062
6078
|
{
|
|
6063
|
-
"
|
|
6064
|
-
"name": "iconStyle",
|
|
6079
|
+
"name": "options",
|
|
6065
6080
|
"type": {
|
|
6066
|
-
"text": "
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6081
|
+
"text": "Omit<IconLibrary, \"name\">"
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
]
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
"kind": "function",
|
|
6088
|
+
"name": "unregisterIconLibrary",
|
|
6089
|
+
"parameters": [
|
|
6090
|
+
{
|
|
6091
|
+
"name": "name",
|
|
6092
|
+
"type": {
|
|
6093
|
+
"text": "string"
|
|
6094
|
+
}
|
|
6095
|
+
}
|
|
6096
|
+
]
|
|
6097
|
+
}
|
|
6098
|
+
],
|
|
6099
|
+
"exports": [
|
|
6100
|
+
{
|
|
6101
|
+
"kind": "js",
|
|
6102
|
+
"name": "watchIcon",
|
|
6103
|
+
"declaration": {
|
|
6104
|
+
"name": "watchIcon",
|
|
6105
|
+
"module": ".js"
|
|
6106
|
+
}
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
"kind": "js",
|
|
6110
|
+
"name": "unwatchIcon",
|
|
6111
|
+
"declaration": {
|
|
6112
|
+
"name": "unwatchIcon",
|
|
6113
|
+
"module": ".js"
|
|
6114
|
+
}
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
"kind": "js",
|
|
6118
|
+
"name": "getIconLibrary",
|
|
6119
|
+
"declaration": {
|
|
6120
|
+
"name": "getIconLibrary",
|
|
6121
|
+
"module": ".js"
|
|
6122
|
+
}
|
|
6123
|
+
},
|
|
6124
|
+
{
|
|
6125
|
+
"kind": "js",
|
|
6126
|
+
"name": "registerIconLibrary",
|
|
6127
|
+
"declaration": {
|
|
6128
|
+
"name": "registerIconLibrary",
|
|
6129
|
+
"module": ".js"
|
|
6130
|
+
}
|
|
6131
|
+
},
|
|
6132
|
+
{
|
|
6133
|
+
"kind": "js",
|
|
6134
|
+
"name": "unregisterIconLibrary",
|
|
6135
|
+
"declaration": {
|
|
6136
|
+
"name": "unregisterIconLibrary",
|
|
6137
|
+
"module": ".js"
|
|
6138
|
+
}
|
|
6139
|
+
}
|
|
6140
|
+
]
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
"kind": "javascript-module",
|
|
6144
|
+
"path": ".js",
|
|
6145
|
+
"declarations": [
|
|
6146
|
+
{
|
|
6147
|
+
"kind": "class",
|
|
6148
|
+
"description": "",
|
|
6149
|
+
"name": "PcFormatNumber",
|
|
6150
|
+
"members": [
|
|
6151
|
+
{
|
|
6152
|
+
"kind": "field",
|
|
6153
|
+
"name": "localize",
|
|
6154
|
+
"privacy": "private",
|
|
6155
|
+
"readonly": true,
|
|
6156
|
+
"default": "new LocalizeController(this)"
|
|
6072
6157
|
},
|
|
6073
6158
|
{
|
|
6074
6159
|
"kind": "field",
|
|
6075
|
-
"name": "
|
|
6160
|
+
"name": "value",
|
|
6076
6161
|
"type": {
|
|
6077
|
-
"text": "
|
|
6162
|
+
"text": "number"
|
|
6078
6163
|
},
|
|
6079
|
-
"default": "
|
|
6080
|
-
"description": "
|
|
6081
|
-
"attribute": "
|
|
6082
|
-
"reflects": true
|
|
6164
|
+
"default": "0",
|
|
6165
|
+
"description": "The number to format.",
|
|
6166
|
+
"attribute": "value"
|
|
6083
6167
|
},
|
|
6084
6168
|
{
|
|
6085
6169
|
"kind": "field",
|
|
6086
|
-
"name": "
|
|
6170
|
+
"name": "type",
|
|
6087
6171
|
"type": {
|
|
6088
|
-
"text": "
|
|
6172
|
+
"text": "\"currency\" | \"decimal\" | \"percent\""
|
|
6089
6173
|
},
|
|
6090
|
-
"default": "
|
|
6091
|
-
"description": "
|
|
6092
|
-
"attribute": "
|
|
6093
|
-
"reflects": true
|
|
6174
|
+
"default": "\"decimal\"",
|
|
6175
|
+
"description": "The formatting style to use.",
|
|
6176
|
+
"attribute": "type"
|
|
6094
6177
|
},
|
|
6095
6178
|
{
|
|
6096
6179
|
"kind": "field",
|
|
6097
|
-
"name": "
|
|
6180
|
+
"name": "withoutGrouping",
|
|
6098
6181
|
"type": {
|
|
6099
|
-
"text": "
|
|
6182
|
+
"text": "boolean"
|
|
6100
6183
|
},
|
|
6101
|
-
"
|
|
6102
|
-
"
|
|
6184
|
+
"default": "false",
|
|
6185
|
+
"description": "Turns off grouping separators.",
|
|
6186
|
+
"attribute": "without-grouping"
|
|
6103
6187
|
},
|
|
6104
6188
|
{
|
|
6105
6189
|
"kind": "field",
|
|
6106
|
-
"name": "
|
|
6190
|
+
"name": "currency",
|
|
6107
6191
|
"type": {
|
|
6108
6192
|
"text": "string"
|
|
6109
6193
|
},
|
|
6110
|
-
"default": "\"\"",
|
|
6111
|
-
"description": "
|
|
6112
|
-
"attribute": "
|
|
6194
|
+
"default": "\"USD\"",
|
|
6195
|
+
"description": "The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting.",
|
|
6196
|
+
"attribute": "currency"
|
|
6113
6197
|
},
|
|
6114
6198
|
{
|
|
6115
6199
|
"kind": "field",
|
|
6116
|
-
"name": "
|
|
6200
|
+
"name": "currencyDisplay",
|
|
6117
6201
|
"type": {
|
|
6118
|
-
"text": "
|
|
6202
|
+
"text": "| \"symbol\"\n | \"narrowSymbol\"\n | \"code\"\n | \"name\""
|
|
6119
6203
|
},
|
|
6120
|
-
"default": "\"
|
|
6121
|
-
"description": "
|
|
6122
|
-
"attribute": "
|
|
6123
|
-
"reflects": true
|
|
6204
|
+
"default": "\"symbol\"",
|
|
6205
|
+
"description": "Specifies how to display the currency.",
|
|
6206
|
+
"attribute": "currency-display"
|
|
6124
6207
|
},
|
|
6125
6208
|
{
|
|
6126
|
-
"kind": "
|
|
6127
|
-
"name": "
|
|
6128
|
-
"
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
}
|
|
6209
|
+
"kind": "field",
|
|
6210
|
+
"name": "minimumIntegerDigits",
|
|
6211
|
+
"type": {
|
|
6212
|
+
"text": "number | undefined"
|
|
6213
|
+
},
|
|
6214
|
+
"description": "The minimum number of integer digits to use. Possible values are 1–21.",
|
|
6215
|
+
"attribute": "minimum-integer-digits"
|
|
6134
6216
|
},
|
|
6135
6217
|
{
|
|
6136
6218
|
"kind": "field",
|
|
6137
|
-
"name": "
|
|
6138
|
-
"
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
{
|
|
6144
|
-
"description": "Emitted when the icon has loaded. When using `spriteSheet: true`, this will not emit.",
|
|
6145
|
-
"name": "pc-load"
|
|
6219
|
+
"name": "minimumFractionDigits",
|
|
6220
|
+
"type": {
|
|
6221
|
+
"text": "number | undefined"
|
|
6222
|
+
},
|
|
6223
|
+
"description": "The minimum number of fraction digits to use. Possible values are 0–100.",
|
|
6224
|
+
"attribute": "minimum-fraction-digits"
|
|
6146
6225
|
},
|
|
6147
6226
|
{
|
|
6148
|
-
"
|
|
6149
|
-
"name": "
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6227
|
+
"kind": "field",
|
|
6228
|
+
"name": "maximumFractionDigits",
|
|
6229
|
+
"type": {
|
|
6230
|
+
"text": "number | undefined"
|
|
6231
|
+
},
|
|
6232
|
+
"description": "The maximum number of fraction digits to use. Possible values are 0–100.",
|
|
6233
|
+
"attribute": "maximum-fraction-digits"
|
|
6234
|
+
},
|
|
6153
6235
|
{
|
|
6154
|
-
"
|
|
6236
|
+
"kind": "field",
|
|
6237
|
+
"name": "minimumSignificantDigits",
|
|
6155
6238
|
"type": {
|
|
6156
|
-
"text": "
|
|
6239
|
+
"text": "number | undefined"
|
|
6157
6240
|
},
|
|
6158
|
-
"description": "The
|
|
6159
|
-
"
|
|
6241
|
+
"description": "The minimum number of significant digits to use. Possible values are 1–21.",
|
|
6242
|
+
"attribute": "minimum-significant-digits"
|
|
6160
6243
|
},
|
|
6161
6244
|
{
|
|
6162
|
-
"
|
|
6245
|
+
"kind": "field",
|
|
6246
|
+
"name": "maximumSignificantDigits",
|
|
6163
6247
|
"type": {
|
|
6164
|
-
"text": "
|
|
6248
|
+
"text": "number | undefined"
|
|
6165
6249
|
},
|
|
6166
|
-
"
|
|
6167
|
-
"
|
|
6168
|
-
"fieldName": "iconStyle"
|
|
6250
|
+
"description": "The maximum number of significant digits to use,. Possible values are 1–21.",
|
|
6251
|
+
"attribute": "maximum-significant-digits"
|
|
6169
6252
|
},
|
|
6170
6253
|
{
|
|
6171
|
-
"
|
|
6254
|
+
"kind": "field",
|
|
6255
|
+
"name": "useSI",
|
|
6172
6256
|
"type": {
|
|
6173
6257
|
"text": "boolean"
|
|
6174
6258
|
},
|
|
6175
6259
|
"default": "false",
|
|
6176
|
-
"description": "
|
|
6177
|
-
"
|
|
6260
|
+
"description": "Forces the component to use the SI standard for formatting. This overrides locale‐specific rules.",
|
|
6261
|
+
"attribute": "use-si"
|
|
6178
6262
|
},
|
|
6179
6263
|
{
|
|
6180
|
-
"
|
|
6264
|
+
"kind": "method",
|
|
6265
|
+
"name": "formatSINumber",
|
|
6266
|
+
"privacy": "private",
|
|
6267
|
+
"return": {
|
|
6268
|
+
"type": {
|
|
6269
|
+
"text": "string"
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
"parameters": [
|
|
6273
|
+
{
|
|
6274
|
+
"name": "value",
|
|
6275
|
+
"type": {
|
|
6276
|
+
"text": "number"
|
|
6277
|
+
}
|
|
6278
|
+
}
|
|
6279
|
+
]
|
|
6280
|
+
}
|
|
6281
|
+
],
|
|
6282
|
+
"attributes": [
|
|
6283
|
+
{
|
|
6284
|
+
"name": "value",
|
|
6181
6285
|
"type": {
|
|
6182
|
-
"text": "
|
|
6286
|
+
"text": "number"
|
|
6183
6287
|
},
|
|
6184
|
-
"default": "
|
|
6185
|
-
"description": "
|
|
6186
|
-
"fieldName": "
|
|
6288
|
+
"default": "0",
|
|
6289
|
+
"description": "The number to format.",
|
|
6290
|
+
"fieldName": "value"
|
|
6187
6291
|
},
|
|
6188
6292
|
{
|
|
6189
|
-
"name": "
|
|
6293
|
+
"name": "type",
|
|
6190
6294
|
"type": {
|
|
6191
|
-
"text": "
|
|
6295
|
+
"text": "\"currency\" | \"decimal\" | \"percent\""
|
|
6192
6296
|
},
|
|
6193
|
-
"
|
|
6194
|
-
"
|
|
6297
|
+
"default": "\"decimal\"",
|
|
6298
|
+
"description": "The formatting style to use.",
|
|
6299
|
+
"fieldName": "type"
|
|
6195
6300
|
},
|
|
6196
6301
|
{
|
|
6197
|
-
"name": "
|
|
6302
|
+
"name": "without-grouping",
|
|
6198
6303
|
"type": {
|
|
6199
|
-
"text": "
|
|
6304
|
+
"text": "boolean"
|
|
6200
6305
|
},
|
|
6201
|
-
"default": "
|
|
6202
|
-
"description": "
|
|
6203
|
-
"fieldName": "
|
|
6306
|
+
"default": "false",
|
|
6307
|
+
"description": "Turns off grouping separators.",
|
|
6308
|
+
"fieldName": "withoutGrouping"
|
|
6204
6309
|
},
|
|
6205
6310
|
{
|
|
6206
|
-
"name": "
|
|
6311
|
+
"name": "currency",
|
|
6207
6312
|
"type": {
|
|
6208
6313
|
"text": "string"
|
|
6209
6314
|
},
|
|
6210
|
-
"default": "\"
|
|
6211
|
-
"description": "The
|
|
6212
|
-
"fieldName": "
|
|
6213
|
-
}
|
|
6214
|
-
],
|
|
6215
|
-
"superclass": {
|
|
6216
|
-
"name": "PlacerElement",
|
|
6217
|
-
"module": "/src/internal/placer-element.js"
|
|
6218
|
-
},
|
|
6219
|
-
"summary": "Icons are visual symbols that represent actions, objects or ideas.",
|
|
6220
|
-
"jsDoc": "/**\n * @summary Icons are visual symbols that represent actions, objects or ideas.\n * @status experimental\n * @since 0.1.0\n *\n * @event pc-load - Emitted when the icon has loaded. When using `spriteSheet: true`, this will not emit.\n * @event pc-error - Emitted when the icon fails to load due to an error. When using `spriteSheet: true`, this will not emit.\n *\n * @csspart svg - The component’s internal SVG element.\n * @csspart use - The `<use>` element generated when using `spriteSheet: true`.\n *\n * @cssproperty --fa-primary-color: currentColor - The primary colour for the primary layer in duotone icons.\n * @cssproperty --fa-secondary-color: currentColor - The secondary colour for the secondary layer in duotone icons.\n * @cssproperty --fa-primary-opacity: 1 - The primary opacity for the primary layer in duotone icons.\n * @cssproperty --fa-secondary-opacity: 0.4 - The secondary opacity for the secondary layer in duotone icons.\n */",
|
|
6221
|
-
"status": "experimental",
|
|
6222
|
-
"since": "0.1.0",
|
|
6223
|
-
"tagName": "pc-icon",
|
|
6224
|
-
"customElement": true
|
|
6225
|
-
}
|
|
6226
|
-
],
|
|
6227
|
-
"exports": [
|
|
6228
|
-
{
|
|
6229
|
-
"kind": "js",
|
|
6230
|
-
"name": "PcIcon",
|
|
6231
|
-
"declaration": {
|
|
6232
|
-
"name": "PcIcon",
|
|
6233
|
-
"module": ".js"
|
|
6234
|
-
}
|
|
6235
|
-
},
|
|
6236
|
-
{
|
|
6237
|
-
"kind": "custom-element-definition",
|
|
6238
|
-
"name": "pc-icon",
|
|
6239
|
-
"declaration": {
|
|
6240
|
-
"name": "PcIcon",
|
|
6241
|
-
"module": ".js"
|
|
6242
|
-
}
|
|
6243
|
-
}
|
|
6244
|
-
]
|
|
6245
|
-
},
|
|
6246
|
-
{
|
|
6247
|
-
"kind": "javascript-module",
|
|
6248
|
-
"path": ".js",
|
|
6249
|
-
"declarations": [
|
|
6250
|
-
{
|
|
6251
|
-
"kind": "variable",
|
|
6252
|
-
"name": "library",
|
|
6253
|
-
"type": {
|
|
6254
|
-
"text": "IconLibrary"
|
|
6255
|
-
},
|
|
6256
|
-
"default": "{ name: \"default\", resolver: (name: string, iconStyle = \"solid\", autoWidth = false) => { return getIconURL(name, iconStyle, autoWidth); }, mutator: (svg, hostElement) => { if ( hostElement?.iconStyle && !svg.hasAttribute(\"data-duotone-initialized\") ) { const { iconStyle } = hostElement; if ( iconStyle?.startsWith(\"duotone\") || iconStyle?.startsWith(\"sharp-duotone\") || iconStyle === \"jelly-duo-regular\" || iconStyle === \"notdog-duo-solid\" || iconStyle?.startsWith(\"thumbprint\") || iconStyle === \"utility-duo-semibold\" ) { const paths = [...svg.querySelectorAll<SVGPathElement>(\"path\")]; const primaryPath = paths.find( (path) => !path.hasAttribute(\"opacity\"), ); const secondaryPath = paths.find((path) => path.hasAttribute(\"opacity\"), ); if (!primaryPath || !secondaryPath) { return; } primaryPath.setAttribute(\"data-duotone-primary\", \"\"); secondaryPath.setAttribute(\"data-duotone-secondary\", \"\"); if (hostElement.swapOpacity && primaryPath && secondaryPath) { const originalOpacity = secondaryPath.getAttribute(\"opacity\") || \"0.4\"; primaryPath.style.setProperty( \"--fa-primary-opacity\", originalOpacity, ); secondaryPath.style.setProperty( \"--fa-secondary-opacity\", \"1\", ); } svg.setAttribute(\"data-duotone-initialized\", \"\"); } } }, }"
|
|
6257
|
-
}
|
|
6258
|
-
],
|
|
6259
|
-
"exports": [
|
|
6260
|
-
{
|
|
6261
|
-
"kind": "js",
|
|
6262
|
-
"name": "default",
|
|
6263
|
-
"declaration": {
|
|
6264
|
-
"name": "library",
|
|
6265
|
-
"module": ".js"
|
|
6266
|
-
}
|
|
6267
|
-
}
|
|
6268
|
-
]
|
|
6269
|
-
},
|
|
6270
|
-
{
|
|
6271
|
-
"kind": "javascript-module",
|
|
6272
|
-
"path": ".js",
|
|
6273
|
-
"declarations": [
|
|
6274
|
-
{
|
|
6275
|
-
"kind": "variable",
|
|
6276
|
-
"name": "systemLibrary",
|
|
6277
|
-
"type": {
|
|
6278
|
-
"text": "IconLibrary"
|
|
6279
|
-
},
|
|
6280
|
-
"default": "{ name: \"system\", resolver: (name: string, iconStyle = \"solid\") => { let collection = icons[iconStyle]; // Fall back to a question mark if the icon is missing let svg = collection[name] ?? icons.regular[name] ?? icons.regular[\"circle-question\"]; if (svg) { return dataURI(svg); } return \"\"; }, }"
|
|
6281
|
-
}
|
|
6282
|
-
],
|
|
6283
|
-
"exports": [
|
|
6284
|
-
{
|
|
6285
|
-
"kind": "js",
|
|
6286
|
-
"name": "default",
|
|
6287
|
-
"declaration": {
|
|
6288
|
-
"name": "systemLibrary",
|
|
6289
|
-
"module": ".js"
|
|
6290
|
-
}
|
|
6291
|
-
}
|
|
6292
|
-
]
|
|
6293
|
-
},
|
|
6294
|
-
{
|
|
6295
|
-
"kind": "javascript-module",
|
|
6296
|
-
"path": ".js",
|
|
6297
|
-
"declarations": [
|
|
6298
|
-
{
|
|
6299
|
-
"kind": "function",
|
|
6300
|
-
"name": "watchIcon",
|
|
6301
|
-
"parameters": [
|
|
6315
|
+
"default": "\"USD\"",
|
|
6316
|
+
"description": "The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting.",
|
|
6317
|
+
"fieldName": "currency"
|
|
6318
|
+
},
|
|
6302
6319
|
{
|
|
6303
|
-
"name": "
|
|
6320
|
+
"name": "currency-display",
|
|
6304
6321
|
"type": {
|
|
6305
|
-
"text": "
|
|
6306
|
-
}
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
"kind": "function",
|
|
6312
|
-
"name": "unwatchIcon",
|
|
6313
|
-
"parameters": [
|
|
6322
|
+
"text": "| \"symbol\"\n | \"narrowSymbol\"\n | \"code\"\n | \"name\""
|
|
6323
|
+
},
|
|
6324
|
+
"default": "\"symbol\"",
|
|
6325
|
+
"description": "Specifies how to display the currency.",
|
|
6326
|
+
"fieldName": "currencyDisplay"
|
|
6327
|
+
},
|
|
6314
6328
|
{
|
|
6315
|
-
"name": "
|
|
6329
|
+
"name": "minimum-integer-digits",
|
|
6316
6330
|
"type": {
|
|
6317
|
-
"text": "
|
|
6318
|
-
}
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
{
|
|
6323
|
-
"kind": "function",
|
|
6324
|
-
"name": "getIconLibrary",
|
|
6325
|
-
"parameters": [
|
|
6331
|
+
"text": "number | undefined"
|
|
6332
|
+
},
|
|
6333
|
+
"description": "The minimum number of integer digits to use. Possible values are 1–21.",
|
|
6334
|
+
"fieldName": "minimumIntegerDigits"
|
|
6335
|
+
},
|
|
6326
6336
|
{
|
|
6327
|
-
"name": "
|
|
6328
|
-
"optional": true,
|
|
6337
|
+
"name": "minimum-fraction-digits",
|
|
6329
6338
|
"type": {
|
|
6330
|
-
"text": "
|
|
6331
|
-
}
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
{
|
|
6336
|
-
"kind": "function",
|
|
6337
|
-
"name": "registerIconLibrary",
|
|
6338
|
-
"parameters": [
|
|
6339
|
+
"text": "number | undefined"
|
|
6340
|
+
},
|
|
6341
|
+
"description": "The minimum number of fraction digits to use. Possible values are 0–100.",
|
|
6342
|
+
"fieldName": "minimumFractionDigits"
|
|
6343
|
+
},
|
|
6339
6344
|
{
|
|
6340
|
-
"name": "
|
|
6345
|
+
"name": "maximum-fraction-digits",
|
|
6341
6346
|
"type": {
|
|
6342
|
-
"text": "
|
|
6343
|
-
}
|
|
6347
|
+
"text": "number | undefined"
|
|
6348
|
+
},
|
|
6349
|
+
"description": "The maximum number of fraction digits to use. Possible values are 0–100.",
|
|
6350
|
+
"fieldName": "maximumFractionDigits"
|
|
6344
6351
|
},
|
|
6345
6352
|
{
|
|
6346
|
-
"name": "
|
|
6353
|
+
"name": "minimum-significant-digits",
|
|
6347
6354
|
"type": {
|
|
6348
|
-
"text": "
|
|
6349
|
-
}
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
{
|
|
6354
|
-
"kind": "function",
|
|
6355
|
-
"name": "unregisterIconLibrary",
|
|
6356
|
-
"parameters": [
|
|
6355
|
+
"text": "number | undefined"
|
|
6356
|
+
},
|
|
6357
|
+
"description": "The minimum number of significant digits to use. Possible values are 1–21.",
|
|
6358
|
+
"fieldName": "minimumSignificantDigits"
|
|
6359
|
+
},
|
|
6357
6360
|
{
|
|
6358
|
-
"name": "
|
|
6361
|
+
"name": "maximum-significant-digits",
|
|
6359
6362
|
"type": {
|
|
6360
|
-
"text": "
|
|
6361
|
-
}
|
|
6363
|
+
"text": "number | undefined"
|
|
6364
|
+
},
|
|
6365
|
+
"description": "The maximum number of significant digits to use,. Possible values are 1–21.",
|
|
6366
|
+
"fieldName": "maximumSignificantDigits"
|
|
6367
|
+
},
|
|
6368
|
+
{
|
|
6369
|
+
"name": "use-si",
|
|
6370
|
+
"type": {
|
|
6371
|
+
"text": "boolean"
|
|
6372
|
+
},
|
|
6373
|
+
"default": "false",
|
|
6374
|
+
"description": "Forces the component to use the SI standard for formatting. This overrides locale‐specific rules.",
|
|
6375
|
+
"fieldName": "useSI"
|
|
6362
6376
|
}
|
|
6363
|
-
]
|
|
6377
|
+
],
|
|
6378
|
+
"superclass": {
|
|
6379
|
+
"name": "PlacerElement",
|
|
6380
|
+
"module": "/src/internal/placer-element.js"
|
|
6381
|
+
},
|
|
6382
|
+
"summary": "Formats a number using the specified locale and options.",
|
|
6383
|
+
"jsDoc": "/**\n * @summary Formats a number using the specified locale and options.\n * @status experimental\n * @since 1.0.0-alpha.1\n */",
|
|
6384
|
+
"status": "experimental",
|
|
6385
|
+
"since": "1.0.0-alpha.1",
|
|
6386
|
+
"tagName": "pc-format-number",
|
|
6387
|
+
"customElement": true
|
|
6364
6388
|
}
|
|
6365
6389
|
],
|
|
6366
6390
|
"exports": [
|
|
6367
6391
|
{
|
|
6368
6392
|
"kind": "js",
|
|
6369
|
-
"name": "
|
|
6370
|
-
"declaration": {
|
|
6371
|
-
"name": "watchIcon",
|
|
6372
|
-
"module": ".js"
|
|
6373
|
-
}
|
|
6374
|
-
},
|
|
6375
|
-
{
|
|
6376
|
-
"kind": "js",
|
|
6377
|
-
"name": "unwatchIcon",
|
|
6378
|
-
"declaration": {
|
|
6379
|
-
"name": "unwatchIcon",
|
|
6380
|
-
"module": ".js"
|
|
6381
|
-
}
|
|
6382
|
-
},
|
|
6383
|
-
{
|
|
6384
|
-
"kind": "js",
|
|
6385
|
-
"name": "getIconLibrary",
|
|
6386
|
-
"declaration": {
|
|
6387
|
-
"name": "getIconLibrary",
|
|
6388
|
-
"module": ".js"
|
|
6389
|
-
}
|
|
6390
|
-
},
|
|
6391
|
-
{
|
|
6392
|
-
"kind": "js",
|
|
6393
|
-
"name": "registerIconLibrary",
|
|
6393
|
+
"name": "PcFormatNumber",
|
|
6394
6394
|
"declaration": {
|
|
6395
|
-
"name": "
|
|
6395
|
+
"name": "PcFormatNumber",
|
|
6396
6396
|
"module": ".js"
|
|
6397
6397
|
}
|
|
6398
6398
|
},
|
|
6399
6399
|
{
|
|
6400
|
-
"kind": "
|
|
6401
|
-
"name": "
|
|
6400
|
+
"kind": "custom-element-definition",
|
|
6401
|
+
"name": "pc-format-number",
|
|
6402
6402
|
"declaration": {
|
|
6403
|
-
"name": "
|
|
6403
|
+
"name": "PcFormatNumber",
|
|
6404
6404
|
"module": ".js"
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
@@ -7261,261 +7261,115 @@
|
|
|
7261
7261
|
"text": "number | string | undefined"
|
|
7262
7262
|
},
|
|
7263
7263
|
"description": "The input’s minimum value. Only applies when the input’s `type` is set to `date` or `number`.",
|
|
7264
|
-
"fieldName": "min"
|
|
7265
|
-
},
|
|
7266
|
-
{
|
|
7267
|
-
"name": "max",
|
|
7268
|
-
"type": {
|
|
7269
|
-
"text": "number | string | undefined"
|
|
7270
|
-
},
|
|
7271
|
-
"description": "The input’s maximum value. Only applies when the input’s `type` is set to `date` or `number`.",
|
|
7272
|
-
"fieldName": "max"
|
|
7273
|
-
},
|
|
7274
|
-
{
|
|
7275
|
-
"name": "step",
|
|
7276
|
-
"type": {
|
|
7277
|
-
"text": "number | \"any\" | undefined"
|
|
7278
|
-
},
|
|
7279
|
-
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is implied, allowing any numeric value. Only applies when the input’s `type` is set to `date` or `number`.",
|
|
7280
|
-
"fieldName": "step"
|
|
7281
|
-
},
|
|
7282
|
-
{
|
|
7283
|
-
"name": "autocapitalize",
|
|
7284
|
-
"type": {
|
|
7285
|
-
"text": "| \"off\"\n | \"none\"\n | \"on\"\n | \"sentences\"\n | \"words\"\n | \"characters\""
|
|
7286
|
-
},
|
|
7287
|
-
"default": "\"none\"",
|
|
7288
|
-
"description": "Controls whether and how text input is automatically capitalised as it is entered by the user.",
|
|
7289
|
-
"fieldName": "autocapitalize"
|
|
7290
|
-
},
|
|
7291
|
-
{
|
|
7292
|
-
"name": "autocorrect",
|
|
7293
|
-
"type": {
|
|
7294
|
-
"text": "boolean"
|
|
7295
|
-
},
|
|
7296
|
-
"default": "false",
|
|
7297
|
-
"description": "Indicates whether the browser’s autocorrect feature is on or off.",
|
|
7298
|
-
"fieldName": "autocorrect"
|
|
7299
|
-
},
|
|
7300
|
-
{
|
|
7301
|
-
"name": "autocomplete",
|
|
7302
|
-
"type": {
|
|
7303
|
-
"text": "string | undefined"
|
|
7304
|
-
},
|
|
7305
|
-
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
7306
|
-
"fieldName": "autocomplete"
|
|
7307
|
-
},
|
|
7308
|
-
{
|
|
7309
|
-
"name": "autofocus",
|
|
7310
|
-
"type": {
|
|
7311
|
-
"text": "boolean"
|
|
7312
|
-
},
|
|
7313
|
-
"description": "Indicates that the input should receive focus on page load.",
|
|
7314
|
-
"fieldName": "autofocus"
|
|
7315
|
-
},
|
|
7316
|
-
{
|
|
7317
|
-
"name": "enterkeyhint",
|
|
7318
|
-
"type": {
|
|
7319
|
-
"text": "| \"enter\"\n | \"done\"\n | \"go\"\n | \"next\"\n | \"previous\"\n | \"search\"\n | \"send\""
|
|
7320
|
-
},
|
|
7321
|
-
"default": "\"enter\"",
|
|
7322
|
-
"description": "Used to customise the label or icon of the Enter key on virtual keyboards.",
|
|
7323
|
-
"fieldName": "enterkeyhint"
|
|
7324
|
-
},
|
|
7325
|
-
{
|
|
7326
|
-
"name": "spellcheck",
|
|
7327
|
-
"type": {
|
|
7328
|
-
"text": "boolean"
|
|
7329
|
-
},
|
|
7330
|
-
"default": "true",
|
|
7331
|
-
"description": "Enables spellcheck on the input.",
|
|
7332
|
-
"fieldName": "spellcheck"
|
|
7333
|
-
},
|
|
7334
|
-
{
|
|
7335
|
-
"name": "inputmode",
|
|
7336
|
-
"type": {
|
|
7337
|
-
"text": "| \"none\"\n | \"text\"\n | \"decimal\"\n | \"numeric\"\n | \"tel\"\n | \"search\"\n | \"email\"\n | \"url\""
|
|
7338
|
-
},
|
|
7339
|
-
"default": "\"text\"",
|
|
7340
|
-
"description": "Tells the browser what type of data will be entered by the user, allowing virtual keyboards to display the correct keyboard type to the user.",
|
|
7341
|
-
"fieldName": "inputmode"
|
|
7342
|
-
}
|
|
7343
|
-
],
|
|
7344
|
-
"superclass": {
|
|
7345
|
-
"name": "PlacerElement",
|
|
7346
|
-
"module": "/src/internal/placer-element.js"
|
|
7347
|
-
},
|
|
7348
|
-
"summary": "Inputs collect data from the user.",
|
|
7349
|
-
"jsDoc": "/**\n * @summary Inputs collect data from the user.\n * @status experimental\n * @since 0.4.0\n *\n * @dependency pc-icon\n *\n * @slot - The input’s label. Alternatively, you can use the `label` attribute.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n * @slot clear-icon - An icon to use to replace the default clear icon.\n * @slot show-password-icon - An icon to use to replace the default show password icon.\n * @slot hide-password-icon - An icon to use to replace the default hide password icon.\n * @slot hint - Text that describes how to use the input. Alternatively, you can use the `hint` attribute.\n *\n * @event pc-change - Emitted when an alteration to the input’s value is committed by the user.\n * @event pc-input - Emitted when the input receives input.\n * @event pc-focus - Emitted when the input gains focus.\n * @event pc-blur - Emitted when the input loses focus (i.e., is blurred).\n * @event pc-clear - Emitted when the clear button is activated.\n * @event pc-invalid - Emitted when the form control has been checked for validity and its constraints aren’t satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input and hint.\n * @csspart label - The input’s label.\n * @csspart input - The input.\n * @csspart hint - The input’s hint.\n * @csspart combobox - The container the wraps the prefix, suffix, input and clear icon.\n * @csspart prefix - The container that wraps the prefix slot.\n * @csspart suffix - The container that wraps the suffix slot.\n * @csspart display-input - The element that displays the input.\n * @csspart clear-button - The clear button.\n */",
|
|
7350
|
-
"status": "experimental",
|
|
7351
|
-
"since": "0.4.0",
|
|
7352
|
-
"dependencies": [
|
|
7353
|
-
"pc-icon"
|
|
7354
|
-
],
|
|
7355
|
-
"tagName": "pc-input",
|
|
7356
|
-
"customElement": true
|
|
7357
|
-
}
|
|
7358
|
-
],
|
|
7359
|
-
"exports": [
|
|
7360
|
-
{
|
|
7361
|
-
"kind": "js",
|
|
7362
|
-
"name": "PcInput",
|
|
7363
|
-
"declaration": {
|
|
7364
|
-
"name": "PcInput",
|
|
7365
|
-
"module": ".js"
|
|
7366
|
-
}
|
|
7367
|
-
},
|
|
7368
|
-
{
|
|
7369
|
-
"kind": "custom-element-definition",
|
|
7370
|
-
"name": "pc-input",
|
|
7371
|
-
"declaration": {
|
|
7372
|
-
"name": "PcInput",
|
|
7373
|
-
"module": ".js"
|
|
7374
|
-
}
|
|
7375
|
-
}
|
|
7376
|
-
]
|
|
7377
|
-
},
|
|
7378
|
-
{
|
|
7379
|
-
"kind": "javascript-module",
|
|
7380
|
-
"path": ".js",
|
|
7381
|
-
"declarations": [
|
|
7382
|
-
{
|
|
7383
|
-
"kind": "class",
|
|
7384
|
-
"description": "",
|
|
7385
|
-
"name": "PcOption",
|
|
7386
|
-
"cssParts": [
|
|
7387
|
-
{
|
|
7388
|
-
"description": "The checked icon, a `<pc-icon>` element.",
|
|
7389
|
-
"name": "checked-icon"
|
|
7390
|
-
},
|
|
7391
|
-
{
|
|
7392
|
-
"description": "The component’s base wrapper.",
|
|
7393
|
-
"name": "base"
|
|
7394
|
-
},
|
|
7395
|
-
{
|
|
7396
|
-
"description": "The option’s label.",
|
|
7397
|
-
"name": "label"
|
|
7398
|
-
},
|
|
7399
|
-
{
|
|
7400
|
-
"description": "The container that wraps the prefix.",
|
|
7401
|
-
"name": "prefix"
|
|
7402
|
-
},
|
|
7403
|
-
{
|
|
7404
|
-
"description": "The container that wraps the suffix.",
|
|
7405
|
-
"name": "suffix"
|
|
7406
|
-
}
|
|
7407
|
-
],
|
|
7408
|
-
"slots": [
|
|
7409
|
-
{
|
|
7410
|
-
"description": "The option’s label.",
|
|
7411
|
-
"name": ""
|
|
7412
|
-
},
|
|
7413
|
-
{
|
|
7414
|
-
"description": "Used to prepend an icon or similar element to the option.",
|
|
7415
|
-
"name": "prefix"
|
|
7264
|
+
"fieldName": "min"
|
|
7416
7265
|
},
|
|
7417
7266
|
{
|
|
7418
|
-
"
|
|
7419
|
-
"
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7267
|
+
"name": "max",
|
|
7268
|
+
"type": {
|
|
7269
|
+
"text": "number | string | undefined"
|
|
7270
|
+
},
|
|
7271
|
+
"description": "The input’s maximum value. Only applies when the input’s `type` is set to `date` or `number`.",
|
|
7272
|
+
"fieldName": "max"
|
|
7273
|
+
},
|
|
7423
7274
|
{
|
|
7424
|
-
"
|
|
7425
|
-
"name": "isInitialized",
|
|
7275
|
+
"name": "step",
|
|
7426
7276
|
"type": {
|
|
7427
|
-
"text": "
|
|
7277
|
+
"text": "number | \"any\" | undefined"
|
|
7428
7278
|
},
|
|
7429
|
-
"
|
|
7430
|
-
"
|
|
7279
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is implied, allowing any numeric value. Only applies when the input’s `type` is set to `date` or `number`.",
|
|
7280
|
+
"fieldName": "step"
|
|
7431
7281
|
},
|
|
7432
7282
|
{
|
|
7433
|
-
"
|
|
7434
|
-
"name": "value",
|
|
7283
|
+
"name": "autocapitalize",
|
|
7435
7284
|
"type": {
|
|
7436
|
-
"text": "
|
|
7285
|
+
"text": "| \"off\"\n | \"none\"\n | \"on\"\n | \"sentences\"\n | \"words\"\n | \"characters\""
|
|
7437
7286
|
},
|
|
7438
|
-
"default": "\"\"",
|
|
7439
|
-
"description": "
|
|
7440
|
-
"
|
|
7441
|
-
"reflects": true
|
|
7287
|
+
"default": "\"none\"",
|
|
7288
|
+
"description": "Controls whether and how text input is automatically capitalised as it is entered by the user.",
|
|
7289
|
+
"fieldName": "autocapitalize"
|
|
7442
7290
|
},
|
|
7443
7291
|
{
|
|
7444
|
-
"
|
|
7445
|
-
"name": "disabled",
|
|
7292
|
+
"name": "autocorrect",
|
|
7446
7293
|
"type": {
|
|
7447
7294
|
"text": "boolean"
|
|
7448
7295
|
},
|
|
7449
7296
|
"default": "false",
|
|
7450
|
-
"description": "
|
|
7451
|
-
"
|
|
7452
|
-
"reflects": true
|
|
7297
|
+
"description": "Indicates whether the browser’s autocorrect feature is on or off.",
|
|
7298
|
+
"fieldName": "autocorrect"
|
|
7453
7299
|
},
|
|
7454
7300
|
{
|
|
7455
|
-
"
|
|
7456
|
-
"
|
|
7457
|
-
|
|
7301
|
+
"name": "autocomplete",
|
|
7302
|
+
"type": {
|
|
7303
|
+
"text": "string | undefined"
|
|
7304
|
+
},
|
|
7305
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
7306
|
+
"fieldName": "autocomplete"
|
|
7458
7307
|
},
|
|
7459
7308
|
{
|
|
7460
|
-
"
|
|
7461
|
-
"
|
|
7462
|
-
|
|
7309
|
+
"name": "autofocus",
|
|
7310
|
+
"type": {
|
|
7311
|
+
"text": "boolean"
|
|
7312
|
+
},
|
|
7313
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
7314
|
+
"fieldName": "autofocus"
|
|
7463
7315
|
},
|
|
7464
7316
|
{
|
|
7465
|
-
"
|
|
7466
|
-
"name": "getTextLabel",
|
|
7467
|
-
"description": "Returns a plain text label based on the option’s content."
|
|
7468
|
-
}
|
|
7469
|
-
],
|
|
7470
|
-
"attributes": [
|
|
7471
|
-
{
|
|
7472
|
-
"name": "value",
|
|
7317
|
+
"name": "enterkeyhint",
|
|
7473
7318
|
"type": {
|
|
7474
|
-
"text": "
|
|
7319
|
+
"text": "| \"enter\"\n | \"done\"\n | \"go\"\n | \"next\"\n | \"previous\"\n | \"search\"\n | \"send\""
|
|
7475
7320
|
},
|
|
7476
|
-
"default": "\"\"",
|
|
7477
|
-
"description": "
|
|
7478
|
-
"fieldName": "
|
|
7321
|
+
"default": "\"enter\"",
|
|
7322
|
+
"description": "Used to customise the label or icon of the Enter key on virtual keyboards.",
|
|
7323
|
+
"fieldName": "enterkeyhint"
|
|
7479
7324
|
},
|
|
7480
7325
|
{
|
|
7481
|
-
"name": "
|
|
7326
|
+
"name": "spellcheck",
|
|
7482
7327
|
"type": {
|
|
7483
7328
|
"text": "boolean"
|
|
7484
7329
|
},
|
|
7485
|
-
"default": "
|
|
7486
|
-
"description": "
|
|
7487
|
-
"fieldName": "
|
|
7330
|
+
"default": "true",
|
|
7331
|
+
"description": "Enables spellcheck on the input.",
|
|
7332
|
+
"fieldName": "spellcheck"
|
|
7333
|
+
},
|
|
7334
|
+
{
|
|
7335
|
+
"name": "inputmode",
|
|
7336
|
+
"type": {
|
|
7337
|
+
"text": "| \"none\"\n | \"text\"\n | \"decimal\"\n | \"numeric\"\n | \"tel\"\n | \"search\"\n | \"email\"\n | \"url\""
|
|
7338
|
+
},
|
|
7339
|
+
"default": "\"text\"",
|
|
7340
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing virtual keyboards to display the correct keyboard type to the user.",
|
|
7341
|
+
"fieldName": "inputmode"
|
|
7488
7342
|
}
|
|
7489
7343
|
],
|
|
7490
7344
|
"superclass": {
|
|
7491
7345
|
"name": "PlacerElement",
|
|
7492
7346
|
"module": "/src/internal/placer-element.js"
|
|
7493
7347
|
},
|
|
7494
|
-
"summary": "
|
|
7495
|
-
"jsDoc": "/**\n * @summary
|
|
7348
|
+
"summary": "Inputs collect data from the user.",
|
|
7349
|
+
"jsDoc": "/**\n * @summary Inputs collect data from the user.\n * @status experimental\n * @since 0.4.0\n *\n * @dependency pc-icon\n *\n * @slot - The input’s label. Alternatively, you can use the `label` attribute.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n * @slot clear-icon - An icon to use to replace the default clear icon.\n * @slot show-password-icon - An icon to use to replace the default show password icon.\n * @slot hide-password-icon - An icon to use to replace the default hide password icon.\n * @slot hint - Text that describes how to use the input. Alternatively, you can use the `hint` attribute.\n *\n * @event pc-change - Emitted when an alteration to the input’s value is committed by the user.\n * @event pc-input - Emitted when the input receives input.\n * @event pc-focus - Emitted when the input gains focus.\n * @event pc-blur - Emitted when the input loses focus (i.e., is blurred).\n * @event pc-clear - Emitted when the clear button is activated.\n * @event pc-invalid - Emitted when the form control has been checked for validity and its constraints aren’t satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input and hint.\n * @csspart label - The input’s label.\n * @csspart input - The input.\n * @csspart hint - The input’s hint.\n * @csspart combobox - The container the wraps the prefix, suffix, input and clear icon.\n * @csspart prefix - The container that wraps the prefix slot.\n * @csspart suffix - The container that wraps the suffix slot.\n * @csspart display-input - The element that displays the input.\n * @csspart clear-button - The clear button.\n */",
|
|
7496
7350
|
"status": "experimental",
|
|
7497
|
-
"since": "0.
|
|
7351
|
+
"since": "0.4.0",
|
|
7498
7352
|
"dependencies": [
|
|
7499
7353
|
"pc-icon"
|
|
7500
7354
|
],
|
|
7501
|
-
"tagName": "pc-
|
|
7355
|
+
"tagName": "pc-input",
|
|
7502
7356
|
"customElement": true
|
|
7503
7357
|
}
|
|
7504
7358
|
],
|
|
7505
7359
|
"exports": [
|
|
7506
7360
|
{
|
|
7507
7361
|
"kind": "js",
|
|
7508
|
-
"name": "
|
|
7362
|
+
"name": "PcInput",
|
|
7509
7363
|
"declaration": {
|
|
7510
|
-
"name": "
|
|
7364
|
+
"name": "PcInput",
|
|
7511
7365
|
"module": ".js"
|
|
7512
7366
|
}
|
|
7513
7367
|
},
|
|
7514
7368
|
{
|
|
7515
7369
|
"kind": "custom-element-definition",
|
|
7516
|
-
"name": "pc-
|
|
7370
|
+
"name": "pc-input",
|
|
7517
7371
|
"declaration": {
|
|
7518
|
-
"name": "
|
|
7372
|
+
"name": "PcInput",
|
|
7519
7373
|
"module": ".js"
|
|
7520
7374
|
}
|
|
7521
7375
|
}
|
|
@@ -7720,6 +7574,152 @@
|
|
|
7720
7574
|
}
|
|
7721
7575
|
]
|
|
7722
7576
|
},
|
|
7577
|
+
{
|
|
7578
|
+
"kind": "javascript-module",
|
|
7579
|
+
"path": ".js",
|
|
7580
|
+
"declarations": [
|
|
7581
|
+
{
|
|
7582
|
+
"kind": "class",
|
|
7583
|
+
"description": "",
|
|
7584
|
+
"name": "PcOption",
|
|
7585
|
+
"cssParts": [
|
|
7586
|
+
{
|
|
7587
|
+
"description": "The checked icon, a `<pc-icon>` element.",
|
|
7588
|
+
"name": "checked-icon"
|
|
7589
|
+
},
|
|
7590
|
+
{
|
|
7591
|
+
"description": "The component’s base wrapper.",
|
|
7592
|
+
"name": "base"
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"description": "The option’s label.",
|
|
7596
|
+
"name": "label"
|
|
7597
|
+
},
|
|
7598
|
+
{
|
|
7599
|
+
"description": "The container that wraps the prefix.",
|
|
7600
|
+
"name": "prefix"
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
"description": "The container that wraps the suffix.",
|
|
7604
|
+
"name": "suffix"
|
|
7605
|
+
}
|
|
7606
|
+
],
|
|
7607
|
+
"slots": [
|
|
7608
|
+
{
|
|
7609
|
+
"description": "The option’s label.",
|
|
7610
|
+
"name": ""
|
|
7611
|
+
},
|
|
7612
|
+
{
|
|
7613
|
+
"description": "Used to prepend an icon or similar element to the option.",
|
|
7614
|
+
"name": "prefix"
|
|
7615
|
+
},
|
|
7616
|
+
{
|
|
7617
|
+
"description": "Used to append an icon or similar element to the option.",
|
|
7618
|
+
"name": "suffix"
|
|
7619
|
+
}
|
|
7620
|
+
],
|
|
7621
|
+
"members": [
|
|
7622
|
+
{
|
|
7623
|
+
"kind": "field",
|
|
7624
|
+
"name": "isInitialized",
|
|
7625
|
+
"type": {
|
|
7626
|
+
"text": "boolean"
|
|
7627
|
+
},
|
|
7628
|
+
"privacy": "private",
|
|
7629
|
+
"default": "false"
|
|
7630
|
+
},
|
|
7631
|
+
{
|
|
7632
|
+
"kind": "field",
|
|
7633
|
+
"name": "value",
|
|
7634
|
+
"type": {
|
|
7635
|
+
"text": "string"
|
|
7636
|
+
},
|
|
7637
|
+
"default": "\"\"",
|
|
7638
|
+
"description": "The option’s value. When selected, the containing form control will receive this value. The value must be unique from other options in the same group. Values must not contain spaces, as spaces are used as delimiters when listing multiple values.",
|
|
7639
|
+
"attribute": "value",
|
|
7640
|
+
"reflects": true
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
"kind": "field",
|
|
7644
|
+
"name": "disabled",
|
|
7645
|
+
"type": {
|
|
7646
|
+
"text": "boolean"
|
|
7647
|
+
},
|
|
7648
|
+
"default": "false",
|
|
7649
|
+
"description": "Disables the option, preventing selection.",
|
|
7650
|
+
"attribute": "disabled",
|
|
7651
|
+
"reflects": true
|
|
7652
|
+
},
|
|
7653
|
+
{
|
|
7654
|
+
"kind": "method",
|
|
7655
|
+
"name": "handleDefaultSlotChange",
|
|
7656
|
+
"privacy": "private"
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"kind": "field",
|
|
7660
|
+
"name": "handleHover",
|
|
7661
|
+
"privacy": "private"
|
|
7662
|
+
},
|
|
7663
|
+
{
|
|
7664
|
+
"kind": "method",
|
|
7665
|
+
"name": "getTextLabel",
|
|
7666
|
+
"description": "Returns a plain text label based on the option’s content."
|
|
7667
|
+
}
|
|
7668
|
+
],
|
|
7669
|
+
"attributes": [
|
|
7670
|
+
{
|
|
7671
|
+
"name": "value",
|
|
7672
|
+
"type": {
|
|
7673
|
+
"text": "string"
|
|
7674
|
+
},
|
|
7675
|
+
"default": "\"\"",
|
|
7676
|
+
"description": "The option’s value. When selected, the containing form control will receive this value. The value must be unique from other options in the same group. Values must not contain spaces, as spaces are used as delimiters when listing multiple values.",
|
|
7677
|
+
"fieldName": "value"
|
|
7678
|
+
},
|
|
7679
|
+
{
|
|
7680
|
+
"name": "disabled",
|
|
7681
|
+
"type": {
|
|
7682
|
+
"text": "boolean"
|
|
7683
|
+
},
|
|
7684
|
+
"default": "false",
|
|
7685
|
+
"description": "Disables the option, preventing selection.",
|
|
7686
|
+
"fieldName": "disabled"
|
|
7687
|
+
}
|
|
7688
|
+
],
|
|
7689
|
+
"superclass": {
|
|
7690
|
+
"name": "PlacerElement",
|
|
7691
|
+
"module": "/src/internal/placer-element.js"
|
|
7692
|
+
},
|
|
7693
|
+
"summary": "Options define the selectable items within various form controls such as a [select](/components/select).",
|
|
7694
|
+
"jsDoc": "/**\n * @summary Options define the selectable items within various form controls such as a [select](/components/select).\n * @status experimental\n * @since 0.5.1\n *\n * @dependency pc-icon\n *\n * @slot - The option’s label.\n * @slot prefix - Used to prepend an icon or similar element to the option.\n * @slot suffix - Used to append an icon or similar element to the option.\n *\n * @csspart checked-icon - The checked icon, a `<pc-icon>` element.\n * @csspart base - The component’s base wrapper.\n * @csspart label - The option’s label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n */",
|
|
7695
|
+
"status": "experimental",
|
|
7696
|
+
"since": "0.5.1",
|
|
7697
|
+
"dependencies": [
|
|
7698
|
+
"pc-icon"
|
|
7699
|
+
],
|
|
7700
|
+
"tagName": "pc-option",
|
|
7701
|
+
"customElement": true
|
|
7702
|
+
}
|
|
7703
|
+
],
|
|
7704
|
+
"exports": [
|
|
7705
|
+
{
|
|
7706
|
+
"kind": "js",
|
|
7707
|
+
"name": "PcOption",
|
|
7708
|
+
"declaration": {
|
|
7709
|
+
"name": "PcOption",
|
|
7710
|
+
"module": ".js"
|
|
7711
|
+
}
|
|
7712
|
+
},
|
|
7713
|
+
{
|
|
7714
|
+
"kind": "custom-element-definition",
|
|
7715
|
+
"name": "pc-option",
|
|
7716
|
+
"declaration": {
|
|
7717
|
+
"name": "PcOption",
|
|
7718
|
+
"module": ".js"
|
|
7719
|
+
}
|
|
7720
|
+
}
|
|
7721
|
+
]
|
|
7722
|
+
},
|
|
7723
7723
|
{
|
|
7724
7724
|
"kind": "javascript-module",
|
|
7725
7725
|
"path": ".js",
|
|
@@ -13048,7 +13048,7 @@
|
|
|
13048
13048
|
"package": {
|
|
13049
13049
|
"name": "placer-toolkit",
|
|
13050
13050
|
"description": "A web component library that’s designed to be flexible and accessible. Built with Lit.",
|
|
13051
|
-
"version": "1.0.0-alpha.
|
|
13051
|
+
"version": "1.0.0-alpha.3",
|
|
13052
13052
|
"author": "Placer (maintainer: @randomguy-2650)",
|
|
13053
13053
|
"license": "MIT"
|
|
13054
13054
|
}
|