@genesislcap/foundation-ui 14.173.4 → 14.174.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.
@@ -862,37 +862,6 @@
862
862
  }
863
863
  ]
864
864
  },
865
- {
866
- "kind": "javascript-module",
867
- "path": "src/_config/index.ts",
868
- "declarations": [],
869
- "exports": [
870
- {
871
- "kind": "js",
872
- "name": "*",
873
- "declaration": {
874
- "name": "*",
875
- "package": "./styles"
876
- }
877
- },
878
- {
879
- "kind": "js",
880
- "name": "*",
881
- "declaration": {
882
- "name": "*",
883
- "package": "./tokens"
884
- }
885
- },
886
- {
887
- "kind": "js",
888
- "name": "*",
889
- "declaration": {
890
- "name": "*",
891
- "package": "./values"
892
- }
893
- }
894
- ]
895
- },
896
865
  {
897
866
  "kind": "javascript-module",
898
867
  "path": "src/accordion/accordion.styles.ts",
@@ -1075,6 +1044,37 @@
1075
1044
  }
1076
1045
  ]
1077
1046
  },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/_config/index.ts",
1050
+ "declarations": [],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "*",
1055
+ "declaration": {
1056
+ "name": "*",
1057
+ "package": "./styles"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./tokens"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./values"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1078
1078
  {
1079
1079
  "kind": "javascript-module",
1080
1080
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -7947,377 +7947,184 @@
7947
7947
  },
7948
7948
  {
7949
7949
  "kind": "javascript-module",
7950
- "path": "src/categorized-multiselect/categorized-multiselect.styles.ts",
7950
+ "path": "src/checkbox/checkbox.styles.ts",
7951
7951
  "declarations": [
7952
7952
  {
7953
- "kind": "variable",
7954
- "name": "optionsMaxheight",
7955
- "type": {
7956
- "text": "number"
7953
+ "kind": "function",
7954
+ "name": "foundationCheckboxStyles",
7955
+ "return": {
7956
+ "type": {
7957
+ "text": "ElementStyles"
7958
+ }
7957
7959
  },
7958
- "default": "450"
7959
- },
7960
- {
7961
- "kind": "variable",
7962
- "name": "categorizedMultiselectStyles",
7963
- "default": "css`\n .root {\n position: relative;\n width: 100%;\n min-width: 250px;\n }\n\n .control-button {\n display: flex;\n justify-content: center;\n min-width: 31px;\n width: 31px;\n height: 31px;\n margin-left: calc(var(--design-unit) * 2px);\n color: var(--neutral-foreground-hint);\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n justify-content: end;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n font-weight: 700;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n\n .control:hover .control-button,\n .control:hover .label {\n color: var(--neutral-foreground-rest);\n }\n\n button {\n pointer-events: none;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n padding: calc((var(--design-unit) + 3) * 2px) calc((var(--design-unit) + 3) * 1px);\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n span {\n border-bottom: calc(var(--stroke-width) * 1px) solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 2) * 2px) calc((var(--design-unit) + 3) * 1px);\n font-size: calc((var(--type-ramp-base-font-size) - 1px));\n color: var(--neutral-foreground-hint);\n }\n\n .multiselect-checkbox {\n min-width: fit-content;\n flex-direction: row-reverse;\n justify-content: space-between;\n align-items: flex-start;\n border-bottom: 1px solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 3) * 1px) calc((var(--design-unit) + 3) * 1px)\n calc((var(--design-unit) + 3) * 1px) 0;\n margin: 0;\n }\n\n .multiselect-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n .multiselect-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n\n .multiselect-checkbox::part(control) {\n min-width: calc(\n (\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) / 2 +\n var(--design-unit)\n ) * 1px\n );\n }\n\n .checkbox-container .multiselect-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n .description {\n text-wrap: wrap;\n font-size: calc((var(--type-ramp-base-font-size) - 1px));\n margin: calc((var(--design-unit) + 3) * 1px) 0;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${optionsMaxheight.toString()}px;\n }\n`"
7960
+ "parameters": [
7961
+ {
7962
+ "name": "context",
7963
+ "type": {
7964
+ "text": "ElementDefinitionContext"
7965
+ }
7966
+ },
7967
+ {
7968
+ "name": "definition",
7969
+ "type": {
7970
+ "text": "CheckboxOptions"
7971
+ }
7972
+ }
7973
+ ]
7964
7974
  }
7965
7975
  ],
7966
7976
  "exports": [
7967
7977
  {
7968
7978
  "kind": "js",
7969
- "name": "optionsMaxheight",
7970
- "declaration": {
7971
- "name": "optionsMaxheight",
7972
- "module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
7973
- }
7974
- },
7975
- {
7976
- "kind": "js",
7977
- "name": "categorizedMultiselectStyles",
7979
+ "name": "foundationCheckboxStyles",
7978
7980
  "declaration": {
7979
- "name": "categorizedMultiselectStyles",
7980
- "module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
7981
+ "name": "foundationCheckboxStyles",
7982
+ "module": "src/checkbox/checkbox.styles.ts"
7981
7983
  }
7982
7984
  }
7983
7985
  ]
7984
7986
  },
7985
7987
  {
7986
7988
  "kind": "javascript-module",
7987
- "path": "src/categorized-multiselect/categorized-multiselect.template.ts",
7989
+ "path": "src/checkbox/checkbox.template.ts",
7988
7990
  "declarations": [
7989
7991
  {
7990
7992
  "kind": "function",
7991
- "name": "getPrefixedCategorizedMultiselect",
7993
+ "name": "foundationCheckboxTemplate",
7994
+ "return": {
7995
+ "type": {
7996
+ "text": "ViewTemplate<Checkbox>"
7997
+ }
7998
+ },
7992
7999
  "parameters": [
7993
8000
  {
7994
- "name": "prefix",
7995
- "default": "'foundation'",
8001
+ "name": "context",
7996
8002
  "type": {
7997
- "text": "string"
8003
+ "text": "ElementDefinitionContext"
8004
+ }
8005
+ },
8006
+ {
8007
+ "name": "definition",
8008
+ "type": {
8009
+ "text": "CheckboxOptions"
7998
8010
  }
7999
8011
  }
8000
8012
  ]
8001
- },
8002
- {
8003
- "kind": "variable",
8004
- "name": "categorizedMultiselectTemplate",
8005
- "default": "html<CategorizedMultiselect>`\n ${getPrefixedCategorizedMultiselect()}\n`"
8006
8013
  }
8007
8014
  ],
8008
8015
  "exports": [
8009
8016
  {
8010
8017
  "kind": "js",
8011
- "name": "getPrefixedCategorizedMultiselect",
8012
- "declaration": {
8013
- "name": "getPrefixedCategorizedMultiselect",
8014
- "module": "src/categorized-multiselect/categorized-multiselect.template.ts"
8015
- }
8016
- },
8017
- {
8018
- "kind": "js",
8019
- "name": "categorizedMultiselectTemplate",
8018
+ "name": "foundationCheckboxTemplate",
8020
8019
  "declaration": {
8021
- "name": "categorizedMultiselectTemplate",
8022
- "module": "src/categorized-multiselect/categorized-multiselect.template.ts"
8020
+ "name": "foundationCheckboxTemplate",
8021
+ "module": "src/checkbox/checkbox.template.ts"
8023
8022
  }
8024
8023
  }
8025
8024
  ]
8026
8025
  },
8027
8026
  {
8028
8027
  "kind": "javascript-module",
8029
- "path": "src/categorized-multiselect/categorized-multiselect.ts",
8028
+ "path": "src/checkbox/checkbox.ts",
8030
8029
  "declarations": [
8031
- {
8032
- "kind": "variable",
8033
- "name": "foundationCategorizedMultiselectShadowOptions",
8034
- "type": {
8035
- "text": "ShadowRootInit"
8036
- },
8037
- "default": "undefined"
8038
- },
8039
- {
8040
- "kind": "variable",
8041
- "name": "defaultCategorizedMultiselectConfig",
8042
- "type": {
8043
- "text": "object"
8044
- },
8045
- "default": "{}"
8046
- },
8047
8030
  {
8048
8031
  "kind": "class",
8049
8032
  "description": "",
8050
- "name": "CategorizedMultiselect",
8051
- "members": [
8033
+ "name": "Checkbox",
8034
+ "superclass": {
8035
+ "name": "FASTCheckbox",
8036
+ "package": "@microsoft/fast-components"
8037
+ },
8038
+ "tagName": "%%prefix%%-checkbox",
8039
+ "customElement": true,
8040
+ "attributes": [
8052
8041
  {
8053
- "kind": "field",
8054
- "name": "name",
8042
+ "name": "readonly",
8055
8043
  "type": {
8056
- "text": "string"
8044
+ "text": "boolean"
8057
8045
  },
8058
- "default": "''"
8059
- },
8046
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
8047
+ "fieldName": "readOnly",
8048
+ "inheritedFrom": {
8049
+ "name": "Checkbox",
8050
+ "module": "src/checkbox/checkbox.ts"
8051
+ }
8052
+ }
8053
+ ],
8054
+ "members": [
8060
8055
  {
8061
8056
  "kind": "field",
8062
- "name": "autoPosition",
8057
+ "name": "readOnly",
8063
8058
  "type": {
8064
8059
  "text": "boolean"
8065
8060
  },
8066
- "default": "true"
8061
+ "privacy": "public",
8062
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
8063
+ "inheritedFrom": {
8064
+ "name": "Checkbox",
8065
+ "module": "src/checkbox/checkbox.ts"
8066
+ }
8067
8067
  },
8068
8068
  {
8069
- "kind": "field",
8070
- "name": "search",
8071
- "type": {
8072
- "text": "boolean"
8069
+ "kind": "method",
8070
+ "name": "readOnlyChanged",
8071
+ "privacy": "private",
8072
+ "return": {
8073
+ "type": {
8074
+ "text": "void"
8075
+ }
8073
8076
  },
8074
- "default": "true"
8077
+ "inheritedFrom": {
8078
+ "name": "Checkbox",
8079
+ "module": "src/checkbox/checkbox.ts"
8080
+ }
8075
8081
  },
8076
8082
  {
8077
8083
  "kind": "field",
8078
- "name": "disabled",
8084
+ "name": "indeterminate",
8079
8085
  "type": {
8080
8086
  "text": "boolean"
8081
8087
  },
8082
- "default": "false"
8088
+ "privacy": "public",
8089
+ "default": "false",
8090
+ "description": "The indeterminate state of the control",
8091
+ "inheritedFrom": {
8092
+ "name": "Checkbox",
8093
+ "module": "src/checkbox/checkbox.ts"
8094
+ }
8083
8095
  },
8084
8096
  {
8085
8097
  "kind": "field",
8086
- "name": "defaultSlottedNodes",
8087
- "type": {
8088
- "text": "Node[]"
8098
+ "name": "proxy",
8099
+ "inheritedFrom": {
8100
+ "name": "Checkbox",
8101
+ "module": "src/checkbox/checkbox.ts"
8089
8102
  }
8090
8103
  },
8091
8104
  {
8092
8105
  "kind": "field",
8093
- "name": "valueFormatter"
8106
+ "name": "_presentation",
8107
+ "type": {
8108
+ "text": "ComponentPresentation | null | undefined"
8109
+ },
8110
+ "privacy": "private",
8111
+ "default": "void 0",
8112
+ "inheritedFrom": {
8113
+ "name": "Checkbox",
8114
+ "module": "src/checkbox/checkbox.ts"
8115
+ }
8094
8116
  },
8095
8117
  {
8096
8118
  "kind": "field",
8097
- "name": "filterSearchValue",
8119
+ "name": "$presentation",
8098
8120
  "type": {
8099
- "text": "string"
8100
- }
8101
- },
8102
- {
8103
- "kind": "field",
8104
- "name": "clickOutside",
8105
- "privacy": "private"
8106
- },
8107
- {
8108
- "kind": "field",
8109
- "name": "open",
8110
- "type": {
8111
- "text": "boolean"
8112
- },
8113
- "default": "false"
8114
- },
8115
- {
8116
- "kind": "method",
8117
- "name": "openChanged",
8118
- "parameters": [
8119
- {
8120
- "name": "previous",
8121
- "type": {
8122
- "text": "boolean"
8123
- }
8124
- },
8125
- {
8126
- "name": "open",
8127
- "type": {
8128
- "text": "boolean"
8129
- }
8130
- }
8131
- ]
8132
- },
8133
- {
8134
- "kind": "field",
8135
- "name": "options",
8136
- "type": {
8137
- "text": "CategorizedMultiselectOption[]"
8138
- },
8139
- "default": "[]"
8140
- },
8141
- {
8142
- "kind": "field",
8143
- "name": "selectedOptions",
8144
- "type": {
8145
- "text": "string[]"
8146
- },
8147
- "default": "[]"
8148
- },
8149
- {
8150
- "kind": "field",
8151
- "name": "filteredAvailableOptions",
8152
- "type": {
8153
- "text": "CategorizedMultiselectFilteredOption[]"
8154
- }
8155
- },
8156
- {
8157
- "kind": "field",
8158
- "name": "position",
8159
- "type": {
8160
- "text": "Position"
8161
- },
8162
- "description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field."
8163
- },
8164
- {
8165
- "kind": "field",
8166
- "name": "optionsElement",
8167
- "type": {
8168
- "text": "HTMLElement"
8169
- }
8170
- },
8171
- {
8172
- "kind": "method",
8173
- "name": "toggle"
8174
- },
8175
- {
8176
- "kind": "method",
8177
- "name": "sortFilteredOptions",
8178
- "parameters": [
8179
- {
8180
- "name": "options",
8181
- "optional": true,
8182
- "type": {
8183
- "text": "CategorizedMultiselectOption[]"
8184
- }
8185
- }
8186
- ]
8187
- },
8188
- {
8189
- "kind": "method",
8190
- "name": "optionsChanged"
8191
- },
8192
- {
8193
- "kind": "method",
8194
- "name": "setDropdownPosition",
8195
- "privacy": "private",
8196
- "description": "Sets the dropdown position based on the current configuration."
8197
- },
8198
- {
8199
- "kind": "method",
8200
- "name": "optionGetter",
8201
- "parameters": [
8202
- {
8203
- "name": "option",
8204
- "type": {
8205
- "text": "CategorizedMultiselectOption"
8206
- }
8207
- }
8208
- ]
8209
- },
8210
- {
8211
- "kind": "method",
8212
- "name": "getItemLabel",
8213
- "parameters": [
8214
- {
8215
- "name": "option",
8216
- "type": {
8217
- "text": "CategorizedMultiselectOption"
8218
- }
8219
- }
8220
- ]
8221
- },
8222
- {
8223
- "kind": "method",
8224
- "name": "isOptionDisabled",
8225
- "parameters": [
8226
- {
8227
- "name": "option",
8228
- "type": {
8229
- "text": "CategorizedMultiselectOption"
8230
- }
8231
- }
8232
- ]
8233
- },
8234
- {
8235
- "kind": "field",
8236
- "name": "getPlaceholder",
8237
- "readonly": true
8238
- },
8239
- {
8240
- "kind": "method",
8241
- "name": "isOptionSelected",
8242
- "return": {
8243
- "type": {
8244
- "text": "boolean"
8245
- }
8246
- },
8247
- "parameters": [
8248
- {
8249
- "name": "normalizedOption",
8250
- "type": {
8251
- "text": "CategorizedMultiselectOption"
8252
- }
8253
- }
8254
- ]
8255
- },
8256
- {
8257
- "kind": "method",
8258
- "name": "selectCheckboxOne",
8259
- "parameters": [
8260
- {
8261
- "name": "normalizedOption",
8262
- "type": {
8263
- "text": "CategorizedMultiselectOption"
8264
- }
8265
- }
8266
- ]
8267
- },
8268
- {
8269
- "kind": "method",
8270
- "name": "setFilter"
8271
- },
8272
- {
8273
- "kind": "method",
8274
- "name": "changeHandler",
8275
- "parameters": [
8276
- {
8277
- "name": "event",
8278
- "type": {
8279
- "text": "Event"
8280
- }
8281
- }
8282
- ]
8283
- },
8284
- {
8285
- "kind": "method",
8286
- "name": "handleClickOutside",
8287
- "privacy": "private",
8288
- "parameters": [
8289
- {
8290
- "name": "event",
8291
- "type": {
8292
- "text": "MouseEvent"
8293
- }
8294
- }
8295
- ]
8296
- },
8297
- {
8298
- "kind": "field",
8299
- "name": "_presentation",
8300
- "type": {
8301
- "text": "ComponentPresentation | null | undefined"
8302
- },
8303
- "privacy": "private",
8304
- "default": "void 0",
8305
- "inheritedFrom": {
8306
- "name": "FoundationElement",
8307
- "module": "src/foundation-element/foundation-element.ts"
8308
- }
8309
- },
8310
- {
8311
- "kind": "field",
8312
- "name": "$presentation",
8313
- "type": {
8314
- "text": "ComponentPresentation | null"
8315
- },
8316
- "privacy": "public",
8317
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8318
- "inheritedFrom": {
8319
- "name": "FoundationElement",
8320
- "module": "src/foundation-element/foundation-element.ts"
8121
+ "text": "ComponentPresentation | null"
8122
+ },
8123
+ "privacy": "public",
8124
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8125
+ "inheritedFrom": {
8126
+ "name": "Checkbox",
8127
+ "module": "src/checkbox/checkbox.ts"
8321
8128
  }
8322
8129
  },
8323
8130
  {
@@ -8329,8 +8136,8 @@
8329
8136
  "privacy": "public",
8330
8137
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
8331
8138
  "inheritedFrom": {
8332
- "name": "FoundationElement",
8333
- "module": "src/foundation-element/foundation-element.ts"
8139
+ "name": "Checkbox",
8140
+ "module": "src/checkbox/checkbox.ts"
8334
8141
  }
8335
8142
  },
8336
8143
  {
@@ -8343,8 +8150,8 @@
8343
8150
  }
8344
8151
  },
8345
8152
  "inheritedFrom": {
8346
- "name": "FoundationElement",
8347
- "module": "src/foundation-element/foundation-element.ts"
8153
+ "name": "Checkbox",
8154
+ "module": "src/checkbox/checkbox.ts"
8348
8155
  }
8349
8156
  },
8350
8157
  {
@@ -8356,8 +8163,8 @@
8356
8163
  "privacy": "public",
8357
8164
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
8358
8165
  "inheritedFrom": {
8359
- "name": "FoundationElement",
8360
- "module": "src/foundation-element/foundation-element.ts"
8166
+ "name": "Checkbox",
8167
+ "module": "src/checkbox/checkbox.ts"
8361
8168
  }
8362
8169
  },
8363
8170
  {
@@ -8370,8 +8177,8 @@
8370
8177
  }
8371
8178
  },
8372
8179
  "inheritedFrom": {
8373
- "name": "FoundationElement",
8374
- "module": "src/foundation-element/foundation-element.ts"
8180
+ "name": "Checkbox",
8181
+ "module": "src/checkbox/checkbox.ts"
8375
8182
  }
8376
8183
  },
8377
8184
  {
@@ -8401,93 +8208,83 @@
8401
8208
  ],
8402
8209
  "description": "Defines an element registry function with a set of element definition defaults.",
8403
8210
  "inheritedFrom": {
8404
- "name": "FoundationElement",
8405
- "module": "src/foundation-element/foundation-element.ts"
8211
+ "name": "Checkbox",
8212
+ "module": "src/checkbox/checkbox.ts"
8406
8213
  }
8407
8214
  }
8408
8215
  ],
8409
- "attributes": [
8410
- {
8411
- "name": "name",
8412
- "type": {
8413
- "text": "string"
8414
- },
8415
- "default": "''",
8416
- "fieldName": "name"
8417
- },
8418
- {
8419
- "name": "auto-position",
8420
- "type": {
8421
- "text": "boolean"
8422
- },
8423
- "default": "true",
8424
- "fieldName": "autoPosition"
8425
- },
8426
- {
8427
- "type": {
8428
- "text": "boolean"
8429
- },
8430
- "default": "true",
8431
- "fieldName": "search"
8432
- },
8216
+ "events": [
8433
8217
  {
8434
- "type": {
8435
- "text": "boolean"
8436
- },
8437
- "default": "false",
8438
- "fieldName": "disabled"
8218
+ "description": "Emits a custom change event when the checked state changes",
8219
+ "name": "change",
8220
+ "inheritedFrom": {
8221
+ "name": "Checkbox",
8222
+ "module": "src/checkbox/checkbox.ts"
8223
+ }
8439
8224
  }
8440
- ],
8441
- "superclass": {
8442
- "name": "FoundationElement",
8443
- "package": "@microsoft/fast-foundation"
8225
+ ]
8226
+ },
8227
+ {
8228
+ "kind": "variable",
8229
+ "name": "foundationCheckboxShadowOptions",
8230
+ "type": {
8231
+ "text": "ShadowRootInit"
8444
8232
  },
8445
- "tagName": "%%prefix%%-categorized-multiselect",
8446
- "customElement": true
8233
+ "default": "undefined"
8447
8234
  },
8448
8235
  {
8449
8236
  "kind": "variable",
8450
- "name": "foundationCategorizedMultiselect"
8237
+ "name": "defaultCheckboxConfig",
8238
+ "type": {
8239
+ "text": "object"
8240
+ },
8241
+ "default": "{\n checkedIndicator: `\n <svg\n aria-hidden=\"true\"\n part=\"checked-indicator\"\n class=\"checked-indicator\"\n viewBox=\"0 0 20 20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z\"\n />\n </svg>\n `,\n indeterminateIndicator: `\n <div part=\"indeterminate-indicator\" class=\"indeterminate-indicator\"></div>\n `,\n}"
8242
+ },
8243
+ {
8244
+ "kind": "variable",
8245
+ "name": "foundationCheckbox",
8246
+ "description": "The Foundation Checkbox",
8247
+ "privacy": "public"
8451
8248
  }
8452
8249
  ],
8453
8250
  "exports": [
8454
8251
  {
8455
8252
  "kind": "js",
8456
- "name": "foundationCategorizedMultiselectShadowOptions",
8253
+ "name": "Checkbox",
8457
8254
  "declaration": {
8458
- "name": "foundationCategorizedMultiselectShadowOptions",
8459
- "module": "src/categorized-multiselect/categorized-multiselect.ts"
8255
+ "name": "Checkbox",
8256
+ "module": "src/checkbox/checkbox.ts"
8460
8257
  }
8461
8258
  },
8462
8259
  {
8463
8260
  "kind": "js",
8464
- "name": "defaultCategorizedMultiselectConfig",
8261
+ "name": "foundationCheckboxShadowOptions",
8465
8262
  "declaration": {
8466
- "name": "defaultCategorizedMultiselectConfig",
8467
- "module": "src/categorized-multiselect/categorized-multiselect.ts"
8263
+ "name": "foundationCheckboxShadowOptions",
8264
+ "module": "src/checkbox/checkbox.ts"
8468
8265
  }
8469
8266
  },
8470
8267
  {
8471
8268
  "kind": "js",
8472
- "name": "CategorizedMultiselect",
8269
+ "name": "defaultCheckboxConfig",
8473
8270
  "declaration": {
8474
- "name": "CategorizedMultiselect",
8475
- "module": "src/categorized-multiselect/categorized-multiselect.ts"
8271
+ "name": "defaultCheckboxConfig",
8272
+ "module": "src/checkbox/checkbox.ts"
8476
8273
  }
8477
8274
  },
8478
8275
  {
8479
8276
  "kind": "js",
8480
- "name": "foundationCategorizedMultiselect",
8277
+ "name": "foundationCheckbox",
8481
8278
  "declaration": {
8482
- "name": "foundationCategorizedMultiselect",
8483
- "module": "src/categorized-multiselect/categorized-multiselect.ts"
8279
+ "name": "foundationCheckbox",
8280
+ "module": "src/checkbox/checkbox.ts"
8484
8281
  }
8485
8282
  }
8486
8283
  ]
8487
8284
  },
8488
8285
  {
8489
8286
  "kind": "javascript-module",
8490
- "path": "src/categorized-multiselect/index.ts",
8287
+ "path": "src/checkbox/index.ts",
8491
8288
  "declarations": [],
8492
8289
  "exports": [
8493
8290
  {
@@ -8495,7 +8292,7 @@
8495
8292
  "name": "*",
8496
8293
  "declaration": {
8497
8294
  "name": "*",
8498
- "package": "./categorized-multiselect"
8295
+ "package": "./checkbox.template"
8499
8296
  }
8500
8297
  },
8501
8298
  {
@@ -8503,7 +8300,7 @@
8503
8300
  "name": "*",
8504
8301
  "declaration": {
8505
8302
  "name": "*",
8506
- "package": "./categorized-multiselect.styles"
8303
+ "package": "./checkbox.styles"
8507
8304
  }
8508
8305
  },
8509
8306
  {
@@ -8511,18 +8308,18 @@
8511
8308
  "name": "*",
8512
8309
  "declaration": {
8513
8310
  "name": "*",
8514
- "package": "./categorized-multiselect.template"
8311
+ "package": "./checkbox"
8515
8312
  }
8516
8313
  }
8517
8314
  ]
8518
8315
  },
8519
8316
  {
8520
8317
  "kind": "javascript-module",
8521
- "path": "src/checkbox/checkbox.styles.ts",
8318
+ "path": "src/combobox/combobox.styles.ts",
8522
8319
  "declarations": [
8523
8320
  {
8524
8321
  "kind": "function",
8525
- "name": "foundationCheckboxStyles",
8322
+ "name": "foundationComboboxStyles",
8526
8323
  "return": {
8527
8324
  "type": {
8528
8325
  "text": "ElementStyles"
@@ -8538,7 +8335,7 @@
8538
8335
  {
8539
8336
  "name": "definition",
8540
8337
  "type": {
8541
- "text": "CheckboxOptions"
8338
+ "text": "FoundationElementDefinition"
8542
8339
  }
8543
8340
  }
8544
8341
  ]
@@ -8547,24 +8344,24 @@
8547
8344
  "exports": [
8548
8345
  {
8549
8346
  "kind": "js",
8550
- "name": "foundationCheckboxStyles",
8347
+ "name": "foundationComboboxStyles",
8551
8348
  "declaration": {
8552
- "name": "foundationCheckboxStyles",
8553
- "module": "src/checkbox/checkbox.styles.ts"
8349
+ "name": "foundationComboboxStyles",
8350
+ "module": "src/combobox/combobox.styles.ts"
8554
8351
  }
8555
8352
  }
8556
8353
  ]
8557
8354
  },
8558
8355
  {
8559
8356
  "kind": "javascript-module",
8560
- "path": "src/checkbox/checkbox.template.ts",
8357
+ "path": "src/combobox/combobox.template.ts",
8561
8358
  "declarations": [
8562
8359
  {
8563
8360
  "kind": "function",
8564
- "name": "foundationCheckboxTemplate",
8361
+ "name": "foundationComboboxTemplate",
8565
8362
  "return": {
8566
8363
  "type": {
8567
- "text": "ViewTemplate<Checkbox>"
8364
+ "text": "ViewTemplate<Combobox>"
8568
8365
  }
8569
8366
  },
8570
8367
  "parameters": [
@@ -8577,7 +8374,7 @@
8577
8374
  {
8578
8375
  "name": "definition",
8579
8376
  "type": {
8580
- "text": "CheckboxOptions"
8377
+ "text": "ComboboxOptions"
8581
8378
  }
8582
8379
  }
8583
8380
  ]
@@ -8586,276 +8383,356 @@
8586
8383
  "exports": [
8587
8384
  {
8588
8385
  "kind": "js",
8589
- "name": "foundationCheckboxTemplate",
8386
+ "name": "foundationComboboxTemplate",
8590
8387
  "declaration": {
8591
- "name": "foundationCheckboxTemplate",
8592
- "module": "src/checkbox/checkbox.template.ts"
8388
+ "name": "foundationComboboxTemplate",
8389
+ "module": "src/combobox/combobox.template.ts"
8593
8390
  }
8594
8391
  }
8595
8392
  ]
8596
8393
  },
8597
8394
  {
8598
8395
  "kind": "javascript-module",
8599
- "path": "src/checkbox/checkbox.ts",
8396
+ "path": "src/combobox/combobox.ts",
8600
8397
  "declarations": [
8601
8398
  {
8602
8399
  "kind": "class",
8603
8400
  "description": "",
8604
- "name": "Checkbox",
8605
- "superclass": {
8606
- "name": "FASTCheckbox",
8607
- "package": "@microsoft/fast-components"
8608
- },
8609
- "tagName": "%%prefix%%-checkbox",
8610
- "customElement": true,
8611
- "attributes": [
8401
+ "name": "Combobox",
8402
+ "members": [
8612
8403
  {
8613
- "name": "readonly",
8404
+ "kind": "field",
8405
+ "name": "_ourValue",
8614
8406
  "type": {
8615
- "text": "boolean"
8407
+ "text": "string"
8616
8408
  },
8617
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
8618
- "fieldName": "readOnly",
8619
- "inheritedFrom": {
8620
- "name": "Checkbox",
8621
- "module": "src/checkbox/checkbox.ts"
8409
+ "privacy": "private"
8410
+ },
8411
+ {
8412
+ "kind": "field",
8413
+ "name": "#indicator",
8414
+ "privacy": "private",
8415
+ "type": {
8416
+ "text": "Element"
8622
8417
  }
8623
- }
8624
- ],
8625
- "members": [
8418
+ },
8626
8419
  {
8627
8420
  "kind": "field",
8628
- "name": "readOnly",
8421
+ "name": "#wasOpenOnEnterDown",
8422
+ "privacy": "private",
8629
8423
  "type": {
8630
8424
  "text": "boolean"
8631
8425
  },
8632
- "privacy": "public",
8633
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
8634
- "inheritedFrom": {
8635
- "name": "Checkbox",
8636
- "module": "src/checkbox/checkbox.ts"
8426
+ "default": "false"
8427
+ },
8428
+ {
8429
+ "kind": "field",
8430
+ "name": "slottedDatasource",
8431
+ "type": {
8432
+ "text": "HTMLSlotElement"
8637
8433
  }
8638
8434
  },
8435
+ {
8436
+ "kind": "field",
8437
+ "name": "async",
8438
+ "type": {
8439
+ "text": "boolean"
8440
+ },
8441
+ "default": "false"
8442
+ },
8443
+ {
8444
+ "kind": "field",
8445
+ "name": "debounce",
8446
+ "type": {
8447
+ "text": "number"
8448
+ },
8449
+ "default": "500"
8450
+ },
8639
8451
  {
8640
8452
  "kind": "method",
8641
- "name": "readOnlyChanged",
8642
- "privacy": "private",
8643
- "return": {
8644
- "type": {
8645
- "text": "void"
8453
+ "name": "debounceChanged",
8454
+ "parameters": [
8455
+ {
8456
+ "name": "oldValue"
8457
+ },
8458
+ {
8459
+ "name": "newValue",
8460
+ "type": {
8461
+ "text": "number"
8462
+ }
8646
8463
  }
8647
- },
8648
- "inheritedFrom": {
8649
- "name": "Checkbox",
8650
- "module": "src/checkbox/checkbox.ts"
8651
- }
8464
+ ]
8652
8465
  },
8653
8466
  {
8654
8467
  "kind": "field",
8655
- "name": "indeterminate",
8468
+ "name": "debouncedInputHandler"
8469
+ },
8470
+ {
8471
+ "kind": "field",
8472
+ "name": "caseSensitive",
8656
8473
  "type": {
8657
8474
  "text": "boolean"
8658
8475
  },
8659
8476
  "privacy": "public",
8660
8477
  "default": "false",
8661
- "description": "The indeterminate state of the control",
8662
- "inheritedFrom": {
8663
- "name": "Checkbox",
8664
- "module": "src/checkbox/checkbox.ts"
8665
- }
8478
+ "description": "Controls whether to perform a case-sensitive search in the list of options"
8666
8479
  },
8667
8480
  {
8668
8481
  "kind": "field",
8669
- "name": "proxy",
8670
- "inheritedFrom": {
8671
- "name": "Checkbox",
8672
- "module": "src/checkbox/checkbox.ts"
8673
- }
8482
+ "name": "ignoreInputClick",
8483
+ "type": {
8484
+ "text": "boolean"
8485
+ },
8486
+ "privacy": "public",
8487
+ "default": "false",
8488
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked"
8674
8489
  },
8675
8490
  {
8676
8491
  "kind": "field",
8677
- "name": "_presentation",
8678
- "type": {
8679
- "text": "ComponentPresentation | null | undefined"
8492
+ "name": "value",
8493
+ "privacy": "public"
8494
+ },
8495
+ {
8496
+ "kind": "method",
8497
+ "name": "slottedOptionsChanged",
8498
+ "privacy": "public",
8499
+ "return": {
8500
+ "type": {
8501
+ "text": "void"
8502
+ }
8680
8503
  },
8681
- "privacy": "private",
8682
- "default": "void 0",
8683
- "inheritedFrom": {
8684
- "name": "Checkbox",
8685
- "module": "src/checkbox/checkbox.ts"
8504
+ "parameters": [
8505
+ {
8506
+ "name": "prev",
8507
+ "type": {
8508
+ "text": "Element[] | undefined"
8509
+ }
8510
+ },
8511
+ {
8512
+ "name": "next",
8513
+ "type": {
8514
+ "text": "Element[]"
8515
+ }
8516
+ }
8517
+ ]
8518
+ },
8519
+ {
8520
+ "kind": "method",
8521
+ "name": "filterOptions",
8522
+ "privacy": "public",
8523
+ "return": {
8524
+ "type": {
8525
+ "text": "void"
8526
+ }
8686
8527
  }
8687
8528
  },
8688
8529
  {
8689
- "kind": "field",
8690
- "name": "$presentation",
8691
- "type": {
8692
- "text": "ComponentPresentation | null"
8693
- },
8530
+ "kind": "method",
8531
+ "name": "clickHandler",
8694
8532
  "privacy": "public",
8695
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8696
- "inheritedFrom": {
8697
- "name": "Checkbox",
8698
- "module": "src/checkbox/checkbox.ts"
8699
- }
8533
+ "return": {
8534
+ "type": {
8535
+ "text": "boolean | void"
8536
+ }
8537
+ },
8538
+ "parameters": [
8539
+ {
8540
+ "name": "e",
8541
+ "type": {
8542
+ "text": "MouseEvent"
8543
+ }
8544
+ }
8545
+ ]
8700
8546
  },
8701
8547
  {
8702
- "kind": "field",
8703
- "name": "template",
8704
- "type": {
8705
- "text": "ElementViewTemplate | void | null"
8706
- },
8548
+ "kind": "method",
8549
+ "name": "keydownHandler",
8707
8550
  "privacy": "public",
8708
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
8709
- "inheritedFrom": {
8710
- "name": "Checkbox",
8711
- "module": "src/checkbox/checkbox.ts"
8712
- }
8551
+ "return": {
8552
+ "type": {
8553
+ "text": "boolean | void"
8554
+ }
8555
+ },
8556
+ "parameters": [
8557
+ {
8558
+ "name": "e",
8559
+ "type": {
8560
+ "text": "KeyboardEvent"
8561
+ }
8562
+ }
8563
+ ]
8713
8564
  },
8714
8565
  {
8715
8566
  "kind": "method",
8716
- "name": "templateChanged",
8717
- "privacy": "protected",
8567
+ "name": "keyupHandler",
8568
+ "privacy": "public",
8718
8569
  "return": {
8719
8570
  "type": {
8720
- "text": "void"
8571
+ "text": "boolean | void"
8721
8572
  }
8722
8573
  },
8723
- "inheritedFrom": {
8724
- "name": "Checkbox",
8725
- "module": "src/checkbox/checkbox.ts"
8726
- }
8574
+ "parameters": [
8575
+ {
8576
+ "name": "e",
8577
+ "type": {
8578
+ "text": "KeyboardEvent"
8579
+ }
8580
+ }
8581
+ ]
8727
8582
  },
8728
8583
  {
8729
8584
  "kind": "field",
8730
- "name": "styles",
8585
+ "name": "indicator",
8731
8586
  "type": {
8732
- "text": "ElementStyles | void | null"
8587
+ "text": "Element"
8733
8588
  },
8734
- "privacy": "public",
8735
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
8736
- "inheritedFrom": {
8737
- "name": "Checkbox",
8738
- "module": "src/checkbox/checkbox.ts"
8739
- }
8589
+ "privacy": "protected",
8590
+ "description": "Gets the HTML element for the indicator button",
8591
+ "readonly": true
8740
8592
  },
8741
8593
  {
8742
8594
  "kind": "method",
8743
- "name": "stylesChanged",
8595
+ "name": "selectItemByValue",
8744
8596
  "privacy": "protected",
8745
- "return": {
8746
- "type": {
8747
- "text": "void"
8597
+ "parameters": [
8598
+ {
8599
+ "name": "value",
8600
+ "type": {
8601
+ "text": "string"
8602
+ },
8603
+ "description": "The text value of the item to be selected"
8748
8604
  }
8749
- },
8750
- "inheritedFrom": {
8751
- "name": "Checkbox",
8752
- "module": "src/checkbox/checkbox.ts"
8753
- }
8605
+ ],
8606
+ "description": "Selects an item in the dropdown based on its text value"
8754
8607
  },
8755
8608
  {
8756
8609
  "kind": "method",
8757
- "name": "compose",
8758
- "privacy": "public",
8759
- "static": true,
8610
+ "name": "inputHandler",
8760
8611
  "return": {
8761
8612
  "type": {
8762
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8613
+ "text": "boolean | void"
8763
8614
  }
8764
8615
  },
8765
8616
  "parameters": [
8766
8617
  {
8767
- "name": "this",
8618
+ "name": "e",
8768
8619
  "type": {
8769
- "text": "K"
8620
+ "text": "InputEvent"
8770
8621
  }
8771
- },
8772
- {
8773
- "name": "elementDefinition",
8774
- "type": {
8775
- "text": "T"
8776
- },
8777
- "description": "The definition of the element to create the registry\nfunction for."
8778
8622
  }
8779
- ],
8780
- "description": "Defines an element registry function with a set of element definition defaults.",
8781
- "inheritedFrom": {
8782
- "name": "Checkbox",
8783
- "module": "src/checkbox/checkbox.ts"
8784
- }
8623
+ ]
8624
+ },
8625
+ {
8626
+ "kind": "method",
8627
+ "name": "asyncSetFilter"
8785
8628
  }
8786
8629
  ],
8787
- "events": [
8630
+ "attributes": [
8788
8631
  {
8789
- "description": "Emits a custom change event when the checked state changes",
8790
- "name": "change",
8791
- "inheritedFrom": {
8792
- "name": "Checkbox",
8793
- "module": "src/checkbox/checkbox.ts"
8794
- }
8632
+ "type": {
8633
+ "text": "boolean"
8634
+ },
8635
+ "default": "false",
8636
+ "fieldName": "async"
8637
+ },
8638
+ {
8639
+ "name": "debounce",
8640
+ "type": {
8641
+ "text": "number"
8642
+ },
8643
+ "default": "DEBOUNCE_TIME",
8644
+ "resolveInitializer": {
8645
+ "module": "src/combobox/combobox.ts"
8646
+ },
8647
+ "fieldName": "debounce"
8648
+ },
8649
+ {
8650
+ "name": "case-sensitive",
8651
+ "type": {
8652
+ "text": "boolean"
8653
+ },
8654
+ "default": "false",
8655
+ "description": "Controls whether to perform a case-sensitive search in the list of options",
8656
+ "fieldName": "caseSensitive"
8657
+ },
8658
+ {
8659
+ "name": "ignore-input-click",
8660
+ "type": {
8661
+ "text": "boolean"
8662
+ },
8663
+ "default": "false",
8664
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
8665
+ "fieldName": "ignoreInputClick"
8795
8666
  }
8796
- ]
8667
+ ],
8668
+ "superclass": {
8669
+ "name": "FASTComboBox",
8670
+ "package": "@microsoft/fast-components"
8671
+ },
8672
+ "tagName": "%%prefix%%-combobox",
8673
+ "customElement": true
8797
8674
  },
8798
8675
  {
8799
8676
  "kind": "variable",
8800
- "name": "foundationCheckboxShadowOptions",
8677
+ "name": "foundationComboboxShadowOptions",
8801
8678
  "type": {
8802
8679
  "text": "ShadowRootInit"
8803
8680
  },
8804
- "default": "undefined"
8681
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
8805
8682
  },
8806
8683
  {
8807
8684
  "kind": "variable",
8808
- "name": "defaultCheckboxConfig",
8685
+ "name": "defaultComboboxConfig",
8809
8686
  "type": {
8810
8687
  "text": "object"
8811
8688
  },
8812
- "default": "{\n checkedIndicator: `\n <svg\n aria-hidden=\"true\"\n part=\"checked-indicator\"\n class=\"checked-indicator\"\n viewBox=\"0 0 20 20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z\"\n />\n </svg>\n `,\n indeterminateIndicator: `\n <div part=\"indeterminate-indicator\" class=\"indeterminate-indicator\"></div>\n `,\n}"
8689
+ "default": "{\n indicator: `\n <svg\n class=\"combo-box-indicator\"\n part=\"combo-box-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
8813
8690
  },
8814
8691
  {
8815
8692
  "kind": "variable",
8816
- "name": "foundationCheckbox",
8817
- "description": "The Foundation Checkbox",
8693
+ "name": "foundationCombobox",
8694
+ "description": "The Foundation Combo-box",
8818
8695
  "privacy": "public"
8819
8696
  }
8820
8697
  ],
8821
8698
  "exports": [
8822
8699
  {
8823
8700
  "kind": "js",
8824
- "name": "Checkbox",
8701
+ "name": "Combobox",
8825
8702
  "declaration": {
8826
- "name": "Checkbox",
8827
- "module": "src/checkbox/checkbox.ts"
8703
+ "name": "Combobox",
8704
+ "module": "src/combobox/combobox.ts"
8828
8705
  }
8829
8706
  },
8830
8707
  {
8831
8708
  "kind": "js",
8832
- "name": "foundationCheckboxShadowOptions",
8709
+ "name": "foundationComboboxShadowOptions",
8833
8710
  "declaration": {
8834
- "name": "foundationCheckboxShadowOptions",
8835
- "module": "src/checkbox/checkbox.ts"
8711
+ "name": "foundationComboboxShadowOptions",
8712
+ "module": "src/combobox/combobox.ts"
8836
8713
  }
8837
8714
  },
8838
8715
  {
8839
8716
  "kind": "js",
8840
- "name": "defaultCheckboxConfig",
8717
+ "name": "defaultComboboxConfig",
8841
8718
  "declaration": {
8842
- "name": "defaultCheckboxConfig",
8843
- "module": "src/checkbox/checkbox.ts"
8719
+ "name": "defaultComboboxConfig",
8720
+ "module": "src/combobox/combobox.ts"
8844
8721
  }
8845
8722
  },
8846
8723
  {
8847
8724
  "kind": "js",
8848
- "name": "foundationCheckbox",
8725
+ "name": "foundationCombobox",
8849
8726
  "declaration": {
8850
- "name": "foundationCheckbox",
8851
- "module": "src/checkbox/checkbox.ts"
8727
+ "name": "foundationCombobox",
8728
+ "module": "src/combobox/combobox.ts"
8852
8729
  }
8853
8730
  }
8854
8731
  ]
8855
8732
  },
8856
8733
  {
8857
8734
  "kind": "javascript-module",
8858
- "path": "src/checkbox/index.ts",
8735
+ "path": "src/combobox/index.ts",
8859
8736
  "declarations": [],
8860
8737
  "exports": [
8861
8738
  {
@@ -8863,134 +8740,158 @@
8863
8740
  "name": "*",
8864
8741
  "declaration": {
8865
8742
  "name": "*",
8866
- "package": "./checkbox.template"
8743
+ "package": "./combobox.template"
8744
+ }
8745
+ },
8746
+ {
8747
+ "kind": "js",
8748
+ "name": "*",
8749
+ "declaration": {
8750
+ "name": "*",
8751
+ "package": "./combobox.styles"
8752
+ }
8753
+ },
8754
+ {
8755
+ "kind": "js",
8756
+ "name": "*",
8757
+ "declaration": {
8758
+ "name": "*",
8759
+ "package": "./combobox"
8867
8760
  }
8761
+ }
8762
+ ]
8763
+ },
8764
+ {
8765
+ "kind": "javascript-module",
8766
+ "path": "src/categorized-multiselect/categorized-multiselect.styles.ts",
8767
+ "declarations": [
8768
+ {
8769
+ "kind": "variable",
8770
+ "name": "optionsMaxheight",
8771
+ "type": {
8772
+ "text": "number"
8773
+ },
8774
+ "default": "450"
8868
8775
  },
8776
+ {
8777
+ "kind": "variable",
8778
+ "name": "categorizedMultiselectStyles",
8779
+ "default": "css`\n .root {\n position: relative;\n width: 100%;\n min-width: 250px;\n }\n\n .control-button {\n display: flex;\n justify-content: center;\n min-width: 31px;\n width: 31px;\n height: 31px;\n margin-left: calc(var(--design-unit) * 2px);\n color: var(--neutral-foreground-hint);\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n justify-content: end;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n font-weight: 700;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n\n .control:hover .control-button,\n .control:hover .label {\n color: var(--neutral-foreground-rest);\n }\n\n button {\n pointer-events: none;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n padding: calc((var(--design-unit) + 3) * 2px) calc((var(--design-unit) + 3) * 1px);\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n span {\n border-bottom: calc(var(--stroke-width) * 1px) solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 2) * 2px) calc((var(--design-unit) + 3) * 1px);\n font-size: calc((var(--type-ramp-base-font-size) - 1px));\n color: var(--neutral-foreground-hint);\n }\n\n .multiselect-checkbox {\n min-width: fit-content;\n flex-direction: row-reverse;\n justify-content: space-between;\n align-items: flex-start;\n border-bottom: 1px solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 3) * 1px) calc((var(--design-unit) + 3) * 1px)\n calc((var(--design-unit) + 3) * 1px) 0;\n margin: 0;\n }\n\n .multiselect-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n .multiselect-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n\n .multiselect-checkbox::part(control) {\n min-width: calc(\n (\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) / 2 +\n var(--design-unit)\n ) * 1px\n );\n }\n\n .checkbox-container .multiselect-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n .description {\n text-wrap: wrap;\n font-size: calc((var(--type-ramp-base-font-size) - 1px));\n margin: calc((var(--design-unit) + 3) * 1px) 0;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${optionsMaxheight.toString()}px;\n }\n`"
8780
+ }
8781
+ ],
8782
+ "exports": [
8869
8783
  {
8870
8784
  "kind": "js",
8871
- "name": "*",
8785
+ "name": "optionsMaxheight",
8872
8786
  "declaration": {
8873
- "name": "*",
8874
- "package": "./checkbox.styles"
8787
+ "name": "optionsMaxheight",
8788
+ "module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
8875
8789
  }
8876
8790
  },
8877
8791
  {
8878
8792
  "kind": "js",
8879
- "name": "*",
8793
+ "name": "categorizedMultiselectStyles",
8880
8794
  "declaration": {
8881
- "name": "*",
8882
- "package": "./checkbox"
8795
+ "name": "categorizedMultiselectStyles",
8796
+ "module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
8883
8797
  }
8884
8798
  }
8885
8799
  ]
8886
8800
  },
8887
8801
  {
8888
8802
  "kind": "javascript-module",
8889
- "path": "src/combobox/combobox.styles.ts",
8803
+ "path": "src/categorized-multiselect/categorized-multiselect.template.ts",
8890
8804
  "declarations": [
8891
8805
  {
8892
8806
  "kind": "function",
8893
- "name": "foundationComboboxStyles",
8894
- "return": {
8895
- "type": {
8896
- "text": "ElementStyles"
8897
- }
8898
- },
8807
+ "name": "getPrefixedCategorizedMultiselect",
8899
8808
  "parameters": [
8900
8809
  {
8901
- "name": "context",
8902
- "type": {
8903
- "text": "ElementDefinitionContext"
8904
- }
8905
- },
8906
- {
8907
- "name": "definition",
8810
+ "name": "prefix",
8811
+ "default": "'foundation'",
8908
8812
  "type": {
8909
- "text": "FoundationElementDefinition"
8813
+ "text": "string"
8910
8814
  }
8911
8815
  }
8912
8816
  ]
8817
+ },
8818
+ {
8819
+ "kind": "variable",
8820
+ "name": "categorizedMultiselectTemplate",
8821
+ "default": "html<CategorizedMultiselect>`\n ${getPrefixedCategorizedMultiselect()}\n`"
8913
8822
  }
8914
8823
  ],
8915
8824
  "exports": [
8916
8825
  {
8917
8826
  "kind": "js",
8918
- "name": "foundationComboboxStyles",
8827
+ "name": "getPrefixedCategorizedMultiselect",
8919
8828
  "declaration": {
8920
- "name": "foundationComboboxStyles",
8921
- "module": "src/combobox/combobox.styles.ts"
8829
+ "name": "getPrefixedCategorizedMultiselect",
8830
+ "module": "src/categorized-multiselect/categorized-multiselect.template.ts"
8922
8831
  }
8923
- }
8924
- ]
8925
- },
8926
- {
8927
- "kind": "javascript-module",
8928
- "path": "src/combobox/combobox.template.ts",
8929
- "declarations": [
8930
- {
8931
- "kind": "function",
8932
- "name": "foundationComboboxTemplate",
8933
- "return": {
8934
- "type": {
8935
- "text": "ViewTemplate<Combobox>"
8936
- }
8937
- },
8938
- "parameters": [
8939
- {
8940
- "name": "context",
8941
- "type": {
8942
- "text": "ElementDefinitionContext"
8943
- }
8944
- },
8945
- {
8946
- "name": "definition",
8947
- "type": {
8948
- "text": "ComboboxOptions"
8949
- }
8950
- }
8951
- ]
8952
- }
8953
- ],
8954
- "exports": [
8832
+ },
8955
8833
  {
8956
8834
  "kind": "js",
8957
- "name": "foundationComboboxTemplate",
8835
+ "name": "categorizedMultiselectTemplate",
8958
8836
  "declaration": {
8959
- "name": "foundationComboboxTemplate",
8960
- "module": "src/combobox/combobox.template.ts"
8837
+ "name": "categorizedMultiselectTemplate",
8838
+ "module": "src/categorized-multiselect/categorized-multiselect.template.ts"
8961
8839
  }
8962
8840
  }
8963
8841
  ]
8964
8842
  },
8965
8843
  {
8966
8844
  "kind": "javascript-module",
8967
- "path": "src/combobox/combobox.ts",
8845
+ "path": "src/categorized-multiselect/categorized-multiselect.ts",
8968
8846
  "declarations": [
8847
+ {
8848
+ "kind": "variable",
8849
+ "name": "foundationCategorizedMultiselectShadowOptions",
8850
+ "type": {
8851
+ "text": "ShadowRootInit"
8852
+ },
8853
+ "default": "undefined"
8854
+ },
8855
+ {
8856
+ "kind": "variable",
8857
+ "name": "defaultCategorizedMultiselectConfig",
8858
+ "type": {
8859
+ "text": "object"
8860
+ },
8861
+ "default": "{}"
8862
+ },
8969
8863
  {
8970
8864
  "kind": "class",
8971
8865
  "description": "",
8972
- "name": "Combobox",
8866
+ "name": "CategorizedMultiselect",
8973
8867
  "members": [
8974
8868
  {
8975
8869
  "kind": "field",
8976
- "name": "_ourValue",
8870
+ "name": "name",
8977
8871
  "type": {
8978
8872
  "text": "string"
8979
8873
  },
8980
- "privacy": "private"
8874
+ "default": "''"
8981
8875
  },
8982
8876
  {
8983
8877
  "kind": "field",
8984
- "name": "#indicator",
8985
- "privacy": "private",
8878
+ "name": "autoPosition",
8986
8879
  "type": {
8987
- "text": "Element"
8988
- }
8880
+ "text": "boolean"
8881
+ },
8882
+ "default": "true"
8989
8883
  },
8990
8884
  {
8991
8885
  "kind": "field",
8992
- "name": "#wasOpenOnEnterDown",
8993
- "privacy": "private",
8886
+ "name": "search",
8887
+ "type": {
8888
+ "text": "boolean"
8889
+ },
8890
+ "default": "true"
8891
+ },
8892
+ {
8893
+ "kind": "field",
8894
+ "name": "disabled",
8994
8895
  "type": {
8995
8896
  "text": "boolean"
8996
8897
  },
@@ -8998,312 +8899,411 @@
8998
8899
  },
8999
8900
  {
9000
8901
  "kind": "field",
9001
- "name": "slottedDatasource",
8902
+ "name": "defaultSlottedNodes",
9002
8903
  "type": {
9003
- "text": "HTMLSlotElement"
8904
+ "text": "Node[]"
9004
8905
  }
9005
8906
  },
9006
8907
  {
9007
8908
  "kind": "field",
9008
- "name": "async",
8909
+ "name": "valueFormatter"
8910
+ },
8911
+ {
8912
+ "kind": "field",
8913
+ "name": "filterSearchValue",
8914
+ "type": {
8915
+ "text": "string"
8916
+ }
8917
+ },
8918
+ {
8919
+ "kind": "field",
8920
+ "name": "clickOutside",
8921
+ "privacy": "private"
8922
+ },
8923
+ {
8924
+ "kind": "field",
8925
+ "name": "open",
9009
8926
  "type": {
9010
8927
  "text": "boolean"
9011
8928
  },
9012
8929
  "default": "false"
9013
8930
  },
8931
+ {
8932
+ "kind": "method",
8933
+ "name": "openChanged",
8934
+ "parameters": [
8935
+ {
8936
+ "name": "previous",
8937
+ "type": {
8938
+ "text": "boolean"
8939
+ }
8940
+ },
8941
+ {
8942
+ "name": "open",
8943
+ "type": {
8944
+ "text": "boolean"
8945
+ }
8946
+ }
8947
+ ]
8948
+ },
9014
8949
  {
9015
8950
  "kind": "field",
9016
- "name": "debounce",
8951
+ "name": "options",
9017
8952
  "type": {
9018
- "text": "number"
8953
+ "text": "CategorizedMultiselectOption[]"
9019
8954
  },
9020
- "default": "500"
8955
+ "default": "[]"
8956
+ },
8957
+ {
8958
+ "kind": "field",
8959
+ "name": "selectedOptions",
8960
+ "type": {
8961
+ "text": "string[]"
8962
+ },
8963
+ "default": "[]"
8964
+ },
8965
+ {
8966
+ "kind": "field",
8967
+ "name": "filteredAvailableOptions",
8968
+ "type": {
8969
+ "text": "CategorizedMultiselectFilteredOption[]"
8970
+ }
8971
+ },
8972
+ {
8973
+ "kind": "field",
8974
+ "name": "position",
8975
+ "type": {
8976
+ "text": "Position"
8977
+ },
8978
+ "description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field."
8979
+ },
8980
+ {
8981
+ "kind": "field",
8982
+ "name": "optionsElement",
8983
+ "type": {
8984
+ "text": "HTMLElement"
8985
+ }
9021
8986
  },
9022
8987
  {
9023
8988
  "kind": "method",
9024
- "name": "debounceChanged",
8989
+ "name": "toggle"
8990
+ },
8991
+ {
8992
+ "kind": "method",
8993
+ "name": "sortFilteredOptions",
8994
+ "parameters": [
8995
+ {
8996
+ "name": "options",
8997
+ "optional": true,
8998
+ "type": {
8999
+ "text": "CategorizedMultiselectOption[]"
9000
+ }
9001
+ }
9002
+ ]
9003
+ },
9004
+ {
9005
+ "kind": "method",
9006
+ "name": "optionsChanged"
9007
+ },
9008
+ {
9009
+ "kind": "method",
9010
+ "name": "setDropdownPosition",
9011
+ "privacy": "private",
9012
+ "description": "Sets the dropdown position based on the current configuration."
9013
+ },
9014
+ {
9015
+ "kind": "method",
9016
+ "name": "optionGetter",
9017
+ "parameters": [
9018
+ {
9019
+ "name": "option",
9020
+ "type": {
9021
+ "text": "CategorizedMultiselectOption"
9022
+ }
9023
+ }
9024
+ ]
9025
+ },
9026
+ {
9027
+ "kind": "method",
9028
+ "name": "getItemLabel",
9029
+ "parameters": [
9030
+ {
9031
+ "name": "option",
9032
+ "type": {
9033
+ "text": "CategorizedMultiselectOption"
9034
+ }
9035
+ }
9036
+ ]
9037
+ },
9038
+ {
9039
+ "kind": "method",
9040
+ "name": "isOptionDisabled",
9025
9041
  "parameters": [
9026
9042
  {
9027
- "name": "oldValue"
9028
- },
9029
- {
9030
- "name": "newValue",
9043
+ "name": "option",
9031
9044
  "type": {
9032
- "text": "number"
9045
+ "text": "CategorizedMultiselectOption"
9033
9046
  }
9034
9047
  }
9035
9048
  ]
9036
9049
  },
9037
9050
  {
9038
9051
  "kind": "field",
9039
- "name": "debouncedInputHandler"
9040
- },
9041
- {
9042
- "kind": "field",
9043
- "name": "caseSensitive",
9044
- "type": {
9045
- "text": "boolean"
9046
- },
9047
- "privacy": "public",
9048
- "default": "false",
9049
- "description": "Controls whether to perform a case-sensitive search in the list of options"
9050
- },
9051
- {
9052
- "kind": "field",
9053
- "name": "ignoreInputClick",
9054
- "type": {
9055
- "text": "boolean"
9056
- },
9057
- "privacy": "public",
9058
- "default": "false",
9059
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked"
9060
- },
9061
- {
9062
- "kind": "field",
9063
- "name": "value",
9064
- "privacy": "public"
9052
+ "name": "getPlaceholder",
9053
+ "readonly": true
9065
9054
  },
9066
9055
  {
9067
9056
  "kind": "method",
9068
- "name": "slottedOptionsChanged",
9069
- "privacy": "public",
9057
+ "name": "isOptionSelected",
9070
9058
  "return": {
9071
9059
  "type": {
9072
- "text": "void"
9060
+ "text": "boolean"
9073
9061
  }
9074
9062
  },
9075
9063
  "parameters": [
9076
9064
  {
9077
- "name": "prev",
9065
+ "name": "normalizedOption",
9078
9066
  "type": {
9079
- "text": "Element[] | undefined"
9067
+ "text": "CategorizedMultiselectOption"
9080
9068
  }
9081
- },
9069
+ }
9070
+ ]
9071
+ },
9072
+ {
9073
+ "kind": "method",
9074
+ "name": "selectCheckboxOne",
9075
+ "parameters": [
9082
9076
  {
9083
- "name": "next",
9077
+ "name": "normalizedOption",
9084
9078
  "type": {
9085
- "text": "Element[]"
9079
+ "text": "CategorizedMultiselectOption"
9086
9080
  }
9087
9081
  }
9088
9082
  ]
9089
9083
  },
9090
9084
  {
9091
9085
  "kind": "method",
9092
- "name": "filterOptions",
9093
- "privacy": "public",
9094
- "return": {
9095
- "type": {
9096
- "text": "void"
9097
- }
9098
- }
9086
+ "name": "setFilter"
9099
9087
  },
9100
9088
  {
9101
9089
  "kind": "method",
9102
- "name": "clickHandler",
9103
- "privacy": "public",
9104
- "return": {
9105
- "type": {
9106
- "text": "boolean | void"
9107
- }
9108
- },
9090
+ "name": "changeHandler",
9109
9091
  "parameters": [
9110
9092
  {
9111
- "name": "e",
9093
+ "name": "event",
9112
9094
  "type": {
9113
- "text": "MouseEvent"
9095
+ "text": "Event"
9114
9096
  }
9115
9097
  }
9116
9098
  ]
9117
9099
  },
9118
9100
  {
9119
9101
  "kind": "method",
9120
- "name": "keydownHandler",
9121
- "privacy": "public",
9122
- "return": {
9123
- "type": {
9124
- "text": "boolean | void"
9125
- }
9126
- },
9102
+ "name": "handleClickOutside",
9103
+ "privacy": "private",
9127
9104
  "parameters": [
9128
9105
  {
9129
- "name": "e",
9106
+ "name": "event",
9130
9107
  "type": {
9131
- "text": "KeyboardEvent"
9108
+ "text": "MouseEvent"
9132
9109
  }
9133
9110
  }
9134
9111
  ]
9135
9112
  },
9136
9113
  {
9137
- "kind": "method",
9138
- "name": "keyupHandler",
9114
+ "kind": "field",
9115
+ "name": "_presentation",
9116
+ "type": {
9117
+ "text": "ComponentPresentation | null | undefined"
9118
+ },
9119
+ "privacy": "private",
9120
+ "default": "void 0",
9121
+ "inheritedFrom": {
9122
+ "name": "FoundationElement",
9123
+ "module": "src/foundation-element/foundation-element.ts"
9124
+ }
9125
+ },
9126
+ {
9127
+ "kind": "field",
9128
+ "name": "$presentation",
9129
+ "type": {
9130
+ "text": "ComponentPresentation | null"
9131
+ },
9132
+ "privacy": "public",
9133
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9134
+ "inheritedFrom": {
9135
+ "name": "FoundationElement",
9136
+ "module": "src/foundation-element/foundation-element.ts"
9137
+ }
9138
+ },
9139
+ {
9140
+ "kind": "field",
9141
+ "name": "template",
9142
+ "type": {
9143
+ "text": "ElementViewTemplate | void | null"
9144
+ },
9139
9145
  "privacy": "public",
9146
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
9147
+ "inheritedFrom": {
9148
+ "name": "FoundationElement",
9149
+ "module": "src/foundation-element/foundation-element.ts"
9150
+ }
9151
+ },
9152
+ {
9153
+ "kind": "method",
9154
+ "name": "templateChanged",
9155
+ "privacy": "protected",
9140
9156
  "return": {
9141
9157
  "type": {
9142
- "text": "boolean | void"
9158
+ "text": "void"
9143
9159
  }
9144
9160
  },
9145
- "parameters": [
9146
- {
9147
- "name": "e",
9148
- "type": {
9149
- "text": "KeyboardEvent"
9150
- }
9151
- }
9152
- ]
9161
+ "inheritedFrom": {
9162
+ "name": "FoundationElement",
9163
+ "module": "src/foundation-element/foundation-element.ts"
9164
+ }
9153
9165
  },
9154
9166
  {
9155
9167
  "kind": "field",
9156
- "name": "indicator",
9168
+ "name": "styles",
9157
9169
  "type": {
9158
- "text": "Element"
9170
+ "text": "ElementStyles | void | null"
9159
9171
  },
9160
- "privacy": "protected",
9161
- "description": "Gets the HTML element for the indicator button",
9162
- "readonly": true
9172
+ "privacy": "public",
9173
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
9174
+ "inheritedFrom": {
9175
+ "name": "FoundationElement",
9176
+ "module": "src/foundation-element/foundation-element.ts"
9177
+ }
9163
9178
  },
9164
9179
  {
9165
9180
  "kind": "method",
9166
- "name": "selectItemByValue",
9181
+ "name": "stylesChanged",
9167
9182
  "privacy": "protected",
9168
- "parameters": [
9169
- {
9170
- "name": "value",
9171
- "type": {
9172
- "text": "string"
9173
- },
9174
- "description": "The text value of the item to be selected"
9183
+ "return": {
9184
+ "type": {
9185
+ "text": "void"
9175
9186
  }
9176
- ],
9177
- "description": "Selects an item in the dropdown based on its text value"
9187
+ },
9188
+ "inheritedFrom": {
9189
+ "name": "FoundationElement",
9190
+ "module": "src/foundation-element/foundation-element.ts"
9191
+ }
9178
9192
  },
9179
9193
  {
9180
9194
  "kind": "method",
9181
- "name": "inputHandler",
9195
+ "name": "compose",
9196
+ "privacy": "public",
9197
+ "static": true,
9182
9198
  "return": {
9183
9199
  "type": {
9184
- "text": "boolean | void"
9200
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9185
9201
  }
9186
9202
  },
9187
9203
  "parameters": [
9188
9204
  {
9189
- "name": "e",
9205
+ "name": "this",
9190
9206
  "type": {
9191
- "text": "InputEvent"
9207
+ "text": "K"
9192
9208
  }
9209
+ },
9210
+ {
9211
+ "name": "elementDefinition",
9212
+ "type": {
9213
+ "text": "T"
9214
+ },
9215
+ "description": "The definition of the element to create the registry\nfunction for."
9193
9216
  }
9194
- ]
9195
- },
9196
- {
9197
- "kind": "method",
9198
- "name": "asyncSetFilter"
9217
+ ],
9218
+ "description": "Defines an element registry function with a set of element definition defaults.",
9219
+ "inheritedFrom": {
9220
+ "name": "FoundationElement",
9221
+ "module": "src/foundation-element/foundation-element.ts"
9222
+ }
9199
9223
  }
9200
9224
  ],
9201
9225
  "attributes": [
9202
9226
  {
9227
+ "name": "name",
9203
9228
  "type": {
9204
- "text": "boolean"
9229
+ "text": "string"
9205
9230
  },
9206
- "default": "false",
9207
- "fieldName": "async"
9231
+ "default": "''",
9232
+ "fieldName": "name"
9208
9233
  },
9209
9234
  {
9210
- "name": "debounce",
9235
+ "name": "auto-position",
9211
9236
  "type": {
9212
- "text": "number"
9213
- },
9214
- "default": "DEBOUNCE_TIME",
9215
- "resolveInitializer": {
9216
- "module": "src/combobox/combobox.ts"
9237
+ "text": "boolean"
9217
9238
  },
9218
- "fieldName": "debounce"
9239
+ "default": "true",
9240
+ "fieldName": "autoPosition"
9219
9241
  },
9220
9242
  {
9221
- "name": "case-sensitive",
9222
9243
  "type": {
9223
9244
  "text": "boolean"
9224
9245
  },
9225
- "default": "false",
9226
- "description": "Controls whether to perform a case-sensitive search in the list of options",
9227
- "fieldName": "caseSensitive"
9246
+ "default": "true",
9247
+ "fieldName": "search"
9228
9248
  },
9229
9249
  {
9230
- "name": "ignore-input-click",
9231
9250
  "type": {
9232
9251
  "text": "boolean"
9233
9252
  },
9234
9253
  "default": "false",
9235
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
9236
- "fieldName": "ignoreInputClick"
9254
+ "fieldName": "disabled"
9237
9255
  }
9238
9256
  ],
9239
9257
  "superclass": {
9240
- "name": "FASTComboBox",
9241
- "package": "@microsoft/fast-components"
9258
+ "name": "FoundationElement",
9259
+ "package": "@microsoft/fast-foundation"
9242
9260
  },
9243
- "tagName": "%%prefix%%-combobox",
9261
+ "tagName": "%%prefix%%-categorized-multiselect",
9244
9262
  "customElement": true
9245
9263
  },
9246
9264
  {
9247
9265
  "kind": "variable",
9248
- "name": "foundationComboboxShadowOptions",
9249
- "type": {
9250
- "text": "ShadowRootInit"
9251
- },
9252
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
9253
- },
9254
- {
9255
- "kind": "variable",
9256
- "name": "defaultComboboxConfig",
9257
- "type": {
9258
- "text": "object"
9259
- },
9260
- "default": "{\n indicator: `\n <svg\n class=\"combo-box-indicator\"\n part=\"combo-box-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
9261
- },
9262
- {
9263
- "kind": "variable",
9264
- "name": "foundationCombobox",
9265
- "description": "The Foundation Combo-box",
9266
- "privacy": "public"
9266
+ "name": "foundationCategorizedMultiselect"
9267
9267
  }
9268
9268
  ],
9269
9269
  "exports": [
9270
9270
  {
9271
9271
  "kind": "js",
9272
- "name": "Combobox",
9272
+ "name": "foundationCategorizedMultiselectShadowOptions",
9273
9273
  "declaration": {
9274
- "name": "Combobox",
9275
- "module": "src/combobox/combobox.ts"
9274
+ "name": "foundationCategorizedMultiselectShadowOptions",
9275
+ "module": "src/categorized-multiselect/categorized-multiselect.ts"
9276
9276
  }
9277
9277
  },
9278
9278
  {
9279
9279
  "kind": "js",
9280
- "name": "foundationComboboxShadowOptions",
9280
+ "name": "defaultCategorizedMultiselectConfig",
9281
9281
  "declaration": {
9282
- "name": "foundationComboboxShadowOptions",
9283
- "module": "src/combobox/combobox.ts"
9282
+ "name": "defaultCategorizedMultiselectConfig",
9283
+ "module": "src/categorized-multiselect/categorized-multiselect.ts"
9284
9284
  }
9285
9285
  },
9286
9286
  {
9287
9287
  "kind": "js",
9288
- "name": "defaultComboboxConfig",
9288
+ "name": "CategorizedMultiselect",
9289
9289
  "declaration": {
9290
- "name": "defaultComboboxConfig",
9291
- "module": "src/combobox/combobox.ts"
9290
+ "name": "CategorizedMultiselect",
9291
+ "module": "src/categorized-multiselect/categorized-multiselect.ts"
9292
9292
  }
9293
9293
  },
9294
9294
  {
9295
9295
  "kind": "js",
9296
- "name": "foundationCombobox",
9296
+ "name": "foundationCategorizedMultiselect",
9297
9297
  "declaration": {
9298
- "name": "foundationCombobox",
9299
- "module": "src/combobox/combobox.ts"
9298
+ "name": "foundationCategorizedMultiselect",
9299
+ "module": "src/categorized-multiselect/categorized-multiselect.ts"
9300
9300
  }
9301
9301
  }
9302
9302
  ]
9303
9303
  },
9304
9304
  {
9305
9305
  "kind": "javascript-module",
9306
- "path": "src/combobox/index.ts",
9306
+ "path": "src/categorized-multiselect/index.ts",
9307
9307
  "declarations": [],
9308
9308
  "exports": [
9309
9309
  {
@@ -9311,7 +9311,7 @@
9311
9311
  "name": "*",
9312
9312
  "declaration": {
9313
9313
  "name": "*",
9314
- "package": "./combobox.template"
9314
+ "package": "./categorized-multiselect"
9315
9315
  }
9316
9316
  },
9317
9317
  {
@@ -9319,7 +9319,7 @@
9319
9319
  "name": "*",
9320
9320
  "declaration": {
9321
9321
  "name": "*",
9322
- "package": "./combobox.styles"
9322
+ "package": "./categorized-multiselect.styles"
9323
9323
  }
9324
9324
  },
9325
9325
  {
@@ -9327,7 +9327,7 @@
9327
9327
  "name": "*",
9328
9328
  "declaration": {
9329
9329
  "name": "*",
9330
- "package": "./combobox"
9330
+ "package": "./categorized-multiselect.template"
9331
9331
  }
9332
9332
  }
9333
9333
  ]
@@ -14357,272 +14357,90 @@
14357
14357
  },
14358
14358
  {
14359
14359
  "name": "position",
14360
- "type": {
14361
- "text": "DialogPosition"
14362
- },
14363
- "default": "'center'",
14364
- "fieldName": "position",
14365
- "inheritedFrom": {
14366
- "name": "<local>_DialogElement",
14367
- "module": "src/dialog/dialog.ts"
14368
- }
14369
- },
14370
- {
14371
- "name": "show-close-icon",
14372
- "type": {
14373
- "text": "boolean"
14374
- },
14375
- "default": "true",
14376
- "description": "Whether or not to show the close icon",
14377
- "fieldName": "showCloseIcon",
14378
- "inheritedFrom": {
14379
- "name": "<local>_DialogElement",
14380
- "module": "src/dialog/dialog.ts"
14381
- }
14382
- }
14383
- ]
14384
- },
14385
- {
14386
- "kind": "variable",
14387
- "name": "foundationDialog",
14388
- "description": "The Foundation Dialog",
14389
- "privacy": "public"
14390
- }
14391
- ],
14392
- "exports": [
14393
- {
14394
- "kind": "js",
14395
- "name": "foundationDialogShadowOptions",
14396
- "declaration": {
14397
- "name": "foundationDialogShadowOptions",
14398
- "module": "src/dialog/dialog.ts"
14399
- }
14400
- },
14401
- {
14402
- "kind": "js",
14403
- "name": "defaultDialogConfig",
14404
- "declaration": {
14405
- "name": "defaultDialogConfig",
14406
- "module": "src/dialog/dialog.ts"
14407
- }
14408
- },
14409
- {
14410
- "kind": "js",
14411
- "name": "DialogElement",
14412
- "declaration": {
14413
- "name": "DialogElement",
14414
- "module": "src/dialog/dialog.ts"
14415
- }
14416
- },
14417
- {
14418
- "kind": "js",
14419
- "name": "Dialog",
14420
- "declaration": {
14421
- "name": "Dialog",
14422
- "module": "src/dialog/dialog.ts"
14423
- }
14424
- },
14425
- {
14426
- "kind": "js",
14427
- "name": "foundationDialog",
14428
- "declaration": {
14429
- "name": "foundationDialog",
14430
- "module": "src/dialog/dialog.ts"
14431
- }
14432
- }
14433
- ]
14434
- },
14435
- {
14436
- "kind": "javascript-module",
14437
- "path": "src/dialog/dialog.types.ts",
14438
- "declarations": [],
14439
- "exports": []
14440
- },
14441
- {
14442
- "kind": "javascript-module",
14443
- "path": "src/dialog/index.ts",
14444
- "declarations": [],
14445
- "exports": [
14446
- {
14447
- "kind": "js",
14448
- "name": "*",
14449
- "declaration": {
14450
- "name": "*",
14451
- "package": "./dialog.styles"
14452
- }
14453
- },
14454
- {
14455
- "kind": "js",
14456
- "name": "*",
14457
- "declaration": {
14458
- "name": "*",
14459
- "package": "./dialog.template"
14460
- }
14461
- },
14462
- {
14463
- "kind": "js",
14464
- "name": "*",
14465
- "declaration": {
14466
- "name": "*",
14467
- "package": "./dialog"
14468
- }
14469
- }
14470
- ]
14471
- },
14472
- {
14473
- "kind": "javascript-module",
14474
- "path": "src/disclosure/disclosure.styles.ts",
14475
- "declarations": [
14476
- {
14477
- "kind": "function",
14478
- "name": "foundationDisclosureStyles",
14479
- "return": {
14480
- "type": {
14481
- "text": "ElementStyles"
14482
- }
14483
- },
14484
- "parameters": [
14485
- {
14486
- "name": "context",
14487
- "type": {
14488
- "text": "ElementDefinitionContext"
14489
- }
14490
- },
14491
- {
14492
- "name": "definition",
14493
- "type": {
14494
- "text": "FoundationElementDefinition"
14495
- }
14496
- }
14497
- ]
14498
- }
14499
- ],
14500
- "exports": [
14501
- {
14502
- "kind": "js",
14503
- "name": "foundationDisclosureStyles",
14504
- "declaration": {
14505
- "name": "foundationDisclosureStyles",
14506
- "module": "src/disclosure/disclosure.styles.ts"
14507
- }
14508
- }
14509
- ]
14510
- },
14511
- {
14512
- "kind": "javascript-module",
14513
- "path": "src/disclosure/disclosure.template.ts",
14514
- "declarations": [
14515
- {
14516
- "kind": "function",
14517
- "name": "foundationDisclosureTemplate",
14518
- "return": {
14519
- "type": {
14520
- "text": "ViewTemplate<Disclosure>"
14521
- }
14522
- },
14523
- "parameters": [
14524
- {
14525
- "name": "context",
14526
- "type": {
14527
- "text": "ElementDefinitionContext"
14528
- }
14529
- },
14530
- {
14531
- "name": "definition",
14532
- "type": {
14533
- "text": "FoundationElementDefinition"
14534
- }
14535
- }
14536
- ]
14537
- }
14538
- ],
14539
- "exports": [
14540
- {
14541
- "kind": "js",
14542
- "name": "foundationDisclosureTemplate",
14543
- "declaration": {
14544
- "name": "foundationDisclosureTemplate",
14545
- "module": "src/disclosure/disclosure.template.ts"
14546
- }
14547
- }
14548
- ]
14549
- },
14550
- {
14551
- "kind": "javascript-module",
14552
- "path": "src/disclosure/disclosure.ts",
14553
- "declarations": [
14554
- {
14555
- "kind": "class",
14556
- "description": "",
14557
- "name": "Disclosure",
14558
- "superclass": {
14559
- "name": "FASTDisclosure",
14560
- "package": "@microsoft/fast-foundation"
14561
- },
14562
- "tagName": "%%prefix%%-disclosure",
14563
- "customElement": true
14564
- },
14565
- {
14566
- "kind": "variable",
14567
- "name": "foundationDisclosureShadowOptions",
14568
- "type": {
14569
- "text": "ShadowRootInit"
14570
- },
14571
- "default": "undefined"
14572
- },
14573
- {
14574
- "kind": "variable",
14575
- "name": "defaultDisclosureConfig",
14576
- "type": {
14577
- "text": "object"
14578
- },
14579
- "default": "{}"
14360
+ "type": {
14361
+ "text": "DialogPosition"
14362
+ },
14363
+ "default": "'center'",
14364
+ "fieldName": "position",
14365
+ "inheritedFrom": {
14366
+ "name": "<local>_DialogElement",
14367
+ "module": "src/dialog/dialog.ts"
14368
+ }
14369
+ },
14370
+ {
14371
+ "name": "show-close-icon",
14372
+ "type": {
14373
+ "text": "boolean"
14374
+ },
14375
+ "default": "true",
14376
+ "description": "Whether or not to show the close icon",
14377
+ "fieldName": "showCloseIcon",
14378
+ "inheritedFrom": {
14379
+ "name": "<local>_DialogElement",
14380
+ "module": "src/dialog/dialog.ts"
14381
+ }
14382
+ }
14383
+ ]
14580
14384
  },
14581
14385
  {
14582
14386
  "kind": "variable",
14583
- "name": "foundationDisclosure",
14584
- "description": "The Foundation Disclosure",
14387
+ "name": "foundationDialog",
14388
+ "description": "The Foundation Dialog",
14585
14389
  "privacy": "public"
14586
14390
  }
14587
14391
  ],
14588
14392
  "exports": [
14589
14393
  {
14590
14394
  "kind": "js",
14591
- "name": "Disclosure",
14395
+ "name": "foundationDialogShadowOptions",
14592
14396
  "declaration": {
14593
- "name": "Disclosure",
14594
- "module": "src/disclosure/disclosure.ts"
14397
+ "name": "foundationDialogShadowOptions",
14398
+ "module": "src/dialog/dialog.ts"
14595
14399
  }
14596
14400
  },
14597
14401
  {
14598
14402
  "kind": "js",
14599
- "name": "foundationDisclosureShadowOptions",
14403
+ "name": "defaultDialogConfig",
14600
14404
  "declaration": {
14601
- "name": "foundationDisclosureShadowOptions",
14602
- "module": "src/disclosure/disclosure.ts"
14405
+ "name": "defaultDialogConfig",
14406
+ "module": "src/dialog/dialog.ts"
14603
14407
  }
14604
14408
  },
14605
14409
  {
14606
14410
  "kind": "js",
14607
- "name": "defaultDisclosureConfig",
14411
+ "name": "DialogElement",
14608
14412
  "declaration": {
14609
- "name": "defaultDisclosureConfig",
14610
- "module": "src/disclosure/disclosure.ts"
14413
+ "name": "DialogElement",
14414
+ "module": "src/dialog/dialog.ts"
14611
14415
  }
14612
14416
  },
14613
14417
  {
14614
14418
  "kind": "js",
14615
- "name": "foundationDisclosure",
14419
+ "name": "Dialog",
14616
14420
  "declaration": {
14617
- "name": "foundationDisclosure",
14618
- "module": "src/disclosure/disclosure.ts"
14421
+ "name": "Dialog",
14422
+ "module": "src/dialog/dialog.ts"
14423
+ }
14424
+ },
14425
+ {
14426
+ "kind": "js",
14427
+ "name": "foundationDialog",
14428
+ "declaration": {
14429
+ "name": "foundationDialog",
14430
+ "module": "src/dialog/dialog.ts"
14619
14431
  }
14620
14432
  }
14621
14433
  ]
14622
14434
  },
14623
14435
  {
14624
14436
  "kind": "javascript-module",
14625
- "path": "src/disclosure/index.ts",
14437
+ "path": "src/dialog/dialog.types.ts",
14438
+ "declarations": [],
14439
+ "exports": []
14440
+ },
14441
+ {
14442
+ "kind": "javascript-module",
14443
+ "path": "src/dialog/index.ts",
14626
14444
  "declarations": [],
14627
14445
  "exports": [
14628
14446
  {
@@ -14630,7 +14448,7 @@
14630
14448
  "name": "*",
14631
14449
  "declaration": {
14632
14450
  "name": "*",
14633
- "package": "./disclosure.template"
14451
+ "package": "./dialog.styles"
14634
14452
  }
14635
14453
  },
14636
14454
  {
@@ -14638,7 +14456,7 @@
14638
14456
  "name": "*",
14639
14457
  "declaration": {
14640
14458
  "name": "*",
14641
- "package": "./disclosure.styles"
14459
+ "package": "./dialog.template"
14642
14460
  }
14643
14461
  },
14644
14462
  {
@@ -14646,7 +14464,7 @@
14646
14464
  "name": "*",
14647
14465
  "declaration": {
14648
14466
  "name": "*",
14649
- "package": "./disclosure"
14467
+ "package": "./dialog"
14650
14468
  }
14651
14469
  }
14652
14470
  ]
@@ -15298,6 +15116,188 @@
15298
15116
  }
15299
15117
  ]
15300
15118
  },
15119
+ {
15120
+ "kind": "javascript-module",
15121
+ "path": "src/disclosure/disclosure.styles.ts",
15122
+ "declarations": [
15123
+ {
15124
+ "kind": "function",
15125
+ "name": "foundationDisclosureStyles",
15126
+ "return": {
15127
+ "type": {
15128
+ "text": "ElementStyles"
15129
+ }
15130
+ },
15131
+ "parameters": [
15132
+ {
15133
+ "name": "context",
15134
+ "type": {
15135
+ "text": "ElementDefinitionContext"
15136
+ }
15137
+ },
15138
+ {
15139
+ "name": "definition",
15140
+ "type": {
15141
+ "text": "FoundationElementDefinition"
15142
+ }
15143
+ }
15144
+ ]
15145
+ }
15146
+ ],
15147
+ "exports": [
15148
+ {
15149
+ "kind": "js",
15150
+ "name": "foundationDisclosureStyles",
15151
+ "declaration": {
15152
+ "name": "foundationDisclosureStyles",
15153
+ "module": "src/disclosure/disclosure.styles.ts"
15154
+ }
15155
+ }
15156
+ ]
15157
+ },
15158
+ {
15159
+ "kind": "javascript-module",
15160
+ "path": "src/disclosure/disclosure.template.ts",
15161
+ "declarations": [
15162
+ {
15163
+ "kind": "function",
15164
+ "name": "foundationDisclosureTemplate",
15165
+ "return": {
15166
+ "type": {
15167
+ "text": "ViewTemplate<Disclosure>"
15168
+ }
15169
+ },
15170
+ "parameters": [
15171
+ {
15172
+ "name": "context",
15173
+ "type": {
15174
+ "text": "ElementDefinitionContext"
15175
+ }
15176
+ },
15177
+ {
15178
+ "name": "definition",
15179
+ "type": {
15180
+ "text": "FoundationElementDefinition"
15181
+ }
15182
+ }
15183
+ ]
15184
+ }
15185
+ ],
15186
+ "exports": [
15187
+ {
15188
+ "kind": "js",
15189
+ "name": "foundationDisclosureTemplate",
15190
+ "declaration": {
15191
+ "name": "foundationDisclosureTemplate",
15192
+ "module": "src/disclosure/disclosure.template.ts"
15193
+ }
15194
+ }
15195
+ ]
15196
+ },
15197
+ {
15198
+ "kind": "javascript-module",
15199
+ "path": "src/disclosure/disclosure.ts",
15200
+ "declarations": [
15201
+ {
15202
+ "kind": "class",
15203
+ "description": "",
15204
+ "name": "Disclosure",
15205
+ "superclass": {
15206
+ "name": "FASTDisclosure",
15207
+ "package": "@microsoft/fast-foundation"
15208
+ },
15209
+ "tagName": "%%prefix%%-disclosure",
15210
+ "customElement": true
15211
+ },
15212
+ {
15213
+ "kind": "variable",
15214
+ "name": "foundationDisclosureShadowOptions",
15215
+ "type": {
15216
+ "text": "ShadowRootInit"
15217
+ },
15218
+ "default": "undefined"
15219
+ },
15220
+ {
15221
+ "kind": "variable",
15222
+ "name": "defaultDisclosureConfig",
15223
+ "type": {
15224
+ "text": "object"
15225
+ },
15226
+ "default": "{}"
15227
+ },
15228
+ {
15229
+ "kind": "variable",
15230
+ "name": "foundationDisclosure",
15231
+ "description": "The Foundation Disclosure",
15232
+ "privacy": "public"
15233
+ }
15234
+ ],
15235
+ "exports": [
15236
+ {
15237
+ "kind": "js",
15238
+ "name": "Disclosure",
15239
+ "declaration": {
15240
+ "name": "Disclosure",
15241
+ "module": "src/disclosure/disclosure.ts"
15242
+ }
15243
+ },
15244
+ {
15245
+ "kind": "js",
15246
+ "name": "foundationDisclosureShadowOptions",
15247
+ "declaration": {
15248
+ "name": "foundationDisclosureShadowOptions",
15249
+ "module": "src/disclosure/disclosure.ts"
15250
+ }
15251
+ },
15252
+ {
15253
+ "kind": "js",
15254
+ "name": "defaultDisclosureConfig",
15255
+ "declaration": {
15256
+ "name": "defaultDisclosureConfig",
15257
+ "module": "src/disclosure/disclosure.ts"
15258
+ }
15259
+ },
15260
+ {
15261
+ "kind": "js",
15262
+ "name": "foundationDisclosure",
15263
+ "declaration": {
15264
+ "name": "foundationDisclosure",
15265
+ "module": "src/disclosure/disclosure.ts"
15266
+ }
15267
+ }
15268
+ ]
15269
+ },
15270
+ {
15271
+ "kind": "javascript-module",
15272
+ "path": "src/disclosure/index.ts",
15273
+ "declarations": [],
15274
+ "exports": [
15275
+ {
15276
+ "kind": "js",
15277
+ "name": "*",
15278
+ "declaration": {
15279
+ "name": "*",
15280
+ "package": "./disclosure.template"
15281
+ }
15282
+ },
15283
+ {
15284
+ "kind": "js",
15285
+ "name": "*",
15286
+ "declaration": {
15287
+ "name": "*",
15288
+ "package": "./disclosure.styles"
15289
+ }
15290
+ },
15291
+ {
15292
+ "kind": "js",
15293
+ "name": "*",
15294
+ "declaration": {
15295
+ "name": "*",
15296
+ "package": "./disclosure"
15297
+ }
15298
+ }
15299
+ ]
15300
+ },
15301
15301
  {
15302
15302
  "kind": "javascript-module",
15303
15303
  "path": "src/error-banner/error-banner.template.ts",
@@ -23749,7 +23749,7 @@
23749
23749
  {
23750
23750
  "kind": "variable",
23751
23751
  "name": "multiselectStyles",
23752
- "default": "css`\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: rgb(241 241 241);\n min-height: 40px;\n padding: 0 calc(var(--design-unit) * 2.25px);\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: 30%;\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid rgb(231 232 232);\n }\n\n button {\n pointer-events: none;\n }\n\n .indicator {\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n }\n\n #arrow-icon {\n width: 16px;\n fill: white;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .disabled-svg {\n pointer-events: none;\n opacity: 30%;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n .checkbox-container zero-checkbox {\n min-width: fit-content;\n }\n\n .checkbox-container zero-checkbox[disabled],\n .checkbox-container foundation-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${maxheight.toString()}px;\n }\n\n ::slotted(foundation-checkbox),\n foundation-checkbox {\n border-bottom: 1px solid rgb(46 48 52);\n padding: 5px 0 5px 5px;\n margin: 0;\n }\n\n ::slotted(foundation-checkbox:hover),\n foundation-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n ::slotted(foundation-checkbox)::part(label),\n foundation-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n`"
23752
+ "default": "css`\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: rgb(241 241 241);\n min-height: 40px;\n padding: 0 calc(var(--design-unit) * 2.25px);\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: 30%;\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid rgb(231 232 232);\n }\n\n button {\n pointer-events: none;\n }\n\n .indicator {\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n }\n\n #arrow-icon {\n width: 16px;\n fill: white;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .disabled-svg {\n pointer-events: none;\n opacity: 30%;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: var(--neutral-layer-2) var(--neutral-layer-4);\n }\n\n .checkbox-container zero-checkbox {\n min-width: fit-content;\n }\n\n .checkbox-container zero-checkbox[disabled],\n .checkbox-container foundation-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-4);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: var(--neutral-layer-2);\n border: 3px solid var(--neutral-layer-4);\n }\n\n .visible {\n visibility: visible;\n max-height: ${maxheight.toString()}px;\n }\n\n ::slotted(foundation-checkbox),\n foundation-checkbox {\n border-bottom: 1px solid var(--neutral-layer-4);\n padding: 5px 0 5px 5px;\n margin: 0;\n }\n\n ::slotted(foundation-checkbox:hover),\n foundation-checkbox:hover {\n background-color: var(--neutral-layer-3);\n cursor: pointer;\n }\n\n ::slotted(foundation-checkbox)::part(label),\n foundation-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n`"
23753
23753
  }
23754
23754
  ],
23755
23755
  "exports": [