@momentum-design/components 0.30.1 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +150 -205
- package/dist/browser/index.js.map +4 -4
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/popover/index.js +0 -1
- package/dist/components/popover/popover.component.d.ts +18 -9
- package/dist/components/popover/popover.component.js +71 -70
- package/dist/components/popover/popover.constants.d.ts +5 -1
- package/dist/components/popover/popover.constants.js +5 -2
- package/dist/components/popover/popover.styles.js +22 -25
- package/dist/components/popover/popover.types.d.ts +2 -1
- package/dist/components/popover/popover.utils.d.ts +1 -0
- package/dist/components/popover/popover.utils.js +30 -11
- package/dist/custom-elements.json +44 -436
- package/dist/react/index.d.ts +0 -1
- package/dist/react/index.js +0 -1
- package/dist/react/popover/index.d.ts +3 -2
- package/dist/react/popover/index.js +3 -2
- package/package.json +1 -1
- package/dist/components/modalcontainer/index.d.ts +0 -7
- package/dist/components/modalcontainer/index.js +0 -4
- package/dist/components/modalcontainer/modalcontainer.component.d.ts +0 -50
- package/dist/components/modalcontainer/modalcontainer.component.js +0 -96
- package/dist/components/modalcontainer/modalcontainer.constants.d.ts +0 -20
- package/dist/components/modalcontainer/modalcontainer.constants.js +0 -21
- package/dist/components/modalcontainer/modalcontainer.styles.d.ts +0 -2
- package/dist/components/modalcontainer/modalcontainer.styles.js +0 -45
- package/dist/components/modalcontainer/modalcontainer.types.d.ts +0 -4
- package/dist/components/modalcontainer/modalcontainer.types.js +0 -1
- package/dist/react/modalcontainer/index.d.ts +0 -17
- package/dist/react/modalcontainer/index.js +0 -26
- package/dist/utils/mixins/DataAriaDescribedbyMixin.d.ts +0 -6
- package/dist/utils/mixins/DataAriaDescribedbyMixin.js +0 -30
- package/dist/utils/mixins/DataAriaLabelledbyMixin.d.ts +0 -6
- package/dist/utils/mixins/DataAriaLabelledbyMixin.js +0 -29
@@ -5835,244 +5835,6 @@
|
|
5835
5835
|
}
|
5836
5836
|
]
|
5837
5837
|
},
|
5838
|
-
{
|
5839
|
-
"kind": "javascript-module",
|
5840
|
-
"path": "components/modalcontainer/modalcontainer.component.js",
|
5841
|
-
"declarations": [
|
5842
|
-
{
|
5843
|
-
"kind": "class",
|
5844
|
-
"description": "The `mdc-modalcontainer` component is an element used to\ndisplay a modal container that can further be used in popover.",
|
5845
|
-
"name": "Modalcontainer",
|
5846
|
-
"cssProperties": [
|
5847
|
-
{
|
5848
|
-
"description": "primary background color of the modalcontainer",
|
5849
|
-
"name": "--mdc-modalcontainer-primary-background-color"
|
5850
|
-
},
|
5851
|
-
{
|
5852
|
-
"description": "border color of the modalcontainer",
|
5853
|
-
"name": "--mdc-modalcontainer-border-color"
|
5854
|
-
},
|
5855
|
-
{
|
5856
|
-
"description": "inverted background color of the modalcontainer",
|
5857
|
-
"name": "--mdc-modalcontainer-inverted-background-color"
|
5858
|
-
},
|
5859
|
-
{
|
5860
|
-
"description": "inverted border color of the modalcontainer",
|
5861
|
-
"name": "--mdc-modalcontainer-inverted-border-color"
|
5862
|
-
},
|
5863
|
-
{
|
5864
|
-
"description": "inverted text color of the modalcontainer",
|
5865
|
-
"name": "--mdc-modalcontainer-inverted-text-color"
|
5866
|
-
}
|
5867
|
-
],
|
5868
|
-
"slots": [
|
5869
|
-
{
|
5870
|
-
"description": "Default slot for modal container",
|
5871
|
-
"name": ""
|
5872
|
-
}
|
5873
|
-
],
|
5874
|
-
"members": [
|
5875
|
-
{
|
5876
|
-
"kind": "field",
|
5877
|
-
"name": "color",
|
5878
|
-
"type": {
|
5879
|
-
"text": "ModalContainerColor"
|
5880
|
-
},
|
5881
|
-
"description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
|
5882
|
-
"default": "tonal",
|
5883
|
-
"attribute": "color",
|
5884
|
-
"reflects": true
|
5885
|
-
},
|
5886
|
-
{
|
5887
|
-
"kind": "field",
|
5888
|
-
"name": "elevation",
|
5889
|
-
"type": {
|
5890
|
-
"text": "ModalContainerElevation"
|
5891
|
-
},
|
5892
|
-
"description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
|
5893
|
-
"default": "0",
|
5894
|
-
"attribute": "elevation",
|
5895
|
-
"reflects": true
|
5896
|
-
},
|
5897
|
-
{
|
5898
|
-
"kind": "field",
|
5899
|
-
"name": "dataRole",
|
5900
|
-
"type": {
|
5901
|
-
"text": "HTMLElement['role']"
|
5902
|
-
},
|
5903
|
-
"description": "Role of the modalcontainer",
|
5904
|
-
"default": "dialog",
|
5905
|
-
"attribute": "data-role",
|
5906
|
-
"reflects": true
|
5907
|
-
},
|
5908
|
-
{
|
5909
|
-
"kind": "field",
|
5910
|
-
"name": "dataAriaModal",
|
5911
|
-
"type": {
|
5912
|
-
"text": "boolean"
|
5913
|
-
},
|
5914
|
-
"description": "Aria modal of the modalcontainer",
|
5915
|
-
"default": "false",
|
5916
|
-
"attribute": "data-aria-modal",
|
5917
|
-
"reflects": true
|
5918
|
-
},
|
5919
|
-
{
|
5920
|
-
"kind": "field",
|
5921
|
-
"name": "dataAriaLabel",
|
5922
|
-
"type": {
|
5923
|
-
"text": "string | null"
|
5924
|
-
},
|
5925
|
-
"default": "null",
|
5926
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
5927
|
-
"attribute": "data-aria-label",
|
5928
|
-
"reflects": true,
|
5929
|
-
"inheritedFrom": {
|
5930
|
-
"name": "DataAriaLabelMixin",
|
5931
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
5932
|
-
}
|
5933
|
-
},
|
5934
|
-
{
|
5935
|
-
"kind": "field",
|
5936
|
-
"name": "dataAriaLabelledby",
|
5937
|
-
"type": {
|
5938
|
-
"text": "string | null"
|
5939
|
-
},
|
5940
|
-
"default": "null",
|
5941
|
-
"description": "Defines an ID reference to one or more elements that label the current element.\nThe `aria-labelledby` attribute to be set for accessibility.",
|
5942
|
-
"attribute": "data-aria-labelledby",
|
5943
|
-
"reflects": true,
|
5944
|
-
"inheritedFrom": {
|
5945
|
-
"name": "DataAriaLabelledbyMixin",
|
5946
|
-
"module": "utils/mixins/DataAriaLabelledbyMixin.js"
|
5947
|
-
}
|
5948
|
-
},
|
5949
|
-
{
|
5950
|
-
"kind": "field",
|
5951
|
-
"name": "dataAriaDescribedby",
|
5952
|
-
"type": {
|
5953
|
-
"text": "string | null"
|
5954
|
-
},
|
5955
|
-
"default": "null",
|
5956
|
-
"description": "Defines an ID reference to one or more elements that provide additional\ndescriptive information for the current element.\nThe `aria-describedby` attribute to be set for accessibility.",
|
5957
|
-
"attribute": "data-aria-describedby",
|
5958
|
-
"reflects": true,
|
5959
|
-
"inheritedFrom": {
|
5960
|
-
"name": "DataAriaDescribedbyMixin",
|
5961
|
-
"module": "utils/mixins/DataAriaDescribedbyMixin.js"
|
5962
|
-
}
|
5963
|
-
}
|
5964
|
-
],
|
5965
|
-
"attributes": [
|
5966
|
-
{
|
5967
|
-
"name": "color",
|
5968
|
-
"type": {
|
5969
|
-
"text": "ModalContainerColor"
|
5970
|
-
},
|
5971
|
-
"description": "Color of the modalcontainer\n- **tonal**\n- **contrast**",
|
5972
|
-
"default": "tonal",
|
5973
|
-
"fieldName": "color"
|
5974
|
-
},
|
5975
|
-
{
|
5976
|
-
"name": "elevation",
|
5977
|
-
"type": {
|
5978
|
-
"text": "ModalContainerElevation"
|
5979
|
-
},
|
5980
|
-
"description": "Elevation of the modalcontainer where each value corresponds to a different drop shadow.\n- **0**\n- **1**\n- **2**\n- **3**\n- **4**",
|
5981
|
-
"default": "0",
|
5982
|
-
"fieldName": "elevation"
|
5983
|
-
},
|
5984
|
-
{
|
5985
|
-
"name": "data-role",
|
5986
|
-
"type": {
|
5987
|
-
"text": "HTMLElement['role']"
|
5988
|
-
},
|
5989
|
-
"description": "Role of the modalcontainer",
|
5990
|
-
"default": "dialog",
|
5991
|
-
"fieldName": "dataRole"
|
5992
|
-
},
|
5993
|
-
{
|
5994
|
-
"name": "data-aria-modal",
|
5995
|
-
"type": {
|
5996
|
-
"text": "boolean"
|
5997
|
-
},
|
5998
|
-
"description": "Aria modal of the modalcontainer",
|
5999
|
-
"default": "false",
|
6000
|
-
"fieldName": "dataAriaModal"
|
6001
|
-
},
|
6002
|
-
{
|
6003
|
-
"name": "data-aria-label",
|
6004
|
-
"type": {
|
6005
|
-
"text": "string | null"
|
6006
|
-
},
|
6007
|
-
"default": "null",
|
6008
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
6009
|
-
"fieldName": "dataAriaLabel",
|
6010
|
-
"inheritedFrom": {
|
6011
|
-
"name": "DataAriaLabelMixin",
|
6012
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
6013
|
-
}
|
6014
|
-
},
|
6015
|
-
{
|
6016
|
-
"name": "data-aria-labelledby",
|
6017
|
-
"type": {
|
6018
|
-
"text": "string | null"
|
6019
|
-
},
|
6020
|
-
"default": "null",
|
6021
|
-
"description": "Defines an ID reference to one or more elements that label the current element.\nThe `aria-labelledby` attribute to be set for accessibility.",
|
6022
|
-
"fieldName": "dataAriaLabelledby",
|
6023
|
-
"inheritedFrom": {
|
6024
|
-
"name": "DataAriaLabelledbyMixin",
|
6025
|
-
"module": "src/utils/mixins/DataAriaLabelledbyMixin.ts"
|
6026
|
-
}
|
6027
|
-
},
|
6028
|
-
{
|
6029
|
-
"name": "data-aria-describedby",
|
6030
|
-
"type": {
|
6031
|
-
"text": "string | null"
|
6032
|
-
},
|
6033
|
-
"default": "null",
|
6034
|
-
"description": "Defines an ID reference to one or more elements that provide additional\ndescriptive information for the current element.\nThe `aria-describedby` attribute to be set for accessibility.",
|
6035
|
-
"fieldName": "dataAriaDescribedby",
|
6036
|
-
"inheritedFrom": {
|
6037
|
-
"name": "DataAriaDescribedbyMixin",
|
6038
|
-
"module": "src/utils/mixins/DataAriaDescribedbyMixin.ts"
|
6039
|
-
}
|
6040
|
-
}
|
6041
|
-
],
|
6042
|
-
"mixins": [
|
6043
|
-
{
|
6044
|
-
"name": "DataAriaLabelMixin",
|
6045
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
6046
|
-
},
|
6047
|
-
{
|
6048
|
-
"name": "DataAriaLabelledbyMixin",
|
6049
|
-
"module": "/src/utils/mixins/DataAriaLabelledbyMixin"
|
6050
|
-
},
|
6051
|
-
{
|
6052
|
-
"name": "DataAriaDescribedbyMixin",
|
6053
|
-
"module": "/src/utils/mixins/DataAriaDescribedbyMixin"
|
6054
|
-
}
|
6055
|
-
],
|
6056
|
-
"superclass": {
|
6057
|
-
"name": "Component",
|
6058
|
-
"module": "/src/models"
|
6059
|
-
},
|
6060
|
-
"tagName": "mdc-modalcontainer",
|
6061
|
-
"jsDoc": "/**\n * The `mdc-modalcontainer` component is an element used to\n * display a modal container that can further be used in popover.\n *\n * @tagname mdc-modalcontainer\n *\n * @cssproperty --mdc-modalcontainer-primary-background-color - primary background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-border-color - border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-background-color - inverted background color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-border-color - inverted border color of the modalcontainer\n * @cssproperty --mdc-modalcontainer-inverted-text-color - inverted text color of the modalcontainer\n *\n * @slot - Default slot for modal container\n */",
|
6062
|
-
"customElement": true
|
6063
|
-
}
|
6064
|
-
],
|
6065
|
-
"exports": [
|
6066
|
-
{
|
6067
|
-
"kind": "js",
|
6068
|
-
"name": "default",
|
6069
|
-
"declaration": {
|
6070
|
-
"name": "Modalcontainer",
|
6071
|
-
"module": "components/modalcontainer/modalcontainer.component.js"
|
6072
|
-
}
|
6073
|
-
}
|
6074
|
-
]
|
6075
|
-
},
|
6076
5838
|
{
|
6077
5839
|
"kind": "javascript-module",
|
6078
5840
|
"path": "components/popover/popover.component.js",
|
@@ -6094,6 +5856,10 @@
|
|
6094
5856
|
"description": "primary background color of the popover",
|
6095
5857
|
"name": "--mdc-popover-primary-background-color"
|
6096
5858
|
},
|
5859
|
+
{
|
5860
|
+
"description": "border color of the popover",
|
5861
|
+
"name": "--mdc-popover-border-color"
|
5862
|
+
},
|
6097
5863
|
{
|
6098
5864
|
"description": "inverted background color of the popover",
|
6099
5865
|
"name": "--mdc-popover-inverted-background-color"
|
@@ -6105,11 +5871,15 @@
|
|
6105
5871
|
{
|
6106
5872
|
"description": "inverted text color of the popover",
|
6107
5873
|
"name": "--mdc-popover-inverted-text-color"
|
5874
|
+
},
|
5875
|
+
{
|
5876
|
+
"description": "elevation of the popover",
|
5877
|
+
"name": "--mdc-popover-elevation-3"
|
6108
5878
|
}
|
6109
5879
|
],
|
6110
5880
|
"slots": [
|
6111
5881
|
{
|
6112
|
-
"description": "Default slot for
|
5882
|
+
"description": "Default slot for the popover content",
|
6113
5883
|
"name": ""
|
6114
5884
|
}
|
6115
5885
|
],
|
@@ -6160,7 +5930,7 @@
|
|
6160
5930
|
"kind": "field",
|
6161
5931
|
"name": "color",
|
6162
5932
|
"type": {
|
6163
|
-
"text": "
|
5933
|
+
"text": "PopoverColor"
|
6164
5934
|
},
|
6165
5935
|
"description": "Color of the popover\n- **tonal**\n- **contrast**",
|
6166
5936
|
"default": "tonal",
|
@@ -6365,13 +6135,35 @@
|
|
6365
6135
|
},
|
6366
6136
|
{
|
6367
6137
|
"kind": "field",
|
6368
|
-
"name": "
|
6138
|
+
"name": "role",
|
6369
6139
|
"type": {
|
6370
6140
|
"text": "HTMLElement['role']"
|
6371
6141
|
},
|
6372
6142
|
"description": "Role of the popover",
|
6373
6143
|
"default": "dialog",
|
6374
|
-
"attribute": "
|
6144
|
+
"attribute": "role",
|
6145
|
+
"reflects": true
|
6146
|
+
},
|
6147
|
+
{
|
6148
|
+
"kind": "field",
|
6149
|
+
"name": "ariaLabelledby",
|
6150
|
+
"type": {
|
6151
|
+
"text": "string | null"
|
6152
|
+
},
|
6153
|
+
"default": "null",
|
6154
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
6155
|
+
"attribute": "aria-labelledby",
|
6156
|
+
"reflects": true
|
6157
|
+
},
|
6158
|
+
{
|
6159
|
+
"kind": "field",
|
6160
|
+
"name": "ariaDescribedby",
|
6161
|
+
"type": {
|
6162
|
+
"text": "string | null"
|
6163
|
+
},
|
6164
|
+
"default": "null",
|
6165
|
+
"description": "aria-describedby of the popover.",
|
6166
|
+
"attribute": "aria-describedby",
|
6375
6167
|
"reflects": true
|
6376
6168
|
},
|
6377
6169
|
{
|
@@ -6500,51 +6292,6 @@
|
|
6500
6292
|
"name": "utils",
|
6501
6293
|
"default": "new PopoverUtils(this)"
|
6502
6294
|
},
|
6503
|
-
{
|
6504
|
-
"kind": "field",
|
6505
|
-
"name": "dataAriaLabel",
|
6506
|
-
"type": {
|
6507
|
-
"text": "string | null"
|
6508
|
-
},
|
6509
|
-
"default": "null",
|
6510
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
6511
|
-
"attribute": "data-aria-label",
|
6512
|
-
"reflects": true,
|
6513
|
-
"inheritedFrom": {
|
6514
|
-
"name": "DataAriaLabelMixin",
|
6515
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
6516
|
-
}
|
6517
|
-
},
|
6518
|
-
{
|
6519
|
-
"kind": "field",
|
6520
|
-
"name": "dataAriaLabelledby",
|
6521
|
-
"type": {
|
6522
|
-
"text": "string | null"
|
6523
|
-
},
|
6524
|
-
"default": "null",
|
6525
|
-
"description": "Defines an ID reference to one or more elements that label the current element.\nThe `aria-labelledby` attribute to be set for accessibility.",
|
6526
|
-
"attribute": "data-aria-labelledby",
|
6527
|
-
"reflects": true,
|
6528
|
-
"inheritedFrom": {
|
6529
|
-
"name": "DataAriaLabelledbyMixin",
|
6530
|
-
"module": "utils/mixins/DataAriaLabelledbyMixin.js"
|
6531
|
-
}
|
6532
|
-
},
|
6533
|
-
{
|
6534
|
-
"kind": "field",
|
6535
|
-
"name": "dataAriaDescribedby",
|
6536
|
-
"type": {
|
6537
|
-
"text": "string | null"
|
6538
|
-
},
|
6539
|
-
"default": "null",
|
6540
|
-
"description": "Defines an ID reference to one or more elements that provide additional\ndescriptive information for the current element.\nThe `aria-describedby` attribute to be set for accessibility.",
|
6541
|
-
"attribute": "data-aria-describedby",
|
6542
|
-
"reflects": true,
|
6543
|
-
"inheritedFrom": {
|
6544
|
-
"name": "DataAriaDescribedbyMixin",
|
6545
|
-
"module": "utils/mixins/DataAriaDescribedbyMixin.js"
|
6546
|
-
}
|
6547
|
-
},
|
6548
6295
|
{
|
6549
6296
|
"kind": "field",
|
6550
6297
|
"name": "enabledFocusTrap",
|
@@ -7051,7 +6798,7 @@
|
|
7051
6798
|
{
|
7052
6799
|
"name": "color",
|
7053
6800
|
"type": {
|
7054
|
-
"text": "
|
6801
|
+
"text": "PopoverColor"
|
7055
6802
|
},
|
7056
6803
|
"description": "Color of the popover\n- **tonal**\n- **contrast**",
|
7057
6804
|
"default": "tonal",
|
@@ -7220,52 +6967,31 @@
|
|
7220
6967
|
"fieldName": "closeButtonAriaLabel"
|
7221
6968
|
},
|
7222
6969
|
{
|
7223
|
-
"name": "
|
6970
|
+
"name": "role",
|
7224
6971
|
"type": {
|
7225
6972
|
"text": "HTMLElement['role']"
|
7226
6973
|
},
|
7227
6974
|
"description": "Role of the popover",
|
7228
6975
|
"default": "dialog",
|
7229
|
-
"fieldName": "
|
7230
|
-
},
|
7231
|
-
{
|
7232
|
-
"name": "data-aria-label",
|
7233
|
-
"type": {
|
7234
|
-
"text": "string | null"
|
7235
|
-
},
|
7236
|
-
"default": "null",
|
7237
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
7238
|
-
"fieldName": "dataAriaLabel",
|
7239
|
-
"inheritedFrom": {
|
7240
|
-
"name": "DataAriaLabelMixin",
|
7241
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
7242
|
-
}
|
6976
|
+
"fieldName": "role"
|
7243
6977
|
},
|
7244
6978
|
{
|
7245
|
-
"name": "
|
6979
|
+
"name": "aria-labelledby",
|
7246
6980
|
"type": {
|
7247
6981
|
"text": "string | null"
|
7248
6982
|
},
|
7249
6983
|
"default": "null",
|
7250
|
-
"description": "
|
7251
|
-
"fieldName": "
|
7252
|
-
"inheritedFrom": {
|
7253
|
-
"name": "DataAriaLabelledbyMixin",
|
7254
|
-
"module": "src/utils/mixins/DataAriaLabelledbyMixin.ts"
|
7255
|
-
}
|
6984
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
6985
|
+
"fieldName": "ariaLabelledby"
|
7256
6986
|
},
|
7257
6987
|
{
|
7258
|
-
"name": "
|
6988
|
+
"name": "aria-describedby",
|
7259
6989
|
"type": {
|
7260
6990
|
"text": "string | null"
|
7261
6991
|
},
|
7262
6992
|
"default": "null",
|
7263
|
-
"description": "
|
7264
|
-
"fieldName": "
|
7265
|
-
"inheritedFrom": {
|
7266
|
-
"name": "DataAriaDescribedbyMixin",
|
7267
|
-
"module": "src/utils/mixins/DataAriaDescribedbyMixin.ts"
|
7268
|
-
}
|
6993
|
+
"description": "aria-describedby of the popover.",
|
6994
|
+
"fieldName": "ariaDescribedby"
|
7269
6995
|
},
|
7270
6996
|
{
|
7271
6997
|
"name": "enabledFocusTrap",
|
@@ -7295,18 +7021,6 @@
|
|
7295
7021
|
}
|
7296
7022
|
],
|
7297
7023
|
"mixins": [
|
7298
|
-
{
|
7299
|
-
"name": "DataAriaLabelMixin",
|
7300
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
7301
|
-
},
|
7302
|
-
{
|
7303
|
-
"name": "DataAriaLabelledbyMixin",
|
7304
|
-
"module": "/src/utils/mixins/DataAriaLabelledbyMixin"
|
7305
|
-
},
|
7306
|
-
{
|
7307
|
-
"name": "DataAriaDescribedbyMixin",
|
7308
|
-
"module": "/src/utils/mixins/DataAriaDescribedbyMixin"
|
7309
|
-
},
|
7310
7024
|
{
|
7311
7025
|
"name": "FocusTrapMixin",
|
7312
7026
|
"module": "/src/utils/mixins/FocusTrapMixin"
|
@@ -7317,7 +7031,7 @@
|
|
7317
7031
|
"module": "/src/models"
|
7318
7032
|
},
|
7319
7033
|
"tagName": "mdc-popover",
|
7320
|
-
"jsDoc": "/**\n * Popover component is a lightweight floating UI element that displays additional content when triggered.\n * It can be used for tooltips, dropdowns, or contextual menus.\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed。\n *\n * @dependency mdc-button\n
|
7034
|
+
"jsDoc": "/**\n * Popover component is a lightweight floating UI element that displays additional content when triggered.\n * It can be used for tooltips, dropdowns, or contextual menus.\n * The popover automatically positions itself based on available space and\n * supports dynamic height adjustments with scrollable content when needed。\n *\n * @dependency mdc-button\n *\n * @tagname mdc-popover\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for the popover content\n *\n */",
|
7321
7035
|
"customElement": true
|
7322
7036
|
}
|
7323
7037
|
],
|
@@ -10603,59 +10317,6 @@
|
|
10603
10317
|
}
|
10604
10318
|
]
|
10605
10319
|
},
|
10606
|
-
{
|
10607
|
-
"kind": "javascript-module",
|
10608
|
-
"path": "utils/mixins/DataAriaDescribedbyMixin.js",
|
10609
|
-
"declarations": [
|
10610
|
-
{
|
10611
|
-
"kind": "mixin",
|
10612
|
-
"description": "",
|
10613
|
-
"name": "DataAriaDescribedbyMixin",
|
10614
|
-
"members": [
|
10615
|
-
{
|
10616
|
-
"kind": "field",
|
10617
|
-
"name": "dataAriaDescribedby",
|
10618
|
-
"type": {
|
10619
|
-
"text": "string | null"
|
10620
|
-
},
|
10621
|
-
"default": "null",
|
10622
|
-
"description": "Defines an ID reference to one or more elements that provide additional\ndescriptive information for the current element.\nThe `aria-describedby` attribute to be set for accessibility.",
|
10623
|
-
"attribute": "data-aria-describedby",
|
10624
|
-
"reflects": true
|
10625
|
-
}
|
10626
|
-
],
|
10627
|
-
"attributes": [
|
10628
|
-
{
|
10629
|
-
"name": "data-aria-describedby",
|
10630
|
-
"type": {
|
10631
|
-
"text": "string | null"
|
10632
|
-
},
|
10633
|
-
"default": "null",
|
10634
|
-
"description": "Defines an ID reference to one or more elements that provide additional\ndescriptive information for the current element.\nThe `aria-describedby` attribute to be set for accessibility.",
|
10635
|
-
"fieldName": "dataAriaDescribedby"
|
10636
|
-
}
|
10637
|
-
],
|
10638
|
-
"parameters": [
|
10639
|
-
{
|
10640
|
-
"name": "superClass",
|
10641
|
-
"type": {
|
10642
|
-
"text": "T"
|
10643
|
-
}
|
10644
|
-
}
|
10645
|
-
]
|
10646
|
-
}
|
10647
|
-
],
|
10648
|
-
"exports": [
|
10649
|
-
{
|
10650
|
-
"kind": "js",
|
10651
|
-
"name": "DataAriaDescribedbyMixin",
|
10652
|
-
"declaration": {
|
10653
|
-
"name": "DataAriaDescribedbyMixin",
|
10654
|
-
"module": "utils/mixins/DataAriaDescribedbyMixin.js"
|
10655
|
-
}
|
10656
|
-
}
|
10657
|
-
]
|
10658
|
-
},
|
10659
10320
|
{
|
10660
10321
|
"kind": "javascript-module",
|
10661
10322
|
"path": "utils/mixins/DataAriaLabelMixin.js",
|
@@ -10709,59 +10370,6 @@
|
|
10709
10370
|
}
|
10710
10371
|
]
|
10711
10372
|
},
|
10712
|
-
{
|
10713
|
-
"kind": "javascript-module",
|
10714
|
-
"path": "utils/mixins/DataAriaLabelledbyMixin.js",
|
10715
|
-
"declarations": [
|
10716
|
-
{
|
10717
|
-
"kind": "mixin",
|
10718
|
-
"description": "",
|
10719
|
-
"name": "DataAriaLabelledbyMixin",
|
10720
|
-
"members": [
|
10721
|
-
{
|
10722
|
-
"kind": "field",
|
10723
|
-
"name": "dataAriaLabelledby",
|
10724
|
-
"type": {
|
10725
|
-
"text": "string | null"
|
10726
|
-
},
|
10727
|
-
"default": "null",
|
10728
|
-
"description": "Defines an ID reference to one or more elements that label the current element.\nThe `aria-labelledby` attribute to be set for accessibility.",
|
10729
|
-
"attribute": "data-aria-labelledby",
|
10730
|
-
"reflects": true
|
10731
|
-
}
|
10732
|
-
],
|
10733
|
-
"attributes": [
|
10734
|
-
{
|
10735
|
-
"name": "data-aria-labelledby",
|
10736
|
-
"type": {
|
10737
|
-
"text": "string | null"
|
10738
|
-
},
|
10739
|
-
"default": "null",
|
10740
|
-
"description": "Defines an ID reference to one or more elements that label the current element.\nThe `aria-labelledby` attribute to be set for accessibility.",
|
10741
|
-
"fieldName": "dataAriaLabelledby"
|
10742
|
-
}
|
10743
|
-
],
|
10744
|
-
"parameters": [
|
10745
|
-
{
|
10746
|
-
"name": "superClass",
|
10747
|
-
"type": {
|
10748
|
-
"text": "T"
|
10749
|
-
}
|
10750
|
-
}
|
10751
|
-
]
|
10752
|
-
}
|
10753
|
-
],
|
10754
|
-
"exports": [
|
10755
|
-
{
|
10756
|
-
"kind": "js",
|
10757
|
-
"name": "DataAriaLabelledbyMixin",
|
10758
|
-
"declaration": {
|
10759
|
-
"name": "DataAriaLabelledbyMixin",
|
10760
|
-
"module": "utils/mixins/DataAriaLabelledbyMixin.js"
|
10761
|
-
}
|
10762
|
-
}
|
10763
|
-
]
|
10764
|
-
},
|
10765
10373
|
{
|
10766
10374
|
"kind": "javascript-module",
|
10767
10375
|
"path": "utils/mixins/DisabledMixin.js",
|
package/dist/react/index.d.ts
CHANGED
@@ -15,7 +15,6 @@ export { default as Link } from './link';
|
|
15
15
|
export { default as List } from './list';
|
16
16
|
export { default as ListItem } from './listitem';
|
17
17
|
export { default as Marker } from './marker';
|
18
|
-
export { default as Modalcontainer } from './modalcontainer';
|
19
18
|
export { default as Popover } from './popover';
|
20
19
|
export { default as Presence } from './presence';
|
21
20
|
export { default as Radio } from './radio';
|
package/dist/react/index.js
CHANGED
@@ -15,7 +15,6 @@ export { default as Link } from './link';
|
|
15
15
|
export { default as List } from './list';
|
16
16
|
export { default as ListItem } from './listitem';
|
17
17
|
export { default as Marker } from './marker';
|
18
|
-
export { default as Modalcontainer } from './modalcontainer';
|
19
18
|
export { default as Popover } from './popover';
|
20
19
|
export { default as Presence } from './presence';
|
21
20
|
export { default as Radio } from './radio';
|
@@ -6,18 +6,19 @@ import Component from '../../components/popover';
|
|
6
6
|
* supports dynamic height adjustments with scrollable content when needed。
|
7
7
|
*
|
8
8
|
* @dependency mdc-button
|
9
|
-
* @dependency mdc-modalcontainer
|
10
9
|
*
|
11
10
|
* @tagname mdc-popover
|
12
11
|
*
|
13
12
|
* @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
|
14
13
|
* @cssproperty --mdc-popover-arrow-border - border of the arrow
|
15
14
|
* @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
|
15
|
+
* @cssproperty --mdc-popover-border-color - border color of the popover
|
16
16
|
* @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover
|
17
17
|
* @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
|
18
18
|
* @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
|
19
|
+
* @cssproperty --mdc-popover-elevation-3 - elevation of the popover
|
19
20
|
*
|
20
|
-
* @slot - Default slot for
|
21
|
+
* @slot - Default slot for the popover content
|
21
22
|
*
|
22
23
|
*/
|
23
24
|
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
|
@@ -9,18 +9,19 @@ import { TAG_NAME } from '../../components/popover/popover.constants';
|
|
9
9
|
* supports dynamic height adjustments with scrollable content when needed。
|
10
10
|
*
|
11
11
|
* @dependency mdc-button
|
12
|
-
* @dependency mdc-modalcontainer
|
13
12
|
*
|
14
13
|
* @tagname mdc-popover
|
15
14
|
*
|
16
15
|
* @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
|
17
16
|
* @cssproperty --mdc-popover-arrow-border - border of the arrow
|
18
17
|
* @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
|
18
|
+
* @cssproperty --mdc-popover-border-color - border color of the popover
|
19
19
|
* @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover
|
20
20
|
* @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover
|
21
21
|
* @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover
|
22
|
+
* @cssproperty --mdc-popover-elevation-3 - elevation of the popover
|
22
23
|
*
|
23
|
-
* @slot - Default slot for
|
24
|
+
* @slot - Default slot for the popover content
|
24
25
|
*
|
25
26
|
*/
|
26
27
|
const reactWrapper = createComponent({
|
package/package.json
CHANGED