@solid-design-system/components 4.10.0 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.RZINWES7.js +3 -0
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/custom-elements.json +244 -244
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +95 -95
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2XZZWTI2.js +1 -1
- package/cdn-versioned/chunks/chunk.4D5G5PFQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4GU3VMG2.js +1 -1
- package/cdn-versioned/chunks/chunk.53YBES5S.js +1 -1
- package/cdn-versioned/chunks/chunk.5HYU75RE.js +1 -1
- package/cdn-versioned/chunks/chunk.67UPRVLG.js +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.A3AHQI37.js +1 -1
- package/cdn-versioned/chunks/chunk.ADDDVS6W.js +1 -1
- package/cdn-versioned/chunks/chunk.AHXJHNQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.B62VWQ7C.js +1 -1
- package/cdn-versioned/chunks/chunk.BRAJGYMM.js +1 -1
- package/cdn-versioned/chunks/chunk.C74Q5TJX.js +3 -3
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CIKOD7QT.js +1 -1
- package/cdn-versioned/chunks/chunk.DQ3ZESZK.js +2 -2
- package/cdn-versioned/chunks/chunk.E4JOV74T.js +1 -1
- package/cdn-versioned/chunks/chunk.E4YB3LZK.js +1 -1
- package/cdn-versioned/chunks/chunk.ETB7FHWC.js +1 -1
- package/cdn-versioned/chunks/chunk.F3EVJTED.js +1 -1
- package/cdn-versioned/chunks/chunk.FZHMZAIV.js +1 -1
- package/cdn-versioned/chunks/chunk.GUCU2YK5.js +1 -1
- package/cdn-versioned/chunks/chunk.HB2MDLS4.js +1 -1
- package/cdn-versioned/chunks/chunk.HBBILILZ.js +1 -1
- package/cdn-versioned/chunks/chunk.HT7C2KQ3.js +1 -1
- package/cdn-versioned/chunks/chunk.HTEPIDNH.js +2 -2
- package/cdn-versioned/chunks/chunk.HVKAMCXX.js +1 -1
- package/cdn-versioned/chunks/chunk.JIODFCR2.js +1 -1
- package/cdn-versioned/chunks/chunk.JXFEK45U.js +1 -1
- package/cdn-versioned/chunks/chunk.KVDKWL34.js +1 -1
- package/cdn-versioned/chunks/chunk.NPUXUQCC.js +1 -1
- package/cdn-versioned/chunks/chunk.PTSISQCW.js +1 -1
- package/cdn-versioned/chunks/chunk.QLGX6E5R.js +1 -1
- package/cdn-versioned/chunks/chunk.QM2SZYDM.js +1 -1
- package/cdn-versioned/chunks/chunk.QVTWOB7V.js +4 -4
- package/cdn-versioned/chunks/chunk.QX3REGZG.js +1 -1
- package/cdn-versioned/chunks/chunk.RATITDF2.js +1 -1
- package/cdn-versioned/chunks/chunk.RKVW7KG4.js +1 -1
- package/cdn-versioned/chunks/chunk.RZINWES7.js +3 -0
- package/cdn-versioned/chunks/chunk.SJYLPRLG.js +1 -1
- package/cdn-versioned/chunks/chunk.SKIEUJZN.js +1 -1
- package/cdn-versioned/chunks/chunk.T4JP7QUW.js +1 -1
- package/cdn-versioned/chunks/chunk.TMVIWO7D.js +1 -1
- package/cdn-versioned/chunks/chunk.TSSJABGO.js +1 -1
- package/cdn-versioned/chunks/chunk.UKXOMULO.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WKQAOKOH.js +1 -1
- package/cdn-versioned/chunks/chunk.XXPYJZI4.js +1 -1
- package/cdn-versioned/chunks/chunk.Y3WFK6NY.js +1 -1
- package/cdn-versioned/chunks/chunk.YMXJOB2H.js +1 -1
- package/cdn-versioned/chunks/chunk.YSFDXYDA.js +1 -1
- package/cdn-versioned/chunks/chunk.ZB5RQUA2.js +1 -1
- package/cdn-versioned/chunks/chunk.ZXGG5GRH.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +450 -450
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +120 -120
- package/cdn-versioned/web-types.json +227 -227
- package/dist/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +3 -3
- package/dist/components/switch/switch.js +1 -1
- package/dist/custom-elements.json +244 -244
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +95 -95
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.27LAMXW5.js +5 -5
- package/dist-versioned/chunks/chunk.4LV4VHB5.js +9 -9
- package/dist-versioned/chunks/chunk.4TLTIOIY.js +2 -2
- package/dist-versioned/chunks/chunk.4UEQEUQ5.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6V7KPUGO.js +2 -2
- package/dist-versioned/chunks/chunk.7VCFYOV5.js +1 -1
- package/dist-versioned/chunks/chunk.B7BIS5Y4.js +1 -1
- package/dist-versioned/chunks/chunk.BABTMD4T.js +4 -4
- package/dist-versioned/chunks/chunk.BJSTXBIQ.js +2 -2
- package/dist-versioned/chunks/chunk.BWIRKW7E.js +26 -26
- package/dist-versioned/chunks/chunk.C2LS4326.js +2 -2
- package/dist-versioned/chunks/chunk.C4WMHAOW.js +1 -1
- package/dist-versioned/chunks/chunk.CMK6UTW6.js +2 -2
- package/dist-versioned/chunks/chunk.CWJB3CZO.js +1 -1
- package/dist-versioned/chunks/chunk.DYRAOE5L.js +2 -2
- package/dist-versioned/chunks/chunk.E73VDVFB.js +5 -5
- package/dist-versioned/chunks/chunk.ECH5BTRG.js +6 -6
- package/dist-versioned/chunks/chunk.EQRUJQQW.js +2 -2
- package/dist-versioned/chunks/chunk.ERRAXV4M.js +1 -1
- package/dist-versioned/chunks/chunk.EYTEM45R.js +3 -3
- package/dist-versioned/chunks/chunk.F4UAU4OM.js +5 -5
- package/dist-versioned/chunks/chunk.GAJFV5V3.js +2 -2
- package/dist-versioned/chunks/chunk.H36YEYQD.js +3 -3
- package/dist-versioned/chunks/chunk.HEYBJG64.js +4 -4
- package/dist-versioned/chunks/chunk.IFJ7LPJV.js +2 -2
- package/dist-versioned/chunks/chunk.JNJHWACL.js +3 -3
- package/dist-versioned/chunks/chunk.JNTED6KG.js +5 -5
- package/dist-versioned/chunks/chunk.JQD4QY3H.js +5 -5
- package/dist-versioned/chunks/chunk.KNZPI3QD.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KWP3CREC.js +8 -8
- package/dist-versioned/chunks/chunk.LOW4LWP6.js +2 -2
- package/dist-versioned/chunks/chunk.LQKJMBVH.js +2 -2
- package/dist-versioned/chunks/chunk.LW7RVQTS.js +2 -2
- package/dist-versioned/chunks/chunk.MSSKOOJJ.js +11 -11
- package/dist-versioned/chunks/chunk.NI45NXZV.js +3 -3
- package/dist-versioned/chunks/chunk.O7OXBLZU.js +2 -2
- package/dist-versioned/chunks/chunk.OWACJFST.js +1 -1
- package/dist-versioned/chunks/chunk.QCQLFJGJ.js +13 -13
- package/dist-versioned/chunks/chunk.QEQDPEN2.js +1 -1
- package/dist-versioned/chunks/chunk.QTZYBV5A.js +24 -24
- package/dist-versioned/chunks/chunk.R3PPZNKA.js +2 -2
- package/dist-versioned/chunks/chunk.RWUFX5GL.js +1 -1
- package/dist-versioned/chunks/chunk.T5QL4V5F.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULQU6P3E.js +6 -6
- package/dist-versioned/chunks/chunk.VOWE6LHF.js +14 -14
- package/dist-versioned/chunks/chunk.VUKS4CBF.js +1 -1
- package/dist-versioned/chunks/chunk.X7IRGFBS.js +1 -1
- package/dist-versioned/chunks/chunk.YGRJQZFR.js +1 -1
- package/dist-versioned/chunks/chunk.ZMWGNTP6.js +5 -5
- package/dist-versioned/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +4 -4
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +450 -450
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +120 -120
- package/dist-versioned/web-types.json +227 -227
- package/package.json +2 -2
- package/cdn/chunks/chunk.QJ2PJAKH.js +0 -3
- package/cdn-versioned/chunks/chunk.QJ2PJAKH.js +0 -3
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.11.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1284,100 +1284,6 @@
|
|
|
1284
1284
|
]
|
|
1285
1285
|
}
|
|
1286
1286
|
},
|
|
1287
|
-
{
|
|
1288
|
-
"name": "sd-checkbox-group",
|
|
1289
|
-
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1290
|
-
"doc-url": "",
|
|
1291
|
-
"attributes": [
|
|
1292
|
-
{
|
|
1293
|
-
"name": "size",
|
|
1294
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1295
|
-
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
1296
|
-
},
|
|
1297
|
-
{
|
|
1298
|
-
"name": "orientation",
|
|
1299
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1300
|
-
"value": {
|
|
1301
|
-
"type": "'horizontal' | 'vertical'",
|
|
1302
|
-
"default": "'vertical'"
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"name": "label",
|
|
1307
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1308
|
-
"value": { "type": "string", "default": "''" }
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
"name": "help-text",
|
|
1312
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1313
|
-
"value": { "type": "string", "default": "''" }
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"name": "dir",
|
|
1317
|
-
"description": "The element's directionality.",
|
|
1318
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "lang",
|
|
1322
|
-
"description": "The element's language.",
|
|
1323
|
-
"value": { "type": "string" }
|
|
1324
|
-
}
|
|
1325
|
-
],
|
|
1326
|
-
"slots": [
|
|
1327
|
-
{
|
|
1328
|
-
"name": "",
|
|
1329
|
-
"description": "The default slot where `<sd-checkbox>` elements are placed."
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
"name": "label",
|
|
1333
|
-
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"name": "tooltip",
|
|
1337
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component."
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"name": "help-text",
|
|
1341
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
1342
|
-
}
|
|
1343
|
-
],
|
|
1344
|
-
"events": [],
|
|
1345
|
-
"js": {
|
|
1346
|
-
"properties": [
|
|
1347
|
-
{
|
|
1348
|
-
"name": "size",
|
|
1349
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1350
|
-
"type": "'lg' | 'md' | 'sm'"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
"name": "orientation",
|
|
1354
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1355
|
-
"type": "'horizontal' | 'vertical'"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"name": "label",
|
|
1359
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1360
|
-
"type": "string"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"name": "helpText",
|
|
1364
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1365
|
-
"type": "string"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"name": "dir",
|
|
1369
|
-
"description": "The element's directionality.",
|
|
1370
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"name": "lang",
|
|
1374
|
-
"description": "The element's language.",
|
|
1375
|
-
"type": "string"
|
|
1376
|
-
}
|
|
1377
|
-
],
|
|
1378
|
-
"events": []
|
|
1379
|
-
}
|
|
1380
|
-
},
|
|
1381
1287
|
{
|
|
1382
1288
|
"name": "sd-combobox",
|
|
1383
1289
|
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
@@ -5909,6 +5815,100 @@
|
|
|
5909
5815
|
"events": []
|
|
5910
5816
|
}
|
|
5911
5817
|
},
|
|
5818
|
+
{
|
|
5819
|
+
"name": "sd-checkbox-group",
|
|
5820
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
5821
|
+
"doc-url": "",
|
|
5822
|
+
"attributes": [
|
|
5823
|
+
{
|
|
5824
|
+
"name": "size",
|
|
5825
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5826
|
+
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
"name": "orientation",
|
|
5830
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5831
|
+
"value": {
|
|
5832
|
+
"type": "'horizontal' | 'vertical'",
|
|
5833
|
+
"default": "'vertical'"
|
|
5834
|
+
}
|
|
5835
|
+
},
|
|
5836
|
+
{
|
|
5837
|
+
"name": "label",
|
|
5838
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5839
|
+
"value": { "type": "string", "default": "''" }
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"name": "help-text",
|
|
5843
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5844
|
+
"value": { "type": "string", "default": "''" }
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"name": "dir",
|
|
5848
|
+
"description": "The element's directionality.",
|
|
5849
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"name": "lang",
|
|
5853
|
+
"description": "The element's language.",
|
|
5854
|
+
"value": { "type": "string" }
|
|
5855
|
+
}
|
|
5856
|
+
],
|
|
5857
|
+
"slots": [
|
|
5858
|
+
{
|
|
5859
|
+
"name": "",
|
|
5860
|
+
"description": "The default slot where `<sd-checkbox>` elements are placed."
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"name": "label",
|
|
5864
|
+
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"name": "tooltip",
|
|
5868
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-tooltip` component."
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"name": "help-text",
|
|
5872
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
5873
|
+
}
|
|
5874
|
+
],
|
|
5875
|
+
"events": [],
|
|
5876
|
+
"js": {
|
|
5877
|
+
"properties": [
|
|
5878
|
+
{
|
|
5879
|
+
"name": "size",
|
|
5880
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5881
|
+
"type": "'lg' | 'md' | 'sm'"
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
"name": "orientation",
|
|
5885
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5886
|
+
"type": "'horizontal' | 'vertical'"
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
"name": "label",
|
|
5890
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5891
|
+
"type": "string"
|
|
5892
|
+
},
|
|
5893
|
+
{
|
|
5894
|
+
"name": "helpText",
|
|
5895
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5896
|
+
"type": "string"
|
|
5897
|
+
},
|
|
5898
|
+
{
|
|
5899
|
+
"name": "dir",
|
|
5900
|
+
"description": "The element's directionality.",
|
|
5901
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"name": "lang",
|
|
5905
|
+
"description": "The element's language.",
|
|
5906
|
+
"type": "string"
|
|
5907
|
+
}
|
|
5908
|
+
],
|
|
5909
|
+
"events": []
|
|
5910
|
+
}
|
|
5911
|
+
},
|
|
5912
5912
|
{
|
|
5913
5913
|
"name": "sd-tag",
|
|
5914
5914
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
|
32
32
|
if (item.type === 'checkbox') {
|
|
33
33
|
item.checked = !item.checked;
|
|
34
34
|
}
|
|
35
|
-
this.emit('sd-4-
|
|
35
|
+
this.emit('sd-4-11-0-select', { detail: { item } });
|
|
36
36
|
}
|
|
37
37
|
handleKeyDown(event) {
|
|
38
38
|
if (event.key === 'Enter') {
|
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
74
74
|
})}
|
|
75
75
|
>
|
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-4-
|
|
77
|
+
<sd-4-11-0-icon name="check" library="system" aria-hidden="true"></sd-4-11-0-icon>
|
|
78
78
|
</span>
|
|
79
79
|
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
85
|
|
|
86
86
|
<span class="menu-item__chevron">
|
|
87
|
-
<sd-4-
|
|
87
|
+
<sd-4-11-0-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-11-0-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -85,7 +85,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
85
85
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
86
86
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
87
87
|
}[this.frontVariant]
|
|
88
|
-
)}"></div><sd-4-
|
|
88
|
+
)}"></div><sd-4-11-0-button part="front-button" size="md" variant="${{
|
|
89
89
|
primary: "tertiary",
|
|
90
90
|
"primary-100": "tertiary",
|
|
91
91
|
"gradient-light": "primary",
|
|
@@ -95,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
95
95
|
"primary-100": false,
|
|
96
96
|
"gradient-light": true,
|
|
97
97
|
"gradient-dark": true
|
|
98
|
-
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-
|
|
98
|
+
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-11-0-icon library="system" name="reload" label="Flip to Back"></sd-4-11-0-icon></sd-4-11-0-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
99
99
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
100
100
|
"flex focus-visible:focus-outline",
|
|
101
101
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -128,7 +128,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
128
128
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
129
129
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
130
130
|
}[this.backVariant]
|
|
131
|
-
)}"></div><sd-4-
|
|
131
|
+
)}"></div><sd-4-11-0-button size="md" part="back-button" variant="${{
|
|
132
132
|
primary: "tertiary",
|
|
133
133
|
"primary-100": "tertiary",
|
|
134
134
|
"gradient-light": "primary",
|
|
@@ -138,7 +138,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
138
138
|
"primary-100": false,
|
|
139
139
|
"gradient-light": true,
|
|
140
140
|
"gradient-dark": true
|
|
141
|
-
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-
|
|
141
|
+
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-11-0-icon library="system" name="reload" label="Flip to Front"></sd-4-11-0-icon></sd-4-11-0-button></div></div>`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
state()
|
|
171
171
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
172
172
|
SdFlipcard = __decorateClass([
|
|
173
|
-
customElement("sd-4-
|
|
173
|
+
customElement("sd-4-11-0-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|
|
@@ -76,7 +76,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
76
76
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
77
77
|
* or an element within the slotted elements shadow root.
|
|
78
78
|
*
|
|
79
|
-
* e.g. the accessible trigger of an <sd-4-
|
|
79
|
+
* e.g. the accessible trigger of an <sd-4-11-0-button> is a <button> located inside its shadow root.
|
|
80
80
|
*
|
|
81
81
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
82
82
|
* */
|
|
@@ -87,11 +87,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
87
87
|
if (accessibleTrigger) {
|
|
88
88
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
89
89
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
90
|
-
case "sd-4-
|
|
91
|
-
case "sd-4-
|
|
90
|
+
case "sd-4-11-0-button":
|
|
91
|
+
case "sd-4-11-0-icon-button":
|
|
92
92
|
target = accessibleTrigger.button;
|
|
93
93
|
break;
|
|
94
|
-
case "sd-4-
|
|
94
|
+
case "sd-4-11-0-navigation-item":
|
|
95
95
|
target = accessibleTrigger.button;
|
|
96
96
|
break;
|
|
97
97
|
default:
|
|
@@ -236,7 +236,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
236
236
|
}
|
|
237
237
|
addOpenListeners() {
|
|
238
238
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
239
|
-
this.panel.addEventListener("sd-4-
|
|
239
|
+
this.panel.addEventListener("sd-4-11-0-select", this.handlePanelSelect);
|
|
240
240
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
241
241
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
242
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -244,7 +244,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
244
244
|
removeOpenListeners() {
|
|
245
245
|
if (this.panel) {
|
|
246
246
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
247
|
-
this.panel.removeEventListener("sd-4-
|
|
247
|
+
this.panel.removeEventListener("sd-4-11-0-select", this.handlePanelSelect);
|
|
248
248
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
249
249
|
}
|
|
250
250
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -277,11 +277,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return html`<sd-4-
|
|
280
|
+
return html`<sd-4-11-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
281
281
|
"shadow bg-white block",
|
|
282
282
|
this.open ? "pointer-events-auto" : "pointer-events-none",
|
|
283
283
|
this.rounded && "rounded-md"
|
|
284
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-
|
|
284
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-11-0-popup>`;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
SdDropdown.styles = [
|
|
@@ -334,7 +334,7 @@ __decorateClass([
|
|
|
334
334
|
watch("open", { waitUntilFirstUpdate: true })
|
|
335
335
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
336
336
|
SdDropdown = __decorateClass([
|
|
337
|
-
customElement("sd-4-
|
|
337
|
+
customElement("sd-4-11-0-dropdown")
|
|
338
338
|
], SdDropdown);
|
|
339
339
|
setDefaultAnimation("dropdown.show", {
|
|
340
340
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
};
|
|
85
85
|
SdLink.styles = [
|
|
86
86
|
...SolidElement.styles,
|
|
87
|
-
css`::slotted(sd-4-
|
|
87
|
+
css`::slotted(sd-4-11-0-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-4-11-0-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-4-11-0-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property({ reflect: true })
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-4-
|
|
114
|
+
customElement("sd-4-11-0-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-4-
|
|
13
|
+
const popup = document.createElement("sd-4-11-0-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-4-
|
|
25
|
+
const styles = css`sd-4-11-0-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-11-0-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-11-0-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-4-11-0-popup li{list-style-type:""}sd-4-11-0-popup li mark{background-color:transparent;font-weight:700}sd-4-11-0-popup li:not(:has(sd-4-11-0-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-4-11-0-popup li:not(:has(sd-4-11-0-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-11-0-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-11-0-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-11-0-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-4-
|
|
21
|
+
this.componentId = `sd-4-11-0-tab-panel-${this.attrId}`;
|
|
22
22
|
this.name = "";
|
|
23
23
|
this.active = false;
|
|
24
24
|
}
|
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
|
48
48
|
watch("active")
|
|
49
49
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
|
50
50
|
SdTabPanel = __decorateClass([
|
|
51
|
-
customElement("sd-4-
|
|
51
|
+
customElement("sd-4-11-0-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|
|
@@ -181,15 +181,15 @@ var SdNotification = class extends SolidElement {
|
|
|
181
181
|
warning: "bg-warning",
|
|
182
182
|
error: "bg-error"
|
|
183
183
|
}[this.variant]
|
|
184
|
-
)}"><sd-4-
|
|
184
|
+
)}"><sd-4-11-0-icon name="${{
|
|
185
185
|
info: "info-circle",
|
|
186
186
|
success: "confirm-circle",
|
|
187
187
|
warning: "exclamation-circle",
|
|
188
188
|
error: "warning"
|
|
189
|
-
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-
|
|
189
|
+
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-11-0-icon></slot><div part="content" class="${cx(
|
|
190
190
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
191
191
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
192
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-
|
|
192
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-11-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-11-0-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-11-0-icon></sd-4-11-0-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
/**
|
|
@@ -230,7 +230,7 @@ __decorateClass([
|
|
|
230
230
|
watch("duration")
|
|
231
231
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
232
232
|
SdNotification = __decorateClass([
|
|
233
|
-
customElement("sd-4-
|
|
233
|
+
customElement("sd-4-11-0-notification")
|
|
234
234
|
], SdNotification);
|
|
235
235
|
setDefaultAnimation("notification.show", {
|
|
236
236
|
keyframes: [
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-11-0-divider[orientation=horizontal]){display:block}:host(sd-4-11-0-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-
|
|
44
|
+
customElement("sd-4-11-0-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|