@db-ux/wc-core-components 4.13.1-angular-signal-forms13-577b861 → 4.14.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/CHANGELOG.md +14 -0
- package/bundle/db-badge.js +1 -1
- package/bundle/db-brand.js +1 -1
- package/bundle/db-checkbox.js +1 -1
- package/bundle/db-custom-select.js +1 -1
- package/bundle/db-drawer.js +1 -1
- package/bundle/db-header.js +1 -1
- package/bundle/db-input.js +1 -1
- package/bundle/db-navigation-item.js +1 -1
- package/bundle/db-notification.js +1 -1
- package/bundle/db-popover.js +1 -1
- package/bundle/db-select.js +1 -1
- package/bundle/db-switch.js +1 -1
- package/bundle/db-tabs.js +1 -1
- package/bundle/db-tag.js +1 -1
- package/bundle/db-textarea.js +1 -1
- package/bundle/db-tooltip.js +1 -1
- package/bundle/index.js +1 -1
- package/bundle/p-BXHP_qH1.js +1 -0
- package/bundle/{p-Be1wVxvg.js → p-Bl3Nkowh.js} +1 -1
- package/bundle/p-Bsv9xU74.js +1 -0
- package/bundle/p-C3D_kjdU.js +1 -0
- package/bundle/p-Cm3dPtkD.js +1 -0
- package/bundle/{p-By8B0zRG.js → p-Cmc3AFmy.js} +1 -1
- package/bundle/{p-C_qYW0Kh.js → p-DmKfvZy3.js} +1 -1
- package/bundle/p-DzJeNSBs.js +1 -0
- package/bundle/{p-Dd85RhMq.js → p-OXsRLHzG.js} +1 -1
- package/dist/cjs/{constants-bMY2_d8A.js → constants-Dy7QIUQi.js} +5 -1
- package/dist/cjs/db-badge.cjs.entry.js +1 -1
- package/dist/cjs/db-brand.cjs.entry.js +1 -1
- package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select.cjs.entry.js +40 -25
- package/dist/cjs/db-drawer.cjs.entry.js +1 -1
- package/dist/cjs/db-header.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/db-notification.cjs.entry.js +1 -1
- package/dist/cjs/db-popover.cjs.entry.js +50 -23
- package/dist/cjs/db-select.cjs.entry.js +1 -1
- package/dist/cjs/db-switch.cjs.entry.js +1 -1
- package/dist/cjs/db-tabs.cjs.entry.js +22 -17
- package/dist/cjs/db-textarea.cjs.entry.js +1 -1
- package/dist/cjs/db-tooltip.cjs.entry.js +40 -28
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/{document-click-listener-Bt1Iysz5.js → document-click-listener-DyO00UZC.js} +5 -9
- package/dist/cjs/{floating-components-SpHkZuLA.js → floating-components-Ns3Jt7dw.js} +161 -106
- package/dist/cjs/index.cjs.js +9 -6
- package/dist/cjs/intersection-observer-listener-BBUA6END.js +101 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{navigation-DUTSDY4q.js → navigation-fsWSnlKn.js} +1 -1
- package/dist/cjs/resize-observer-listener-B1uhHzqv.js +103 -0
- package/dist/collection/components/custom-select/custom-select.js +37 -20
- package/dist/collection/components/popover/popover.js +75 -46
- package/dist/collection/components/tabs/tabs.js +75 -18
- package/dist/collection/components/tooltip/tooltip.js +63 -49
- package/dist/collection/shared/constants.js +3 -1
- package/dist/collection/utils/abstract-document-listener.js +23 -0
- package/dist/collection/utils/abstract-observer-listener.js +61 -0
- package/dist/collection/utils/document-click-listener.js +5 -9
- package/dist/collection/utils/document-scroll-listener.js +5 -9
- package/dist/collection/utils/floating-components.js +161 -106
- package/dist/collection/utils/intersection-observer-listener.js +36 -0
- package/dist/collection/utils/resize-observer-listener.js +36 -0
- package/dist/custom-elements.json +232 -257
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-d40a44ca.entry.js → p-1006233c.entry.js} +1 -1
- package/dist/db-ux/p-24767117.entry.js +1 -0
- package/dist/db-ux/{p-c83a359f.entry.js → p-40e78127.entry.js} +1 -1
- package/dist/db-ux/p-4a1282b9.entry.js +1 -0
- package/dist/db-ux/p-5b4ad0fd.entry.js +1 -0
- package/dist/db-ux/{p-dfc9ad26.entry.js → p-6a77f198.entry.js} +1 -1
- package/dist/db-ux/{p-1f740a3b.entry.js → p-6dfb57d0.entry.js} +1 -1
- package/dist/db-ux/p-775ef2b5.entry.js +1 -0
- package/dist/db-ux/p-78b4f191.entry.js +1 -0
- package/dist/db-ux/{p-2e66b25f.entry.js → p-7c26be27.entry.js} +1 -1
- package/dist/db-ux/{p-f4eb1ad4.entry.js → p-7fb6bf32.entry.js} +1 -1
- package/dist/db-ux/p-Bn4tE1v7.js +1 -0
- package/dist/db-ux/p-C3D_kjdU.js +1 -0
- package/dist/db-ux/p-Cm3dPtkD.js +1 -0
- package/dist/db-ux/{p-C_qYW0Kh.js → p-DmKfvZy3.js} +1 -1
- package/dist/db-ux/p-MhMqbaAW.js +1 -0
- package/dist/db-ux/p-aClGBxfA.js +1 -0
- package/dist/db-ux/{p-3649de37.entry.js → p-bfaec517.entry.js} +1 -1
- package/dist/db-ux/{p-3b9d4cc3.entry.js → p-c9b6ae8f.entry.js} +1 -1
- package/dist/db-ux/{p-c33fe9e0.entry.js → p-e8d5f721.entry.js} +1 -1
- package/dist/db-ux/{p-e35b2f5d.entry.js → p-fbb85f89.entry.js} +1 -1
- package/dist/esm/{constants-BdL-nI5y.js → constants-Cm3dPtkD.js} +4 -2
- package/dist/esm/db-badge.entry.js +1 -1
- package/dist/esm/db-brand.entry.js +1 -1
- package/dist/esm/db-checkbox.entry.js +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +1 -1
- package/dist/esm/db-custom-select.entry.js +38 -23
- package/dist/esm/db-drawer.entry.js +1 -1
- package/dist/esm/db-header.entry.js +3 -3
- package/dist/esm/db-navigation-item.entry.js +3 -3
- package/dist/esm/db-notification.entry.js +1 -1
- package/dist/esm/db-popover.entry.js +48 -21
- package/dist/esm/db-select.entry.js +1 -1
- package/dist/esm/db-switch.entry.js +1 -1
- package/dist/esm/db-tabs.entry.js +22 -17
- package/dist/esm/db-textarea.entry.js +1 -1
- package/dist/esm/db-tooltip.entry.js +37 -25
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/{document-click-listener-B9qg-hEl.js → document-click-listener-Cqaqu5Jn.js} +5 -9
- package/dist/esm/{floating-components-C0q9XJSc.js → floating-components-C3D_kjdU.js} +162 -107
- package/dist/esm/index.js +6 -5
- package/dist/esm/intersection-observer-listener-DNd-fDFa.js +97 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{navigation-Cd7KZ6E2.js → navigation-BET7zThU.js} +1 -1
- package/dist/esm/resize-observer-listener-ed-nCkCj.js +100 -0
- package/dist/types/components/custom-select/custom-select.d.ts +3 -2
- package/dist/types/components/custom-select/model.d.ts +5 -1
- package/dist/types/components/popover/popover.d.ts +3 -2
- package/dist/types/components/tabs/model.d.ts +4 -12
- package/dist/types/components/tabs/tabs.d.ts +3 -1
- package/dist/types/components/tooltip/tooltip.d.ts +3 -2
- package/dist/types/components.d.ts +8 -2
- package/dist/types/shared/constants.d.ts +2 -0
- package/dist/types/shared/model.d.ts +27 -4
- package/dist/types/utils/abstract-document-listener.d.ts +18 -0
- package/dist/types/utils/abstract-observer-listener.d.ts +39 -0
- package/dist/types/utils/document-click-listener.d.ts +3 -3
- package/dist/types/utils/document-scroll-listener.d.ts +3 -3
- package/dist/types/utils/floating-components.d.ts +29 -6
- package/dist/types/utils/intersection-observer-listener.d.ts +15 -0
- package/dist/types/utils/resize-observer-listener.d.ts +15 -0
- package/dist/vscode.html-custom-data.json +29 -19
- package/dist/web-types.json +82 -75
- package/package.json +3 -3
- package/bundle/p-BdL-nI5y.js +0 -1
- package/bundle/p-C0q9XJSc.js +0 -1
- package/bundle/p-CTkfdjBp.js +0 -1
- package/bundle/p-LpyedXhR.js +0 -1
- package/dist/cjs/document-scroll-listener-Dd_hGebZ.js +0 -43
- package/dist/db-ux/p-177f3aeb.entry.js +0 -1
- package/dist/db-ux/p-2aee37e2.entry.js +0 -1
- package/dist/db-ux/p-550bd66a.entry.js +0 -1
- package/dist/db-ux/p-91d7fcc4.entry.js +0 -1
- package/dist/db-ux/p-B-HK8lhm.js +0 -1
- package/dist/db-ux/p-BdL-nI5y.js +0 -1
- package/dist/db-ux/p-C0q9XJSc.js +0 -1
- package/dist/db-ux/p-Z7eYHp_l.js +0 -1
- package/dist/db-ux/p-bc835df4.entry.js +0 -1
- package/dist/esm/document-scroll-listener-ewGU9bif.js +0 -41
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
"name": "disabled",
|
|
481
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
481
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
482
482
|
"values": []
|
|
483
483
|
},
|
|
484
484
|
{
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
667
|
"name": "disabled",
|
|
668
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
668
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
669
669
|
"values": []
|
|
670
670
|
},
|
|
671
671
|
{
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
},
|
|
879
879
|
{
|
|
880
880
|
"name": "disabled",
|
|
881
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
881
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
882
882
|
"values": []
|
|
883
883
|
},
|
|
884
884
|
{
|
|
@@ -1050,11 +1050,6 @@
|
|
|
1050
1050
|
"description": "Change the behavior of the tooltip:\n- description: Adds `aria-describedby` to parent\n- label: Adds `aria-labelledby` to parent",
|
|
1051
1051
|
"values": [{ "name": "description" }, { "name": "label" }]
|
|
1052
1052
|
},
|
|
1053
|
-
{
|
|
1054
|
-
"name": "placement",
|
|
1055
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
1056
|
-
"values": [{ "name": "undefined" }, { "name": "undefined" }]
|
|
1057
|
-
},
|
|
1058
1053
|
{
|
|
1059
1054
|
"name": "classname",
|
|
1060
1055
|
"values": [{ "name": "DBTooltipProps[\"className\"]" }]
|
|
@@ -1089,6 +1084,11 @@
|
|
|
1089
1084
|
"description": "Show/Hides arrow",
|
|
1090
1085
|
"values": []
|
|
1091
1086
|
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "placement",
|
|
1089
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
1090
|
+
"values": [{ "name": "undefined" }, { "name": "undefined" }]
|
|
1091
|
+
},
|
|
1092
1092
|
{
|
|
1093
1093
|
"name": "text",
|
|
1094
1094
|
"description": "Alternative for default slot/children. Do not use together with a text children/slot, as both will be rendered and result in duplicate labels.",
|
|
@@ -1360,7 +1360,7 @@
|
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
1362
|
"name": "disabled",
|
|
1363
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1363
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1364
1364
|
"values": []
|
|
1365
1365
|
},
|
|
1366
1366
|
{
|
|
@@ -2012,11 +2012,6 @@
|
|
|
2012
2012
|
"name": "db-popover",
|
|
2013
2013
|
"description": "\n---\n\n\n### **Slots:**\n - **children** - This is a default/unnamed slot\n- **trigger** - The trigger to open the popover e.g. a button",
|
|
2014
2014
|
"attributes": [
|
|
2015
|
-
{
|
|
2016
|
-
"name": "placement",
|
|
2017
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2018
|
-
"values": [{ "name": "undefined" }, { "name": "undefined" }]
|
|
2019
|
-
},
|
|
2020
2015
|
{ "name": "id", "values": [{ "name": "DBPopoverProps[\"id\"]" }] },
|
|
2021
2016
|
{
|
|
2022
2017
|
"name": "prop-overrides",
|
|
@@ -2060,6 +2055,11 @@
|
|
|
2060
2055
|
"name": "width",
|
|
2061
2056
|
"description": "Use fixed with for default max-width",
|
|
2062
2057
|
"values": [{ "name": "auto" }, { "name": "fixed" }]
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"name": "placement",
|
|
2061
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2062
|
+
"values": [{ "name": "undefined" }, { "name": "undefined" }]
|
|
2063
2063
|
}
|
|
2064
2064
|
],
|
|
2065
2065
|
"references": []
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
},
|
|
2114
2114
|
{
|
|
2115
2115
|
"name": "disabled",
|
|
2116
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
2116
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
2117
2117
|
"values": []
|
|
2118
2118
|
},
|
|
2119
2119
|
{
|
|
@@ -2264,7 +2264,7 @@
|
|
|
2264
2264
|
},
|
|
2265
2265
|
{
|
|
2266
2266
|
"name": "disabled",
|
|
2267
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
2267
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
2268
2268
|
"values": []
|
|
2269
2269
|
},
|
|
2270
2270
|
{
|
|
@@ -2468,7 +2468,7 @@
|
|
|
2468
2468
|
},
|
|
2469
2469
|
{
|
|
2470
2470
|
"name": "disabled",
|
|
2471
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
2471
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
2472
2472
|
"values": []
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
@@ -2997,7 +2997,7 @@
|
|
|
2997
2997
|
},
|
|
2998
2998
|
{
|
|
2999
2999
|
"name": "arrow-scroll-distance",
|
|
3000
|
-
"description": "Change amount of distance
|
|
3000
|
+
"description": "Change amount of scroll distance when clicking on an overflow scroll arrow button.",
|
|
3001
3001
|
"values": []
|
|
3002
3002
|
},
|
|
3003
3003
|
{
|
|
@@ -3042,6 +3042,16 @@
|
|
|
3042
3042
|
"name": "width",
|
|
3043
3043
|
"description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
|
|
3044
3044
|
"values": [{ "name": "full" }, { "name": "auto" }]
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"name": "scroll-left-text",
|
|
3048
|
+
"description": "Set the text for the scroll left button",
|
|
3049
|
+
"values": []
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"name": "scroll-right-text",
|
|
3053
|
+
"description": "Set the text for the scroll right button",
|
|
3054
|
+
"values": []
|
|
3045
3055
|
}
|
|
3046
3056
|
],
|
|
3047
3057
|
"references": []
|
|
@@ -3150,7 +3160,7 @@
|
|
|
3150
3160
|
},
|
|
3151
3161
|
{
|
|
3152
3162
|
"name": "disabled",
|
|
3153
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
3163
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
3154
3164
|
"values": []
|
|
3155
3165
|
},
|
|
3156
3166
|
{
|
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": "@db-ux/wc-core-components",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.14.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -883,7 +883,7 @@
|
|
|
883
883
|
},
|
|
884
884
|
{
|
|
885
885
|
"name": "disabled",
|
|
886
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
886
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
887
887
|
"value": { "type": "boolean | string" }
|
|
888
888
|
},
|
|
889
889
|
{
|
|
@@ -993,12 +993,11 @@
|
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
"name": "name",
|
|
996
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
997
|
-
"type": "string"
|
|
996
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
998
997
|
},
|
|
999
998
|
{
|
|
1000
999
|
"name": "disabled",
|
|
1001
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1000
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1002
1001
|
"type": "boolean | string"
|
|
1003
1002
|
},
|
|
1004
1003
|
{
|
|
@@ -1013,8 +1012,7 @@
|
|
|
1013
1012
|
},
|
|
1014
1013
|
{
|
|
1015
1014
|
"name": "label",
|
|
1016
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
1017
|
-
"type": "string"
|
|
1015
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
1018
1016
|
},
|
|
1019
1017
|
{
|
|
1020
1018
|
"name": "messageIcon",
|
|
@@ -1310,7 +1308,7 @@
|
|
|
1310
1308
|
},
|
|
1311
1309
|
{
|
|
1312
1310
|
"name": "disabled",
|
|
1313
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1311
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1314
1312
|
"value": { "type": "boolean | string" }
|
|
1315
1313
|
},
|
|
1316
1314
|
{
|
|
@@ -1383,12 +1381,11 @@
|
|
|
1383
1381
|
},
|
|
1384
1382
|
{
|
|
1385
1383
|
"name": "name",
|
|
1386
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
1387
|
-
"type": "string"
|
|
1384
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
1388
1385
|
},
|
|
1389
1386
|
{
|
|
1390
1387
|
"name": "disabled",
|
|
1391
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1388
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1392
1389
|
"type": "boolean | string"
|
|
1393
1390
|
},
|
|
1394
1391
|
{
|
|
@@ -1398,8 +1395,7 @@
|
|
|
1398
1395
|
},
|
|
1399
1396
|
{
|
|
1400
1397
|
"name": "label",
|
|
1401
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
1402
|
-
"type": "string"
|
|
1398
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
1403
1399
|
},
|
|
1404
1400
|
{ "name": "hasDivider", "type": "boolean" },
|
|
1405
1401
|
{ "name": "observer" }
|
|
@@ -1616,7 +1612,7 @@
|
|
|
1616
1612
|
},
|
|
1617
1613
|
{
|
|
1618
1614
|
"name": "disabled",
|
|
1619
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1615
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1620
1616
|
"value": { "type": "boolean | string" }
|
|
1621
1617
|
},
|
|
1622
1618
|
{
|
|
@@ -1855,8 +1851,7 @@
|
|
|
1855
1851
|
},
|
|
1856
1852
|
{
|
|
1857
1853
|
"name": "label",
|
|
1858
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
1859
|
-
"type": "string"
|
|
1854
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
1860
1855
|
},
|
|
1861
1856
|
{
|
|
1862
1857
|
"name": "fieldSizing",
|
|
@@ -1865,8 +1860,7 @@
|
|
|
1865
1860
|
},
|
|
1866
1861
|
{
|
|
1867
1862
|
"name": "name",
|
|
1868
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
1869
|
-
"type": "string"
|
|
1863
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
1870
1864
|
},
|
|
1871
1865
|
{
|
|
1872
1866
|
"name": "type",
|
|
@@ -1890,7 +1884,7 @@
|
|
|
1890
1884
|
},
|
|
1891
1885
|
{
|
|
1892
1886
|
"name": "disabled",
|
|
1893
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
1887
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
1894
1888
|
"type": "boolean | string"
|
|
1895
1889
|
},
|
|
1896
1890
|
{
|
|
@@ -2026,11 +2020,6 @@
|
|
|
2026
2020
|
"description": "Change the behavior of the tooltip:\n- description: Adds `aria-describedby` to parent\n- label: Adds `aria-labelledby` to parent",
|
|
2027
2021
|
"value": { "type": "\"description\" | \"label\"" }
|
|
2028
2022
|
},
|
|
2029
|
-
{
|
|
2030
|
-
"name": "placement",
|
|
2031
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2032
|
-
"value": { "type": "\"undefined\" | \"undefined\"" }
|
|
2033
|
-
},
|
|
2034
2023
|
{
|
|
2035
2024
|
"name": "classname",
|
|
2036
2025
|
"value": { "type": "DBTooltipProps[\"className\"]" }
|
|
@@ -2065,6 +2054,11 @@
|
|
|
2065
2054
|
"description": "Show/Hides arrow",
|
|
2066
2055
|
"value": { "type": "boolean | string" }
|
|
2067
2056
|
},
|
|
2057
|
+
{
|
|
2058
|
+
"name": "placement",
|
|
2059
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2060
|
+
"value": { "type": "\"undefined\" | \"undefined\"" }
|
|
2061
|
+
},
|
|
2068
2062
|
{
|
|
2069
2063
|
"name": "text",
|
|
2070
2064
|
"description": "Alternative for default slot/children. Do not use together with a text children/slot, as both will be rendered and result in duplicate labels.",
|
|
@@ -2091,11 +2085,6 @@
|
|
|
2091
2085
|
"description": "Change the behavior of the tooltip:\n- description: Adds `aria-describedby` to parent\n- label: Adds `aria-labelledby` to parent",
|
|
2092
2086
|
"type": "\"description\" | \"label\""
|
|
2093
2087
|
},
|
|
2094
|
-
{
|
|
2095
|
-
"name": "placement",
|
|
2096
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2097
|
-
"type": "\"undefined\" | \"undefined\""
|
|
2098
|
-
},
|
|
2099
2088
|
{ "name": "className", "type": "DBTooltipProps[\"className\"]" },
|
|
2100
2089
|
{
|
|
2101
2090
|
"name": "emphasis",
|
|
@@ -2127,6 +2116,11 @@
|
|
|
2127
2116
|
"description": "Show/Hides arrow",
|
|
2128
2117
|
"type": "boolean | string"
|
|
2129
2118
|
},
|
|
2119
|
+
{
|
|
2120
|
+
"name": "placement",
|
|
2121
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
2122
|
+
"type": "\"undefined\" | \"undefined\""
|
|
2123
|
+
},
|
|
2130
2124
|
{
|
|
2131
2125
|
"name": "text",
|
|
2132
2126
|
"description": "Alternative for default slot/children. Do not use together with a text children/slot, as both will be rendered and result in duplicate labels.",
|
|
@@ -2135,7 +2129,8 @@
|
|
|
2135
2129
|
{ "name": "_id" },
|
|
2136
2130
|
{ "name": "initialized", "type": "boolean" },
|
|
2137
2131
|
{ "name": "_documentScrollListenerCallbackId" },
|
|
2138
|
-
{ "name": "
|
|
2132
|
+
{ "name": "_intersectionObserverCallbackId" },
|
|
2133
|
+
{ "name": "_resizeObserverCallbackId" },
|
|
2139
2134
|
{ "name": "_attachedParent" },
|
|
2140
2135
|
{ "name": "_attachedId" },
|
|
2141
2136
|
{ "name": "_activeTriggerCount", "type": "number" },
|
|
@@ -2478,7 +2473,7 @@
|
|
|
2478
2473
|
},
|
|
2479
2474
|
{
|
|
2480
2475
|
"name": "disabled",
|
|
2481
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
2476
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
2482
2477
|
"value": { "type": "boolean | string" }
|
|
2483
2478
|
},
|
|
2484
2479
|
{
|
|
@@ -2730,8 +2725,7 @@
|
|
|
2730
2725
|
},
|
|
2731
2726
|
{
|
|
2732
2727
|
"name": "label",
|
|
2733
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
2734
|
-
"type": "string"
|
|
2728
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
2735
2729
|
},
|
|
2736
2730
|
{
|
|
2737
2731
|
"name": "form",
|
|
@@ -2740,12 +2734,11 @@
|
|
|
2740
2734
|
},
|
|
2741
2735
|
{
|
|
2742
2736
|
"name": "name",
|
|
2743
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
2744
|
-
"type": "string"
|
|
2737
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
2745
2738
|
},
|
|
2746
2739
|
{
|
|
2747
2740
|
"name": "disabled",
|
|
2748
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
2741
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
2749
2742
|
"type": "boolean | string"
|
|
2750
2743
|
},
|
|
2751
2744
|
{
|
|
@@ -2840,7 +2833,8 @@
|
|
|
2840
2833
|
{ "name": "_documentClickListenerCallbackId" },
|
|
2841
2834
|
{ "name": "_internalChangeTimestamp", "type": "number" },
|
|
2842
2835
|
{ "name": "_documentScrollListenerCallbackId" },
|
|
2843
|
-
{ "name": "
|
|
2836
|
+
{ "name": "_intersectionObserverCallbackId" },
|
|
2837
|
+
{ "name": "_resizeObserverCallbackId" },
|
|
2844
2838
|
{ "name": "_searchValue" },
|
|
2845
2839
|
{ "name": "selectAllChecked", "type": "boolean" },
|
|
2846
2840
|
{ "name": "selectAllIndeterminate", "type": "boolean" },
|
|
@@ -4044,11 +4038,6 @@
|
|
|
4044
4038
|
"description": "\n---\n\n\n### **Slots:**\n - **children** - This is a default/unnamed slot\n- **trigger** - The trigger to open the popover e.g. a button",
|
|
4045
4039
|
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/popover/properties",
|
|
4046
4040
|
"attributes": [
|
|
4047
|
-
{
|
|
4048
|
-
"name": "placement",
|
|
4049
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
4050
|
-
"value": { "type": "\"undefined\" | \"undefined\"" }
|
|
4051
|
-
},
|
|
4052
4041
|
{ "name": "id", "value": { "type": "DBPopoverProps[\"id\"]" } },
|
|
4053
4042
|
{
|
|
4054
4043
|
"name": "prop-overrides",
|
|
@@ -4089,6 +4078,11 @@
|
|
|
4089
4078
|
"name": "width",
|
|
4090
4079
|
"description": "Use fixed with for default max-width",
|
|
4091
4080
|
"value": { "type": "\"auto\" | \"fixed\"" }
|
|
4081
|
+
},
|
|
4082
|
+
{
|
|
4083
|
+
"name": "placement",
|
|
4084
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
4085
|
+
"value": { "type": "\"undefined\" | \"undefined\"" }
|
|
4092
4086
|
}
|
|
4093
4087
|
],
|
|
4094
4088
|
"slots": [
|
|
@@ -4105,11 +4099,6 @@
|
|
|
4105
4099
|
"js": {
|
|
4106
4100
|
"properties": [
|
|
4107
4101
|
{ "name": "rootElement", "type": "HTMLElement" },
|
|
4108
|
-
{
|
|
4109
|
-
"name": "placement",
|
|
4110
|
-
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
4111
|
-
"type": "\"undefined\" | \"undefined\""
|
|
4112
|
-
},
|
|
4113
4102
|
{ "name": "id", "type": "DBPopoverProps[\"id\"]" },
|
|
4114
4103
|
{
|
|
4115
4104
|
"name": "propOverrides",
|
|
@@ -4146,10 +4135,16 @@
|
|
|
4146
4135
|
"description": "Use fixed with for default max-width",
|
|
4147
4136
|
"type": "\"auto\" | \"fixed\""
|
|
4148
4137
|
},
|
|
4138
|
+
{
|
|
4139
|
+
"name": "placement",
|
|
4140
|
+
"description": "The `placement` attributes values change the position to absolute and adds a transform based on the placement.",
|
|
4141
|
+
"type": "\"undefined\" | \"undefined\""
|
|
4142
|
+
},
|
|
4149
4143
|
{ "name": "initialized", "type": "boolean" },
|
|
4150
4144
|
{ "name": "isExpanded", "type": "boolean" },
|
|
4151
4145
|
{ "name": "_documentScrollListenerCallbackId" },
|
|
4152
|
-
{ "name": "
|
|
4146
|
+
{ "name": "_intersectionObserverCallbackId" },
|
|
4147
|
+
{ "name": "_resizeObserverCallbackId" },
|
|
4153
4148
|
{ "name": "observer" }
|
|
4154
4149
|
],
|
|
4155
4150
|
"events": []
|
|
@@ -4201,7 +4196,7 @@
|
|
|
4201
4196
|
},
|
|
4202
4197
|
{
|
|
4203
4198
|
"name": "disabled",
|
|
4204
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4199
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4205
4200
|
"value": { "type": "boolean | string" }
|
|
4206
4201
|
},
|
|
4207
4202
|
{
|
|
@@ -4280,12 +4275,11 @@
|
|
|
4280
4275
|
},
|
|
4281
4276
|
{
|
|
4282
4277
|
"name": "name",
|
|
4283
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
4284
|
-
"type": "string"
|
|
4278
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
4285
4279
|
},
|
|
4286
4280
|
{
|
|
4287
4281
|
"name": "disabled",
|
|
4288
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4282
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4289
4283
|
"type": "boolean | string"
|
|
4290
4284
|
},
|
|
4291
4285
|
{
|
|
@@ -4300,8 +4294,7 @@
|
|
|
4300
4294
|
},
|
|
4301
4295
|
{
|
|
4302
4296
|
"name": "label",
|
|
4303
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
4304
|
-
"type": "string"
|
|
4297
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
4305
4298
|
},
|
|
4306
4299
|
{ "name": "initialized", "type": "boolean" },
|
|
4307
4300
|
{ "name": "_id" },
|
|
@@ -4479,7 +4472,7 @@
|
|
|
4479
4472
|
},
|
|
4480
4473
|
{
|
|
4481
4474
|
"name": "disabled",
|
|
4482
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4475
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4483
4476
|
"value": { "type": "boolean | string" }
|
|
4484
4477
|
},
|
|
4485
4478
|
{
|
|
@@ -4629,18 +4622,16 @@
|
|
|
4629
4622
|
},
|
|
4630
4623
|
{
|
|
4631
4624
|
"name": "label",
|
|
4632
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
4633
|
-
"type": "string"
|
|
4625
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
4634
4626
|
},
|
|
4635
4627
|
{
|
|
4636
4628
|
"name": "disabled",
|
|
4637
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4629
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4638
4630
|
"type": "boolean | string"
|
|
4639
4631
|
},
|
|
4640
4632
|
{
|
|
4641
4633
|
"name": "name",
|
|
4642
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
4643
|
-
"type": "string"
|
|
4634
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
4644
4635
|
},
|
|
4645
4636
|
{
|
|
4646
4637
|
"name": "size",
|
|
@@ -4850,7 +4841,7 @@
|
|
|
4850
4841
|
},
|
|
4851
4842
|
{
|
|
4852
4843
|
"name": "disabled",
|
|
4853
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4844
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4854
4845
|
"value": { "type": "boolean | string" }
|
|
4855
4846
|
},
|
|
4856
4847
|
{
|
|
@@ -4975,7 +4966,7 @@
|
|
|
4975
4966
|
},
|
|
4976
4967
|
{
|
|
4977
4968
|
"name": "disabled",
|
|
4978
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
4969
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
4979
4970
|
"type": "boolean | string"
|
|
4980
4971
|
},
|
|
4981
4972
|
{
|
|
@@ -5011,8 +5002,7 @@
|
|
|
5011
5002
|
},
|
|
5012
5003
|
{
|
|
5013
5004
|
"name": "name",
|
|
5014
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
5015
|
-
"type": "string"
|
|
5005
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
5016
5006
|
},
|
|
5017
5007
|
{
|
|
5018
5008
|
"name": "iconLeading",
|
|
@@ -5031,8 +5021,7 @@
|
|
|
5031
5021
|
},
|
|
5032
5022
|
{
|
|
5033
5023
|
"name": "label",
|
|
5034
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
5035
|
-
"type": "string"
|
|
5024
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
5036
5025
|
},
|
|
5037
5026
|
{
|
|
5038
5027
|
"name": "messageIcon",
|
|
@@ -5961,7 +5950,7 @@
|
|
|
5961
5950
|
},
|
|
5962
5951
|
{
|
|
5963
5952
|
"name": "arrow-scroll-distance",
|
|
5964
|
-
"description": "Change amount of distance
|
|
5953
|
+
"description": "Change amount of scroll distance when clicking on an overflow scroll arrow button.",
|
|
5965
5954
|
"value": { "type": "number | string" }
|
|
5966
5955
|
},
|
|
5967
5956
|
{
|
|
@@ -6002,6 +5991,16 @@
|
|
|
6002
5991
|
"name": "width",
|
|
6003
5992
|
"description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
|
|
6004
5993
|
"value": { "type": "\"full\" | \"auto\" | string" }
|
|
5994
|
+
},
|
|
5995
|
+
{
|
|
5996
|
+
"name": "scroll-left-text",
|
|
5997
|
+
"description": "Set the text for the scroll left button",
|
|
5998
|
+
"value": { "type": "string" }
|
|
5999
|
+
},
|
|
6000
|
+
{
|
|
6001
|
+
"name": "scroll-right-text",
|
|
6002
|
+
"description": "Set the text for the scroll right button",
|
|
6003
|
+
"value": { "type": "string" }
|
|
6005
6004
|
}
|
|
6006
6005
|
],
|
|
6007
6006
|
"slots": [
|
|
@@ -6035,7 +6034,7 @@
|
|
|
6035
6034
|
},
|
|
6036
6035
|
{
|
|
6037
6036
|
"name": "arrowScrollDistance",
|
|
6038
|
-
"description": "Change amount of distance
|
|
6037
|
+
"description": "Change amount of scroll distance when clicking on an overflow scroll arrow button.",
|
|
6039
6038
|
"type": "number | string"
|
|
6040
6039
|
},
|
|
6041
6040
|
{
|
|
@@ -6074,12 +6073,22 @@
|
|
|
6074
6073
|
"description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
|
|
6075
6074
|
"type": "\"full\" | \"auto\" | string"
|
|
6076
6075
|
},
|
|
6076
|
+
{
|
|
6077
|
+
"name": "scrollLeftText",
|
|
6078
|
+
"description": "Set the text for the scroll left button",
|
|
6079
|
+
"type": "string"
|
|
6080
|
+
},
|
|
6081
|
+
{
|
|
6082
|
+
"name": "scrollRightText",
|
|
6083
|
+
"description": "Set the text for the scroll right button",
|
|
6084
|
+
"type": "string"
|
|
6085
|
+
},
|
|
6077
6086
|
{ "name": "_name", "type": "string" },
|
|
6078
6087
|
{ "name": "initialized", "type": "boolean" },
|
|
6079
6088
|
{ "name": "showScrollLeft", "type": "boolean" },
|
|
6080
6089
|
{ "name": "showScrollRight", "type": "boolean" },
|
|
6081
6090
|
{ "name": "scrollContainer", "type": "null" },
|
|
6082
|
-
{ "name": "
|
|
6091
|
+
{ "name": "_resizeObserverCallbackId" },
|
|
6083
6092
|
{ "name": "observer" }
|
|
6084
6093
|
],
|
|
6085
6094
|
"events": [
|
|
@@ -6192,7 +6201,7 @@
|
|
|
6192
6201
|
},
|
|
6193
6202
|
{
|
|
6194
6203
|
"name": "disabled",
|
|
6195
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
6204
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
6196
6205
|
"value": { "type": "boolean | string" }
|
|
6197
6206
|
},
|
|
6198
6207
|
{
|
|
@@ -6363,8 +6372,7 @@
|
|
|
6363
6372
|
},
|
|
6364
6373
|
{
|
|
6365
6374
|
"name": "label",
|
|
6366
|
-
"description": "The label attribute specifies the caption of the form element."
|
|
6367
|
-
"type": "string"
|
|
6375
|
+
"description": "The label attribute specifies the caption of the form element."
|
|
6368
6376
|
},
|
|
6369
6377
|
{
|
|
6370
6378
|
"name": "fieldSizing",
|
|
@@ -6383,7 +6391,7 @@
|
|
|
6383
6391
|
},
|
|
6384
6392
|
{
|
|
6385
6393
|
"name": "disabled",
|
|
6386
|
-
"description": "The disabled attribute can be set to keep a user from clicking on the
|
|
6394
|
+
"description": "The disabled attribute can be set to keep a user from clicking on the item.",
|
|
6387
6395
|
"type": "boolean | string"
|
|
6388
6396
|
},
|
|
6389
6397
|
{
|
|
@@ -6413,8 +6421,7 @@
|
|
|
6413
6421
|
},
|
|
6414
6422
|
{
|
|
6415
6423
|
"name": "name",
|
|
6416
|
-
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
6417
|
-
"type": "string"
|
|
6424
|
+
"description": "The name attribute gives the name of the form control, as used in form submission and in the form element's elements object."
|
|
6418
6425
|
},
|
|
6419
6426
|
{
|
|
6420
6427
|
"name": "wrap",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/wc-core-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Stencil components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dist/"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@db-ux/core-components": "4.
|
|
35
|
-
"@db-ux/core-foundations": "4.
|
|
34
|
+
"@db-ux/core-components": "4.14.0",
|
|
35
|
+
"@db-ux/core-foundations": "4.14.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.11.0",
|
package/bundle/p-BdL-nI5y.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a="OVERWRITE_DEFAULT_ID",s="LABEL SHOULD BE SET",e=" ",i="MESSAGE SHOULD BE SET",l="-label",n="-select",b="-message",c="-valid-message",t="-invalid-message",r="-placeholder",g="-datalist",u="TODO: Add a validMessage",o="TODO: Add an invalidMessage",v="Remove",d="Back",f="Selected",m="BurgerMenu",p="brand",O=4,h="Close",w="density",E="color";var S;!function(a){a.FUNCTIONAL="functional",a.REGULAR="regular",a.EXPRESSIVE="expressive"}(S||(S={}));const j=Object.entries(S).map((([,a])=>a));var D,T;!function(a){a.PRIMARY="primary"}(D||(D={})),function(a){a.NEUTRAL_BG_LEVEL_1="neutral-bg-basic-level-1",a.NEUTRAL_BG_LEVEL_2="neutral-bg-basic-level-2",a.NEUTRAL_BG_LEVEL_3="neutral-bg-basic-level-3",a.NEUTRAL_BG_TRANSPARENT_SEMI="neutral-bg-basic-transparent-semi",a.NEUTRAL_BG_TRANSPARENT_FULL="neutral-bg-basic-transparent-full",a.BRAND_BG_LEVEL_1="brand-bg-basic-level-1",a.BRAND_BG_LEVEL_2="brand-bg-basic-level-2",a.BRAND_BG_LEVEL_3="brand-bg-basic-level-3",a.BRAND_BG_TRANSPARENT_SEMI="brand-bg-basic-transparent-semi",a.BRAND_BG_TRANSPARENT_FULL="brand-bg-basic-transparent-full",a.SUCCESSFUL_BG_LEVEL_1="successful-bg-basic-level-1",a.SUCCESSFUL_BG_LEVEL_2="successful-bg-basic-level-2",a.SUCCESSFUL_BG_LEVEL_3="successful-bg-basic-level-3",a.SUCCESSFUL_BG_TRANSPARENT_SEMI="successful-bg-basic-transparent-semi",a.SUCCESSFUL_BG_TRANSPARENT_FULL="successful-bg-basic-transparent-full",a.CRITICAL_BG_LEVEL_1="critical-bg-basic-level-1",a.CRITICAL_BG_LEVEL_2="critical-bg-basic-level-2",a.CRITICAL_BG_LEVEL_3="critical-bg-basic-level-3",a.CRITICAL_BG_TRANSPARENT_SEMI="critical-bg-basic-transparent-semi",a.CRITICAL_BG_TRANSPARENT_Full="critical-bg-basic-transparent-full",a.WARNING_BG_LEVEL_1="warning-bg-basic-level-1",a.WARNING_BG_LEVEL_2="warning-bg-basic-level-2",a.WARNING_BG_LEVEL_3="warning-bg-basic-level-3",a.WARNING_BG_TRANSPARENT_SEMI="warning-bg-basic-transparent-semi",a.WARNING_BG_TRANSPARENT_FULL="warning-bg-basic-transparent-full",a.INFORMATIONAL_BG_LEVEL_1="informational-bg-basic-level-1",a.INFORMATIONAL_BG_LEVEL_2="informational-bg-basic-level-2",a.INFORMATIONAL_BG_LEVEL_3="informational-bg-basic-level-3",a.INFORMATIONAL_BG_TRANSPARENT_SEMI="informational-bg-basic-transparent-semi",a.INFORMATIONAL_BG_TRANSPARENT_FULL="informational-bg-basic-transparent-full"}(T||(T={}));const A=Object.entries(T).map((([,a])=>a)),B=Object.entries(D).map((([,a])=>a));var x;!function(a){a.CRITICAL="critical",a.INFORMATIONAL="informational",a.WARNING="warning",a.SUCCESSFUL="successful"}(x||(x={}));const L=Object.entries(x).map((([,a])=>a)),k={width:390,height:884},M={width:1920,height:1280},y=[Object.assign({name:"desktop"},M),{name:"tablet",width:768,height:1024},Object.assign({name:"mobile"},k)],R="db-ux-framework",U="db-ux-mode";export{L as A,k as B,E as C,a as D,M as E,R as F,U as G,x as S,y as T,s as a,e as b,i as c,l as d,n as e,b as f,c as g,t as h,r as i,g as j,u as k,o as l,v as m,d as n,f as o,m as p,p as q,O as r,h as s,w as t,S as u,j as v,D as w,T as x,A as y,B as z}
|
package/bundle/p-C0q9XJSc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=t=>{const{outTop:o,outBottom:e,outLeft:i,outRight:l}=(t=>{var o;const{top:e,bottom:i,left:l,right:n}=t.getBoundingClientRect(),{innerHeight:r,innerWidth:d}=window;let p=e<0,h=i>r,a=l<0,c=n>d;const s=t.dataset.outsideVy,f=t.dataset.outsideVx,b=null===(o=null==t?void 0:t.parentElement)||void 0===o?void 0:o.getBoundingClientRect();return b&&(s&&("top"===t.dataset.outsideVy?p=b.top-(i-b.bottom)<0:h=b.bottom+(b.top-e)>r),f&&("left"===t.dataset.outsideVx?a=b.left-(n-b.right)<0:c=b.right+(b.left-l)>d)),{outTop:p,outBottom:h,outLeft:a,outRight:c}})(t);let n={};return o||e?(n={vy:o?"top":"bottom"},t.dataset.outsideVy=n.vy):delete t.dataset.outsideVy,i||l?(n=Object.assign(Object.assign({},n),{vx:l?"right":"left"}),t.dataset.outsideVx=n.vx):delete t.dataset.outsideVx,n},o=(t,o,i)=>{if(!t||!o)return;const l="full"===t.dataset.width,n="auto"===t.dataset.width;if(t.style.inlineSize="",t.style.minInlineSize="","9999"===getComputedStyle(t).zIndex)return;const{top:r,bottom:d,childHeight:p,childWidth:h,width:a,right:c,left:s,correctedPlacement:f,innerWidth:b}=e(t,o,i);let u=a;if(n){const o=parseFloat(getComputedStyle(t).maxInlineSize);!isNaN(o)&&o>0&&(u=Math.min(a,o))}l?t.style.inlineSize=`${a}px`:n&&(t.style.minInlineSize=`${u}px`);let g=h;n?g=Math.max(h,u):l&&(g=a);let m=f;n&&("top"===m||"bottom"===m||"top-start"===m||"bottom-start"===m)&&s+g>b&&(m=m.startsWith("top")?"top-end":"bottom-end"),"top"===m||"bottom"===m||"top-start"===m||"bottom-start"===m?t.style.insetInlineStart=`${s}px`:"top-end"!==m&&"bottom-end"!==m||(t.style.insetInlineStart=`${Math.max(c-g,0)}px`),(null==m?void 0:m.startsWith("top"))?t.style.insetBlockStart=r-p+"px":(null==m?void 0:m.startsWith("bottom"))&&(t.style.insetBlockStart=`${d}px`),t.style.position="fixed"},e=(t,o,e)=>{if(!t||!o)return{top:0,bottom:0,right:0,height:0,width:0,left:0,childHeight:0,childWidth:0,correctedPlacement:e,innerWidth:window.innerWidth,innerHeight:window.innerHeight};const i=t.getBoundingClientRect(),{top:l,height:n,bottom:r,right:d,left:p,width:h}=o.getBoundingClientRect(),{innerHeight:a,innerWidth:c}=window;let s=i.height,f=i.width;"bottom"!==e&&"top"!==e||(f/=2),"left"!==e&&"right"!==e||(s/=2);const b=r+s>a,u=l-s<0,g=p-f<0,m=d+f>c;let $=e;return e.startsWith("bottom")?b?($=null==e?void 0:e.replace("bottom","top"),g&&m?$="top":g?$="top-start":m&&($="top-end")):g&&m?$="bottom":g?$="bottom-start":m&&($="bottom-end"):e.startsWith("top")?u?($=null==e?void 0:e.replace("top","bottom"),g&&m?$="bottom":g?$="bottom-start":m&&($="bottom-end")):g&&m?$="top":g?$="top-start":m&&($="top-end"):e.startsWith("left")?g?($=null==e?void 0:e.replace("left","right"),b&&u?$="right":b?$="right-end":u&&($="right-start")):b&&u?$="left":b?$="left-end":u&&($="left-start"):$.startsWith("right")&&(m?($=null==e?void 0:e.replace("right","left"),b&&u?$="left":b?$="left-end":u&&($="left-start")):b&&u?$="right":b?$="right-end":u&&($="right-start")),{top:l,bottom:r,right:d,height:n,width:h,left:p,childHeight:i.height,childWidth:i.width,correctedPlacement:$,innerWidth:c,innerHeight:a}},i=new WeakMap,l=(t,o,l)=>{var n,r;if(!t||!o)return;const d=getComputedStyle(o),p=["absolute","fixed"].includes(d.position),h=(t=>{if(i.has(t))return i.get(t);let o=t.parentElement,e=0;for(;o&&e<10;){if(o.dataset.correctedPlacement)return i.set(t,o),o;o=o.parentElement,e+=1}return i.set(t,null),null})(t),a=!h&&!p,c=null!==(r=null===(n=getComputedStyle(t))||void 0===n?void 0:n.getPropertyValue("--db-popover-distance"))&&void 0!==r?r:"0px";let{top:s,height:f,width:b,childHeight:u,childWidth:g,right:m,left:$,bottom:x,correctedPlacement:v,innerWidth:w,innerHeight:W}=e(t,o,l);if(h){const t=h.getBoundingClientRect();$=Math.abs($-t.left),m=1.5*(b+Math.abs(m-t.right)),s=Math.abs(s-t.top),x=1.5*(f+Math.abs(x-t.bottom))}if(p&&($=0,m=b,s=0,x=f,["auto","inherit","0"].includes(d.zIndex)&&(o.style.zIndex="1")),g>b&&(v.startsWith("bottom")||v.startsWith("top"))){const o=b/2/g*100;v.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-inline-start",`${o}%`):v.endsWith("end")?t.style.setProperty("--db-tooltip-arrow-inline-start",100-o+"%"):t.style.setProperty("--db-tooltip-arrow-inline-start","50%")}if(u>f&&(v.startsWith("left")||v.startsWith("bottom"))){const o=f/2/u*100;v.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-block-start",`${o}%`):v.endsWith("end")?t.style.setProperty("--db-tooltip-arrow-block-start",100-o+"%"):t.style.setProperty("--db-tooltip-arrow-block-start","50%")}if("right"===v||"left"===v)t.style.insetBlockStart=`${s+f/2}px`;else if("right-start"===v||"left-start"===v){const o=s+u;t.style.insetBlockStart=`${s}px`,t.style.insetBlockEnd=`${!p&&o>W?W:o}px`}else if("right-end"===v||"left-end"===v){const o=x-u;t.style.insetBlockStart=`${!p&&o<0?0:o}px`,t.style.insetBlockEnd=`${x}px`}else if("top"===v||"bottom"===v)t.style.insetInlineStart=`${$+b/2}px`;else if("top-start"===v||"bottom-start"===v){const o=$+g;t.style.insetInlineStart=`${$}px`,t.style.insetInlineEnd=`${!p&&o>w?w:o}px`}else if("top-end"===v||"bottom-end"===v){const o=m-g;t.style.insetInlineStart=`${!p&&o<0?0:o}px`,t.style.insetInlineEnd=`${m}px`}if(null==v?void 0:v.startsWith("right")){const o=m+g;t.style.insetInlineStart=`calc(${m}px + ${c})`,t.style.insetInlineEnd=`calc(${a&&o>w?w:o}px + ${c})`}else if(null==v?void 0:v.startsWith("left")){const o=$-g;t.style.insetInlineStart=`calc(${a&&o<0?0:o}px - ${c})`,t.style.insetInlineEnd=`calc(${m}px - ${c})`}else if(null==v?void 0:v.startsWith("top")){const o=s-u;t.style.insetBlockStart=`calc(${a&&o<0?0:o}px - ${c})`,t.style.insetBlockEnd=`calc(${p?o:x}px - ${c})`}else if(null==v?void 0:v.startsWith("bottom")){const o=x+u;t.style.insetBlockStart=`calc(${p?o:x}px + ${c})`,t.style.insetBlockEnd=`calc(${a&&o>W?W:o}px + ${c})`}t.style.position="fixed",t.dataset.correctedPlacement=v};export{o as a,l as b,e as g,t as h}
|
package/bundle/p-CTkfdjBp.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as t}from"./p-BygObMH8.js";class s{static runCallbacks(t){for(const l of Object.values(s.callbacks))"function"==typeof l&&l(t)}constructor(){if(this.ticking=!1,s._instance)return s._instance;s._instance=this,self.document&&self.document.addEventListener("scroll",(t=>{this.ticking||(window.requestAnimationFrame((()=>{s.runCallbacks(t),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=t();return s.callbacks[o]=l,o}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
|