@brandsync/wc 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1808 -353
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-0d64ea40.entry.js +1 -0
- package/dist/brandsync-wc/{p-c63d16e1.entry.js → p-1515498e.entry.js} +1 -1
- package/dist/brandsync-wc/p-16a54578.entry.js +1 -0
- package/dist/brandsync-wc/p-18af02df.entry.js +1 -0
- package/dist/brandsync-wc/p-30a0e168.entry.js +1 -0
- package/dist/brandsync-wc/p-3dacae70.entry.js +1 -0
- package/dist/brandsync-wc/p-5333bb5a.entry.js +1 -0
- package/dist/brandsync-wc/p-575ce905.entry.js +1 -0
- package/dist/brandsync-wc/{p-dd0fea0e.entry.js → p-7776b57b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-260bd201.entry.js → p-805644e4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f88d9a6e.entry.js → p-8a78d6ea.entry.js} +1 -1
- package/dist/brandsync-wc/p-8d12ed96.entry.js +1 -0
- package/dist/brandsync-wc/p-94ed898a.entry.js +1 -0
- package/dist/brandsync-wc/{p-9e5d2211.entry.js → p-96f374be.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ab5cc7af.entry.js → p-a34f460d.entry.js} +1 -1
- package/dist/brandsync-wc/p-bc72439a.entry.js +1 -0
- package/dist/brandsync-wc/{p-76eca100.entry.js → p-ce0914a7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5a0fe72e.entry.js → p-d682675e.entry.js} +1 -1
- package/dist/brandsync-wc/p-dad4a92c.entry.js +1 -0
- package/dist/brandsync-wc/{p-cfc3421b.entry.js → p-dd747a12.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2742ecef.entry.js → p-eb4d87f0.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +17 -0
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +24 -0
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +47 -0
- package/dist/cjs/bs-attachment.cjs.entry.js +46 -0
- package/dist/cjs/bs-badge.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-card.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +94 -0
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +38 -0
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +43 -0
- package/dist/cjs/bs-composer.cjs.entry.js +16 -2
- package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
- package/dist/cjs/bs-input.cjs.entry.js +270 -4
- package/dist/cjs/{bs-menu-item.cjs.entry.js → bs-menu_2.cjs.entry.js} +14 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +39 -0
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/bs-ai-chatbot/bs-ai-chatbot.stories.js +180 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.cmp.test.js +14 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.css +27 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +41 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.stories.js +15 -0
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.cmp.test.js +22 -0
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.css +53 -0
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +103 -0
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.stories.js +23 -0
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-attachment/bs-attachment.cmp.test.js +41 -0
- package/dist/collection/components/bs-attachment/bs-attachment.css +184 -0
- package/dist/collection/components/bs-attachment/bs-attachment.js +230 -0
- package/dist/collection/components/bs-attachment/bs-attachment.stories.js +58 -0
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.cmp.test.js +28 -0
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.css +56 -0
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +105 -0
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.stories.js +47 -0
- package/dist/collection/components/bs-badge/bs-badge.js +1 -1
- package/dist/collection/components/bs-button/bs-button.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.js +1 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.js +73 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.css +253 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +324 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.stories.js +54 -0
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.cmp.test.js +34 -0
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.css +106 -0
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +142 -0
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.stories.js +44 -0
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
- package/dist/collection/components/bs-composer/bs-composer.cmp.test.js +12 -0
- package/dist/collection/components/bs-composer/bs-composer.css +10 -0
- package/dist/collection/components/bs-composer/bs-composer.js +25 -1
- package/dist/collection/components/bs-composer/bs-composer.stories.js +13 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.cmp.test.js +42 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.css +173 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +270 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.stories.js +75 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
- package/dist/collection/components/bs-input/bs-input.cmp.test.js +296 -0
- package/dist/collection/components/bs-input/bs-input.css +333 -23
- package/dist/collection/components/bs-input/bs-input.js +647 -11
- package/dist/collection/components/bs-input/bs-input.stories.js +128 -1
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.cmp.test.js +42 -0
- package/dist/collection/components/bs-source-link/bs-source-link.css +114 -0
- package/dist/collection/components/bs-source-link/bs-source-link.js +192 -0
- package/dist/collection/components/bs-source-link/bs-source-link.stories.js +33 -0
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/components/bs-ai-disclaimer.d.ts +11 -0
- package/dist/components/bs-ai-disclaimer.js +1 -0
- package/dist/components/bs-ai-greeting.d.ts +11 -0
- package/dist/components/bs-ai-greeting.js +1 -0
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-attachment-list.d.ts +11 -0
- package/dist/components/bs-attachment-list.js +1 -0
- package/dist/components/bs-attachment.d.ts +11 -0
- package/dist/components/bs-attachment.js +1 -0
- package/dist/components/bs-badge.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-button.js +1 -1
- package/dist/components/bs-card.js +1 -1
- package/dist/components/bs-chatbot-feedback.d.ts +11 -0
- package/dist/components/bs-chatbot-feedback.js +1 -0
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-chatbot-response-action.js +1 -1
- package/dist/components/bs-chatbot-sources-drawer.d.ts +11 -0
- package/dist/components/bs-chatbot-sources-drawer.js +1 -0
- package/dist/components/bs-chatbot-suggestion-button.js +1 -1
- package/dist/components/bs-composer-status-banner.d.ts +11 -0
- package/dist/components/bs-composer-status-banner.js +1 -0
- package/dist/components/bs-composer.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-source-link.d.ts +11 -0
- package/dist/components/bs-source-link.js +1 -0
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/{p-CoC4LQCI.js → p-Cz2nfz2j.js} +1 -1
- package/dist/components/p-DndQiCMP.js +1 -0
- package/dist/components/p-_vXDfB3V.js +1 -0
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +15 -0
- package/dist/esm/bs-ai-greeting.entry.js +22 -0
- package/dist/esm/bs-ai-thinking.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +45 -0
- package/dist/esm/bs-attachment.entry.js +44 -0
- package/dist/esm/bs-badge.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-button.entry.js +1 -1
- package/dist/esm/bs-card.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +92 -0
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +36 -0
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-composer-status-banner.entry.js +41 -0
- package/dist/esm/bs-composer.entry.js +17 -3
- package/dist/esm/bs-data-table.entry.js +2 -2
- package/dist/esm/bs-input.entry.js +271 -5
- package/dist/esm/{bs-menu-item.entry.js → bs-menu_2.entry.js} +15 -3
- package/dist/esm/bs-source-link.entry.js +37 -0
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bs-ai-chatbot/bs-ai-chatbot.stories.d.ts +18 -0
- package/dist/types/components/bs-ai-disclaimer/bs-ai-disclaimer.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-ai-disclaimer/bs-ai-disclaimer.d.ts +26 -0
- package/dist/types/components/bs-ai-disclaimer/bs-ai-disclaimer.stories.d.ts +8 -0
- package/dist/types/components/bs-ai-greeting/bs-ai-greeting.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-ai-greeting/bs-ai-greeting.d.ts +42 -0
- package/dist/types/components/bs-ai-greeting/bs-ai-greeting.stories.d.ts +10 -0
- package/dist/types/components/bs-attachment/bs-attachment.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-attachment/bs-attachment.d.ts +59 -0
- package/dist/types/components/bs-attachment/bs-attachment.stories.d.ts +17 -0
- package/dist/types/components/bs-attachment-list/bs-attachment-list.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-attachment-list/bs-attachment-list.d.ts +42 -0
- package/dist/types/components/bs-attachment-list/bs-attachment-list.stories.d.ts +10 -0
- package/dist/types/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-chatbot-feedback/bs-chatbot-feedback.d.ts +90 -0
- package/dist/types/components/bs-chatbot-feedback/bs-chatbot-feedback.stories.d.ts +16 -0
- package/dist/types/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.d.ts +54 -0
- package/dist/types/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.stories.d.ts +10 -0
- package/dist/types/components/bs-composer/bs-composer.d.ts +14 -0
- package/dist/types/components/bs-composer/bs-composer.stories.d.ts +1 -0
- package/dist/types/components/bs-composer-status-banner/bs-composer-status-banner.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-composer-status-banner/bs-composer-status-banner.d.ts +88 -0
- package/dist/types/components/bs-composer-status-banner/bs-composer-status-banner.stories.d.ts +20 -0
- package/dist/types/components/bs-input/bs-input.d.ts +139 -6
- package/dist/types/components/bs-input/bs-input.stories.d.ts +19 -0
- package/dist/types/components/bs-source-link/bs-source-link.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-source-link/bs-source-link.d.ts +51 -0
- package/dist/types/components/bs-source-link/bs-source-link.stories.d.ts +13 -0
- package/dist/types/components.d.ts +1746 -19
- package/package.json +1 -1
- package/dist/brandsync-wc/p-6abdfaf0.entry.js +0 -1
- package/dist/brandsync-wc/p-6c1fa4da.entry.js +0 -1
- package/dist/brandsync-wc/p-a12d0a60.entry.js +0 -1
- package/dist/brandsync-wc/p-f5f443e2.entry.js +0 -1
- package/dist/cjs/bs-menu.cjs.entry.js +0 -17
- package/dist/esm/bs-menu.entry.js +0 -15
package/custom-elements.json
CHANGED
|
@@ -3,46 +3,105 @@
|
|
|
3
3
|
"modules": [
|
|
4
4
|
{
|
|
5
5
|
"kind": "javascript-module",
|
|
6
|
-
"path": "src/components/bs-ai-
|
|
6
|
+
"path": "src/components/bs-ai-disclaimer/bs-ai-disclaimer.tsx",
|
|
7
7
|
"declarations": [
|
|
8
8
|
{
|
|
9
9
|
"kind": "class",
|
|
10
10
|
"customElement": true,
|
|
11
|
-
"tagName": "bs-ai-
|
|
12
|
-
"name": "
|
|
13
|
-
"description": "A
|
|
11
|
+
"tagName": "bs-ai-disclaimer",
|
|
12
|
+
"name": "BsAiDisclaimer",
|
|
13
|
+
"description": "A centered caption disclaimer for Genie AI surfaces, e.g. \"AI can make mistakes. Please verify\nimportant information.\"\n\n## When to use\n- Below or above `bs-composer` in a Genie AI chat panel, to remind users AI output can be wrong.\n\n## When not to use\n- A general-purpose caption/helper text — use plain text or `bs-input`'s description slot for\n non-AI-related helper copy.\n\nThe default slot (rather than a fixed prop) is intentional: Figma only specifies plain text, but\nsome consuming apps link out to a policy/help page from this copy, and a slot supports that\nwithout inventing an unconfirmed `href`/link prop.",
|
|
14
|
+
"slots": [
|
|
15
|
+
{
|
|
16
|
+
"name": "",
|
|
17
|
+
"description": "The disclaimer text/content, centered. Defaults to no content -- the consumer supplies\nthe copy, e.g. \"AI can make mistakes. Please verify important information.\""
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"cssParts": [
|
|
21
|
+
{
|
|
22
|
+
"name": "text",
|
|
23
|
+
"description": "The disclaimer text container."
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"exports": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "js",
|
|
31
|
+
"name": "BsAiDisclaimer",
|
|
32
|
+
"declaration": {
|
|
33
|
+
"name": "BsAiDisclaimer"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "custom-element-definition",
|
|
38
|
+
"name": "bs-ai-disclaimer",
|
|
39
|
+
"declaration": {
|
|
40
|
+
"name": "BsAiDisclaimer"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "javascript-module",
|
|
47
|
+
"path": "src/components/bs-ai-greeting/bs-ai-greeting.tsx",
|
|
48
|
+
"declarations": [
|
|
49
|
+
{
|
|
50
|
+
"kind": "class",
|
|
51
|
+
"customElement": true,
|
|
52
|
+
"tagName": "bs-ai-greeting",
|
|
53
|
+
"name": "BsAiGreeting",
|
|
54
|
+
"description": "The centered welcome heading shown at the top of an empty Genie AI chat panel, e.g.\n\"Hi. I'm Genie, your AI assistant.\" + \"How can I help you with [product] today?\"\n\n## When to use\n- The empty/initial state of a Genie AI chat panel, before the user has sent a message.\n\n## When not to use\n- Once a conversation has started -- this is a one-time empty-state greeting, not a persistent\n header (see `bs-chatbot-header` for that).\n\n`productName` is optional: Figma's copy has a `[product_name]` placeholder the consuming app is\nexpected to fill in, but a component shouldn't force a product name to exist, so leaving it\nunset falls back to a product-agnostic \"How can I help you today?\".",
|
|
14
55
|
"attributes": [
|
|
15
56
|
{
|
|
16
|
-
"name": "
|
|
17
|
-
"description": "The
|
|
57
|
+
"name": "assistant-name",
|
|
58
|
+
"description": "The assistant's name, used in the heading (\"Hi. I'm {assistantName},\").",
|
|
18
59
|
"type": {
|
|
19
60
|
"text": "string"
|
|
20
61
|
},
|
|
21
|
-
"default": "'
|
|
22
|
-
"fieldName": "
|
|
62
|
+
"default": "'Genie'",
|
|
63
|
+
"fieldName": "assistantName"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "product-name",
|
|
67
|
+
"description": "The product name mentioned in the subtext. Omit to use a product-agnostic subtext.",
|
|
68
|
+
"type": {
|
|
69
|
+
"text": "string"
|
|
70
|
+
},
|
|
71
|
+
"fieldName": "productName"
|
|
23
72
|
}
|
|
24
73
|
],
|
|
25
74
|
"members": [
|
|
26
75
|
{
|
|
27
76
|
"kind": "field",
|
|
28
|
-
"name": "
|
|
29
|
-
"description": "The
|
|
77
|
+
"name": "assistantName",
|
|
78
|
+
"description": "The assistant's name, used in the heading (\"Hi. I'm {assistantName},\").",
|
|
30
79
|
"type": {
|
|
31
80
|
"text": "string"
|
|
32
81
|
},
|
|
33
|
-
"default": "'
|
|
82
|
+
"default": "'Genie'",
|
|
34
83
|
"readonly": true,
|
|
35
|
-
"attribute": "
|
|
84
|
+
"attribute": "assistant-name"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "field",
|
|
88
|
+
"name": "productName",
|
|
89
|
+
"description": "The product name mentioned in the subtext. Omit to use a product-agnostic subtext.",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "string"
|
|
92
|
+
},
|
|
93
|
+
"readonly": true,
|
|
94
|
+
"attribute": "product-name"
|
|
36
95
|
}
|
|
37
96
|
],
|
|
38
97
|
"cssParts": [
|
|
39
98
|
{
|
|
40
|
-
"name": "
|
|
41
|
-
"description": "The
|
|
99
|
+
"name": "heading",
|
|
100
|
+
"description": "The bold \"Hi. I'm {assistantName}, your AI assistant.\" heading."
|
|
42
101
|
},
|
|
43
102
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"description": "The
|
|
103
|
+
"name": "subtext",
|
|
104
|
+
"description": "The \"How can I help you...\" subtext."
|
|
46
105
|
}
|
|
47
106
|
]
|
|
48
107
|
}
|
|
@@ -50,74 +109,62 @@
|
|
|
50
109
|
"exports": [
|
|
51
110
|
{
|
|
52
111
|
"kind": "js",
|
|
53
|
-
"name": "
|
|
112
|
+
"name": "BsAiGreeting",
|
|
54
113
|
"declaration": {
|
|
55
|
-
"name": "
|
|
114
|
+
"name": "BsAiGreeting"
|
|
56
115
|
}
|
|
57
116
|
},
|
|
58
117
|
{
|
|
59
118
|
"kind": "custom-element-definition",
|
|
60
|
-
"name": "bs-ai-
|
|
119
|
+
"name": "bs-ai-greeting",
|
|
61
120
|
"declaration": {
|
|
62
|
-
"name": "
|
|
121
|
+
"name": "BsAiGreeting"
|
|
63
122
|
}
|
|
64
123
|
}
|
|
65
124
|
]
|
|
66
125
|
},
|
|
67
126
|
{
|
|
68
127
|
"kind": "javascript-module",
|
|
69
|
-
"path": "src/components/bs-
|
|
128
|
+
"path": "src/components/bs-ai-thinking/bs-ai-thinking.tsx",
|
|
70
129
|
"declarations": [
|
|
71
130
|
{
|
|
72
131
|
"kind": "class",
|
|
73
132
|
"customElement": true,
|
|
74
|
-
"tagName": "bs-
|
|
75
|
-
"name": "
|
|
76
|
-
"description": "A small status
|
|
133
|
+
"tagName": "bs-ai-thinking",
|
|
134
|
+
"name": "BsAiThinking",
|
|
135
|
+
"description": "A small inline status indicator for Genie AI surfaces: the colorful Genie mark next to a label\n(e.g. \"Retrieving\", \"Thinking\", \"Searching\") whose text shimmers with a moving highlight band\nwhile an operation is in progress.\n\n## When to use\n- Inline in a Genie AI chat transcript to show what the assistant is currently doing while a\n response is being generated (retrieving context, searching, thinking).\n\n## When not to use\n- A blocking/full-panel loading state -- this is a small inline indicator, not a spinner overlay.",
|
|
77
136
|
"attributes": [
|
|
78
137
|
{
|
|
79
|
-
"name": "
|
|
80
|
-
"description": "
|
|
138
|
+
"name": "label",
|
|
139
|
+
"description": "The status text shown next to the icon, e.g. \"Retrieving\", \"Thinking\", \"Searching\".",
|
|
81
140
|
"type": {
|
|
82
|
-
"text": "
|
|
83
|
-
"references": [
|
|
84
|
-
{
|
|
85
|
-
"name": "BsBadgeVariant"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
141
|
+
"text": "string"
|
|
88
142
|
},
|
|
89
|
-
"default": "'
|
|
90
|
-
"fieldName": "
|
|
143
|
+
"default": "'Thinking'",
|
|
144
|
+
"fieldName": "label"
|
|
91
145
|
}
|
|
92
146
|
],
|
|
93
147
|
"members": [
|
|
94
148
|
{
|
|
95
149
|
"kind": "field",
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
150
|
+
"name": "label",
|
|
151
|
+
"description": "The status text shown next to the icon, e.g. \"Retrieving\", \"Thinking\", \"Searching\".",
|
|
98
152
|
"type": {
|
|
99
|
-
"text": "
|
|
100
|
-
"references": [
|
|
101
|
-
{
|
|
102
|
-
"name": "BsBadgeVariant"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
153
|
+
"text": "string"
|
|
105
154
|
},
|
|
106
|
-
"default": "'
|
|
155
|
+
"default": "'Thinking'",
|
|
107
156
|
"readonly": true,
|
|
108
|
-
"attribute": "
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"slots": [
|
|
112
|
-
{
|
|
113
|
-
"name": "",
|
|
114
|
-
"description": "Default slot: the badge's label text."
|
|
157
|
+
"attribute": "label"
|
|
115
158
|
}
|
|
116
159
|
],
|
|
117
160
|
"cssParts": [
|
|
118
161
|
{
|
|
119
|
-
"name": "
|
|
120
|
-
"description": "The
|
|
162
|
+
"name": "icon",
|
|
163
|
+
"description": "The Genie mark icon."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "label",
|
|
167
|
+
"description": "The status label text."
|
|
121
168
|
}
|
|
122
169
|
]
|
|
123
170
|
}
|
|
@@ -125,180 +172,191 @@
|
|
|
125
172
|
"exports": [
|
|
126
173
|
{
|
|
127
174
|
"kind": "js",
|
|
128
|
-
"name": "
|
|
175
|
+
"name": "BsAiThinking",
|
|
129
176
|
"declaration": {
|
|
130
|
-
"name": "
|
|
177
|
+
"name": "BsAiThinking"
|
|
131
178
|
}
|
|
132
179
|
},
|
|
133
180
|
{
|
|
134
181
|
"kind": "custom-element-definition",
|
|
135
|
-
"name": "bs-
|
|
182
|
+
"name": "bs-ai-thinking",
|
|
136
183
|
"declaration": {
|
|
137
|
-
"name": "
|
|
184
|
+
"name": "BsAiThinking"
|
|
138
185
|
}
|
|
139
186
|
}
|
|
140
187
|
]
|
|
141
188
|
},
|
|
142
189
|
{
|
|
143
190
|
"kind": "javascript-module",
|
|
144
|
-
"path": "src/components/bs-
|
|
191
|
+
"path": "src/components/bs-attachment/bs-attachment.tsx",
|
|
145
192
|
"declarations": [
|
|
146
193
|
{
|
|
147
194
|
"kind": "class",
|
|
148
195
|
"customElement": true,
|
|
149
|
-
"tagName": "bs-
|
|
150
|
-
"name": "
|
|
151
|
-
"description": "A
|
|
196
|
+
"tagName": "bs-attachment",
|
|
197
|
+
"name": "BsAttachment",
|
|
198
|
+
"description": "A single file attachment preview for `bs-composer` -- an image thumbnail, or a filename card\nwith a colored file-type badge (PDF/Document), with an optional upload-in-progress spinner and\na hover/focus-revealed remove button.\n\n## When to use\n- Rendered by the consuming app for each file a user has attached to a Genie AI chat message,\n typically alongside or inside `bs-composer`.\n\n## When not to use\n- A generic file-upload control -- this is a preview-only presentational component. The\n consuming app owns the actual file picker/upload logic and drives `loading` from that state.",
|
|
152
199
|
"attributes": [
|
|
153
200
|
{
|
|
154
|
-
"name": "
|
|
155
|
-
"description": "
|
|
201
|
+
"name": "file-name",
|
|
202
|
+
"description": "The filename shown on the card. Only used when `type` is \"pdf\" or \"document\".",
|
|
156
203
|
"type": {
|
|
157
204
|
"text": "string"
|
|
158
205
|
},
|
|
159
|
-
"default": "
|
|
160
|
-
"fieldName": "
|
|
206
|
+
"default": "'Attachment'",
|
|
207
|
+
"fieldName": "fileName"
|
|
161
208
|
},
|
|
162
209
|
{
|
|
163
|
-
"name": "
|
|
164
|
-
"description": "
|
|
210
|
+
"name": "image-alt",
|
|
211
|
+
"description": "Accessible alt text for the image thumbnail. Only used when `type` is \"image\".",
|
|
165
212
|
"type": {
|
|
166
|
-
"text": "
|
|
213
|
+
"text": "string"
|
|
167
214
|
},
|
|
168
|
-
"default": "
|
|
169
|
-
"fieldName": "
|
|
215
|
+
"default": "''",
|
|
216
|
+
"fieldName": "imageAlt"
|
|
170
217
|
},
|
|
171
218
|
{
|
|
172
|
-
"name": "
|
|
173
|
-
"description": "
|
|
219
|
+
"name": "image-src",
|
|
220
|
+
"description": "The thumbnail image URL. Only used when `type` is \"image\".",
|
|
174
221
|
"type": {
|
|
175
|
-
"text": "
|
|
176
|
-
"references": [
|
|
177
|
-
{
|
|
178
|
-
"name": "BsButtonSize"
|
|
179
|
-
}
|
|
180
|
-
]
|
|
222
|
+
"text": "string"
|
|
181
223
|
},
|
|
182
|
-
"
|
|
183
|
-
"fieldName": "size"
|
|
224
|
+
"fieldName": "imageSrc"
|
|
184
225
|
},
|
|
185
226
|
{
|
|
186
|
-
"name": "
|
|
187
|
-
"description": "
|
|
227
|
+
"name": "loading",
|
|
228
|
+
"description": "Shows an upload-in-progress spinner (blurred + overlaid for images, in the badge for files).",
|
|
188
229
|
"type": {
|
|
189
|
-
"text": "
|
|
230
|
+
"text": "boolean"
|
|
190
231
|
},
|
|
191
|
-
"default": "
|
|
192
|
-
"fieldName": "
|
|
232
|
+
"default": "false",
|
|
233
|
+
"fieldName": "loading"
|
|
193
234
|
},
|
|
194
235
|
{
|
|
195
|
-
"name": "
|
|
196
|
-
"description": "
|
|
236
|
+
"name": "removable",
|
|
237
|
+
"description": "Whether the hover/focus-revealed remove button is rendered at all.",
|
|
197
238
|
"type": {
|
|
198
|
-
"text": "
|
|
239
|
+
"text": "boolean"
|
|
240
|
+
},
|
|
241
|
+
"default": "true",
|
|
242
|
+
"fieldName": "removable"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "type",
|
|
246
|
+
"description": "Which kind of attachment preview to render.",
|
|
247
|
+
"type": {
|
|
248
|
+
"text": "\"document\" | \"image\" | \"pdf\"",
|
|
199
249
|
"references": [
|
|
200
250
|
{
|
|
201
|
-
"name": "
|
|
251
|
+
"name": "BsAttachmentType"
|
|
202
252
|
}
|
|
203
253
|
]
|
|
204
254
|
},
|
|
205
|
-
"default": "'
|
|
206
|
-
"fieldName": "
|
|
255
|
+
"default": "'image'",
|
|
256
|
+
"fieldName": "type"
|
|
207
257
|
}
|
|
208
258
|
],
|
|
209
259
|
"members": [
|
|
210
260
|
{
|
|
211
261
|
"kind": "field",
|
|
212
|
-
"name": "
|
|
213
|
-
"description": "
|
|
262
|
+
"name": "fileName",
|
|
263
|
+
"description": "The filename shown on the card. Only used when `type` is \"pdf\" or \"document\".",
|
|
214
264
|
"type": {
|
|
215
265
|
"text": "string"
|
|
216
266
|
},
|
|
217
|
-
"default": "
|
|
267
|
+
"default": "'Attachment'",
|
|
218
268
|
"readonly": true,
|
|
219
|
-
"attribute": "
|
|
269
|
+
"attribute": "file-name"
|
|
220
270
|
},
|
|
221
271
|
{
|
|
222
272
|
"kind": "field",
|
|
223
|
-
"name": "
|
|
224
|
-
"description": "
|
|
273
|
+
"name": "imageAlt",
|
|
274
|
+
"description": "Accessible alt text for the image thumbnail. Only used when `type` is \"image\".",
|
|
225
275
|
"type": {
|
|
226
|
-
"text": "
|
|
276
|
+
"text": "string"
|
|
227
277
|
},
|
|
228
|
-
"default": "
|
|
278
|
+
"default": "''",
|
|
229
279
|
"readonly": true,
|
|
230
|
-
"attribute": "
|
|
280
|
+
"attribute": "image-alt"
|
|
231
281
|
},
|
|
232
282
|
{
|
|
233
283
|
"kind": "field",
|
|
234
|
-
"name": "
|
|
235
|
-
"description": "
|
|
284
|
+
"name": "imageSrc",
|
|
285
|
+
"description": "The thumbnail image URL. Only used when `type` is \"image\".",
|
|
236
286
|
"type": {
|
|
237
|
-
"text": "
|
|
238
|
-
"references": [
|
|
239
|
-
{
|
|
240
|
-
"name": "BsButtonSize"
|
|
241
|
-
}
|
|
242
|
-
]
|
|
287
|
+
"text": "string"
|
|
243
288
|
},
|
|
244
|
-
"default": "'md'",
|
|
245
289
|
"readonly": true,
|
|
246
|
-
"attribute": "
|
|
290
|
+
"attribute": "image-src"
|
|
247
291
|
},
|
|
248
292
|
{
|
|
249
293
|
"kind": "field",
|
|
250
|
-
"name": "
|
|
251
|
-
"description": "
|
|
294
|
+
"name": "loading",
|
|
295
|
+
"description": "Shows an upload-in-progress spinner (blurred + overlaid for images, in the badge for files).",
|
|
252
296
|
"type": {
|
|
253
|
-
"text": "
|
|
297
|
+
"text": "boolean"
|
|
254
298
|
},
|
|
255
|
-
"default": "
|
|
299
|
+
"default": "false",
|
|
256
300
|
"readonly": true,
|
|
257
|
-
"attribute": "
|
|
301
|
+
"attribute": "loading"
|
|
258
302
|
},
|
|
259
303
|
{
|
|
260
304
|
"kind": "field",
|
|
261
|
-
"name": "
|
|
262
|
-
"description": "
|
|
305
|
+
"name": "removable",
|
|
306
|
+
"description": "Whether the hover/focus-revealed remove button is rendered at all.",
|
|
263
307
|
"type": {
|
|
264
|
-
"text": "
|
|
308
|
+
"text": "boolean"
|
|
309
|
+
},
|
|
310
|
+
"default": "true",
|
|
311
|
+
"readonly": true,
|
|
312
|
+
"attribute": "removable"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "field",
|
|
316
|
+
"name": "type",
|
|
317
|
+
"description": "Which kind of attachment preview to render.",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "\"document\" | \"image\" | \"pdf\"",
|
|
265
320
|
"references": [
|
|
266
321
|
{
|
|
267
|
-
"name": "
|
|
322
|
+
"name": "BsAttachmentType"
|
|
268
323
|
}
|
|
269
324
|
]
|
|
270
325
|
},
|
|
271
|
-
"default": "'
|
|
326
|
+
"default": "'image'",
|
|
272
327
|
"readonly": true,
|
|
273
|
-
"attribute": "
|
|
328
|
+
"attribute": "type"
|
|
274
329
|
}
|
|
275
330
|
],
|
|
276
|
-
"
|
|
277
|
-
{
|
|
278
|
-
"name": "",
|
|
279
|
-
"description": "Default slot: the button's label content."
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"name": "end-icon",
|
|
283
|
-
"description": "Optional trailing icon, rendered after the label."
|
|
284
|
-
},
|
|
331
|
+
"events": [
|
|
285
332
|
{
|
|
286
|
-
"name": "
|
|
287
|
-
"description": "
|
|
333
|
+
"name": "bsRemove",
|
|
334
|
+
"description": "Fires when the remove button is clicked.",
|
|
335
|
+
"type": {
|
|
336
|
+
"text": "CustomEvent<void>"
|
|
337
|
+
}
|
|
288
338
|
}
|
|
289
339
|
],
|
|
290
340
|
"cssParts": [
|
|
291
341
|
{
|
|
292
|
-
"name": "
|
|
293
|
-
"description": "The
|
|
342
|
+
"name": "badge",
|
|
343
|
+
"description": "The colored file-type badge inside the card."
|
|
294
344
|
},
|
|
295
345
|
{
|
|
296
|
-
"name": "
|
|
297
|
-
"description": "The
|
|
346
|
+
"name": "card",
|
|
347
|
+
"description": "The filename card (type=\"pdf\" / type=\"document\" only)."
|
|
298
348
|
},
|
|
299
349
|
{
|
|
300
|
-
"name": "
|
|
301
|
-
"description": "The text
|
|
350
|
+
"name": "filename",
|
|
351
|
+
"description": "The truncated filename text inside the card."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "remove",
|
|
355
|
+
"description": "The remove button."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "thumbnail",
|
|
359
|
+
"description": "The image thumbnail wrapper (type=\"image\" only)."
|
|
302
360
|
}
|
|
303
361
|
]
|
|
304
362
|
}
|
|
@@ -306,40 +364,365 @@
|
|
|
306
364
|
"exports": [
|
|
307
365
|
{
|
|
308
366
|
"kind": "js",
|
|
309
|
-
"name": "
|
|
367
|
+
"name": "BsAttachment",
|
|
310
368
|
"declaration": {
|
|
311
|
-
"name": "
|
|
369
|
+
"name": "BsAttachment"
|
|
312
370
|
}
|
|
313
371
|
},
|
|
314
372
|
{
|
|
315
373
|
"kind": "custom-element-definition",
|
|
316
|
-
"name": "bs-
|
|
374
|
+
"name": "bs-attachment",
|
|
317
375
|
"declaration": {
|
|
318
|
-
"name": "
|
|
376
|
+
"name": "BsAttachment"
|
|
319
377
|
}
|
|
320
378
|
}
|
|
321
379
|
]
|
|
322
380
|
},
|
|
323
381
|
{
|
|
324
382
|
"kind": "javascript-module",
|
|
325
|
-
"path": "src/components/bs-
|
|
383
|
+
"path": "src/components/bs-attachment-list/bs-attachment-list.tsx",
|
|
326
384
|
"declarations": [
|
|
327
385
|
{
|
|
328
386
|
"kind": "class",
|
|
329
387
|
"customElement": true,
|
|
330
|
-
"tagName": "bs-
|
|
331
|
-
"name": "
|
|
332
|
-
"description": "A
|
|
388
|
+
"tagName": "bs-attachment-list",
|
|
389
|
+
"name": "BsAttachmentList",
|
|
390
|
+
"description": "A horizontally-scrolling row wrapper for one or more `bs-attachment` previews, for slotting into\n`bs-composer`'s `attachments` slot when a Genie AI chat message has file attachments.\n\n## When to use\n- Wrapping any number of `bs-attachment` elements the user has attached to a message, so they\n lay out in a single row and scroll horizontally instead of wrapping/overflowing once there\n are more than fit the available width.\n\n## When not to use\n- A single attachment on its own — just render `bs-attachment` directly, this wrapper's\n scroll/fade affordance only matters once there's more content than fits.",
|
|
333
391
|
"attributes": [
|
|
334
392
|
{
|
|
335
|
-
"name": "
|
|
336
|
-
"description": "
|
|
393
|
+
"name": "aria-label",
|
|
394
|
+
"description": "Accessible name for the scrollable region.",
|
|
337
395
|
"type": {
|
|
338
|
-
"text": "
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
396
|
+
"text": "string"
|
|
397
|
+
},
|
|
398
|
+
"default": "'Attachments'",
|
|
399
|
+
"fieldName": "ariaLabel"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"members": [
|
|
403
|
+
{
|
|
404
|
+
"kind": "field",
|
|
405
|
+
"name": "ariaLabel",
|
|
406
|
+
"description": "Accessible name for the scrollable region.",
|
|
407
|
+
"type": {
|
|
408
|
+
"text": "string"
|
|
409
|
+
},
|
|
410
|
+
"default": "'Attachments'",
|
|
411
|
+
"readonly": true,
|
|
412
|
+
"attribute": "aria-label"
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"slots": [
|
|
416
|
+
{
|
|
417
|
+
"name": "",
|
|
418
|
+
"description": "One or more `bs-attachment` elements."
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"cssParts": [
|
|
422
|
+
{
|
|
423
|
+
"name": "fade",
|
|
424
|
+
"description": "The right-edge fade-out overlay shown only while the row has more content to\nscroll to."
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "row",
|
|
428
|
+
"description": "The scrollable flex row containing the slotted attachments."
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"exports": [
|
|
434
|
+
{
|
|
435
|
+
"kind": "js",
|
|
436
|
+
"name": "BsAttachmentList",
|
|
437
|
+
"declaration": {
|
|
438
|
+
"name": "BsAttachmentList"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"kind": "custom-element-definition",
|
|
443
|
+
"name": "bs-attachment-list",
|
|
444
|
+
"declaration": {
|
|
445
|
+
"name": "BsAttachmentList"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
]
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"kind": "javascript-module",
|
|
452
|
+
"path": "src/components/bs-badge/bs-badge.tsx",
|
|
453
|
+
"declarations": [
|
|
454
|
+
{
|
|
455
|
+
"kind": "class",
|
|
456
|
+
"customElement": true,
|
|
457
|
+
"tagName": "bs-badge",
|
|
458
|
+
"name": "BsBadge",
|
|
459
|
+
"description": "A small status or category pill, usually paired with a label or list item.\n\n## When to use\n- Communicating a short, fixed status (e.g. \"Active\", \"On leave\") or category label.\n\n## When not to use\n- As an interactive/clickable element — a badge is a label, not a control. Use a button\n or chip component if it needs to be clickable.\n- For long text — badges are sized for one or two words.",
|
|
460
|
+
"attributes": [
|
|
461
|
+
{
|
|
462
|
+
"name": "variant",
|
|
463
|
+
"description": "Maps directly to the brandsync-tokens `--bs-badge-bg-*` / `--bs-badge-text-*` sets.",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "\"default\" | \"error\" | \"info\" | \"inverse\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
466
|
+
"references": [
|
|
467
|
+
{
|
|
468
|
+
"name": "BsBadgeVariant"
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
"default": "'default'",
|
|
473
|
+
"fieldName": "variant"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"members": [
|
|
477
|
+
{
|
|
478
|
+
"kind": "field",
|
|
479
|
+
"name": "variant",
|
|
480
|
+
"description": "Maps directly to the brandsync-tokens `--bs-badge-bg-*` / `--bs-badge-text-*` sets.",
|
|
481
|
+
"type": {
|
|
482
|
+
"text": "\"default\" | \"error\" | \"info\" | \"inverse\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
483
|
+
"references": [
|
|
484
|
+
{
|
|
485
|
+
"name": "BsBadgeVariant"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
"default": "'default'",
|
|
490
|
+
"readonly": true,
|
|
491
|
+
"attribute": "variant"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"slots": [
|
|
495
|
+
{
|
|
496
|
+
"name": "",
|
|
497
|
+
"description": "Default slot: the badge's label text."
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"cssParts": [
|
|
501
|
+
{
|
|
502
|
+
"name": "container",
|
|
503
|
+
"description": "The pill element."
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"exports": [
|
|
509
|
+
{
|
|
510
|
+
"kind": "js",
|
|
511
|
+
"name": "BsBadge",
|
|
512
|
+
"declaration": {
|
|
513
|
+
"name": "BsBadge"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"kind": "custom-element-definition",
|
|
518
|
+
"name": "bs-badge",
|
|
519
|
+
"declaration": {
|
|
520
|
+
"name": "BsBadge"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"kind": "javascript-module",
|
|
527
|
+
"path": "src/components/bs-button/bs-button.tsx",
|
|
528
|
+
"declarations": [
|
|
529
|
+
{
|
|
530
|
+
"kind": "class",
|
|
531
|
+
"customElement": true,
|
|
532
|
+
"tagName": "bs-button",
|
|
533
|
+
"name": "BsButton",
|
|
534
|
+
"description": "A clickable action element for the single most important action in a given context.\n\n## When to use\n- The primary call to action on a screen or within a card/modal (e.g. \"Book room\", \"Confirm\").\n- Secondary, lower-emphasis actions alongside it (use `variant=\"neutral\"`).\n- `variant=\"error\"` for destructive/irreversible actions (e.g. \"Delete account\") — per\n BrandSync guidance, destructive actions should always use the error variant, never\n `neutral`, so the visual weight matches the risk of the action.\n\n## When not to use\n- For navigation between pages — use a link/nav component instead, a button implies an\n in-page action, not a destination change.\n- For more than one primary-emphasis action in the same view — pick one, demote the rest to\n `neutral`.\n- `error` purely for visual emphasis — it signals a destructive action to the user, so reserve\n it for actions that actually delete/revoke/undo something.",
|
|
535
|
+
"attributes": [
|
|
536
|
+
{
|
|
537
|
+
"name": "aria-label",
|
|
538
|
+
"description": "Accessible name for the button. Required for icon-only usage (no visible label text via the\ndefault slot) so screen readers still announce what the button does. Stencil reflects this\ncamelCase prop to the `aria-label` HTML attribute automatically.",
|
|
539
|
+
"type": {
|
|
540
|
+
"text": "string"
|
|
541
|
+
},
|
|
542
|
+
"default": "null",
|
|
543
|
+
"fieldName": "ariaLabel"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "disabled",
|
|
547
|
+
"description": "Disables the button and applies the disabled token set.",
|
|
548
|
+
"type": {
|
|
549
|
+
"text": "boolean"
|
|
550
|
+
},
|
|
551
|
+
"default": "false",
|
|
552
|
+
"fieldName": "disabled"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "size",
|
|
556
|
+
"description": "Sizing scale.",
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
559
|
+
"references": [
|
|
560
|
+
{
|
|
561
|
+
"name": "BsButtonSize"
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
"default": "'md'",
|
|
566
|
+
"fieldName": "size"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "type",
|
|
570
|
+
"description": "Native `<button>` type.",
|
|
571
|
+
"type": {
|
|
572
|
+
"text": "\"button\" | \"reset\" | \"submit\""
|
|
573
|
+
},
|
|
574
|
+
"default": "'button'",
|
|
575
|
+
"fieldName": "type"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "variant",
|
|
579
|
+
"description": "Visual style. Maps directly to the brandsync-tokens `--bs-button-*` semantic set.\n`error` is for destructive/irreversible actions per BrandSync guidance, not a stronger\nemphasis alternative to `primary`.",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "\"error\" | \"info\" | \"neutral\" | \"outlined\" | \"primary\" | \"subtle\" | \"success\" | \"warning\"",
|
|
582
|
+
"references": [
|
|
583
|
+
{
|
|
584
|
+
"name": "BsButtonVariant"
|
|
585
|
+
}
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
"default": "'primary'",
|
|
589
|
+
"fieldName": "variant"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"members": [
|
|
593
|
+
{
|
|
594
|
+
"kind": "field",
|
|
595
|
+
"name": "ariaLabel",
|
|
596
|
+
"description": "Accessible name for the button. Required for icon-only usage (no visible label text via the\ndefault slot) so screen readers still announce what the button does. Stencil reflects this\ncamelCase prop to the `aria-label` HTML attribute automatically.",
|
|
597
|
+
"type": {
|
|
598
|
+
"text": "string"
|
|
599
|
+
},
|
|
600
|
+
"default": "null",
|
|
601
|
+
"readonly": true,
|
|
602
|
+
"attribute": "aria-label"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"kind": "field",
|
|
606
|
+
"name": "disabled",
|
|
607
|
+
"description": "Disables the button and applies the disabled token set.",
|
|
608
|
+
"type": {
|
|
609
|
+
"text": "boolean"
|
|
610
|
+
},
|
|
611
|
+
"default": "false",
|
|
612
|
+
"readonly": true,
|
|
613
|
+
"attribute": "disabled"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"kind": "field",
|
|
617
|
+
"name": "size",
|
|
618
|
+
"description": "Sizing scale.",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
621
|
+
"references": [
|
|
622
|
+
{
|
|
623
|
+
"name": "BsButtonSize"
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
},
|
|
627
|
+
"default": "'md'",
|
|
628
|
+
"readonly": true,
|
|
629
|
+
"attribute": "size"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"kind": "field",
|
|
633
|
+
"name": "type",
|
|
634
|
+
"description": "Native `<button>` type.",
|
|
635
|
+
"type": {
|
|
636
|
+
"text": "\"button\" | \"reset\" | \"submit\""
|
|
637
|
+
},
|
|
638
|
+
"default": "'button'",
|
|
639
|
+
"readonly": true,
|
|
640
|
+
"attribute": "type"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"kind": "field",
|
|
644
|
+
"name": "variant",
|
|
645
|
+
"description": "Visual style. Maps directly to the brandsync-tokens `--bs-button-*` semantic set.\n`error` is for destructive/irreversible actions per BrandSync guidance, not a stronger\nemphasis alternative to `primary`.",
|
|
646
|
+
"type": {
|
|
647
|
+
"text": "\"error\" | \"info\" | \"neutral\" | \"outlined\" | \"primary\" | \"subtle\" | \"success\" | \"warning\"",
|
|
648
|
+
"references": [
|
|
649
|
+
{
|
|
650
|
+
"name": "BsButtonVariant"
|
|
651
|
+
}
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
"default": "'primary'",
|
|
655
|
+
"readonly": true,
|
|
656
|
+
"attribute": "variant"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"slots": [
|
|
660
|
+
{
|
|
661
|
+
"name": "",
|
|
662
|
+
"description": "Default slot: the button's label content."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "end-icon",
|
|
666
|
+
"description": "Optional trailing icon, rendered after the label."
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "icon",
|
|
670
|
+
"description": "Optional leading icon, rendered before the label."
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"cssParts": [
|
|
674
|
+
{
|
|
675
|
+
"name": "end-icon",
|
|
676
|
+
"description": "The trailing icon wrapper element."
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "icon",
|
|
680
|
+
"description": "The icon wrapper element."
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "label",
|
|
684
|
+
"description": "The text label element."
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"exports": [
|
|
690
|
+
{
|
|
691
|
+
"kind": "js",
|
|
692
|
+
"name": "BsButton",
|
|
693
|
+
"declaration": {
|
|
694
|
+
"name": "BsButton"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"kind": "custom-element-definition",
|
|
699
|
+
"name": "bs-button",
|
|
700
|
+
"declaration": {
|
|
701
|
+
"name": "BsButton"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "javascript-module",
|
|
708
|
+
"path": "src/components/bs-button-skeleton/bs-button-skeleton.tsx",
|
|
709
|
+
"declarations": [
|
|
710
|
+
{
|
|
711
|
+
"kind": "class",
|
|
712
|
+
"customElement": true,
|
|
713
|
+
"tagName": "bs-button-skeleton",
|
|
714
|
+
"name": "BsButtonSkeleton",
|
|
715
|
+
"description": "A shape-matched loading placeholder for `bs-button`, shown while the real label/action isn't\nknown yet (e.g. still being fetched from an API). Sized to match `bs-button`'s `sm`/`md`/`lg`\nheights so layout doesn't shift once the real button renders.\n\nThis is not a submit-in-progress spinner — that's a different concern (a button that's\nalready rendered but waiting on an async action it triggered). Use this component only when\nthe button itself doesn't exist yet.\n\n## When to use\n- In place of a `bs-button` whose label/visibility depends on data that hasn't loaded yet.\n\n## When not to use\n- While a button's own click handler is running (e.g. a submit request in flight) — render the\n real `bs-button` and show its own busy/spinner state instead.",
|
|
716
|
+
"attributes": [
|
|
717
|
+
{
|
|
718
|
+
"name": "size",
|
|
719
|
+
"description": "Sizing scale, matching the `bs-button` size it stands in for.",
|
|
720
|
+
"type": {
|
|
721
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
722
|
+
"references": [
|
|
723
|
+
{
|
|
724
|
+
"name": "BsButtonSize",
|
|
725
|
+
"module": "../bs-button/bs-button"
|
|
343
726
|
}
|
|
344
727
|
]
|
|
345
728
|
},
|
|
@@ -398,73 +781,276 @@
|
|
|
398
781
|
{
|
|
399
782
|
"kind": "class",
|
|
400
783
|
"customElement": true,
|
|
401
|
-
"tagName": "bs-card",
|
|
402
|
-
"name": "BsCard",
|
|
403
|
-
"description": "A bounded surface for grouping related content — a summary, a form section, a list item.\n\n## When to use\n- Grouping a self-contained piece of content that needs visual separation from the page\n background (e.g. a booking summary, a settings section).\n\n## When not to use\n- As the only structural element on a page — cards group content, they don't replace layout.\n- For a dismissible/transient message — use a modal or a dedicated notification component.",
|
|
784
|
+
"tagName": "bs-card",
|
|
785
|
+
"name": "BsCard",
|
|
786
|
+
"description": "A bounded surface for grouping related content — a summary, a form section, a list item.\n\n## When to use\n- Grouping a self-contained piece of content that needs visual separation from the page\n background (e.g. a booking summary, a settings section).\n\n## When not to use\n- As the only structural element on a page — cards group content, they don't replace layout.\n- For a dismissible/transient message — use a modal or a dedicated notification component.",
|
|
787
|
+
"attributes": [
|
|
788
|
+
{
|
|
789
|
+
"name": "surface",
|
|
790
|
+
"description": "Maps to the brandsync-tokens `--bs-paper-bg-*` set — Brandsync's tokens don't have a\ndedicated \"card\" component yet, so this reuses the existing Paper surface tokens.",
|
|
791
|
+
"type": {
|
|
792
|
+
"text": "\"base\" | \"container\" | \"raised\"",
|
|
793
|
+
"references": [
|
|
794
|
+
{
|
|
795
|
+
"name": "BsCardSurface"
|
|
796
|
+
}
|
|
797
|
+
]
|
|
798
|
+
},
|
|
799
|
+
"default": "'raised'",
|
|
800
|
+
"fieldName": "surface"
|
|
801
|
+
}
|
|
802
|
+
],
|
|
803
|
+
"members": [
|
|
804
|
+
{
|
|
805
|
+
"kind": "field",
|
|
806
|
+
"name": "surface",
|
|
807
|
+
"description": "Maps to the brandsync-tokens `--bs-paper-bg-*` set — Brandsync's tokens don't have a\ndedicated \"card\" component yet, so this reuses the existing Paper surface tokens.",
|
|
808
|
+
"type": {
|
|
809
|
+
"text": "\"base\" | \"container\" | \"raised\"",
|
|
810
|
+
"references": [
|
|
811
|
+
{
|
|
812
|
+
"name": "BsCardSurface"
|
|
813
|
+
}
|
|
814
|
+
]
|
|
815
|
+
},
|
|
816
|
+
"default": "'raised'",
|
|
817
|
+
"readonly": true,
|
|
818
|
+
"attribute": "surface"
|
|
819
|
+
}
|
|
820
|
+
],
|
|
821
|
+
"slots": [
|
|
822
|
+
{
|
|
823
|
+
"name": "",
|
|
824
|
+
"description": "Default slot: the card's main body content."
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "footer",
|
|
828
|
+
"description": "Optional actions/content below the body (e.g. a button)."
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "header",
|
|
832
|
+
"description": "Optional heading content above the body."
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"cssParts": [
|
|
836
|
+
{
|
|
837
|
+
"name": "body",
|
|
838
|
+
"description": "The body wrapper."
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "container",
|
|
842
|
+
"description": "The outer bordered surface element."
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"name": "footer",
|
|
846
|
+
"description": "The footer wrapper."
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "header",
|
|
850
|
+
"description": "The header wrapper."
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"exports": [
|
|
856
|
+
{
|
|
857
|
+
"kind": "js",
|
|
858
|
+
"name": "BsCard",
|
|
859
|
+
"declaration": {
|
|
860
|
+
"name": "BsCard"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "custom-element-definition",
|
|
865
|
+
"name": "bs-card",
|
|
866
|
+
"declaration": {
|
|
867
|
+
"name": "BsCard"
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "javascript-module",
|
|
874
|
+
"path": "src/components/bs-chatbot-feedback/bs-chatbot-feedback.tsx",
|
|
875
|
+
"declarations": [
|
|
876
|
+
{
|
|
877
|
+
"kind": "class",
|
|
878
|
+
"customElement": true,
|
|
879
|
+
"tagName": "bs-chatbot-feedback",
|
|
880
|
+
"name": "BsChatbotFeedback",
|
|
881
|
+
"description": "A star-rating feedback card shown at the end of a Genie AI chat: a heading/subtitle, a 5-star\nrating, an optional comment, and either \"Submit feedback\" + \"Start new chat\" (before\nsubmitting) or just \"Start new chat\" (after).\n\n## When to use\n- Prompting for feedback on a Genie response or chat session, typically after the user ends or\n restarts a conversation.\n\n## When not to use\n- A generic star-rating input elsewhere in the product -- this component's copy and layout are\n purpose-built for the Genie feedback flow, not a reusable rating control.\n\nThe heading and subtitle are not freeform props: before submitting, they're always the fixed\n\"How was your experience...\" copy; after submitting, they're determined entirely by `rating`\n(1-2 stars reads apologetic, 3 neutral, 4-5 positive), matching the Figma source exactly. Use\n`heading`/`subtitle` only if a consuming app genuinely needs to override that copy.",
|
|
404
882
|
"attributes": [
|
|
405
883
|
{
|
|
406
|
-
"name": "
|
|
407
|
-
"description": "
|
|
884
|
+
"name": "comment",
|
|
885
|
+
"description": "The comment text.",
|
|
408
886
|
"type": {
|
|
409
|
-
"text": "
|
|
410
|
-
"references": [
|
|
411
|
-
{
|
|
412
|
-
"name": "BsCardSurface"
|
|
413
|
-
}
|
|
414
|
-
]
|
|
887
|
+
"text": "string"
|
|
415
888
|
},
|
|
416
|
-
"default": "'
|
|
417
|
-
"fieldName": "
|
|
889
|
+
"default": "''",
|
|
890
|
+
"fieldName": "comment"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "heading",
|
|
894
|
+
"description": "Overrides the computed heading (see the class doc for why this is computed by default).",
|
|
895
|
+
"type": {
|
|
896
|
+
"text": "string"
|
|
897
|
+
},
|
|
898
|
+
"fieldName": "heading"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "rating",
|
|
902
|
+
"description": "Current star rating, 0-5. 0 means no rating has been given yet.",
|
|
903
|
+
"type": {
|
|
904
|
+
"text": "number"
|
|
905
|
+
},
|
|
906
|
+
"default": "0",
|
|
907
|
+
"fieldName": "rating"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "submitted",
|
|
911
|
+
"description": "Whether feedback has been submitted. Switches the card from the editable form to the\nread-only \"thanks\" view.",
|
|
912
|
+
"type": {
|
|
913
|
+
"text": "boolean"
|
|
914
|
+
},
|
|
915
|
+
"default": "false",
|
|
916
|
+
"fieldName": "submitted"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "subtitle",
|
|
920
|
+
"description": "Overrides the computed subtitle.",
|
|
921
|
+
"type": {
|
|
922
|
+
"text": "string"
|
|
923
|
+
},
|
|
924
|
+
"fieldName": "subtitle"
|
|
418
925
|
}
|
|
419
926
|
],
|
|
420
927
|
"members": [
|
|
421
928
|
{
|
|
422
929
|
"kind": "field",
|
|
423
|
-
"name": "
|
|
424
|
-
"description": "
|
|
930
|
+
"name": "comment",
|
|
931
|
+
"description": "The comment text.",
|
|
425
932
|
"type": {
|
|
426
|
-
"text": "
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
933
|
+
"text": "string"
|
|
934
|
+
},
|
|
935
|
+
"default": "''",
|
|
936
|
+
"attribute": "comment"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"kind": "field",
|
|
940
|
+
"name": "heading",
|
|
941
|
+
"description": "Overrides the computed heading (see the class doc for why this is computed by default).",
|
|
942
|
+
"type": {
|
|
943
|
+
"text": "string"
|
|
432
944
|
},
|
|
433
|
-
"default": "'raised'",
|
|
434
945
|
"readonly": true,
|
|
435
|
-
"attribute": "
|
|
946
|
+
"attribute": "heading"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"kind": "field",
|
|
950
|
+
"name": "rating",
|
|
951
|
+
"description": "Current star rating, 0-5. 0 means no rating has been given yet.",
|
|
952
|
+
"type": {
|
|
953
|
+
"text": "number"
|
|
954
|
+
},
|
|
955
|
+
"default": "0",
|
|
956
|
+
"attribute": "rating",
|
|
957
|
+
"reflects": true
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "field",
|
|
961
|
+
"name": "submitted",
|
|
962
|
+
"description": "Whether feedback has been submitted. Switches the card from the editable form to the\nread-only \"thanks\" view.",
|
|
963
|
+
"type": {
|
|
964
|
+
"text": "boolean"
|
|
965
|
+
},
|
|
966
|
+
"default": "false",
|
|
967
|
+
"attribute": "submitted",
|
|
968
|
+
"reflects": true
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"kind": "field",
|
|
972
|
+
"name": "subtitle",
|
|
973
|
+
"description": "Overrides the computed subtitle.",
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "string"
|
|
976
|
+
},
|
|
977
|
+
"readonly": true,
|
|
978
|
+
"attribute": "subtitle"
|
|
436
979
|
}
|
|
437
980
|
],
|
|
438
|
-
"
|
|
981
|
+
"events": [
|
|
439
982
|
{
|
|
440
|
-
"name": "",
|
|
441
|
-
"description": "
|
|
983
|
+
"name": "bsClose",
|
|
984
|
+
"description": "Fires when the close button is clicked. The consuming app owns actually hiding the card.",
|
|
985
|
+
"type": {
|
|
986
|
+
"text": "CustomEvent<void>"
|
|
987
|
+
}
|
|
442
988
|
},
|
|
443
989
|
{
|
|
444
|
-
"name": "
|
|
445
|
-
"description": "
|
|
990
|
+
"name": "bsCommentInput",
|
|
991
|
+
"description": "Fires on every keystroke in the comment textarea, with the current value.",
|
|
992
|
+
"type": {
|
|
993
|
+
"text": "CustomEvent<string>"
|
|
994
|
+
}
|
|
446
995
|
},
|
|
447
996
|
{
|
|
448
|
-
"name": "
|
|
449
|
-
"description": "
|
|
997
|
+
"name": "bsNewChat",
|
|
998
|
+
"description": "Fires when \"Start new chat\" is clicked. The consuming app owns actually starting a new chat.",
|
|
999
|
+
"type": {
|
|
1000
|
+
"text": "CustomEvent<void>"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "bsRatingChange",
|
|
1005
|
+
"description": "Fires when a star is clicked, with the new rating.",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "CustomEvent<number>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "bsSubmit",
|
|
1012
|
+
"description": "Fires when \"Submit feedback\" is clicked, with the current rating and comment. Also sets\n`submitted` to true.",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "CustomEvent<{ rating: number; comment: string; }>"
|
|
1015
|
+
}
|
|
450
1016
|
}
|
|
451
1017
|
],
|
|
452
1018
|
"cssParts": [
|
|
453
1019
|
{
|
|
454
|
-
"name": "
|
|
455
|
-
"description": "The
|
|
1020
|
+
"name": "close",
|
|
1021
|
+
"description": "The close button."
|
|
456
1022
|
},
|
|
457
1023
|
{
|
|
458
|
-
"name": "
|
|
459
|
-
"description": "The
|
|
1024
|
+
"name": "comment",
|
|
1025
|
+
"description": "The submitted comment, read-only (only rendered after submitting, if a comment was given)."
|
|
460
1026
|
},
|
|
461
1027
|
{
|
|
462
|
-
"name": "
|
|
463
|
-
"description": "The
|
|
1028
|
+
"name": "heading",
|
|
1029
|
+
"description": "The heading text."
|
|
464
1030
|
},
|
|
465
1031
|
{
|
|
466
|
-
"name": "
|
|
467
|
-
"description": "The
|
|
1032
|
+
"name": "label",
|
|
1033
|
+
"description": "The \"Tell us what you think\" label (only rendered before submitting)."
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "new-chat",
|
|
1037
|
+
"description": "The \"Start new chat\" button."
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "star",
|
|
1041
|
+
"description": "A single star button (`::part(star)` matches all five)."
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "submit",
|
|
1045
|
+
"description": "The \"Submit feedback\" button (only rendered before submitting)."
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"name": "subtitle",
|
|
1049
|
+
"description": "The subtitle text."
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "textarea",
|
|
1053
|
+
"description": "The comment textarea (only rendered before submitting)."
|
|
468
1054
|
}
|
|
469
1055
|
]
|
|
470
1056
|
}
|
|
@@ -472,16 +1058,16 @@
|
|
|
472
1058
|
"exports": [
|
|
473
1059
|
{
|
|
474
1060
|
"kind": "js",
|
|
475
|
-
"name": "
|
|
1061
|
+
"name": "BsChatbotFeedback",
|
|
476
1062
|
"declaration": {
|
|
477
|
-
"name": "
|
|
1063
|
+
"name": "BsChatbotFeedback"
|
|
478
1064
|
}
|
|
479
1065
|
},
|
|
480
1066
|
{
|
|
481
1067
|
"kind": "custom-element-definition",
|
|
482
|
-
"name": "bs-
|
|
1068
|
+
"name": "bs-chatbot-feedback",
|
|
483
1069
|
"declaration": {
|
|
484
|
-
"name": "
|
|
1070
|
+
"name": "BsChatbotFeedback"
|
|
485
1071
|
}
|
|
486
1072
|
}
|
|
487
1073
|
]
|
|
@@ -718,8 +1304,144 @@
|
|
|
718
1304
|
}
|
|
719
1305
|
},
|
|
720
1306
|
{
|
|
721
|
-
"name": "bsSourcesClick",
|
|
722
|
-
"description": "Fires when the \"N sources\" button is clicked.",
|
|
1307
|
+
"name": "bsSourcesClick",
|
|
1308
|
+
"description": "Fires when the \"N sources\" button is clicked.",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "CustomEvent<void>"
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
],
|
|
1314
|
+
"slots": [
|
|
1315
|
+
{
|
|
1316
|
+
"name": "copy-icon",
|
|
1317
|
+
"description": "Overrides the default \"Copy\" button icon."
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"name": "dislike-icon",
|
|
1321
|
+
"description": "Overrides the default \"Dislike\" button icon."
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "like-icon",
|
|
1325
|
+
"description": "Overrides the default \"Like\" button icon."
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "menu",
|
|
1329
|
+
"description": "A `bs-menu` (or other content) rendered in a popup positioned below the \"More\noptions\" button, shown only while `menuOpen` is `true`."
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "menu-icon",
|
|
1333
|
+
"description": "Overrides the default \"More options\" button icon."
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "regenerate-icon",
|
|
1337
|
+
"description": "Overrides the default \"Regenerate\" button icon."
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "sources-icon",
|
|
1341
|
+
"description": "Overrides the default icon in the \"N sources\" button."
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"cssParts": [
|
|
1345
|
+
{
|
|
1346
|
+
"name": "copy",
|
|
1347
|
+
"description": "The \"Copy\" icon button."
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "dislike",
|
|
1351
|
+
"description": "The \"Dislike\" icon button."
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "like",
|
|
1355
|
+
"description": "The \"Like\" icon button."
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "menu",
|
|
1359
|
+
"description": "The \"More options\" icon button."
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"name": "regenerate",
|
|
1363
|
+
"description": "The \"Regenerate\" icon button."
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"name": "sources",
|
|
1367
|
+
"description": "The \"N sources\" button (only rendered when `sourcesCount` is set)."
|
|
1368
|
+
}
|
|
1369
|
+
]
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"exports": [
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "js",
|
|
1375
|
+
"name": "BsChatbotResponseAction",
|
|
1376
|
+
"declaration": {
|
|
1377
|
+
"name": "BsChatbotResponseAction"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "custom-element-definition",
|
|
1382
|
+
"name": "bs-chatbot-response-action",
|
|
1383
|
+
"declaration": {
|
|
1384
|
+
"name": "BsChatbotResponseAction"
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
]
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"kind": "javascript-module",
|
|
1391
|
+
"path": "src/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.tsx",
|
|
1392
|
+
"declarations": [
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "class",
|
|
1395
|
+
"customElement": true,
|
|
1396
|
+
"tagName": "bs-chatbot-sources-drawer",
|
|
1397
|
+
"name": "BsChatbotSourcesDrawer",
|
|
1398
|
+
"description": "The \"Sources\" panel shown alongside a Genie AI chat response -- a header with a title, a count\nbadge, and a collapse chevron, above a stack of `bs-source-link` citation rows.\n\n## When to use\n- Displaying the documents/sources a Genie response cited, typically opened from a \"view\n sources\" action on a `bs-chatbot-response-action` bar.\n\n## When not to use\n- A generic list container -- this component's header (title + count + collapse) is\n purpose-built for the sources use case.",
|
|
1399
|
+
"attributes": [
|
|
1400
|
+
{
|
|
1401
|
+
"name": "count",
|
|
1402
|
+
"description": "Overrides the auto-detected count badge. By default the badge reflects the number of slotted\n`bs-source-link` children, so most consumers don't need to set this.",
|
|
1403
|
+
"type": {
|
|
1404
|
+
"text": "number"
|
|
1405
|
+
},
|
|
1406
|
+
"fieldName": "count"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "heading",
|
|
1410
|
+
"description": "The panel title.",
|
|
1411
|
+
"type": {
|
|
1412
|
+
"text": "string"
|
|
1413
|
+
},
|
|
1414
|
+
"default": "'Sources'",
|
|
1415
|
+
"fieldName": "heading"
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"members": [
|
|
1419
|
+
{
|
|
1420
|
+
"kind": "field",
|
|
1421
|
+
"name": "count",
|
|
1422
|
+
"description": "Overrides the auto-detected count badge. By default the badge reflects the number of slotted\n`bs-source-link` children, so most consumers don't need to set this.",
|
|
1423
|
+
"type": {
|
|
1424
|
+
"text": "number"
|
|
1425
|
+
},
|
|
1426
|
+
"readonly": true,
|
|
1427
|
+
"attribute": "count"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"kind": "field",
|
|
1431
|
+
"name": "heading",
|
|
1432
|
+
"description": "The panel title.",
|
|
1433
|
+
"type": {
|
|
1434
|
+
"text": "string"
|
|
1435
|
+
},
|
|
1436
|
+
"default": "'Sources'",
|
|
1437
|
+
"readonly": true,
|
|
1438
|
+
"attribute": "heading"
|
|
1439
|
+
}
|
|
1440
|
+
],
|
|
1441
|
+
"events": [
|
|
1442
|
+
{
|
|
1443
|
+
"name": "bsCollapse",
|
|
1444
|
+
"description": "Fires when the collapse chevron is clicked. The consuming app owns actually hiding the panel.",
|
|
723
1445
|
"type": {
|
|
724
1446
|
"text": "CustomEvent<void>"
|
|
725
1447
|
}
|
|
@@ -727,58 +1449,30 @@
|
|
|
727
1449
|
],
|
|
728
1450
|
"slots": [
|
|
729
1451
|
{
|
|
730
|
-
"name": "
|
|
731
|
-
"description": "
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"name": "dislike-icon",
|
|
735
|
-
"description": "Overrides the default \"Dislike\" button icon."
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"name": "like-icon",
|
|
739
|
-
"description": "Overrides the default \"Like\" button icon."
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "menu",
|
|
743
|
-
"description": "A `bs-menu` (or other content) rendered in a popup positioned below the \"More\noptions\" button, shown only while `menuOpen` is `true`."
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"name": "menu-icon",
|
|
747
|
-
"description": "Overrides the default \"More options\" button icon."
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"name": "regenerate-icon",
|
|
751
|
-
"description": "Overrides the default \"Regenerate\" button icon."
|
|
1452
|
+
"name": "",
|
|
1453
|
+
"description": "One or more `bs-source-link` rows."
|
|
752
1454
|
},
|
|
753
1455
|
{
|
|
754
|
-
"name": "
|
|
755
|
-
"description": "Overrides the default
|
|
1456
|
+
"name": "collapse-icon",
|
|
1457
|
+
"description": "Overrides the default collapse chevron icon."
|
|
756
1458
|
}
|
|
757
1459
|
],
|
|
758
1460
|
"cssParts": [
|
|
759
1461
|
{
|
|
760
|
-
"name": "
|
|
761
|
-
"description": "The
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"name": "dislike",
|
|
765
|
-
"description": "The \"Dislike\" icon button."
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "like",
|
|
769
|
-
"description": "The \"Like\" icon button."
|
|
1462
|
+
"name": "collapse",
|
|
1463
|
+
"description": "The collapse chevron button."
|
|
770
1464
|
},
|
|
771
1465
|
{
|
|
772
|
-
"name": "
|
|
773
|
-
"description": "The
|
|
1466
|
+
"name": "count",
|
|
1467
|
+
"description": "The count badge next to the title."
|
|
774
1468
|
},
|
|
775
1469
|
{
|
|
776
|
-
"name": "
|
|
777
|
-
"description": "The \"
|
|
1470
|
+
"name": "heading",
|
|
1471
|
+
"description": "The \"Sources\" title text."
|
|
778
1472
|
},
|
|
779
1473
|
{
|
|
780
|
-
"name": "
|
|
781
|
-
"description": "The
|
|
1474
|
+
"name": "list",
|
|
1475
|
+
"description": "The scrollable container of slotted `bs-source-link` rows."
|
|
782
1476
|
}
|
|
783
1477
|
]
|
|
784
1478
|
}
|
|
@@ -786,16 +1480,16 @@
|
|
|
786
1480
|
"exports": [
|
|
787
1481
|
{
|
|
788
1482
|
"kind": "js",
|
|
789
|
-
"name": "
|
|
1483
|
+
"name": "BsChatbotSourcesDrawer",
|
|
790
1484
|
"declaration": {
|
|
791
|
-
"name": "
|
|
1485
|
+
"name": "BsChatbotSourcesDrawer"
|
|
792
1486
|
}
|
|
793
1487
|
},
|
|
794
1488
|
{
|
|
795
1489
|
"kind": "custom-element-definition",
|
|
796
|
-
"name": "bs-chatbot-
|
|
1490
|
+
"name": "bs-chatbot-sources-drawer",
|
|
797
1491
|
"declaration": {
|
|
798
|
-
"name": "
|
|
1492
|
+
"name": "BsChatbotSourcesDrawer"
|
|
799
1493
|
}
|
|
800
1494
|
}
|
|
801
1495
|
]
|
|
@@ -922,129 +1616,340 @@
|
|
|
922
1616
|
"type": {
|
|
923
1617
|
"text": "string"
|
|
924
1618
|
},
|
|
925
|
-
"default": "''",
|
|
926
|
-
"fieldName": "value"
|
|
1619
|
+
"default": "''",
|
|
1620
|
+
"fieldName": "value"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"name": "variant",
|
|
1624
|
+
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
1625
|
+
"type": {
|
|
1626
|
+
"text": "\"ai\" | \"human\"",
|
|
1627
|
+
"references": [
|
|
1628
|
+
{
|
|
1629
|
+
"name": "BsComposerVariant"
|
|
1630
|
+
}
|
|
1631
|
+
]
|
|
1632
|
+
},
|
|
1633
|
+
"default": "'ai'",
|
|
1634
|
+
"fieldName": "variant"
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"members": [
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "field",
|
|
1640
|
+
"name": "ariaLabel",
|
|
1641
|
+
"description": "Accessible name for the text field. This component has no visible `<label>` (chat composers\ndon't show one in the design), so `ariaLabel` is the only way a consumer gives the textbox an\naccessible name -- set it in every real usage.",
|
|
1642
|
+
"type": {
|
|
1643
|
+
"text": "string"
|
|
1644
|
+
},
|
|
1645
|
+
"default": "null",
|
|
1646
|
+
"readonly": true,
|
|
1647
|
+
"attribute": "aria-label"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "field",
|
|
1651
|
+
"name": "placeholder",
|
|
1652
|
+
"description": "Overrides the variant's default placeholder.",
|
|
1653
|
+
"type": {
|
|
1654
|
+
"text": "string"
|
|
1655
|
+
},
|
|
1656
|
+
"readonly": true,
|
|
1657
|
+
"attribute": "placeholder"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "state",
|
|
1662
|
+
"description": "Which of the four mutually-exclusive composer states to render: `idle` (send, enabled),\n`generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or\n`recording` (voice input in progress -- shows a waveform and a confirm action).",
|
|
1663
|
+
"type": {
|
|
1664
|
+
"text": "\"disabled\" | \"generating\" | \"idle\" | \"recording\"",
|
|
1665
|
+
"references": [
|
|
1666
|
+
{
|
|
1667
|
+
"name": "BsComposerState"
|
|
1668
|
+
}
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
"default": "'idle'",
|
|
1672
|
+
"readonly": true,
|
|
1673
|
+
"attribute": "state"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "field",
|
|
1677
|
+
"name": "value",
|
|
1678
|
+
"description": "Current text value. Native `input` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as a `bsInput` custom event instead.",
|
|
1679
|
+
"type": {
|
|
1680
|
+
"text": "string"
|
|
1681
|
+
},
|
|
1682
|
+
"default": "''",
|
|
1683
|
+
"readonly": true,
|
|
1684
|
+
"attribute": "value"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"kind": "field",
|
|
1688
|
+
"name": "variant",
|
|
1689
|
+
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "\"ai\" | \"human\"",
|
|
1692
|
+
"references": [
|
|
1693
|
+
{
|
|
1694
|
+
"name": "BsComposerVariant"
|
|
1695
|
+
}
|
|
1696
|
+
]
|
|
1697
|
+
},
|
|
1698
|
+
"default": "'ai'",
|
|
1699
|
+
"readonly": true,
|
|
1700
|
+
"attribute": "variant"
|
|
1701
|
+
}
|
|
1702
|
+
],
|
|
1703
|
+
"events": [
|
|
1704
|
+
{
|
|
1705
|
+
"name": "bsAttach",
|
|
1706
|
+
"description": "Fires when the \"+\" attach button is clicked.",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "CustomEvent<void>"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "bsInput",
|
|
1713
|
+
"description": "Fires on every keystroke in the text field, with the current value.",
|
|
1714
|
+
"type": {
|
|
1715
|
+
"text": "CustomEvent<string>"
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "bsMicToggle",
|
|
1720
|
+
"description": "Fires when the mic/stop-recording button is clicked. The consumer decides what that means\n(e.g. start recording when idle/generating, or stop recording when `state=\"recording\"`).",
|
|
1721
|
+
"type": {
|
|
1722
|
+
"text": "CustomEvent<void>"
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"name": "bsStop",
|
|
1727
|
+
"description": "Fires when the primary action button is clicked while `state=\"generating\"`.",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "CustomEvent<void>"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "bsSubmit",
|
|
1734
|
+
"description": "Fires when the primary action button is clicked while `state=\"idle\"`.",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "CustomEvent<void>"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"name": "bsVoiceConfirm",
|
|
1741
|
+
"description": "Fires when the primary action button is clicked while `state=\"recording\"`.",
|
|
1742
|
+
"type": {
|
|
1743
|
+
"text": "CustomEvent<void>"
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
],
|
|
1747
|
+
"slots": [
|
|
1748
|
+
{
|
|
1749
|
+
"name": "actions-end",
|
|
1750
|
+
"description": "Extra consumer-supplied controls appended after the primary action button\nin the controls row (e.g. a product-specific \"Tools\" button). Slotted content is placed\ninline in the same flex row as attach/mic/action, so a slotted element should size itself to\nroughly match `--bs-composer-button-size` to align visually."
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "attachments",
|
|
1754
|
+
"description": "A `bs-attachment-list` (or other content) rendered inside the composer's own\nbordered container, above the text field -- only takes up space/padding when it has assigned\ncontent, so leaving it empty renders identically to not having the slot at all."
|
|
1755
|
+
}
|
|
1756
|
+
],
|
|
1757
|
+
"cssParts": [
|
|
1758
|
+
{
|
|
1759
|
+
"name": "action",
|
|
1760
|
+
"description": "The primary circular action button (send, stop, or confirm depending on `state`)."
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "attach",
|
|
1764
|
+
"description": "The \"+\" attach button."
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "attachments",
|
|
1768
|
+
"description": "The wrapper around the `attachments` slot."
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "input",
|
|
1772
|
+
"description": "The native text `<input>`."
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"name": "mic",
|
|
1776
|
+
"description": "The secondary icon button (microphone, or the stop-recording square while `state=\"recording\"`)."
|
|
1777
|
+
}
|
|
1778
|
+
]
|
|
1779
|
+
}
|
|
1780
|
+
],
|
|
1781
|
+
"exports": [
|
|
1782
|
+
{
|
|
1783
|
+
"kind": "js",
|
|
1784
|
+
"name": "BsComposer",
|
|
1785
|
+
"declaration": {
|
|
1786
|
+
"name": "BsComposer"
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"kind": "custom-element-definition",
|
|
1791
|
+
"name": "bs-composer",
|
|
1792
|
+
"declaration": {
|
|
1793
|
+
"name": "BsComposer"
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
]
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "javascript-module",
|
|
1800
|
+
"path": "src/components/bs-composer-status-banner/bs-composer-status-banner.tsx",
|
|
1801
|
+
"declarations": [
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "class",
|
|
1804
|
+
"customElement": true,
|
|
1805
|
+
"tagName": "bs-composer-status-banner",
|
|
1806
|
+
"name": "BsComposerStatusBanner",
|
|
1807
|
+
"description": "A full-width status banner for use directly above `bs-composer`, surfacing a message about the\ncomposer's current state (e.g. a send failure, an informational notice) with an optional\n\"Continue\"-style action button and an optional close button.\n\n## When to use\n- A message tied to the composer itself (send failed, rate-limited, draft restored, etc.) that\n needs to sit directly above it, not a general-purpose alert -- see `CONVENTIONS.md` if this\n library gains a generic banner/alert component later, and prefer that instead once it exists.\n\n## When not to use\n- A toast/snackbar notification unrelated to the composer -- this component is not\n self-dismissing and has no positioning of its own (it's a static block, not an overlay).",
|
|
1808
|
+
"attributes": [
|
|
1809
|
+
{
|
|
1810
|
+
"name": "action-label",
|
|
1811
|
+
"description": "Label for the action button, only rendered when `showButton` is true.",
|
|
1812
|
+
"type": {
|
|
1813
|
+
"text": "string"
|
|
1814
|
+
},
|
|
1815
|
+
"default": "'Continue'",
|
|
1816
|
+
"fieldName": "actionLabel"
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "allow-close",
|
|
1820
|
+
"description": "Whether the close button is rendered.",
|
|
1821
|
+
"type": {
|
|
1822
|
+
"text": "boolean"
|
|
1823
|
+
},
|
|
1824
|
+
"default": "true",
|
|
1825
|
+
"fieldName": "allowClose"
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "message",
|
|
1829
|
+
"description": "The message text.",
|
|
1830
|
+
"type": {
|
|
1831
|
+
"text": "string"
|
|
1832
|
+
},
|
|
1833
|
+
"default": "'This is a message'",
|
|
1834
|
+
"fieldName": "message"
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"name": "show-button",
|
|
1838
|
+
"description": "Whether the \"Continue\"-style action button is rendered.",
|
|
1839
|
+
"type": {
|
|
1840
|
+
"text": "boolean"
|
|
1841
|
+
},
|
|
1842
|
+
"default": "false",
|
|
1843
|
+
"fieldName": "showButton"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "show-icon",
|
|
1847
|
+
"description": "Whether the leading icon (default: clock) is rendered.",
|
|
1848
|
+
"type": {
|
|
1849
|
+
"text": "boolean"
|
|
1850
|
+
},
|
|
1851
|
+
"default": "true",
|
|
1852
|
+
"fieldName": "showIcon"
|
|
927
1853
|
},
|
|
928
1854
|
{
|
|
929
|
-
"name": "
|
|
930
|
-
"description": "Which
|
|
1855
|
+
"name": "type",
|
|
1856
|
+
"description": "Which severity/style to render. Drives background, text/icon color, and the action button's color.",
|
|
931
1857
|
"type": {
|
|
932
|
-
"text": "\"
|
|
1858
|
+
"text": "\"error\" | \"info\" | \"neutral\" | \"warning\"",
|
|
933
1859
|
"references": [
|
|
934
1860
|
{
|
|
935
|
-
"name": "
|
|
1861
|
+
"name": "BsComposerStatusBannerType"
|
|
936
1862
|
}
|
|
937
1863
|
]
|
|
938
1864
|
},
|
|
939
|
-
"default": "'
|
|
940
|
-
"fieldName": "
|
|
1865
|
+
"default": "'error'",
|
|
1866
|
+
"fieldName": "type"
|
|
941
1867
|
}
|
|
942
1868
|
],
|
|
943
1869
|
"members": [
|
|
944
1870
|
{
|
|
945
1871
|
"kind": "field",
|
|
946
|
-
"name": "
|
|
947
|
-
"description": "
|
|
1872
|
+
"name": "actionLabel",
|
|
1873
|
+
"description": "Label for the action button, only rendered when `showButton` is true.",
|
|
948
1874
|
"type": {
|
|
949
1875
|
"text": "string"
|
|
950
1876
|
},
|
|
951
|
-
"default": "
|
|
1877
|
+
"default": "'Continue'",
|
|
952
1878
|
"readonly": true,
|
|
953
|
-
"attribute": "
|
|
1879
|
+
"attribute": "action-label"
|
|
954
1880
|
},
|
|
955
1881
|
{
|
|
956
1882
|
"kind": "field",
|
|
957
|
-
"name": "
|
|
958
|
-
"description": "
|
|
1883
|
+
"name": "allowClose",
|
|
1884
|
+
"description": "Whether the close button is rendered.",
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "boolean"
|
|
1887
|
+
},
|
|
1888
|
+
"default": "true",
|
|
1889
|
+
"readonly": true,
|
|
1890
|
+
"attribute": "allow-close"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "field",
|
|
1894
|
+
"name": "message",
|
|
1895
|
+
"description": "The message text.",
|
|
959
1896
|
"type": {
|
|
960
1897
|
"text": "string"
|
|
961
1898
|
},
|
|
1899
|
+
"default": "'This is a message'",
|
|
962
1900
|
"readonly": true,
|
|
963
|
-
"attribute": "
|
|
1901
|
+
"attribute": "message"
|
|
964
1902
|
},
|
|
965
1903
|
{
|
|
966
1904
|
"kind": "field",
|
|
967
|
-
"name": "
|
|
968
|
-
"description": "
|
|
1905
|
+
"name": "showButton",
|
|
1906
|
+
"description": "Whether the \"Continue\"-style action button is rendered.",
|
|
969
1907
|
"type": {
|
|
970
|
-
"text": "
|
|
971
|
-
"references": [
|
|
972
|
-
{
|
|
973
|
-
"name": "BsComposerState"
|
|
974
|
-
}
|
|
975
|
-
]
|
|
1908
|
+
"text": "boolean"
|
|
976
1909
|
},
|
|
977
|
-
"default": "
|
|
1910
|
+
"default": "false",
|
|
978
1911
|
"readonly": true,
|
|
979
|
-
"attribute": "
|
|
1912
|
+
"attribute": "show-button"
|
|
980
1913
|
},
|
|
981
1914
|
{
|
|
982
1915
|
"kind": "field",
|
|
983
|
-
"name": "
|
|
984
|
-
"description": "
|
|
1916
|
+
"name": "showIcon",
|
|
1917
|
+
"description": "Whether the leading icon (default: clock) is rendered.",
|
|
985
1918
|
"type": {
|
|
986
|
-
"text": "
|
|
1919
|
+
"text": "boolean"
|
|
987
1920
|
},
|
|
988
|
-
"default": "
|
|
1921
|
+
"default": "true",
|
|
989
1922
|
"readonly": true,
|
|
990
|
-
"attribute": "
|
|
1923
|
+
"attribute": "show-icon"
|
|
991
1924
|
},
|
|
992
1925
|
{
|
|
993
1926
|
"kind": "field",
|
|
994
|
-
"name": "
|
|
995
|
-
"description": "Which
|
|
1927
|
+
"name": "type",
|
|
1928
|
+
"description": "Which severity/style to render. Drives background, text/icon color, and the action button's color.",
|
|
996
1929
|
"type": {
|
|
997
|
-
"text": "\"
|
|
1930
|
+
"text": "\"error\" | \"info\" | \"neutral\" | \"warning\"",
|
|
998
1931
|
"references": [
|
|
999
1932
|
{
|
|
1000
|
-
"name": "
|
|
1933
|
+
"name": "BsComposerStatusBannerType"
|
|
1001
1934
|
}
|
|
1002
1935
|
]
|
|
1003
1936
|
},
|
|
1004
|
-
"default": "'
|
|
1937
|
+
"default": "'error'",
|
|
1005
1938
|
"readonly": true,
|
|
1006
|
-
"attribute": "
|
|
1939
|
+
"attribute": "type"
|
|
1007
1940
|
}
|
|
1008
1941
|
],
|
|
1009
1942
|
"events": [
|
|
1010
1943
|
{
|
|
1011
|
-
"name": "
|
|
1012
|
-
"description": "Fires when the
|
|
1013
|
-
"type": {
|
|
1014
|
-
"text": "CustomEvent<void>"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "bsInput",
|
|
1019
|
-
"description": "Fires on every keystroke in the text field, with the current value.",
|
|
1020
|
-
"type": {
|
|
1021
|
-
"text": "CustomEvent<string>"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"name": "bsMicToggle",
|
|
1026
|
-
"description": "Fires when the mic/stop-recording button is clicked. The consumer decides what that means\n(e.g. start recording when idle/generating, or stop recording when `state=\"recording\"`).",
|
|
1027
|
-
"type": {
|
|
1028
|
-
"text": "CustomEvent<void>"
|
|
1029
|
-
}
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"name": "bsStop",
|
|
1033
|
-
"description": "Fires when the primary action button is clicked while `state=\"generating\"`.",
|
|
1034
|
-
"type": {
|
|
1035
|
-
"text": "CustomEvent<void>"
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
"name": "bsSubmit",
|
|
1040
|
-
"description": "Fires when the primary action button is clicked while `state=\"idle\"`.",
|
|
1944
|
+
"name": "bsAction",
|
|
1945
|
+
"description": "Fires when the action button is clicked. Only relevant when `showButton` is true.",
|
|
1041
1946
|
"type": {
|
|
1042
1947
|
"text": "CustomEvent<void>"
|
|
1043
1948
|
}
|
|
1044
1949
|
},
|
|
1045
1950
|
{
|
|
1046
|
-
"name": "
|
|
1047
|
-
"description": "Fires when the
|
|
1951
|
+
"name": "bsClose",
|
|
1952
|
+
"description": "Fires when the close button is clicked. Only relevant when `allowClose` is true.",
|
|
1048
1953
|
"type": {
|
|
1049
1954
|
"text": "CustomEvent<void>"
|
|
1050
1955
|
}
|
|
@@ -1052,26 +1957,26 @@
|
|
|
1052
1957
|
],
|
|
1053
1958
|
"slots": [
|
|
1054
1959
|
{
|
|
1055
|
-
"name": "
|
|
1056
|
-
"description": "
|
|
1960
|
+
"name": "icon",
|
|
1961
|
+
"description": "Overrides the default leading icon. Only rendered when `showIcon` is true."
|
|
1057
1962
|
}
|
|
1058
1963
|
],
|
|
1059
1964
|
"cssParts": [
|
|
1060
1965
|
{
|
|
1061
1966
|
"name": "action",
|
|
1062
|
-
"description": "The
|
|
1967
|
+
"description": "The optional \"Continue\"-style action button."
|
|
1063
1968
|
},
|
|
1064
1969
|
{
|
|
1065
|
-
"name": "
|
|
1066
|
-
"description": "The
|
|
1970
|
+
"name": "close",
|
|
1971
|
+
"description": "The optional close button."
|
|
1067
1972
|
},
|
|
1068
1973
|
{
|
|
1069
|
-
"name": "
|
|
1070
|
-
"description": "The
|
|
1974
|
+
"name": "icon",
|
|
1975
|
+
"description": "The leading icon wrapper."
|
|
1071
1976
|
},
|
|
1072
1977
|
{
|
|
1073
|
-
"name": "
|
|
1074
|
-
"description": "The
|
|
1978
|
+
"name": "message",
|
|
1979
|
+
"description": "The message text."
|
|
1075
1980
|
}
|
|
1076
1981
|
]
|
|
1077
1982
|
}
|
|
@@ -1079,16 +1984,16 @@
|
|
|
1079
1984
|
"exports": [
|
|
1080
1985
|
{
|
|
1081
1986
|
"kind": "js",
|
|
1082
|
-
"name": "
|
|
1987
|
+
"name": "BsComposerStatusBanner",
|
|
1083
1988
|
"declaration": {
|
|
1084
|
-
"name": "
|
|
1989
|
+
"name": "BsComposerStatusBanner"
|
|
1085
1990
|
}
|
|
1086
1991
|
},
|
|
1087
1992
|
{
|
|
1088
1993
|
"kind": "custom-element-definition",
|
|
1089
|
-
"name": "bs-composer",
|
|
1994
|
+
"name": "bs-composer-status-banner",
|
|
1090
1995
|
"declaration": {
|
|
1091
|
-
"name": "
|
|
1996
|
+
"name": "BsComposerStatusBanner"
|
|
1092
1997
|
}
|
|
1093
1998
|
}
|
|
1094
1999
|
]
|
|
@@ -1274,8 +2179,17 @@
|
|
|
1274
2179
|
"customElement": true,
|
|
1275
2180
|
"tagName": "bs-input",
|
|
1276
2181
|
"name": "BsInput",
|
|
1277
|
-
"description": "A single-line text field with an optional label, description, and error state.\n\n## When to use\n- Collecting a single line of free-text, email, password, or numeric input.\n- Pair with `error` for inline validation feedback tied to that specific field.\n\n## When not to use\n-
|
|
2182
|
+
"description": "A single-line text field with an optional label, description, and error state. Also covers a\nrange of related \"field\" shapes (number stepper, password reveal, date, dropdown trigger,\nselect, textarea, chip input, initials, country, and pin) via the `type` prop, since they all\nshare the same label/description/error/icon-slot chrome.\n\n## When to use\n- Collecting a single line of free-text, email, password, or numeric input.\n- Any of the other supported `type`s (search, date, dropdown, select, textarea, chip, initials,\n country, pin) that share this component's label/description/error chrome.\n- Pair with `error` for inline validation feedback tied to that specific field.\n\n## When not to use\n- A fixed set of choices best served by a dedicated radio/checkbox group rather than a single\n field. `type=\"select\"` (native `<select>`) and `type=\"dropdown\"` (a `bs-menu` of\n `bs-menu-item`s from the `options` prop) cover the field-shaped cases; `type=\"chip\"` has no\n options list at all (freeform chip entry).",
|
|
1278
2183
|
"attributes": [
|
|
2184
|
+
{
|
|
2185
|
+
"name": "country",
|
|
2186
|
+
"description": "Current selected country code for `type=\"country\"`.",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "string"
|
|
2189
|
+
},
|
|
2190
|
+
"default": "''",
|
|
2191
|
+
"fieldName": "country"
|
|
2192
|
+
},
|
|
1279
2193
|
{
|
|
1280
2194
|
"name": "description",
|
|
1281
2195
|
"type": {
|
|
@@ -1298,6 +2212,15 @@
|
|
|
1298
2212
|
},
|
|
1299
2213
|
"fieldName": "error"
|
|
1300
2214
|
},
|
|
2215
|
+
{
|
|
2216
|
+
"name": "initials-title",
|
|
2217
|
+
"description": "Current selected title for `type=\"initials\"`. Named `initialsTitle` rather than `title` --\n`title` is a reserved standard HTML attribute (tooltip text) inherited by every element, and\nStencil warns against shadowing it with a component `@Prop`.",
|
|
2218
|
+
"type": {
|
|
2219
|
+
"text": "string"
|
|
2220
|
+
},
|
|
2221
|
+
"default": "''",
|
|
2222
|
+
"fieldName": "initialsTitle"
|
|
2223
|
+
},
|
|
1301
2224
|
{
|
|
1302
2225
|
"name": "label",
|
|
1303
2226
|
"type": {
|
|
@@ -1305,83 +2228,281 @@
|
|
|
1305
2228
|
},
|
|
1306
2229
|
"fieldName": "label"
|
|
1307
2230
|
},
|
|
2231
|
+
{
|
|
2232
|
+
"name": "length",
|
|
2233
|
+
"description": "Number of cells for `type=\"pin\"`.",
|
|
2234
|
+
"type": {
|
|
2235
|
+
"text": "number"
|
|
2236
|
+
},
|
|
2237
|
+
"default": "4",
|
|
2238
|
+
"fieldName": "length"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"name": "max",
|
|
2242
|
+
"description": "Maximum value for `type=\"number\"`'s stepper buttons.",
|
|
2243
|
+
"type": {
|
|
2244
|
+
"text": "number"
|
|
2245
|
+
},
|
|
2246
|
+
"fieldName": "max"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"name": "min",
|
|
2250
|
+
"description": "Minimum value for `type=\"number\"`'s stepper buttons.",
|
|
2251
|
+
"type": {
|
|
2252
|
+
"text": "number"
|
|
2253
|
+
},
|
|
2254
|
+
"fieldName": "min"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "open",
|
|
2258
|
+
"description": "Whether the `type=\"dropdown\"` trigger is open. Reflects to an attribute so consumers can style\nan open state via CSS. When `options` is non-empty, this also controls whether the `bs-menu`\nof `bs-menu-item`s is rendered below the field.",
|
|
2259
|
+
"type": {
|
|
2260
|
+
"text": "boolean"
|
|
2261
|
+
},
|
|
2262
|
+
"default": "false",
|
|
2263
|
+
"fieldName": "open"
|
|
2264
|
+
},
|
|
1308
2265
|
{
|
|
1309
2266
|
"name": "placeholder",
|
|
1310
2267
|
"type": {
|
|
1311
2268
|
"text": "string"
|
|
1312
2269
|
},
|
|
1313
|
-
"fieldName": "placeholder"
|
|
2270
|
+
"fieldName": "placeholder"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"name": "required",
|
|
2274
|
+
"description": "Marks the field as required: renders a red `*` after the label and sets `aria-required=\"true\"`\non the control. Applies regardless of `type`.",
|
|
2275
|
+
"type": {
|
|
2276
|
+
"text": "boolean"
|
|
2277
|
+
},
|
|
2278
|
+
"default": "false",
|
|
2279
|
+
"fieldName": "required"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "rows",
|
|
2283
|
+
"description": "Number of visible rows for `type=\"textarea\"`.",
|
|
2284
|
+
"type": {
|
|
2285
|
+
"text": "number"
|
|
2286
|
+
},
|
|
2287
|
+
"default": "3",
|
|
2288
|
+
"fieldName": "rows"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "step",
|
|
2292
|
+
"description": "Step size for `type=\"number\"`'s increment/decrement stepper buttons.",
|
|
2293
|
+
"type": {
|
|
2294
|
+
"text": "number"
|
|
2295
|
+
},
|
|
2296
|
+
"default": "1",
|
|
2297
|
+
"fieldName": "step"
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"name": "type",
|
|
2301
|
+
"type": {
|
|
2302
|
+
"text": "\"chip\" | \"country\" | \"date\" | \"dropdown\" | \"email\" | \"initials\" | \"number\" | \"password\" | \"pin\" | \"search\" | \"select\" | \"text\" | \"textarea\""
|
|
2303
|
+
},
|
|
2304
|
+
"default": "'text'",
|
|
2305
|
+
"fieldName": "type"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "value",
|
|
2309
|
+
"description": "Current value. Native `input`/`change` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as `bsInput`/`bsChange` custom events instead. Mutable so the\n`number` type's stepper buttons can update it directly.",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "string"
|
|
2312
|
+
},
|
|
2313
|
+
"default": "''",
|
|
2314
|
+
"fieldName": "value"
|
|
2315
|
+
}
|
|
2316
|
+
],
|
|
2317
|
+
"members": [
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "field",
|
|
2320
|
+
"name": "chips",
|
|
2321
|
+
"description": "Current chips for `type=\"chip\"`. Must be set as a JS property, not an HTML attribute -- see\nCONVENTIONS.md's non-string props rule.",
|
|
2322
|
+
"type": {
|
|
2323
|
+
"text": "string[]"
|
|
2324
|
+
},
|
|
2325
|
+
"default": "[]",
|
|
2326
|
+
"readonly": true
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "field",
|
|
2330
|
+
"name": "country",
|
|
2331
|
+
"description": "Current selected country code for `type=\"country\"`.",
|
|
2332
|
+
"type": {
|
|
2333
|
+
"text": "string"
|
|
2334
|
+
},
|
|
2335
|
+
"default": "''",
|
|
2336
|
+
"readonly": true,
|
|
2337
|
+
"attribute": "country"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"kind": "field",
|
|
2341
|
+
"name": "countryOptions",
|
|
2342
|
+
"description": "Country select options for `type=\"country\"`. Must be set as a JS property, not an HTML\nattribute -- see CONVENTIONS.md's non-string props rule.",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "{ code: string; label: string; flagIcon?: string; }[]"
|
|
2345
|
+
},
|
|
2346
|
+
"default": "[]",
|
|
2347
|
+
"readonly": true
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"kind": "field",
|
|
2351
|
+
"name": "description",
|
|
2352
|
+
"type": {
|
|
2353
|
+
"text": "string"
|
|
2354
|
+
},
|
|
2355
|
+
"readonly": true,
|
|
2356
|
+
"attribute": "description"
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "field",
|
|
2360
|
+
"name": "disabled",
|
|
2361
|
+
"type": {
|
|
2362
|
+
"text": "boolean"
|
|
2363
|
+
},
|
|
2364
|
+
"default": "false",
|
|
2365
|
+
"readonly": true,
|
|
2366
|
+
"attribute": "disabled"
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"kind": "field",
|
|
2370
|
+
"name": "error",
|
|
2371
|
+
"type": {
|
|
2372
|
+
"text": "string"
|
|
2373
|
+
},
|
|
2374
|
+
"readonly": true,
|
|
2375
|
+
"attribute": "error"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"kind": "field",
|
|
2379
|
+
"name": "initialsTitle",
|
|
2380
|
+
"description": "Current selected title for `type=\"initials\"`. Named `initialsTitle` rather than `title` --\n`title` is a reserved standard HTML attribute (tooltip text) inherited by every element, and\nStencil warns against shadowing it with a component `@Prop`.",
|
|
2381
|
+
"type": {
|
|
2382
|
+
"text": "string"
|
|
2383
|
+
},
|
|
2384
|
+
"default": "''",
|
|
2385
|
+
"readonly": true,
|
|
2386
|
+
"attribute": "initials-title"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"kind": "field",
|
|
2390
|
+
"name": "label",
|
|
2391
|
+
"type": {
|
|
2392
|
+
"text": "string"
|
|
2393
|
+
},
|
|
2394
|
+
"readonly": true,
|
|
2395
|
+
"attribute": "label"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"kind": "field",
|
|
2399
|
+
"name": "length",
|
|
2400
|
+
"description": "Number of cells for `type=\"pin\"`.",
|
|
2401
|
+
"type": {
|
|
2402
|
+
"text": "number"
|
|
2403
|
+
},
|
|
2404
|
+
"default": "4",
|
|
2405
|
+
"readonly": true,
|
|
2406
|
+
"attribute": "length"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"kind": "field",
|
|
2410
|
+
"name": "max",
|
|
2411
|
+
"description": "Maximum value for `type=\"number\"`'s stepper buttons.",
|
|
2412
|
+
"type": {
|
|
2413
|
+
"text": "number"
|
|
2414
|
+
},
|
|
2415
|
+
"readonly": true,
|
|
2416
|
+
"attribute": "max"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"kind": "field",
|
|
2420
|
+
"name": "min",
|
|
2421
|
+
"description": "Minimum value for `type=\"number\"`'s stepper buttons.",
|
|
2422
|
+
"type": {
|
|
2423
|
+
"text": "number"
|
|
2424
|
+
},
|
|
2425
|
+
"readonly": true,
|
|
2426
|
+
"attribute": "min"
|
|
1314
2427
|
},
|
|
1315
2428
|
{
|
|
1316
|
-
"
|
|
2429
|
+
"kind": "field",
|
|
2430
|
+
"name": "open",
|
|
2431
|
+
"description": "Whether the `type=\"dropdown\"` trigger is open. Reflects to an attribute so consumers can style\nan open state via CSS. When `options` is non-empty, this also controls whether the `bs-menu`\nof `bs-menu-item`s is rendered below the field.",
|
|
1317
2432
|
"type": {
|
|
1318
|
-
"text": "
|
|
2433
|
+
"text": "boolean"
|
|
1319
2434
|
},
|
|
1320
|
-
"default": "
|
|
1321
|
-
"
|
|
2435
|
+
"default": "false",
|
|
2436
|
+
"attribute": "open",
|
|
2437
|
+
"reflects": true
|
|
1322
2438
|
},
|
|
1323
2439
|
{
|
|
1324
|
-
"
|
|
1325
|
-
"
|
|
2440
|
+
"kind": "field",
|
|
2441
|
+
"name": "options",
|
|
2442
|
+
"description": "Options for `type=\"select\"` (rendered as native `<option>`s) and `type=\"dropdown\"` (rendered\nas a `bs-menu` of `bs-menu-item`s when `open`). Must be set as a JS property, not an HTML\nattribute -- see CONVENTIONS.md's non-string props rule.",
|
|
1326
2443
|
"type": {
|
|
1327
|
-
"text": "string"
|
|
2444
|
+
"text": "{ label: string; value: string; }[]"
|
|
1328
2445
|
},
|
|
1329
|
-
"default": "
|
|
1330
|
-
"
|
|
1331
|
-
}
|
|
1332
|
-
],
|
|
1333
|
-
"members": [
|
|
2446
|
+
"default": "[]",
|
|
2447
|
+
"readonly": true
|
|
2448
|
+
},
|
|
1334
2449
|
{
|
|
1335
2450
|
"kind": "field",
|
|
1336
|
-
"name": "
|
|
2451
|
+
"name": "placeholder",
|
|
1337
2452
|
"type": {
|
|
1338
2453
|
"text": "string"
|
|
1339
2454
|
},
|
|
1340
2455
|
"readonly": true,
|
|
1341
|
-
"attribute": "
|
|
2456
|
+
"attribute": "placeholder"
|
|
1342
2457
|
},
|
|
1343
2458
|
{
|
|
1344
2459
|
"kind": "field",
|
|
1345
|
-
"name": "
|
|
2460
|
+
"name": "required",
|
|
2461
|
+
"description": "Marks the field as required: renders a red `*` after the label and sets `aria-required=\"true\"`\non the control. Applies regardless of `type`.",
|
|
1346
2462
|
"type": {
|
|
1347
2463
|
"text": "boolean"
|
|
1348
2464
|
},
|
|
1349
2465
|
"default": "false",
|
|
1350
2466
|
"readonly": true,
|
|
1351
|
-
"attribute": "
|
|
2467
|
+
"attribute": "required"
|
|
1352
2468
|
},
|
|
1353
2469
|
{
|
|
1354
2470
|
"kind": "field",
|
|
1355
|
-
"name": "
|
|
2471
|
+
"name": "rows",
|
|
2472
|
+
"description": "Number of visible rows for `type=\"textarea\"`.",
|
|
1356
2473
|
"type": {
|
|
1357
|
-
"text": "
|
|
2474
|
+
"text": "number"
|
|
1358
2475
|
},
|
|
2476
|
+
"default": "3",
|
|
1359
2477
|
"readonly": true,
|
|
1360
|
-
"attribute": "
|
|
2478
|
+
"attribute": "rows"
|
|
1361
2479
|
},
|
|
1362
2480
|
{
|
|
1363
2481
|
"kind": "field",
|
|
1364
|
-
"name": "
|
|
2482
|
+
"name": "step",
|
|
2483
|
+
"description": "Step size for `type=\"number\"`'s increment/decrement stepper buttons.",
|
|
1365
2484
|
"type": {
|
|
1366
|
-
"text": "
|
|
2485
|
+
"text": "number"
|
|
1367
2486
|
},
|
|
2487
|
+
"default": "1",
|
|
1368
2488
|
"readonly": true,
|
|
1369
|
-
"attribute": "
|
|
2489
|
+
"attribute": "step"
|
|
1370
2490
|
},
|
|
1371
2491
|
{
|
|
1372
2492
|
"kind": "field",
|
|
1373
|
-
"name": "
|
|
2493
|
+
"name": "titleOptions",
|
|
2494
|
+
"description": "Title select options for `type=\"initials\"` (e.g. `['Mrs.', 'Mr.', 'Dr.']`). Must be set as a\nJS property, not an HTML attribute -- see CONVENTIONS.md's non-string props rule.",
|
|
1374
2495
|
"type": {
|
|
1375
|
-
"text": "string"
|
|
2496
|
+
"text": "string[]"
|
|
1376
2497
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
2498
|
+
"default": "[]",
|
|
2499
|
+
"readonly": true
|
|
1379
2500
|
},
|
|
1380
2501
|
{
|
|
1381
2502
|
"kind": "field",
|
|
1382
2503
|
"name": "type",
|
|
1383
2504
|
"type": {
|
|
1384
|
-
"text": "\"email\" | \"number\" | \"password\" | \"text\""
|
|
2505
|
+
"text": "\"chip\" | \"country\" | \"date\" | \"dropdown\" | \"email\" | \"initials\" | \"number\" | \"password\" | \"pin\" | \"search\" | \"select\" | \"text\" | \"textarea\""
|
|
1385
2506
|
},
|
|
1386
2507
|
"default": "'text'",
|
|
1387
2508
|
"readonly": true,
|
|
@@ -1390,12 +2511,11 @@
|
|
|
1390
2511
|
{
|
|
1391
2512
|
"kind": "field",
|
|
1392
2513
|
"name": "value",
|
|
1393
|
-
"description": "Current value. Native `input`/`change` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as `bsInput`/`bsChange` custom events instead.",
|
|
2514
|
+
"description": "Current value. Native `input`/`change` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as `bsInput`/`bsChange` custom events instead. Mutable so the\n`number` type's stepper buttons can update it directly.",
|
|
1394
2515
|
"type": {
|
|
1395
2516
|
"text": "string"
|
|
1396
2517
|
},
|
|
1397
2518
|
"default": "''",
|
|
1398
|
-
"readonly": true,
|
|
1399
2519
|
"attribute": "value"
|
|
1400
2520
|
}
|
|
1401
2521
|
],
|
|
@@ -1406,29 +2526,200 @@
|
|
|
1406
2526
|
"text": "CustomEvent<string>"
|
|
1407
2527
|
}
|
|
1408
2528
|
},
|
|
2529
|
+
{
|
|
2530
|
+
"name": "bsChipAdd",
|
|
2531
|
+
"description": "Emitted when a chip is committed (Enter pressed in the draft input) for `type=\"chip\"`.",
|
|
2532
|
+
"type": {
|
|
2533
|
+
"text": "CustomEvent<string>"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"name": "bsChipRemove",
|
|
2538
|
+
"description": "Emitted when a chip's remove button is clicked for `type=\"chip\"`.",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "CustomEvent<string>"
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"name": "bsCountryChange",
|
|
2545
|
+
"description": "Emitted when the country `<select>` changes for `type=\"country\"`.",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "CustomEvent<string>"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
1409
2550
|
{
|
|
1410
2551
|
"name": "bsInput",
|
|
1411
2552
|
"type": {
|
|
1412
2553
|
"text": "CustomEvent<string>"
|
|
1413
2554
|
}
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"name": "bsOpen",
|
|
2558
|
+
"description": "Emitted when `type=\"dropdown\"`'s trigger is toggled. See `open`'s doc comment for this type's\nshell-only limitation.",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "CustomEvent<boolean>"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "bsTitleChange",
|
|
2565
|
+
"description": "Emitted when the title `<select>` changes for `type=\"initials\"`.",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "CustomEvent<string>"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
],
|
|
2571
|
+
"slots": [
|
|
2572
|
+
{
|
|
2573
|
+
"name": "end-icon",
|
|
2574
|
+
"description": "Optional trailing icon, rendered after the native control (e.g. a chevron for a\nfield that opens a picker). Ignored when `type` is `number` (stepper buttons), `password` (show/hide\ntoggle), or `dropdown` (chevron) -- those types always render their own trailing control there.\nFor `type=\"date\"`, the slot is used if provided, otherwise a default calendar icon is shown."
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "icon",
|
|
2578
|
+
"description": "Optional leading icon, rendered before the native control (e.g. a mail icon for an\nemail field). For `type=\"search\"`, the slot is used if provided, otherwise a default\nmagnifying-glass icon is shown."
|
|
1414
2579
|
}
|
|
1415
2580
|
],
|
|
1416
2581
|
"cssParts": [
|
|
2582
|
+
{
|
|
2583
|
+
"name": "chip",
|
|
2584
|
+
"description": "A single chip pill, when `type=\"chip\"`."
|
|
2585
|
+
},
|
|
1417
2586
|
{
|
|
1418
2587
|
"name": "control",
|
|
1419
|
-
"description": "The native `<input>` element."
|
|
2588
|
+
"description": "The native control element (`<input>`, `<select>`, or `<textarea>` depending on\n`type`). Composite types (`initials`, `country`) render this part on more than one element."
|
|
1420
2589
|
},
|
|
1421
2590
|
{
|
|
1422
2591
|
"name": "description",
|
|
1423
2592
|
"description": "The helper text element (hidden when `error` is set)."
|
|
1424
2593
|
},
|
|
2594
|
+
{
|
|
2595
|
+
"name": "end-icon",
|
|
2596
|
+
"description": "The trailing icon wrapper element."
|
|
2597
|
+
},
|
|
1425
2598
|
{
|
|
1426
2599
|
"name": "error",
|
|
1427
2600
|
"description": "The error message element."
|
|
1428
2601
|
},
|
|
2602
|
+
{
|
|
2603
|
+
"name": "error-icon",
|
|
2604
|
+
"description": "The warning icon shown before the error message."
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
"name": "field",
|
|
2608
|
+
"description": "The bordered field wrapper containing the icon(s) and native control(s)."
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"name": "icon",
|
|
2612
|
+
"description": "The leading icon wrapper element."
|
|
2613
|
+
},
|
|
1429
2614
|
{
|
|
1430
2615
|
"name": "label",
|
|
1431
2616
|
"description": "The `<label>` element."
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"name": "menu",
|
|
2620
|
+
"description": "The `bs-menu` rendered below the field for `type=\"dropdown\"` when `open` and\n`options` is non-empty."
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"name": "required",
|
|
2624
|
+
"description": "The red `*` rendered after the label text when `required` is set."
|
|
2625
|
+
}
|
|
2626
|
+
],
|
|
2627
|
+
"cssProperties": [
|
|
2628
|
+
{
|
|
2629
|
+
"name": "--bs-input-chip-bg",
|
|
2630
|
+
"description": "Chip pill background for type=\"chip\". Aliased to --bs-input-bg-disabled."
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"name": "--bs-input-chip-text",
|
|
2634
|
+
"description": "Chip pill text color for type=\"chip\". Aliased to --bs-input-text."
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
"name": "--bs-input-description-color",
|
|
2638
|
+
"description": "Description text color. Aliased to --bs-input-description."
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"name": "--bs-input-error-color",
|
|
2642
|
+
"description": "Error message text color. Aliased to --bs-input-error."
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"name": "--bs-input-error-icon-size",
|
|
2646
|
+
"description": "Width/height of the warning icon shown before the error message. Aliased to --bs-spacing-250."
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"name": "--bs-input-field-bg",
|
|
2650
|
+
"description": "Field background. Aliased to --bs-input-bg-default."
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"name": "--bs-input-field-bg-disabled",
|
|
2654
|
+
"description": "Field background when disabled is set. Aliased to --bs-input-bg-disabled."
|
|
2655
|
+
},
|
|
2656
|
+
{
|
|
2657
|
+
"name": "--bs-input-field-border",
|
|
2658
|
+
"description": "Field border color. Aliased to --bs-input-border-default."
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"name": "--bs-input-field-border-error",
|
|
2662
|
+
"description": "Field border color when error is set. Aliased to --bs-input-border-error."
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"name": "--bs-input-field-border-focus",
|
|
2666
|
+
"description": "Field border color when focused. Aliased to --bs-input-border-focus."
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"name": "--bs-input-field-border-hover",
|
|
2670
|
+
"description": "Field border color on hover. Aliased to --bs-input-border-hover."
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"name": "--bs-input-field-placeholder",
|
|
2674
|
+
"description": "Placeholder text color. Aliased to --bs-input-placeholder."
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"name": "--bs-input-field-text",
|
|
2678
|
+
"description": "Input text color. Aliased to --bs-input-text."
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"name": "--bs-input-gap",
|
|
2682
|
+
"description": "Gap between the icon(s) and the native input. Aliased to --bs-spacing-200."
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"name": "--bs-input-height",
|
|
2686
|
+
"description": "Height of the field. Aliased to --bs-spacing-600."
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
"name": "--bs-input-icon-color",
|
|
2690
|
+
"description": "Icon color in the default state. Aliased to --bs-icon-muted."
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "--bs-input-icon-color-disabled",
|
|
2694
|
+
"description": "Icon color when disabled is set. Aliased to --bs-input-icon-disabled."
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"name": "--bs-input-icon-color-error",
|
|
2698
|
+
"description": "Icon color when error is set. Aliased to --bs-input-icon-error."
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"name": "--bs-input-icon-size",
|
|
2702
|
+
"description": "Width/height of the leading/trailing icon. Aliased to --bs-spacing-300."
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"name": "--bs-input-label-color",
|
|
2706
|
+
"description": "Label text color. Aliased to --bs-input-label."
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "--bs-input-padding-x",
|
|
2710
|
+
"description": "Horizontal padding inside the field. Aliased to --bs-spacing-150."
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"name": "--bs-input-padding-y",
|
|
2714
|
+
"description": "Vertical padding inside the field. Aliased to --bs-spacing-100."
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"name": "--bs-input-radius",
|
|
2718
|
+
"description": "Corner radius of the field. Aliased to --bs-border-radius-100."
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "--bs-input-stack-gap",
|
|
2722
|
+
"description": "Vertical gap between the label, field, and description/error. Aliased to --bs-spacing-50."
|
|
1432
2723
|
}
|
|
1433
2724
|
]
|
|
1434
2725
|
}
|
|
@@ -1694,6 +2985,170 @@
|
|
|
1694
2985
|
}
|
|
1695
2986
|
]
|
|
1696
2987
|
},
|
|
2988
|
+
{
|
|
2989
|
+
"kind": "javascript-module",
|
|
2990
|
+
"path": "src/components/bs-source-link/bs-source-link.tsx",
|
|
2991
|
+
"declarations": [
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "class",
|
|
2994
|
+
"customElement": true,
|
|
2995
|
+
"tagName": "bs-source-link",
|
|
2996
|
+
"name": "BsSourceLink",
|
|
2997
|
+
"description": "A single citation row inside `bs-chatbot-sources-drawer` -- a file icon + filename on the first\nline, the originating system and version on the second, and a trailing \"open\" arrow.\n\n## When to use\n- One row per source Genie cited in a response, slotted into `bs-chatbot-sources-drawer`.\n\n## When not to use\n- Outside the sources drawer context -- this is a purpose-built citation row, not a generic\n link/list-item component.",
|
|
2998
|
+
"attributes": [
|
|
2999
|
+
{
|
|
3000
|
+
"name": "file-name",
|
|
3001
|
+
"description": "The cited document's filename.",
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "string"
|
|
3004
|
+
},
|
|
3005
|
+
"default": "'Source'",
|
|
3006
|
+
"fieldName": "fileName"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "href",
|
|
3010
|
+
"description": "If set, renders the row as a link that opens this URL; otherwise as a button that only emits `bsOpen`.",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "string"
|
|
3013
|
+
},
|
|
3014
|
+
"fieldName": "href"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "source-name",
|
|
3018
|
+
"description": "The system/app the document came from (e.g. \"HoltePortalen\").",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "string"
|
|
3021
|
+
},
|
|
3022
|
+
"fieldName": "sourceName"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "target",
|
|
3026
|
+
"description": "`target` used when `href` is set.",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "string"
|
|
3029
|
+
},
|
|
3030
|
+
"default": "'_blank'",
|
|
3031
|
+
"fieldName": "target"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"name": "version",
|
|
3035
|
+
"description": "The document's version label (e.g. \"v3.2\"). Omit if the source has no version.",
|
|
3036
|
+
"type": {
|
|
3037
|
+
"text": "string"
|
|
3038
|
+
},
|
|
3039
|
+
"fieldName": "version"
|
|
3040
|
+
}
|
|
3041
|
+
],
|
|
3042
|
+
"members": [
|
|
3043
|
+
{
|
|
3044
|
+
"kind": "field",
|
|
3045
|
+
"name": "fileName",
|
|
3046
|
+
"description": "The cited document's filename.",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"text": "string"
|
|
3049
|
+
},
|
|
3050
|
+
"default": "'Source'",
|
|
3051
|
+
"readonly": true,
|
|
3052
|
+
"attribute": "file-name"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "field",
|
|
3056
|
+
"name": "href",
|
|
3057
|
+
"description": "If set, renders the row as a link that opens this URL; otherwise as a button that only emits `bsOpen`.",
|
|
3058
|
+
"type": {
|
|
3059
|
+
"text": "string"
|
|
3060
|
+
},
|
|
3061
|
+
"readonly": true,
|
|
3062
|
+
"attribute": "href"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"kind": "field",
|
|
3066
|
+
"name": "sourceName",
|
|
3067
|
+
"description": "The system/app the document came from (e.g. \"HoltePortalen\").",
|
|
3068
|
+
"type": {
|
|
3069
|
+
"text": "string"
|
|
3070
|
+
},
|
|
3071
|
+
"readonly": true,
|
|
3072
|
+
"attribute": "source-name"
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "field",
|
|
3076
|
+
"name": "target",
|
|
3077
|
+
"description": "`target` used when `href` is set.",
|
|
3078
|
+
"type": {
|
|
3079
|
+
"text": "string"
|
|
3080
|
+
},
|
|
3081
|
+
"default": "'_blank'",
|
|
3082
|
+
"readonly": true,
|
|
3083
|
+
"attribute": "target"
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"kind": "field",
|
|
3087
|
+
"name": "version",
|
|
3088
|
+
"description": "The document's version label (e.g. \"v3.2\"). Omit if the source has no version.",
|
|
3089
|
+
"type": {
|
|
3090
|
+
"text": "string"
|
|
3091
|
+
},
|
|
3092
|
+
"readonly": true,
|
|
3093
|
+
"attribute": "version"
|
|
3094
|
+
}
|
|
3095
|
+
],
|
|
3096
|
+
"events": [
|
|
3097
|
+
{
|
|
3098
|
+
"name": "bsOpen",
|
|
3099
|
+
"description": "Fires on click/activation, whether or not `href` is set -- lets the consuming app log or handle the open.",
|
|
3100
|
+
"type": {
|
|
3101
|
+
"text": "CustomEvent<void>"
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
],
|
|
3105
|
+
"slots": [
|
|
3106
|
+
{
|
|
3107
|
+
"name": "icon",
|
|
3108
|
+
"description": "Overrides the default file icon."
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"cssParts": [
|
|
3112
|
+
{
|
|
3113
|
+
"name": "arrow",
|
|
3114
|
+
"description": "The trailing \"open\" arrow icon."
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "filename",
|
|
3118
|
+
"description": "The filename text."
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "icon",
|
|
3122
|
+
"description": "The leading file-type icon."
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"name": "source",
|
|
3126
|
+
"description": "The source system name."
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
"name": "version",
|
|
3130
|
+
"description": "The version label."
|
|
3131
|
+
}
|
|
3132
|
+
]
|
|
3133
|
+
}
|
|
3134
|
+
],
|
|
3135
|
+
"exports": [
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "js",
|
|
3138
|
+
"name": "BsSourceLink",
|
|
3139
|
+
"declaration": {
|
|
3140
|
+
"name": "BsSourceLink"
|
|
3141
|
+
}
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"kind": "custom-element-definition",
|
|
3145
|
+
"name": "bs-source-link",
|
|
3146
|
+
"declaration": {
|
|
3147
|
+
"name": "BsSourceLink"
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
]
|
|
3151
|
+
},
|
|
1697
3152
|
{
|
|
1698
3153
|
"kind": "javascript-module",
|
|
1699
3154
|
"path": "src/components/bs-tooltip/bs-tooltip.tsx",
|