@nectary/components 3.3.1 → 3.3.2
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/{lib/esm/dialog → dialog}/index.js +0 -2
- package/{lib/cjs/input → input}/types.d.ts +2 -0
- package/{lib/esm/input → input}/utils.d.ts +1 -1
- package/package.json +11 -38
- package/{lib/esm/persistent-overlay → persistent-overlay}/index.d.ts +0 -1
- package/{lib/esm/persistent-overlay → persistent-overlay}/index.js +0 -1
- package/standalone.ts +89 -0
- package/{lib/esm/utils → utils}/element.js +1 -1
- package/lib/cjs/accordion/index.js +0 -88
- package/lib/cjs/accordion/types.js +0 -1
- package/lib/cjs/accordion-item/index.js +0 -97
- package/lib/cjs/accordion-item/types.js +0 -1
- package/lib/cjs/accordion-item/utils.js +0 -7
- package/lib/cjs/action-menu/index.js +0 -197
- package/lib/cjs/action-menu/types.js +0 -1
- package/lib/cjs/action-menu-option/index.js +0 -84
- package/lib/cjs/action-menu-option/types.js +0 -1
- package/lib/cjs/action-menu-option/utils.js +0 -10
- package/lib/cjs/alert/index.js +0 -50
- package/lib/cjs/alert/types.js +0 -1
- package/lib/cjs/alert/utils.js +0 -7
- package/lib/cjs/avatar/index.js +0 -96
- package/lib/cjs/avatar/types.js +0 -1
- package/lib/cjs/avatar/utils.js +0 -15
- package/lib/cjs/badge/index.js +0 -116
- package/lib/cjs/badge/types.js +0 -1
- package/lib/cjs/badge/utils.js +0 -7
- package/lib/cjs/button/index.js +0 -184
- package/lib/cjs/button/types.js +0 -1
- package/lib/cjs/button/utils.js +0 -7
- package/lib/cjs/button-group/index.js +0 -51
- package/lib/cjs/button-group/types.js +0 -1
- package/lib/cjs/button-group-item/index.js +0 -81
- package/lib/cjs/button-group-item/types.js +0 -1
- package/lib/cjs/card/index.js +0 -135
- package/lib/cjs/card/types.js +0 -1
- package/lib/cjs/card-container/index.js +0 -13
- package/lib/cjs/card-container/types.js +0 -1
- package/lib/cjs/checkbox/index.js +0 -128
- package/lib/cjs/checkbox/types.js +0 -1
- package/lib/cjs/chip/index.js +0 -146
- package/lib/cjs/chip/types.js +0 -1
- package/lib/cjs/chip/utils.js +0 -14
- package/lib/cjs/code-tag/index.js +0 -33
- package/lib/cjs/code-tag/types.js +0 -1
- package/lib/cjs/color-menu/index.js +0 -310
- package/lib/cjs/color-menu/types.js +0 -1
- package/lib/cjs/color-menu/utils.js +0 -18
- package/lib/cjs/color-menu-option/index.js +0 -50
- package/lib/cjs/color-menu-option/types.js +0 -1
- package/lib/cjs/color-menu-option/utils.js +0 -18
- package/lib/cjs/color-swatch/index.js +0 -56
- package/lib/cjs/color-swatch/types.js +0 -1
- package/lib/cjs/color-swatch/utils.js +0 -14
- package/lib/cjs/date-picker/index.js +0 -382
- package/lib/cjs/date-picker/types.js +0 -1
- package/lib/cjs/date-picker/utils.js +0 -171
- package/lib/cjs/dialog/index.js +0 -152
- package/lib/cjs/dialog/types.js +0 -1
- package/lib/cjs/dialog/utils.js +0 -26
- package/lib/cjs/emoji/index.js +0 -48
- package/lib/cjs/emoji/types.js +0 -1
- package/lib/cjs/emoji/utils.js +0 -56
- package/lib/cjs/emoji-picker/index.js +0 -310
- package/lib/cjs/emoji-picker/types.js +0 -1
- package/lib/cjs/field/index.js +0 -122
- package/lib/cjs/field/types.js +0 -1
- package/lib/cjs/file-drop/index.js +0 -207
- package/lib/cjs/file-drop/types.js +0 -1
- package/lib/cjs/file-drop/utils.js +0 -39
- package/lib/cjs/file-picker/index.js +0 -105
- package/lib/cjs/file-picker/types.js +0 -1
- package/lib/cjs/file-picker/utils.js +0 -15
- package/lib/cjs/file-status/index.js +0 -63
- package/lib/cjs/file-status/types.js +0 -1
- package/lib/cjs/file-status/utils.js +0 -7
- package/lib/cjs/flag/index.js +0 -48
- package/lib/cjs/flag/types.js +0 -1
- package/lib/cjs/flag/utils.js +0 -24
- package/lib/cjs/grid/index.js +0 -13
- package/lib/cjs/grid/types.js +0 -1
- package/lib/cjs/grid-item/index.js +0 -37
- package/lib/cjs/grid-item/types.js +0 -1
- package/lib/cjs/help-tooltip/index.js +0 -76
- package/lib/cjs/help-tooltip/types.js +0 -1
- package/lib/cjs/horizontal-stepper/index.js +0 -63
- package/lib/cjs/horizontal-stepper/types.js +0 -1
- package/lib/cjs/horizontal-stepper-item/index.js +0 -63
- package/lib/cjs/horizontal-stepper-item/types.js +0 -1
- package/lib/cjs/horizontal-stepper-item/utils.js +0 -7
- package/lib/cjs/icon/index.js +0 -34
- package/lib/cjs/icon/types.js +0 -1
- package/lib/cjs/imports.d.js +0 -1
- package/lib/cjs/imports.d.ts +0 -9
- package/lib/cjs/inline-alert/index.js +0 -85
- package/lib/cjs/inline-alert/types.js +0 -1
- package/lib/cjs/inline-alert/utils.js +0 -7
- package/lib/cjs/input/index.js +0 -644
- package/lib/cjs/input/types.js +0 -1
- package/lib/cjs/input/utils.d.ts +0 -26
- package/lib/cjs/input/utils.js +0 -317
- package/lib/cjs/link/index.js +0 -152
- package/lib/cjs/link/types.js +0 -1
- package/lib/cjs/list/index.js +0 -16
- package/lib/cjs/list/types.js +0 -1
- package/lib/cjs/list-item/index.js +0 -16
- package/lib/cjs/list-item/types.js +0 -1
- package/lib/cjs/pagination/index.js +0 -149
- package/lib/cjs/pagination/types.js +0 -1
- package/lib/cjs/persistent-overlay/index.d.ts +0 -15
- package/lib/cjs/persistent-overlay/index.js +0 -106
- package/lib/cjs/persistent-overlay/types.js +0 -1
- package/lib/cjs/pop/index.js +0 -427
- package/lib/cjs/pop/types.js +0 -1
- package/lib/cjs/pop/utils.js +0 -24
- package/lib/cjs/popover/index.js +0 -148
- package/lib/cjs/popover/types.js +0 -1
- package/lib/cjs/popover/utils.js +0 -17
- package/lib/cjs/progress/index.js +0 -60
- package/lib/cjs/progress/types.js +0 -1
- package/lib/cjs/progress-stepper/index.js +0 -208
- package/lib/cjs/progress-stepper/types.js +0 -1
- package/lib/cjs/progress-stepper-item/index.js +0 -84
- package/lib/cjs/progress-stepper-item/types.js +0 -1
- package/lib/cjs/progress-stepper-item/utils.js +0 -25
- package/lib/cjs/radio/index.js +0 -156
- package/lib/cjs/radio/types.js +0 -1
- package/lib/cjs/radio-option/index.js +0 -81
- package/lib/cjs/radio-option/types.js +0 -1
- package/lib/cjs/rich-text/index.js +0 -77
- package/lib/cjs/rich-text/types.js +0 -1
- package/lib/cjs/rich-text/utils.js +0 -117
- package/lib/cjs/rich-textarea/index.js +0 -466
- package/lib/cjs/rich-textarea/types.js +0 -1
- package/lib/cjs/rich-textarea/utils.js +0 -1754
- package/lib/cjs/segment/index.js +0 -111
- package/lib/cjs/segment/types.js +0 -1
- package/lib/cjs/segment/utils.js +0 -23
- package/lib/cjs/segment-collapse/index.js +0 -61
- package/lib/cjs/segment-collapse/types.js +0 -1
- package/lib/cjs/segmented-control/index.js +0 -87
- package/lib/cjs/segmented-control/types.js +0 -1
- package/lib/cjs/segmented-control-option/index.js +0 -97
- package/lib/cjs/segmented-control-option/types.js +0 -1
- package/lib/cjs/segmented-icon-control/index.js +0 -103
- package/lib/cjs/segmented-icon-control/types.js +0 -1
- package/lib/cjs/segmented-icon-control-option/index.js +0 -84
- package/lib/cjs/segmented-icon-control-option/types.js +0 -1
- package/lib/cjs/select-button/index.js +0 -204
- package/lib/cjs/select-button/types.js +0 -1
- package/lib/cjs/select-menu/index.js +0 -366
- package/lib/cjs/select-menu/types.js +0 -1
- package/lib/cjs/select-menu-option/index.js +0 -72
- package/lib/cjs/select-menu-option/types.js +0 -1
- package/lib/cjs/skeleton/index.js +0 -110
- package/lib/cjs/skeleton/types.js +0 -1
- package/lib/cjs/skeleton-item/index.js +0 -13
- package/lib/cjs/skeleton-item/types.js +0 -1
- package/lib/cjs/spinner/index.js +0 -60
- package/lib/cjs/spinner/types.js +0 -1
- package/lib/cjs/standalone.js +0 -85
- package/lib/cjs/stop-events/index.js +0 -29
- package/lib/cjs/table/index.js +0 -16
- package/lib/cjs/table/types.js +0 -1
- package/lib/cjs/table-body/index.js +0 -16
- package/lib/cjs/table-body/types.js +0 -1
- package/lib/cjs/table-cell/index.js +0 -23
- package/lib/cjs/table-cell/types.js +0 -1
- package/lib/cjs/table-cell/utils.js +0 -7
- package/lib/cjs/table-head/index.js +0 -16
- package/lib/cjs/table-head/types.js +0 -1
- package/lib/cjs/table-head-cell/index.js +0 -59
- package/lib/cjs/table-head-cell/types.js +0 -1
- package/lib/cjs/table-row/index.js +0 -44
- package/lib/cjs/table-row/types.js +0 -1
- package/lib/cjs/tabs/index.js +0 -82
- package/lib/cjs/tabs/types.js +0 -1
- package/lib/cjs/tabs-icon-option/index.js +0 -81
- package/lib/cjs/tabs-icon-option/types.js +0 -1
- package/lib/cjs/tabs-option/index.js +0 -88
- package/lib/cjs/tabs-option/types.js +0 -1
- package/lib/cjs/tag/index.js +0 -86
- package/lib/cjs/tag/types.js +0 -1
- package/lib/cjs/tag/utils.js +0 -14
- package/lib/cjs/text/index.js +0 -66
- package/lib/cjs/text/types.js +0 -1
- package/lib/cjs/text/utils.js +0 -7
- package/lib/cjs/textarea/index.js +0 -324
- package/lib/cjs/textarea/types.js +0 -1
- package/lib/cjs/tile-control/index.js +0 -112
- package/lib/cjs/tile-control/types.js +0 -1
- package/lib/cjs/tile-control-option/index.js +0 -100
- package/lib/cjs/tile-control-option/types.js +0 -1
- package/lib/cjs/time-picker/index.js +0 -338
- package/lib/cjs/time-picker/types.js +0 -1
- package/lib/cjs/time-picker/utils.js +0 -89
- package/lib/cjs/title/index.js +0 -62
- package/lib/cjs/title/types.js +0 -1
- package/lib/cjs/title/utils.js +0 -24
- package/lib/cjs/toast/index.js +0 -88
- package/lib/cjs/toast/types.js +0 -1
- package/lib/cjs/toast/utils.js +0 -7
- package/lib/cjs/toast-manager/index.js +0 -172
- package/lib/cjs/toast-manager/types.js +0 -1
- package/lib/cjs/toast-manager/utils.js +0 -7
- package/lib/cjs/toggle/index.js +0 -143
- package/lib/cjs/toggle/types.js +0 -1
- package/lib/cjs/tooltip/index.js +0 -277
- package/lib/cjs/tooltip/tooltip-state.js +0 -133
- package/lib/cjs/tooltip/types.js +0 -1
- package/lib/cjs/tooltip/utils.js +0 -25
- package/lib/cjs/types.d.js +0 -1
- package/lib/cjs/utils/context.js +0 -92
- package/lib/cjs/utils/countries.js +0 -9
- package/lib/cjs/utils/csv.js +0 -32
- package/lib/cjs/utils/debounce.js +0 -29
- package/lib/cjs/utils/dom.js +0 -183
- package/lib/cjs/utils/element.js +0 -58
- package/lib/cjs/utils/event-target.js +0 -36
- package/lib/cjs/utils/get-react-event-handler.js +0 -15
- package/lib/cjs/utils/index.js +0 -137
- package/lib/cjs/utils/markdown.js +0 -151
- package/lib/cjs/utils/rect.js +0 -37
- package/lib/cjs/utils/size.js +0 -9
- package/lib/cjs/utils/slot.js +0 -47
- package/lib/cjs/utils/throttle.js +0 -26
- package/lib/cjs/utils/uid.js +0 -20
- package/lib/cjs/vertical-stepper/index.js +0 -59
- package/lib/cjs/vertical-stepper/types.js +0 -1
- package/lib/cjs/vertical-stepper-item/index.js +0 -63
- package/lib/cjs/vertical-stepper-item/types.js +0 -1
- package/lib/cjs/vertical-stepper-item/utils.js +0 -7
- package/lib/esm/accordion/index.d.ts +0 -11
- package/lib/esm/accordion/types.d.ts +0 -21
- package/lib/esm/accordion-item/index.d.ts +0 -14
- package/lib/esm/accordion-item/types.d.ts +0 -36
- package/lib/esm/accordion-item/utils.d.ts +0 -2
- package/lib/esm/action-menu/index.d.ts +0 -11
- package/lib/esm/action-menu/types.d.ts +0 -13
- package/lib/esm/action-menu-option/index.d.ts +0 -12
- package/lib/esm/action-menu-option/types.d.ts +0 -23
- package/lib/esm/action-menu-option/utils.d.ts +0 -2
- package/lib/esm/alert/index.d.ts +0 -14
- package/lib/esm/alert/types.d.ts +0 -18
- package/lib/esm/alert/utils.d.ts +0 -2
- package/lib/esm/avatar/index.d.ts +0 -11
- package/lib/esm/avatar/types.d.ts +0 -37
- package/lib/esm/avatar/utils.d.ts +0 -4
- package/lib/esm/badge/index.d.ts +0 -11
- package/lib/esm/badge/types.d.ts +0 -34
- package/lib/esm/badge/utils.d.ts +0 -2
- package/lib/esm/button/index.d.ts +0 -11
- package/lib/esm/button/types.d.ts +0 -53
- package/lib/esm/button/utils.d.ts +0 -2
- package/lib/esm/button-group/index.d.ts +0 -11
- package/lib/esm/button-group/types.d.ts +0 -11
- package/lib/esm/button-group-item/index.d.ts +0 -11
- package/lib/esm/button-group-item/types.d.ts +0 -18
- package/lib/esm/card/index.d.ts +0 -13
- package/lib/esm/card/types.d.ts +0 -28
- package/lib/esm/card-container/index.d.ts +0 -11
- package/lib/esm/card-container/types.d.ts +0 -3
- package/lib/esm/checkbox/index.d.ts +0 -11
- package/lib/esm/checkbox/types.d.ts +0 -49
- package/lib/esm/chip/index.d.ts +0 -13
- package/lib/esm/chip/types.d.ts +0 -37
- package/lib/esm/chip/utils.d.ts +0 -2
- package/lib/esm/code-tag/index.d.ts +0 -11
- package/lib/esm/code-tag/types.d.ts +0 -11
- package/lib/esm/color-menu/index.d.ts +0 -11
- package/lib/esm/color-menu/types.d.ts +0 -32
- package/lib/esm/color-menu/utils.d.ts +0 -1
- package/lib/esm/color-menu-option/index.d.ts +0 -13
- package/lib/esm/color-menu-option/types.d.ts +0 -11
- package/lib/esm/color-menu-option/utils.d.ts +0 -1
- package/lib/esm/color-swatch/index.d.ts +0 -12
- package/lib/esm/color-swatch/types.d.ts +0 -11
- package/lib/esm/color-swatch/utils.d.ts +0 -2
- package/lib/esm/colors.json +0 -88
- package/lib/esm/date-picker/index.d.ts +0 -13
- package/lib/esm/date-picker/types.d.ts +0 -70
- package/lib/esm/date-picker/utils.d.ts +0 -28
- package/lib/esm/dialog/index.d.ts +0 -14
- package/lib/esm/dialog/types.d.ts +0 -28
- package/lib/esm/dialog/utils.d.ts +0 -2
- package/lib/esm/emoji/index.d.ts +0 -11
- package/lib/esm/emoji/types.d.ts +0 -11
- package/lib/esm/emoji/utils.d.ts +0 -3
- package/lib/esm/emoji-picker/data.json +0 -1
- package/lib/esm/emoji-picker/index.d.ts +0 -21
- package/lib/esm/emoji-picker/types.d.ts +0 -26
- package/lib/esm/field/index.d.ts +0 -11
- package/lib/esm/field/types.d.ts +0 -35
- package/lib/esm/file-drop/index.d.ts +0 -13
- package/lib/esm/file-drop/types.d.ts +0 -50
- package/lib/esm/file-drop/utils.d.ts +0 -2
- package/lib/esm/file-picker/index.d.ts +0 -11
- package/lib/esm/file-picker/types.d.ts +0 -32
- package/lib/esm/file-picker/utils.d.ts +0 -1
- package/lib/esm/file-status/index.d.ts +0 -14
- package/lib/esm/file-status/types.d.ts +0 -18
- package/lib/esm/file-status/utils.d.ts +0 -2
- package/lib/esm/flag/index.d.ts +0 -11
- package/lib/esm/flag/types.d.ts +0 -11
- package/lib/esm/flag/utils.d.ts +0 -1
- package/lib/esm/grid/index.d.ts +0 -11
- package/lib/esm/grid/types.d.ts +0 -3
- package/lib/esm/grid-item/index.d.ts +0 -11
- package/lib/esm/grid-item/types.d.ts +0 -17
- package/lib/esm/help-tooltip/index.d.ts +0 -13
- package/lib/esm/help-tooltip/types.d.ts +0 -3
- package/lib/esm/horizontal-stepper/index.d.ts +0 -11
- package/lib/esm/horizontal-stepper/types.d.ts +0 -13
- package/lib/esm/horizontal-stepper-item/index.d.ts +0 -14
- package/lib/esm/horizontal-stepper-item/types.d.ts +0 -24
- package/lib/esm/horizontal-stepper-item/utils.d.ts +0 -2
- package/lib/esm/icon/index.d.ts +0 -11
- package/lib/esm/icon/types.d.ts +0 -11
- package/lib/esm/imports.d.js +0 -0
- package/lib/esm/imports.d.ts +0 -9
- package/lib/esm/inline-alert/index.d.ts +0 -15
- package/lib/esm/inline-alert/types.d.ts +0 -15
- package/lib/esm/inline-alert/utils.d.ts +0 -2
- package/lib/esm/input/index.d.ts +0 -11
- package/lib/esm/input/types.d.ts +0 -86
- package/lib/esm/link/index.d.ts +0 -12
- package/lib/esm/link/types.d.ts +0 -59
- package/lib/esm/list/index.d.ts +0 -11
- package/lib/esm/list/types.d.ts +0 -3
- package/lib/esm/list-item/index.d.ts +0 -11
- package/lib/esm/list-item/types.d.ts +0 -3
- package/lib/esm/pagination/index.d.ts +0 -12
- package/lib/esm/pagination/types.d.ts +0 -16
- package/lib/esm/persistent-overlay/types.d.ts +0 -22
- package/lib/esm/pop/index.d.ts +0 -11
- package/lib/esm/pop/types.d.ts +0 -35
- package/lib/esm/pop/utils.d.ts +0 -4
- package/lib/esm/popover/index.d.ts +0 -12
- package/lib/esm/popover/types.d.ts +0 -38
- package/lib/esm/popover/utils.d.ts +0 -4
- package/lib/esm/progress/index.d.ts +0 -12
- package/lib/esm/progress/types.d.ts +0 -12
- package/lib/esm/progress-stepper/index.d.ts +0 -11
- package/lib/esm/progress-stepper/types.d.ts +0 -22
- package/lib/esm/progress-stepper-item/index.d.ts +0 -12
- package/lib/esm/progress-stepper-item/types.d.ts +0 -23
- package/lib/esm/progress-stepper-item/utils.d.ts +0 -11
- package/lib/esm/radio/index.d.ts +0 -11
- package/lib/esm/radio/types.d.ts +0 -14
- package/lib/esm/radio-option/index.d.ts +0 -11
- package/lib/esm/radio-option/types.d.ts +0 -18
- package/lib/esm/rich-text/index.d.ts +0 -14
- package/lib/esm/rich-text/types.d.ts +0 -12
- package/lib/esm/rich-text/utils.d.ts +0 -7
- package/lib/esm/rich-textarea/index.d.ts +0 -11
- package/lib/esm/rich-textarea/types.d.ts +0 -48
- package/lib/esm/rich-textarea/utils.d.ts +0 -39
- package/lib/esm/segment/index.d.ts +0 -12
- package/lib/esm/segment/types.d.ts +0 -16
- package/lib/esm/segment/utils.d.ts +0 -3
- package/lib/esm/segment-collapse/index.d.ts +0 -12
- package/lib/esm/segment-collapse/types.d.ts +0 -11
- package/lib/esm/segmented-control/index.d.ts +0 -11
- package/lib/esm/segmented-control/types.d.ts +0 -11
- package/lib/esm/segmented-control-option/index.d.ts +0 -11
- package/lib/esm/segmented-control-option/types.d.ts +0 -19
- package/lib/esm/segmented-icon-control/index.d.ts +0 -11
- package/lib/esm/segmented-icon-control/types.d.ts +0 -14
- package/lib/esm/segmented-icon-control-option/index.d.ts +0 -11
- package/lib/esm/segmented-icon-control-option/types.d.ts +0 -16
- package/lib/esm/select-button/index.d.ts +0 -13
- package/lib/esm/select-button/types.d.ts +0 -50
- package/lib/esm/select-menu/index.d.ts +0 -14
- package/lib/esm/select-menu/types.d.ts +0 -45
- package/lib/esm/select-menu-option/index.d.ts +0 -28
- package/lib/esm/select-menu-option/types.d.ts +0 -26
- package/lib/esm/skeleton/index.d.ts +0 -11
- package/lib/esm/skeleton/types.d.ts +0 -9
- package/lib/esm/skeleton-item/index.d.ts +0 -11
- package/lib/esm/skeleton-item/types.d.ts +0 -13
- package/lib/esm/spinner/index.d.ts +0 -11
- package/lib/esm/spinner/types.d.ts +0 -12
- package/lib/esm/standalone.d.ts +0 -81
- package/lib/esm/stop-events/index.d.ts +0 -1
- package/lib/esm/table/index.d.ts +0 -11
- package/lib/esm/table/types.d.ts +0 -3
- package/lib/esm/table-body/index.d.ts +0 -11
- package/lib/esm/table-body/types.d.ts +0 -3
- package/lib/esm/table-cell/index.d.ts +0 -11
- package/lib/esm/table-cell/types.d.ts +0 -9
- package/lib/esm/table-cell/utils.d.ts +0 -2
- package/lib/esm/table-head/index.d.ts +0 -11
- package/lib/esm/table-head/types.d.ts +0 -3
- package/lib/esm/table-head-cell/index.d.ts +0 -12
- package/lib/esm/table-head-cell/types.d.ts +0 -15
- package/lib/esm/table-row/index.d.ts +0 -11
- package/lib/esm/table-row/types.d.ts +0 -11
- package/lib/esm/tabs/index.d.ts +0 -11
- package/lib/esm/tabs/types.d.ts +0 -18
- package/lib/esm/tabs-icon-option/index.d.ts +0 -11
- package/lib/esm/tabs-icon-option/types.d.ts +0 -19
- package/lib/esm/tabs-option/index.d.ts +0 -12
- package/lib/esm/tabs-option/types.d.ts +0 -25
- package/lib/esm/tag/index.d.ts +0 -12
- package/lib/esm/tag/types.d.ts +0 -23
- package/lib/esm/tag/utils.d.ts +0 -2
- package/lib/esm/text/index.d.ts +0 -11
- package/lib/esm/text/types.d.ts +0 -30
- package/lib/esm/text/utils.d.ts +0 -2
- package/lib/esm/textarea/index.d.ts +0 -11
- package/lib/esm/textarea/types.d.ts +0 -60
- package/lib/esm/tile-control/index.d.ts +0 -11
- package/lib/esm/tile-control/types.d.ts +0 -37
- package/lib/esm/tile-control-option/index.d.ts +0 -11
- package/lib/esm/tile-control-option/types.d.ts +0 -37
- package/lib/esm/time-picker/index.d.ts +0 -14
- package/lib/esm/time-picker/types.d.ts +0 -34
- package/lib/esm/time-picker/utils.d.ts +0 -11
- package/lib/esm/title/index.d.ts +0 -11
- package/lib/esm/title/types.d.ts +0 -31
- package/lib/esm/title/utils.d.ts +0 -3
- package/lib/esm/toast/index.d.ts +0 -13
- package/lib/esm/toast/types.d.ts +0 -28
- package/lib/esm/toast/utils.d.ts +0 -2
- package/lib/esm/toast-manager/index.d.ts +0 -13
- package/lib/esm/toast-manager/types.d.ts +0 -13
- package/lib/esm/toast-manager/utils.d.ts +0 -2
- package/lib/esm/toggle/index.d.ts +0 -11
- package/lib/esm/toggle/types.d.ts +0 -23
- package/lib/esm/tooltip/index.d.ts +0 -13
- package/lib/esm/tooltip/tooltip-state.d.ts +0 -19
- package/lib/esm/tooltip/types.d.ts +0 -42
- package/lib/esm/tooltip/utils.d.ts +0 -6
- package/lib/esm/types.d.js +0 -1
- package/lib/esm/types.d.ts +0 -14
- package/lib/esm/utils/context.d.ts +0 -20
- package/lib/esm/utils/countries.d.ts +0 -6
- package/lib/esm/utils/countries.json +0 -1217
- package/lib/esm/utils/csv.d.ts +0 -5
- package/lib/esm/utils/debounce.d.ts +0 -8
- package/lib/esm/utils/dom.d.ts +0 -34
- package/lib/esm/utils/element.d.ts +0 -16
- package/lib/esm/utils/event-target.d.ts +0 -4
- package/lib/esm/utils/get-react-event-handler.d.ts +0 -1
- package/lib/esm/utils/index.d.ts +0 -12
- package/lib/esm/utils/markdown.d.ts +0 -19
- package/lib/esm/utils/rect.d.ts +0 -4
- package/lib/esm/utils/size.d.ts +0 -5
- package/lib/esm/utils/slot.d.ts +0 -4
- package/lib/esm/utils/throttle.d.ts +0 -4
- package/lib/esm/utils/uid.d.ts +0 -1
- package/lib/esm/vertical-stepper/index.d.ts +0 -11
- package/lib/esm/vertical-stepper/types.d.ts +0 -13
- package/lib/esm/vertical-stepper-item/index.d.ts +0 -14
- package/lib/esm/vertical-stepper-item/types.d.ts +0 -24
- package/lib/esm/vertical-stepper-item/utils.d.ts +0 -2
- package/lib/package.json +0 -1
- /package/{lib/cjs/accordion → accordion}/index.d.ts +0 -0
- /package/{lib/esm/accordion → accordion}/index.js +0 -0
- /package/{lib/cjs/accordion → accordion}/types.d.ts +0 -0
- /package/{lib/esm/accordion → accordion}/types.js +0 -0
- /package/{lib/cjs/accordion-item → accordion-item}/index.d.ts +0 -0
- /package/{lib/esm/accordion-item → accordion-item}/index.js +0 -0
- /package/{lib/cjs/accordion-item → accordion-item}/types.d.ts +0 -0
- /package/{lib/esm/accordion-item → accordion-item}/types.js +0 -0
- /package/{lib/cjs/accordion-item → accordion-item}/utils.d.ts +0 -0
- /package/{lib/esm/accordion-item → accordion-item}/utils.js +0 -0
- /package/{lib/cjs/action-menu → action-menu}/index.d.ts +0 -0
- /package/{lib/esm/action-menu → action-menu}/index.js +0 -0
- /package/{lib/cjs/action-menu → action-menu}/types.d.ts +0 -0
- /package/{lib/esm/action-menu → action-menu}/types.js +0 -0
- /package/{lib/cjs/action-menu-option → action-menu-option}/index.d.ts +0 -0
- /package/{lib/esm/action-menu-option → action-menu-option}/index.js +0 -0
- /package/{lib/cjs/action-menu-option → action-menu-option}/types.d.ts +0 -0
- /package/{lib/esm/action-menu-option → action-menu-option}/types.js +0 -0
- /package/{lib/cjs/action-menu-option → action-menu-option}/utils.d.ts +0 -0
- /package/{lib/esm/action-menu-option → action-menu-option}/utils.js +0 -0
- /package/{lib/cjs/alert → alert}/index.d.ts +0 -0
- /package/{lib/esm/alert → alert}/index.js +0 -0
- /package/{lib/cjs/alert → alert}/types.d.ts +0 -0
- /package/{lib/esm/alert → alert}/types.js +0 -0
- /package/{lib/cjs/alert → alert}/utils.d.ts +0 -0
- /package/{lib/esm/alert → alert}/utils.js +0 -0
- /package/{lib/cjs/avatar → avatar}/index.d.ts +0 -0
- /package/{lib/esm/avatar → avatar}/index.js +0 -0
- /package/{lib/cjs/avatar → avatar}/types.d.ts +0 -0
- /package/{lib/esm/avatar → avatar}/types.js +0 -0
- /package/{lib/cjs/avatar → avatar}/utils.d.ts +0 -0
- /package/{lib/esm/avatar → avatar}/utils.js +0 -0
- /package/{lib/cjs/badge → badge}/index.d.ts +0 -0
- /package/{lib/esm/badge → badge}/index.js +0 -0
- /package/{lib/cjs/badge → badge}/types.d.ts +0 -0
- /package/{lib/esm/badge → badge}/types.js +0 -0
- /package/{lib/cjs/badge → badge}/utils.d.ts +0 -0
- /package/{lib/esm/badge → badge}/utils.js +0 -0
- /package/{lib/cjs/button → button}/index.d.ts +0 -0
- /package/{lib/esm/button → button}/index.js +0 -0
- /package/{lib/cjs/button → button}/types.d.ts +0 -0
- /package/{lib/esm/button → button}/types.js +0 -0
- /package/{lib/cjs/button → button}/utils.d.ts +0 -0
- /package/{lib/esm/button → button}/utils.js +0 -0
- /package/{lib/cjs/button-group → button-group}/index.d.ts +0 -0
- /package/{lib/esm/button-group → button-group}/index.js +0 -0
- /package/{lib/cjs/button-group → button-group}/types.d.ts +0 -0
- /package/{lib/esm/button-group → button-group}/types.js +0 -0
- /package/{lib/cjs/button-group-item → button-group-item}/index.d.ts +0 -0
- /package/{lib/esm/button-group-item → button-group-item}/index.js +0 -0
- /package/{lib/cjs/button-group-item → button-group-item}/types.d.ts +0 -0
- /package/{lib/esm/button-group-item → button-group-item}/types.js +0 -0
- /package/{lib/cjs/card → card}/index.d.ts +0 -0
- /package/{lib/esm/card → card}/index.js +0 -0
- /package/{lib/cjs/card → card}/types.d.ts +0 -0
- /package/{lib/esm/card → card}/types.js +0 -0
- /package/{lib/cjs/card-container → card-container}/index.d.ts +0 -0
- /package/{lib/esm/card-container → card-container}/index.js +0 -0
- /package/{lib/cjs/card-container → card-container}/types.d.ts +0 -0
- /package/{lib/esm/card-container → card-container}/types.js +0 -0
- /package/{lib/cjs/checkbox → checkbox}/index.d.ts +0 -0
- /package/{lib/esm/checkbox → checkbox}/index.js +0 -0
- /package/{lib/cjs/checkbox → checkbox}/types.d.ts +0 -0
- /package/{lib/esm/checkbox → checkbox}/types.js +0 -0
- /package/{lib/cjs/chip → chip}/index.d.ts +0 -0
- /package/{lib/esm/chip → chip}/index.js +0 -0
- /package/{lib/cjs/chip → chip}/types.d.ts +0 -0
- /package/{lib/esm/chip → chip}/types.js +0 -0
- /package/{lib/cjs/chip → chip}/utils.d.ts +0 -0
- /package/{lib/esm/chip → chip}/utils.js +0 -0
- /package/{lib/cjs/code-tag → code-tag}/index.d.ts +0 -0
- /package/{lib/esm/code-tag → code-tag}/index.js +0 -0
- /package/{lib/cjs/code-tag → code-tag}/types.d.ts +0 -0
- /package/{lib/esm/code-tag → code-tag}/types.js +0 -0
- /package/{lib/cjs/color-menu → color-menu}/index.d.ts +0 -0
- /package/{lib/esm/color-menu → color-menu}/index.js +0 -0
- /package/{lib/cjs/color-menu → color-menu}/types.d.ts +0 -0
- /package/{lib/esm/color-menu → color-menu}/types.js +0 -0
- /package/{lib/cjs/color-menu → color-menu}/utils.d.ts +0 -0
- /package/{lib/esm/color-menu → color-menu}/utils.js +0 -0
- /package/{lib/cjs/color-menu-option → color-menu-option}/index.d.ts +0 -0
- /package/{lib/esm/color-menu-option → color-menu-option}/index.js +0 -0
- /package/{lib/cjs/color-menu-option → color-menu-option}/types.d.ts +0 -0
- /package/{lib/esm/color-menu-option → color-menu-option}/types.js +0 -0
- /package/{lib/cjs/color-menu-option → color-menu-option}/utils.d.ts +0 -0
- /package/{lib/esm/color-menu-option → color-menu-option}/utils.js +0 -0
- /package/{lib/cjs/color-swatch → color-swatch}/index.d.ts +0 -0
- /package/{lib/esm/color-swatch → color-swatch}/index.js +0 -0
- /package/{lib/cjs/color-swatch → color-swatch}/types.d.ts +0 -0
- /package/{lib/esm/color-swatch → color-swatch}/types.js +0 -0
- /package/{lib/cjs/color-swatch → color-swatch}/utils.d.ts +0 -0
- /package/{lib/esm/color-swatch → color-swatch}/utils.js +0 -0
- /package/{lib/cjs/colors.json → colors.json} +0 -0
- /package/{lib/cjs/date-picker → date-picker}/index.d.ts +0 -0
- /package/{lib/esm/date-picker → date-picker}/index.js +0 -0
- /package/{lib/cjs/date-picker → date-picker}/types.d.ts +0 -0
- /package/{lib/esm/date-picker → date-picker}/types.js +0 -0
- /package/{lib/cjs/date-picker → date-picker}/utils.d.ts +0 -0
- /package/{lib/esm/date-picker → date-picker}/utils.js +0 -0
- /package/{lib/cjs/dialog → dialog}/index.d.ts +0 -0
- /package/{lib/cjs/dialog → dialog}/types.d.ts +0 -0
- /package/{lib/esm/dialog → dialog}/types.js +0 -0
- /package/{lib/cjs/dialog → dialog}/utils.d.ts +0 -0
- /package/{lib/esm/dialog → dialog}/utils.js +0 -0
- /package/{lib/cjs/emoji → emoji}/index.d.ts +0 -0
- /package/{lib/esm/emoji → emoji}/index.js +0 -0
- /package/{lib/cjs/emoji → emoji}/types.d.ts +0 -0
- /package/{lib/esm/emoji → emoji}/types.js +0 -0
- /package/{lib/cjs/emoji → emoji}/utils.d.ts +0 -0
- /package/{lib/esm/emoji → emoji}/utils.js +0 -0
- /package/{lib/cjs/emoji-picker → emoji-picker}/data.json +0 -0
- /package/{lib/cjs/emoji-picker → emoji-picker}/index.d.ts +0 -0
- /package/{lib/esm/emoji-picker → emoji-picker}/index.js +0 -0
- /package/{lib/cjs/emoji-picker → emoji-picker}/types.d.ts +0 -0
- /package/{lib/esm/emoji-picker → emoji-picker}/types.js +0 -0
- /package/{lib/cjs/field → field}/index.d.ts +0 -0
- /package/{lib/esm/field → field}/index.js +0 -0
- /package/{lib/cjs/field → field}/types.d.ts +0 -0
- /package/{lib/esm/field → field}/types.js +0 -0
- /package/{lib/cjs/file-drop → file-drop}/index.d.ts +0 -0
- /package/{lib/esm/file-drop → file-drop}/index.js +0 -0
- /package/{lib/cjs/file-drop → file-drop}/types.d.ts +0 -0
- /package/{lib/esm/file-drop → file-drop}/types.js +0 -0
- /package/{lib/cjs/file-drop → file-drop}/utils.d.ts +0 -0
- /package/{lib/esm/file-drop → file-drop}/utils.js +0 -0
- /package/{lib/cjs/file-picker → file-picker}/index.d.ts +0 -0
- /package/{lib/esm/file-picker → file-picker}/index.js +0 -0
- /package/{lib/cjs/file-picker → file-picker}/types.d.ts +0 -0
- /package/{lib/esm/file-picker → file-picker}/types.js +0 -0
- /package/{lib/cjs/file-picker → file-picker}/utils.d.ts +0 -0
- /package/{lib/esm/file-picker → file-picker}/utils.js +0 -0
- /package/{lib/cjs/file-status → file-status}/index.d.ts +0 -0
- /package/{lib/esm/file-status → file-status}/index.js +0 -0
- /package/{lib/cjs/file-status → file-status}/types.d.ts +0 -0
- /package/{lib/esm/file-status → file-status}/types.js +0 -0
- /package/{lib/cjs/file-status → file-status}/utils.d.ts +0 -0
- /package/{lib/esm/file-status → file-status}/utils.js +0 -0
- /package/{lib/cjs/flag → flag}/index.d.ts +0 -0
- /package/{lib/esm/flag → flag}/index.js +0 -0
- /package/{lib/cjs/flag → flag}/types.d.ts +0 -0
- /package/{lib/esm/flag → flag}/types.js +0 -0
- /package/{lib/cjs/flag → flag}/utils.d.ts +0 -0
- /package/{lib/esm/flag → flag}/utils.js +0 -0
- /package/{lib/cjs/grid → grid}/index.d.ts +0 -0
- /package/{lib/esm/grid → grid}/index.js +0 -0
- /package/{lib/cjs/grid → grid}/types.d.ts +0 -0
- /package/{lib/esm/grid → grid}/types.js +0 -0
- /package/{lib/cjs/grid-item → grid-item}/index.d.ts +0 -0
- /package/{lib/esm/grid-item → grid-item}/index.js +0 -0
- /package/{lib/cjs/grid-item → grid-item}/types.d.ts +0 -0
- /package/{lib/esm/grid-item → grid-item}/types.js +0 -0
- /package/{lib/cjs/help-tooltip → help-tooltip}/index.d.ts +0 -0
- /package/{lib/esm/help-tooltip → help-tooltip}/index.js +0 -0
- /package/{lib/cjs/help-tooltip → help-tooltip}/types.d.ts +0 -0
- /package/{lib/esm/help-tooltip → help-tooltip}/types.js +0 -0
- /package/{lib/cjs/horizontal-stepper → horizontal-stepper}/index.d.ts +0 -0
- /package/{lib/esm/horizontal-stepper → horizontal-stepper}/index.js +0 -0
- /package/{lib/cjs/horizontal-stepper → horizontal-stepper}/types.d.ts +0 -0
- /package/{lib/esm/horizontal-stepper → horizontal-stepper}/types.js +0 -0
- /package/{lib/cjs/horizontal-stepper-item → horizontal-stepper-item}/index.d.ts +0 -0
- /package/{lib/esm/horizontal-stepper-item → horizontal-stepper-item}/index.js +0 -0
- /package/{lib/cjs/horizontal-stepper-item → horizontal-stepper-item}/types.d.ts +0 -0
- /package/{lib/esm/horizontal-stepper-item → horizontal-stepper-item}/types.js +0 -0
- /package/{lib/cjs/horizontal-stepper-item → horizontal-stepper-item}/utils.d.ts +0 -0
- /package/{lib/esm/horizontal-stepper-item → horizontal-stepper-item}/utils.js +0 -0
- /package/{lib/cjs/icon → icon}/index.d.ts +0 -0
- /package/{lib/esm/icon → icon}/index.js +0 -0
- /package/{lib/cjs/icon → icon}/types.d.ts +0 -0
- /package/{lib/esm/icon → icon}/types.js +0 -0
- /package/{lib/cjs/inline-alert → inline-alert}/index.d.ts +0 -0
- /package/{lib/esm/inline-alert → inline-alert}/index.js +0 -0
- /package/{lib/cjs/inline-alert → inline-alert}/types.d.ts +0 -0
- /package/{lib/esm/inline-alert → inline-alert}/types.js +0 -0
- /package/{lib/cjs/inline-alert → inline-alert}/utils.d.ts +0 -0
- /package/{lib/esm/inline-alert → inline-alert}/utils.js +0 -0
- /package/{lib/cjs/input → input}/index.d.ts +0 -0
- /package/{lib/esm/input → input}/index.js +0 -0
- /package/{lib/esm/input → input}/types.js +0 -0
- /package/{lib/esm/input → input}/utils.js +0 -0
- /package/{lib/cjs/link → link}/index.d.ts +0 -0
- /package/{lib/esm/link → link}/index.js +0 -0
- /package/{lib/cjs/link → link}/types.d.ts +0 -0
- /package/{lib/esm/link → link}/types.js +0 -0
- /package/{lib/cjs/list → list}/index.d.ts +0 -0
- /package/{lib/esm/list → list}/index.js +0 -0
- /package/{lib/cjs/list → list}/types.d.ts +0 -0
- /package/{lib/esm/list → list}/types.js +0 -0
- /package/{lib/cjs/list-item → list-item}/index.d.ts +0 -0
- /package/{lib/esm/list-item → list-item}/index.js +0 -0
- /package/{lib/cjs/list-item → list-item}/types.d.ts +0 -0
- /package/{lib/esm/list-item → list-item}/types.js +0 -0
- /package/{lib/cjs/pagination → pagination}/index.d.ts +0 -0
- /package/{lib/esm/pagination → pagination}/index.js +0 -0
- /package/{lib/cjs/pagination → pagination}/types.d.ts +0 -0
- /package/{lib/esm/pagination → pagination}/types.js +0 -0
- /package/{lib/cjs/persistent-overlay → persistent-overlay}/types.d.ts +0 -0
- /package/{lib/esm/persistent-overlay → persistent-overlay}/types.js +0 -0
- /package/{lib/cjs/pop → pop}/index.d.ts +0 -0
- /package/{lib/esm/pop → pop}/index.js +0 -0
- /package/{lib/cjs/pop → pop}/types.d.ts +0 -0
- /package/{lib/esm/pop → pop}/types.js +0 -0
- /package/{lib/cjs/pop → pop}/utils.d.ts +0 -0
- /package/{lib/esm/pop → pop}/utils.js +0 -0
- /package/{lib/cjs/popover → popover}/index.d.ts +0 -0
- /package/{lib/esm/popover → popover}/index.js +0 -0
- /package/{lib/cjs/popover → popover}/types.d.ts +0 -0
- /package/{lib/esm/popover → popover}/types.js +0 -0
- /package/{lib/cjs/popover → popover}/utils.d.ts +0 -0
- /package/{lib/esm/popover → popover}/utils.js +0 -0
- /package/{lib/cjs/progress → progress}/index.d.ts +0 -0
- /package/{lib/esm/progress → progress}/index.js +0 -0
- /package/{lib/cjs/progress → progress}/types.d.ts +0 -0
- /package/{lib/esm/progress → progress}/types.js +0 -0
- /package/{lib/cjs/progress-stepper → progress-stepper}/index.d.ts +0 -0
- /package/{lib/esm/progress-stepper → progress-stepper}/index.js +0 -0
- /package/{lib/cjs/progress-stepper → progress-stepper}/types.d.ts +0 -0
- /package/{lib/esm/progress-stepper → progress-stepper}/types.js +0 -0
- /package/{lib/cjs/progress-stepper-item → progress-stepper-item}/index.d.ts +0 -0
- /package/{lib/esm/progress-stepper-item → progress-stepper-item}/index.js +0 -0
- /package/{lib/cjs/progress-stepper-item → progress-stepper-item}/types.d.ts +0 -0
- /package/{lib/esm/progress-stepper-item → progress-stepper-item}/types.js +0 -0
- /package/{lib/cjs/progress-stepper-item → progress-stepper-item}/utils.d.ts +0 -0
- /package/{lib/esm/progress-stepper-item → progress-stepper-item}/utils.js +0 -0
- /package/{lib/cjs/radio → radio}/index.d.ts +0 -0
- /package/{lib/esm/radio → radio}/index.js +0 -0
- /package/{lib/cjs/radio → radio}/types.d.ts +0 -0
- /package/{lib/esm/radio → radio}/types.js +0 -0
- /package/{lib/cjs/radio-option → radio-option}/index.d.ts +0 -0
- /package/{lib/esm/radio-option → radio-option}/index.js +0 -0
- /package/{lib/cjs/radio-option → radio-option}/types.d.ts +0 -0
- /package/{lib/esm/radio-option → radio-option}/types.js +0 -0
- /package/{lib/cjs/rich-text → rich-text}/index.d.ts +0 -0
- /package/{lib/esm/rich-text → rich-text}/index.js +0 -0
- /package/{lib/cjs/rich-text → rich-text}/types.d.ts +0 -0
- /package/{lib/esm/rich-text → rich-text}/types.js +0 -0
- /package/{lib/cjs/rich-text → rich-text}/utils.d.ts +0 -0
- /package/{lib/esm/rich-text → rich-text}/utils.js +0 -0
- /package/{lib/cjs/rich-textarea → rich-textarea}/index.d.ts +0 -0
- /package/{lib/esm/rich-textarea → rich-textarea}/index.js +0 -0
- /package/{lib/cjs/rich-textarea → rich-textarea}/types.d.ts +0 -0
- /package/{lib/esm/rich-textarea → rich-textarea}/types.js +0 -0
- /package/{lib/cjs/rich-textarea → rich-textarea}/utils.d.ts +0 -0
- /package/{lib/esm/rich-textarea → rich-textarea}/utils.js +0 -0
- /package/{lib/cjs/segment → segment}/index.d.ts +0 -0
- /package/{lib/esm/segment → segment}/index.js +0 -0
- /package/{lib/cjs/segment → segment}/types.d.ts +0 -0
- /package/{lib/esm/segment → segment}/types.js +0 -0
- /package/{lib/cjs/segment → segment}/utils.d.ts +0 -0
- /package/{lib/esm/segment → segment}/utils.js +0 -0
- /package/{lib/cjs/segment-collapse → segment-collapse}/index.d.ts +0 -0
- /package/{lib/esm/segment-collapse → segment-collapse}/index.js +0 -0
- /package/{lib/cjs/segment-collapse → segment-collapse}/types.d.ts +0 -0
- /package/{lib/esm/segment-collapse → segment-collapse}/types.js +0 -0
- /package/{lib/cjs/segmented-control → segmented-control}/index.d.ts +0 -0
- /package/{lib/esm/segmented-control → segmented-control}/index.js +0 -0
- /package/{lib/cjs/segmented-control → segmented-control}/types.d.ts +0 -0
- /package/{lib/esm/segmented-control → segmented-control}/types.js +0 -0
- /package/{lib/cjs/segmented-control-option → segmented-control-option}/index.d.ts +0 -0
- /package/{lib/esm/segmented-control-option → segmented-control-option}/index.js +0 -0
- /package/{lib/cjs/segmented-control-option → segmented-control-option}/types.d.ts +0 -0
- /package/{lib/esm/segmented-control-option → segmented-control-option}/types.js +0 -0
- /package/{lib/cjs/segmented-icon-control → segmented-icon-control}/index.d.ts +0 -0
- /package/{lib/esm/segmented-icon-control → segmented-icon-control}/index.js +0 -0
- /package/{lib/cjs/segmented-icon-control → segmented-icon-control}/types.d.ts +0 -0
- /package/{lib/esm/segmented-icon-control → segmented-icon-control}/types.js +0 -0
- /package/{lib/cjs/segmented-icon-control-option → segmented-icon-control-option}/index.d.ts +0 -0
- /package/{lib/esm/segmented-icon-control-option → segmented-icon-control-option}/index.js +0 -0
- /package/{lib/cjs/segmented-icon-control-option → segmented-icon-control-option}/types.d.ts +0 -0
- /package/{lib/esm/segmented-icon-control-option → segmented-icon-control-option}/types.js +0 -0
- /package/{lib/cjs/select-button → select-button}/index.d.ts +0 -0
- /package/{lib/esm/select-button → select-button}/index.js +0 -0
- /package/{lib/cjs/select-button → select-button}/types.d.ts +0 -0
- /package/{lib/esm/select-button → select-button}/types.js +0 -0
- /package/{lib/cjs/select-menu → select-menu}/index.d.ts +0 -0
- /package/{lib/esm/select-menu → select-menu}/index.js +0 -0
- /package/{lib/cjs/select-menu → select-menu}/types.d.ts +0 -0
- /package/{lib/esm/select-menu → select-menu}/types.js +0 -0
- /package/{lib/cjs/select-menu-option → select-menu-option}/index.d.ts +0 -0
- /package/{lib/esm/select-menu-option → select-menu-option}/index.js +0 -0
- /package/{lib/cjs/select-menu-option → select-menu-option}/types.d.ts +0 -0
- /package/{lib/esm/select-menu-option → select-menu-option}/types.js +0 -0
- /package/{lib/cjs/skeleton → skeleton}/index.d.ts +0 -0
- /package/{lib/esm/skeleton → skeleton}/index.js +0 -0
- /package/{lib/cjs/skeleton → skeleton}/types.d.ts +0 -0
- /package/{lib/esm/skeleton → skeleton}/types.js +0 -0
- /package/{lib/cjs/skeleton-item → skeleton-item}/index.d.ts +0 -0
- /package/{lib/esm/skeleton-item → skeleton-item}/index.js +0 -0
- /package/{lib/cjs/skeleton-item → skeleton-item}/types.d.ts +0 -0
- /package/{lib/esm/skeleton-item → skeleton-item}/types.js +0 -0
- /package/{lib/cjs/spinner → spinner}/index.d.ts +0 -0
- /package/{lib/esm/spinner → spinner}/index.js +0 -0
- /package/{lib/cjs/spinner → spinner}/types.d.ts +0 -0
- /package/{lib/esm/spinner → spinner}/types.js +0 -0
- /package/{lib/cjs/standalone.d.ts → standalone.d.ts} +0 -0
- /package/{lib/esm/standalone.js → standalone.js} +0 -0
- /package/{lib/cjs/stop-events → stop-events}/index.d.ts +0 -0
- /package/{lib/esm/stop-events → stop-events}/index.js +0 -0
- /package/{lib/cjs/table → table}/index.d.ts +0 -0
- /package/{lib/esm/table → table}/index.js +0 -0
- /package/{lib/cjs/table → table}/types.d.ts +0 -0
- /package/{lib/esm/table → table}/types.js +0 -0
- /package/{lib/cjs/table-body → table-body}/index.d.ts +0 -0
- /package/{lib/esm/table-body → table-body}/index.js +0 -0
- /package/{lib/cjs/table-body → table-body}/types.d.ts +0 -0
- /package/{lib/esm/table-body → table-body}/types.js +0 -0
- /package/{lib/cjs/table-cell → table-cell}/index.d.ts +0 -0
- /package/{lib/esm/table-cell → table-cell}/index.js +0 -0
- /package/{lib/cjs/table-cell → table-cell}/types.d.ts +0 -0
- /package/{lib/esm/table-cell → table-cell}/types.js +0 -0
- /package/{lib/cjs/table-cell → table-cell}/utils.d.ts +0 -0
- /package/{lib/esm/table-cell → table-cell}/utils.js +0 -0
- /package/{lib/cjs/table-head → table-head}/index.d.ts +0 -0
- /package/{lib/esm/table-head → table-head}/index.js +0 -0
- /package/{lib/cjs/table-head → table-head}/types.d.ts +0 -0
- /package/{lib/esm/table-head → table-head}/types.js +0 -0
- /package/{lib/cjs/table-head-cell → table-head-cell}/index.d.ts +0 -0
- /package/{lib/esm/table-head-cell → table-head-cell}/index.js +0 -0
- /package/{lib/cjs/table-head-cell → table-head-cell}/types.d.ts +0 -0
- /package/{lib/esm/table-head-cell → table-head-cell}/types.js +0 -0
- /package/{lib/cjs/table-row → table-row}/index.d.ts +0 -0
- /package/{lib/esm/table-row → table-row}/index.js +0 -0
- /package/{lib/cjs/table-row → table-row}/types.d.ts +0 -0
- /package/{lib/esm/table-row → table-row}/types.js +0 -0
- /package/{lib/cjs/tabs → tabs}/index.d.ts +0 -0
- /package/{lib/esm/tabs → tabs}/index.js +0 -0
- /package/{lib/cjs/tabs → tabs}/types.d.ts +0 -0
- /package/{lib/esm/tabs → tabs}/types.js +0 -0
- /package/{lib/cjs/tabs-icon-option → tabs-icon-option}/index.d.ts +0 -0
- /package/{lib/esm/tabs-icon-option → tabs-icon-option}/index.js +0 -0
- /package/{lib/cjs/tabs-icon-option → tabs-icon-option}/types.d.ts +0 -0
- /package/{lib/esm/tabs-icon-option → tabs-icon-option}/types.js +0 -0
- /package/{lib/cjs/tabs-option → tabs-option}/index.d.ts +0 -0
- /package/{lib/esm/tabs-option → tabs-option}/index.js +0 -0
- /package/{lib/cjs/tabs-option → tabs-option}/types.d.ts +0 -0
- /package/{lib/esm/tabs-option → tabs-option}/types.js +0 -0
- /package/{lib/cjs/tag → tag}/index.d.ts +0 -0
- /package/{lib/esm/tag → tag}/index.js +0 -0
- /package/{lib/cjs/tag → tag}/types.d.ts +0 -0
- /package/{lib/esm/tag → tag}/types.js +0 -0
- /package/{lib/cjs/tag → tag}/utils.d.ts +0 -0
- /package/{lib/esm/tag → tag}/utils.js +0 -0
- /package/{lib/cjs/text → text}/index.d.ts +0 -0
- /package/{lib/esm/text → text}/index.js +0 -0
- /package/{lib/cjs/text → text}/types.d.ts +0 -0
- /package/{lib/esm/text → text}/types.js +0 -0
- /package/{lib/cjs/text → text}/utils.d.ts +0 -0
- /package/{lib/esm/text → text}/utils.js +0 -0
- /package/{lib/cjs/textarea → textarea}/index.d.ts +0 -0
- /package/{lib/esm/textarea → textarea}/index.js +0 -0
- /package/{lib/cjs/textarea → textarea}/types.d.ts +0 -0
- /package/{lib/esm/textarea → textarea}/types.js +0 -0
- /package/{lib/cjs/tile-control → tile-control}/index.d.ts +0 -0
- /package/{lib/esm/tile-control → tile-control}/index.js +0 -0
- /package/{lib/cjs/tile-control → tile-control}/types.d.ts +0 -0
- /package/{lib/esm/tile-control → tile-control}/types.js +0 -0
- /package/{lib/cjs/tile-control-option → tile-control-option}/index.d.ts +0 -0
- /package/{lib/esm/tile-control-option → tile-control-option}/index.js +0 -0
- /package/{lib/cjs/tile-control-option → tile-control-option}/types.d.ts +0 -0
- /package/{lib/esm/tile-control-option → tile-control-option}/types.js +0 -0
- /package/{lib/cjs/time-picker → time-picker}/index.d.ts +0 -0
- /package/{lib/esm/time-picker → time-picker}/index.js +0 -0
- /package/{lib/cjs/time-picker → time-picker}/types.d.ts +0 -0
- /package/{lib/esm/time-picker → time-picker}/types.js +0 -0
- /package/{lib/cjs/time-picker → time-picker}/utils.d.ts +0 -0
- /package/{lib/esm/time-picker → time-picker}/utils.js +0 -0
- /package/{lib/cjs/title → title}/index.d.ts +0 -0
- /package/{lib/esm/title → title}/index.js +0 -0
- /package/{lib/cjs/title → title}/types.d.ts +0 -0
- /package/{lib/esm/title → title}/types.js +0 -0
- /package/{lib/cjs/title → title}/utils.d.ts +0 -0
- /package/{lib/esm/title → title}/utils.js +0 -0
- /package/{lib/cjs/toast → toast}/index.d.ts +0 -0
- /package/{lib/esm/toast → toast}/index.js +0 -0
- /package/{lib/cjs/toast → toast}/types.d.ts +0 -0
- /package/{lib/esm/toast → toast}/types.js +0 -0
- /package/{lib/cjs/toast → toast}/utils.d.ts +0 -0
- /package/{lib/esm/toast → toast}/utils.js +0 -0
- /package/{lib/cjs/toast-manager → toast-manager}/index.d.ts +0 -0
- /package/{lib/esm/toast-manager → toast-manager}/index.js +0 -0
- /package/{lib/cjs/toast-manager → toast-manager}/types.d.ts +0 -0
- /package/{lib/esm/toast-manager → toast-manager}/types.js +0 -0
- /package/{lib/cjs/toast-manager → toast-manager}/utils.d.ts +0 -0
- /package/{lib/esm/toast-manager → toast-manager}/utils.js +0 -0
- /package/{lib/cjs/toggle → toggle}/index.d.ts +0 -0
- /package/{lib/esm/toggle → toggle}/index.js +0 -0
- /package/{lib/cjs/toggle → toggle}/types.d.ts +0 -0
- /package/{lib/esm/toggle → toggle}/types.js +0 -0
- /package/{lib/cjs/tooltip → tooltip}/index.d.ts +0 -0
- /package/{lib/esm/tooltip → tooltip}/index.js +0 -0
- /package/{lib/cjs/tooltip → tooltip}/tooltip-state.d.ts +0 -0
- /package/{lib/esm/tooltip → tooltip}/tooltip-state.js +0 -0
- /package/{lib/cjs/tooltip → tooltip}/types.d.ts +0 -0
- /package/{lib/esm/tooltip → tooltip}/types.js +0 -0
- /package/{lib/cjs/tooltip → tooltip}/utils.d.ts +0 -0
- /package/{lib/esm/tooltip → tooltip}/utils.js +0 -0
- /package/{lib/cjs/types.d.ts → types.d.ts} +0 -0
- /package/{lib/cjs/utils → utils}/context.d.ts +0 -0
- /package/{lib/esm/utils → utils}/context.js +0 -0
- /package/{lib/cjs/utils → utils}/countries.d.ts +0 -0
- /package/{lib/esm/utils → utils}/countries.js +0 -0
- /package/{lib/cjs/utils → utils}/countries.json +0 -0
- /package/{lib/cjs/utils → utils}/csv.d.ts +0 -0
- /package/{lib/esm/utils → utils}/csv.js +0 -0
- /package/{lib/cjs/utils → utils}/debounce.d.ts +0 -0
- /package/{lib/esm/utils → utils}/debounce.js +0 -0
- /package/{lib/cjs/utils → utils}/dom.d.ts +0 -0
- /package/{lib/esm/utils → utils}/dom.js +0 -0
- /package/{lib/cjs/utils → utils}/element.d.ts +0 -0
- /package/{lib/cjs/utils → utils}/event-target.d.ts +0 -0
- /package/{lib/esm/utils → utils}/event-target.js +0 -0
- /package/{lib/cjs/utils → utils}/get-react-event-handler.d.ts +0 -0
- /package/{lib/esm/utils → utils}/get-react-event-handler.js +0 -0
- /package/{lib/cjs/utils → utils}/index.d.ts +0 -0
- /package/{lib/esm/utils → utils}/index.js +0 -0
- /package/{lib/cjs/utils → utils}/markdown.d.ts +0 -0
- /package/{lib/esm/utils → utils}/markdown.js +0 -0
- /package/{lib/cjs/utils → utils}/rect.d.ts +0 -0
- /package/{lib/esm/utils → utils}/rect.js +0 -0
- /package/{lib/cjs/utils → utils}/size.d.ts +0 -0
- /package/{lib/esm/utils → utils}/size.js +0 -0
- /package/{lib/cjs/utils → utils}/slot.d.ts +0 -0
- /package/{lib/esm/utils → utils}/slot.js +0 -0
- /package/{lib/cjs/utils → utils}/throttle.d.ts +0 -0
- /package/{lib/esm/utils → utils}/throttle.js +0 -0
- /package/{lib/cjs/utils → utils}/uid.d.ts +0 -0
- /package/{lib/esm/utils → utils}/uid.js +0 -0
- /package/{lib/cjs/vertical-stepper → vertical-stepper}/index.d.ts +0 -0
- /package/{lib/esm/vertical-stepper → vertical-stepper}/index.js +0 -0
- /package/{lib/cjs/vertical-stepper → vertical-stepper}/types.d.ts +0 -0
- /package/{lib/esm/vertical-stepper → vertical-stepper}/types.js +0 -0
- /package/{lib/cjs/vertical-stepper-item → vertical-stepper-item}/index.d.ts +0 -0
- /package/{lib/esm/vertical-stepper-item → vertical-stepper-item}/index.js +0 -0
- /package/{lib/cjs/vertical-stepper-item → vertical-stepper-item}/types.d.ts +0 -0
- /package/{lib/esm/vertical-stepper-item → vertical-stepper-item}/types.js +0 -0
- /package/{lib/cjs/vertical-stepper-item → vertical-stepper-item}/utils.d.ts +0 -0
- /package/{lib/esm/vertical-stepper-item → vertical-stepper-item}/utils.js +0 -0
|
@@ -8,7 +8,6 @@ const template = document.createElement('template');
|
|
|
8
8
|
template.innerHTML = templateHTML;
|
|
9
9
|
defineCustomElement('sinch-dialog', class extends NectaryElement {
|
|
10
10
|
#$dialog;
|
|
11
|
-
#$dialogContent;
|
|
12
11
|
#$closeButton;
|
|
13
12
|
#$caption;
|
|
14
13
|
#$actionWrapper;
|
|
@@ -19,7 +18,6 @@ defineCustomElement('sinch-dialog', class extends NectaryElement {
|
|
|
19
18
|
const shadowRoot = this.attachShadow();
|
|
20
19
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
21
20
|
this.#$dialog = shadowRoot.querySelector('#dialog');
|
|
22
|
-
this.#$dialogContent = shadowRoot.querySelector('#content');
|
|
23
21
|
this.#$closeButton = shadowRoot.querySelector('#close');
|
|
24
22
|
this.#$caption = shadowRoot.querySelector('#caption');
|
|
25
23
|
this.#$actionWrapper = shadowRoot.querySelector('#action');
|
|
@@ -34,6 +34,8 @@ export type TSinchInputElement = HTMLElement & {
|
|
|
34
34
|
addEventListener(type: '-focus', listener: (e: CustomEvent<void>) => void): void;
|
|
35
35
|
/** Blur event */
|
|
36
36
|
addEventListener(type: '-blur', listener: (e: CustomEvent<void>) => void): void;
|
|
37
|
+
/** Blur event */
|
|
38
|
+
addEventListener(type: '-wheel', listener: (e: CustomEvent<void>) => void): void;
|
|
37
39
|
/** Text field type, `text` by default */
|
|
38
40
|
setAttribute(name: 'type', value: TSinchInputType): void;
|
|
39
41
|
/** Value */
|
|
@@ -17,7 +17,7 @@ export declare const inputTypes: readonly TSinchInputType[];
|
|
|
17
17
|
export declare const getMaskSymbols: (maskValue: string) => TSinchInputMaskSymbol[];
|
|
18
18
|
export declare const deleteContentBackward: (inputValue: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number, selectionEnd: number) => TSinchMaskInputResult | null;
|
|
19
19
|
export declare const deleteContentForward: (inputValue: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number, selectionEnd: number) => TSinchMaskInputResult | null;
|
|
20
|
-
export declare const beginMaskedComposition: (inputValue: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number) => Pick<TSinchMaskInputResult,
|
|
20
|
+
export declare const beginMaskedComposition: (inputValue: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number) => Pick<TSinchMaskInputResult, "value" | "placeholder">;
|
|
21
21
|
export declare const endMaskedComposition: (inputValue: string, data: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number, wasValueInserted: boolean) => TSinchMaskInputResult | null;
|
|
22
22
|
export declare const insertText: (inputValue: string, data: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number, selectionEnd: number) => TSinchMaskInputResult | null;
|
|
23
23
|
export declare const insertFromPaste: (inputValue: string, data: string, maskSymbols: readonly TSinchInputMaskSymbol[], selectionStart: number, selectionEnd: number) => TSinchMaskInputResult | null;
|
package/package.json
CHANGED
|
@@ -1,47 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nectary/components",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"files": [
|
|
5
|
-
"
|
|
5
|
+
"**/*/*.css",
|
|
6
|
+
"**/*/*.json",
|
|
7
|
+
"**/*/*.js",
|
|
8
|
+
"**/*/*.d.ts",
|
|
9
|
+
"standalone.ts",
|
|
10
|
+
"standalone.d.ts",
|
|
11
|
+
"standalone.js",
|
|
12
|
+
"types.d.ts",
|
|
13
|
+
"colors.json"
|
|
6
14
|
],
|
|
7
|
-
"exports": {
|
|
8
|
-
"./package.json": "./package.json",
|
|
9
|
-
"./changelog.md": "./changelog.md",
|
|
10
|
-
"./*/types": "./lib/esm/*/types.d.ts",
|
|
11
|
-
"./*.json": "./lib/esm/*.json",
|
|
12
|
-
"./utils/*.json": "./lib/esm/utils/*.json",
|
|
13
|
-
"./*/utils": {
|
|
14
|
-
"types": "./lib/esm/*/utils.d.ts",
|
|
15
|
-
"require": "./lib/cjs/*/utils.js",
|
|
16
|
-
"default": "./lib/esm/*/utils.js"
|
|
17
|
-
},
|
|
18
|
-
"./utils/*": {
|
|
19
|
-
"types": "./lib/esm/utils/*.d.ts",
|
|
20
|
-
"require": "./lib/cjs/utils/*.js",
|
|
21
|
-
"default": "./lib/esm/utils/*.js"
|
|
22
|
-
},
|
|
23
|
-
"./utils": {
|
|
24
|
-
"types": "./lib/esm/utils/index.d.ts",
|
|
25
|
-
"require": "./lib/cjs/utils/index.js",
|
|
26
|
-
"default": "./lib/esm/utils/index.js"
|
|
27
|
-
},
|
|
28
|
-
"./standalone": {
|
|
29
|
-
"types": "./lib/esm/standalone.d.ts",
|
|
30
|
-
"require": "./lib/cjs/standalone.js",
|
|
31
|
-
"default": "./lib/esm/standalone.js"
|
|
32
|
-
},
|
|
33
|
-
"./*": {
|
|
34
|
-
"types": "./lib/esm/*/index.d.ts",
|
|
35
|
-
"require": "./lib/cjs/*/index.js",
|
|
36
|
-
"default": "./lib/esm/*/index.js"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
15
|
"publishConfig": {
|
|
40
16
|
"access": "public"
|
|
41
17
|
},
|
|
42
18
|
"scripts": {
|
|
43
|
-
"
|
|
44
|
-
"build": "./build-lib.sh"
|
|
19
|
+
"build": "NODE_ENV=production babel . --extensions '.ts' --out-dir . && tsc --declaration --emitDeclarationOnly"
|
|
45
20
|
},
|
|
46
21
|
"dependencies": {
|
|
47
22
|
"@babel/runtime": "^7.22.15"
|
|
@@ -49,14 +24,12 @@
|
|
|
49
24
|
"devDependencies": {
|
|
50
25
|
"@babel/cli": "^7.22.15",
|
|
51
26
|
"@babel/core": "^7.22.20",
|
|
52
|
-
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
53
27
|
"@babel/plugin-transform-runtime": "^7.22.15",
|
|
54
28
|
"@babel/preset-env": "^7.22.20",
|
|
55
29
|
"@babel/preset-typescript": "^7.22.15",
|
|
56
30
|
"@types/node": "^18.17.17",
|
|
57
31
|
"@types/react": "^18.2.21",
|
|
58
32
|
"babel-plugin-html-inline-minifier": "workspace:*",
|
|
59
|
-
"rimraf": "^5.0.7",
|
|
60
33
|
"typescript": "^5.2.2"
|
|
61
34
|
}
|
|
62
35
|
}
|
|
@@ -3,7 +3,6 @@ import '../stop-events';
|
|
|
3
3
|
import '../title';
|
|
4
4
|
import { defineCustomElement, getAttribute, getBooleanAttribute, updateAttribute, NectaryElement, updateBooleanAttribute, isAttrTrue, getReactEventHandler } from '../utils';
|
|
5
5
|
const templateHTML = '<style>#persisted-dialog{--sinch-dialog-close-button-display:none}::slotted(*){display:block}</style><sinch-dialog id="persisted-dialog"><div slot="icon"><slot id="icon" name="icon"></slot></div><div slot="content"><slot name="content"></slot></div><div slot="buttons"><slot name="buttons"></slot></div></sinch-dialog>';
|
|
6
|
-
import '@nectary/components/dialog';
|
|
7
6
|
const template = document.createElement('template');
|
|
8
7
|
template.innerHTML = templateHTML;
|
|
9
8
|
function isVisible(elementStyle) {
|
package/standalone.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// Standalone file with all Nectary components installed into window
|
|
2
|
+
// AUTOGENERATED: DO NOT EDIT
|
|
3
|
+
/* eslint-disable import/first */
|
|
4
|
+
import { setNectaryRegistry } from './utils'
|
|
5
|
+
|
|
6
|
+
setNectaryRegistry(window.customElements)
|
|
7
|
+
|
|
8
|
+
// Reminder: Keep this list updated as we add new components
|
|
9
|
+
import './accordion-item/index.js'
|
|
10
|
+
import './accordion/index.js'
|
|
11
|
+
import './action-menu-option/index.js'
|
|
12
|
+
import './action-menu/index.js'
|
|
13
|
+
import './alert/index.js'
|
|
14
|
+
import './avatar/index.js'
|
|
15
|
+
import './badge/index.js'
|
|
16
|
+
import './button/index.js'
|
|
17
|
+
import './card-container/index.js'
|
|
18
|
+
import './card/index.js'
|
|
19
|
+
import './checkbox/index.js'
|
|
20
|
+
import './chip/index.js'
|
|
21
|
+
import './code-tag/index.js'
|
|
22
|
+
import './color-menu-option/index.js'
|
|
23
|
+
import './color-menu/index.js'
|
|
24
|
+
import './color-swatch/index.js'
|
|
25
|
+
import './date-picker/index.js'
|
|
26
|
+
import './dialog/index.js'
|
|
27
|
+
import './emoji-picker/index.js'
|
|
28
|
+
import './emoji/index.js'
|
|
29
|
+
import './field/index.js'
|
|
30
|
+
import './file-drop/index.js'
|
|
31
|
+
import './file-picker/index.js'
|
|
32
|
+
import './file-status/index.js'
|
|
33
|
+
import './flag/index.js'
|
|
34
|
+
import './grid-item/index.js'
|
|
35
|
+
import './grid/index.js'
|
|
36
|
+
import './help-tooltip/index.js'
|
|
37
|
+
import './horizontal-stepper-item/index.js'
|
|
38
|
+
import './horizontal-stepper/index.js'
|
|
39
|
+
import './icon/index.js'
|
|
40
|
+
import './inline-alert/index.js'
|
|
41
|
+
import './input/index.js'
|
|
42
|
+
import './link/index.js'
|
|
43
|
+
import './list-item/index.js'
|
|
44
|
+
import './list/index.js'
|
|
45
|
+
import './pagination/index.js'
|
|
46
|
+
import './pop/index.js'
|
|
47
|
+
import './popover/index.js'
|
|
48
|
+
import './progress-stepper-item/index.js'
|
|
49
|
+
import './progress-stepper/index.js'
|
|
50
|
+
import './progress/index.js'
|
|
51
|
+
import './radio-option/index.js'
|
|
52
|
+
import './radio/index.js'
|
|
53
|
+
import './rich-text/index.js'
|
|
54
|
+
import './rich-textarea/index.js'
|
|
55
|
+
import './segment-collapse/index.js'
|
|
56
|
+
import './segment/index.js'
|
|
57
|
+
import './segmented-control-option/index.js'
|
|
58
|
+
import './segmented-control/index.js'
|
|
59
|
+
import './segmented-icon-control-option/index.js'
|
|
60
|
+
import './segmented-icon-control/index.js'
|
|
61
|
+
import './select-button/index.js'
|
|
62
|
+
import './select-menu-option/index.js'
|
|
63
|
+
import './select-menu/index.js'
|
|
64
|
+
import './skeleton-item/index.js'
|
|
65
|
+
import './skeleton/index.js'
|
|
66
|
+
import './spinner/index.js'
|
|
67
|
+
import './stop-events/index.js'
|
|
68
|
+
import './table-body/index.js'
|
|
69
|
+
import './table-cell/index.js'
|
|
70
|
+
import './table-head-cell/index.js'
|
|
71
|
+
import './table-head/index.js'
|
|
72
|
+
import './table-row/index.js'
|
|
73
|
+
import './table/index.js'
|
|
74
|
+
import './tabs-icon-option/index.js'
|
|
75
|
+
import './tabs-option/index.js'
|
|
76
|
+
import './tabs/index.js'
|
|
77
|
+
import './tag/index.js'
|
|
78
|
+
import './text/index.js'
|
|
79
|
+
import './textarea/index.js'
|
|
80
|
+
import './tile-control-option/index.js'
|
|
81
|
+
import './tile-control/index.js'
|
|
82
|
+
import './time-picker/index.js'
|
|
83
|
+
import './title/index.js'
|
|
84
|
+
import './toast-manager/index.js'
|
|
85
|
+
import './toast/index.js'
|
|
86
|
+
import './toggle/index.js'
|
|
87
|
+
import './tooltip/index.js'
|
|
88
|
+
import './vertical-stepper-item/index.js'
|
|
89
|
+
import './vertical-stepper/index.js'
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _utils = require('../utils');
|
|
4
|
-
const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%}::slotted(sinch-accordion-item){flex-shrink:1}</style><div id="wrapper"><slot></slot></div>';
|
|
5
|
-
const template = document.createElement('template');
|
|
6
|
-
template.innerHTML = templateHTML;
|
|
7
|
-
(0, _utils.defineCustomElement)('sinch-accordion', class extends _utils.NectaryElement {
|
|
8
|
-
#$slot;
|
|
9
|
-
#controller = null;
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
const shadowRoot = this.attachShadow();
|
|
13
|
-
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
14
|
-
this.#$slot = shadowRoot.querySelector('slot');
|
|
15
|
-
}
|
|
16
|
-
static get observedAttributes() {
|
|
17
|
-
return ['value'];
|
|
18
|
-
}
|
|
19
|
-
connectedCallback() {
|
|
20
|
-
this.#controller = new AbortController();
|
|
21
|
-
const {
|
|
22
|
-
signal
|
|
23
|
-
} = this.#controller;
|
|
24
|
-
const options = {
|
|
25
|
-
signal
|
|
26
|
-
};
|
|
27
|
-
this.#$slot.addEventListener('slotchange', this.#onSlotChange, options);
|
|
28
|
-
this.#$slot.addEventListener('click', this.#onOptionClick, options);
|
|
29
|
-
this.addEventListener('-change', this.#onChangeReactHandler, options);
|
|
30
|
-
}
|
|
31
|
-
disconnectedCallback() {
|
|
32
|
-
this.#controller.abort();
|
|
33
|
-
this.#controller = null;
|
|
34
|
-
}
|
|
35
|
-
set value(value) {
|
|
36
|
-
(0, _utils.updateAttribute)(this, 'value', value);
|
|
37
|
-
}
|
|
38
|
-
get value() {
|
|
39
|
-
return (0, _utils.getAttribute)(this, 'value', '');
|
|
40
|
-
}
|
|
41
|
-
set multiple(isMultiple) {
|
|
42
|
-
(0, _utils.updateBooleanAttribute)(this, 'multiple', isMultiple);
|
|
43
|
-
}
|
|
44
|
-
get multiple() {
|
|
45
|
-
return (0, _utils.getBooleanAttribute)(this, 'multiple');
|
|
46
|
-
}
|
|
47
|
-
attributeChangedCallback(name, oldVal, newVal) {
|
|
48
|
-
switch (name) {
|
|
49
|
-
case 'value':
|
|
50
|
-
{
|
|
51
|
-
this.#onValueChange(newVal ?? '');
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
#onSlotChange = () => {
|
|
57
|
-
this.#onValueChange(this.value);
|
|
58
|
-
};
|
|
59
|
-
#onOptionClick = e => {
|
|
60
|
-
const target = (0, _utils.getTargetByAttribute)(e, 'value');
|
|
61
|
-
if (target === null || (0, _utils.getBooleanAttribute)(target, 'disabled')) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const value = (0, _utils.getAttribute)(target, 'value', '');
|
|
65
|
-
const result = this.multiple ? (0, _utils.updateCsv)(this.value, value, !(0, _utils.getBooleanAttribute)(target, 'data-checked')) : (0, _utils.getBooleanAttribute)(target, 'data-checked') ? '' : value;
|
|
66
|
-
this.dispatchEvent(new CustomEvent('-change', {
|
|
67
|
-
detail: result
|
|
68
|
-
}));
|
|
69
|
-
};
|
|
70
|
-
#onValueChange(csv) {
|
|
71
|
-
if (this.multiple) {
|
|
72
|
-
const values = (0, _utils.unpackCsv)(csv);
|
|
73
|
-
for (const $option of this.#$slot.assignedElements()) {
|
|
74
|
-
const isChecked = !(0, _utils.getBooleanAttribute)($option, 'disabled') && values.includes((0, _utils.getAttribute)($option, 'value', ''));
|
|
75
|
-
(0, _utils.updateBooleanAttribute)($option, 'data-checked', isChecked);
|
|
76
|
-
}
|
|
77
|
-
} else {
|
|
78
|
-
const value = (0, _utils.getFirstCsvValue)(csv);
|
|
79
|
-
for (const $option of this.#$slot.assignedElements()) {
|
|
80
|
-
const isChecked = !(0, _utils.getBooleanAttribute)($option, 'disabled') && value === (0, _utils.getAttribute)($option, 'value', '');
|
|
81
|
-
(0, _utils.updateBooleanAttribute)($option, 'data-checked', isChecked);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
#onChangeReactHandler = e => {
|
|
86
|
-
(0, _utils.getReactEventHandler)(this, 'on-change')?.(e);
|
|
87
|
-
};
|
|
88
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require('../icon');
|
|
4
|
-
require('../text');
|
|
5
|
-
require('../title');
|
|
6
|
-
var _utils = require('../utils');
|
|
7
|
-
var _utils2 = require('./utils');
|
|
8
|
-
const templateHTML = '<style>:host{display:block;outline:0;min-height:48px}#wrapper{display:flex;flex-direction:column;position:relative;width:100%;height:100%;box-sizing:border-box;overflow:hidden;border-bottom:1px solid var(--sinch-comp-accordion-color-default-border-initial)}:host(:last-child)>#wrapper{border-bottom:none}#button{all:initial;display:flex;position:relative;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:48px;padding:0 4px 0 8px;cursor:pointer;--sinch-global-color-icon:var(--sinch-comp-accordion-color-default-icon-initial);--sinch-global-size-icon:var(--sinch-comp-accordion-size-icon)}#button>*{pointer-events:none}#button:disabled{cursor:initial;--sinch-global-color-icon:var(--sinch-comp-accordion-color-disabled-icon-initial)}#button:focus-visible::after{content:"";position:absolute;inset:0;border:2px solid var(--sinch-comp-accordion-color-default-outline-focus);pointer-events:none}#status-wrapper{display:none;width:18px;height:24px;padding:8px 8px 8px 2px;box-sizing:border-box}#status{width:8px;height:8px;border-radius:50%}:host([status]:not([status=""])) #status-wrapper{display:block}:host([status=success]) #status{background-color:var(--sinch-comp-accordion-color-default-status-success)}:host([status=warn]) #status{background-color:var(--sinch-comp-accordion-color-default-status-warning)}:host([status=error]) #status{background-color:var(--sinch-comp-accordion-color-default-status-error)}:host([status=info]) #status{background-color:var(--sinch-comp-accordion-color-default-status-info)}#title{flex:1;min-width:0;--sinch-comp-title-font:var(--sinch-comp-accordion-font-title);--sinch-global-color-text:var(--sinch-comp-accordion-color-default-title-initial)}#button:disabled>#title{--sinch-global-color-text:var(--sinch-comp-accordion-color-disabled-title-initial)}#content{display:none;overflow-y:auto;flex-shrink:1;min-height:0;padding:0 8px 12px}#dropdown-icon{transform:rotate(0);will-change:transform;transition:transform .25s ease-in-out}#button[aria-expanded=true]>#dropdown-icon{transform:rotate(180deg)}#button[aria-expanded=true]+#content{display:block}#optional{--sinch-comp-text-font:var(--sinch-comp-accordion-font-optional-text);--sinch-global-color-text:var(--sinch-comp-accordion-color-default-optional-text-initial)}#button:disabled>#optional{--sinch-global-color-text:var(--sinch-comp-accordion-color-disabled-optional-text-initial)}</style><div id="wrapper"><button id="button" aria-controls="content" aria-expanded="false"><div id="status-wrapper"><div id="status"></div></div><slot name="icon"></slot><sinch-title id="title" level="3" type="m" ellipsis></sinch-title><sinch-text id="optional" type="m"></sinch-text><sinch-icon id="dropdown-icon" name="keyboard_arrow_down"></sinch-icon></button><div id="content" role="region" aria-labelledby="button"><slot name="content"></slot></div></div>';
|
|
9
|
-
const template = document.createElement('template');
|
|
10
|
-
template.innerHTML = templateHTML;
|
|
11
|
-
(0, _utils.defineCustomElement)('sinch-accordion-item', class extends _utils.NectaryElement {
|
|
12
|
-
#$button;
|
|
13
|
-
#$title;
|
|
14
|
-
#$optionalText;
|
|
15
|
-
constructor() {
|
|
16
|
-
super();
|
|
17
|
-
const shadowRoot = this.attachShadow({
|
|
18
|
-
delegatesFocus: true
|
|
19
|
-
});
|
|
20
|
-
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
21
|
-
this.#$button = shadowRoot.querySelector('#button');
|
|
22
|
-
this.#$title = shadowRoot.querySelector('#title');
|
|
23
|
-
this.#$optionalText = shadowRoot.querySelector('#optional');
|
|
24
|
-
}
|
|
25
|
-
connectedCallback() {}
|
|
26
|
-
disconnectedCallback() {}
|
|
27
|
-
static get observedAttributes() {
|
|
28
|
-
return ['label', 'disabled', 'data-checked', 'optionaltext'];
|
|
29
|
-
}
|
|
30
|
-
attributeChangedCallback(name, oldVal, newVal) {
|
|
31
|
-
if ((0, _utils.isAttrEqual)(oldVal, newVal)) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
switch (name) {
|
|
35
|
-
case 'label':
|
|
36
|
-
{
|
|
37
|
-
(0, _utils.updateAttribute)(this.#$title, 'text', newVal);
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
case 'disabled':
|
|
41
|
-
{
|
|
42
|
-
this.#$button.disabled = (0, _utils.isAttrTrue)(newVal);
|
|
43
|
-
(0, _utils.updateBooleanAttribute)(this, name, (0, _utils.isAttrTrue)(newVal));
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
case 'data-checked':
|
|
47
|
-
{
|
|
48
|
-
(0, _utils.updateExplicitBooleanAttribute)(this.#$button, 'aria-expanded', (0, _utils.isAttrTrue)(newVal));
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
case 'optionaltext':
|
|
52
|
-
{
|
|
53
|
-
this.#$optionalText.textContent = newVal;
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
set value(value) {
|
|
59
|
-
(0, _utils.updateAttribute)(this, 'value', value);
|
|
60
|
-
}
|
|
61
|
-
get value() {
|
|
62
|
-
return (0, _utils.getAttribute)(this, 'value', '');
|
|
63
|
-
}
|
|
64
|
-
set label(value) {
|
|
65
|
-
(0, _utils.updateAttribute)(this, 'label', value);
|
|
66
|
-
}
|
|
67
|
-
get label() {
|
|
68
|
-
return (0, _utils.getAttribute)(this, 'label', '');
|
|
69
|
-
}
|
|
70
|
-
set disabled(isDisabled) {
|
|
71
|
-
(0, _utils.updateBooleanAttribute)(this, 'disabled', isDisabled);
|
|
72
|
-
}
|
|
73
|
-
get disabled() {
|
|
74
|
-
return (0, _utils.getBooleanAttribute)(this, 'disabled');
|
|
75
|
-
}
|
|
76
|
-
get status() {
|
|
77
|
-
return (0, _utils.getLiteralAttribute)(this, _utils2.statusValues, 'status', null);
|
|
78
|
-
}
|
|
79
|
-
set status(value) {
|
|
80
|
-
(0, _utils.updateLiteralAttribute)(this, _utils2.statusValues, 'status', value);
|
|
81
|
-
}
|
|
82
|
-
set optionalText(value) {
|
|
83
|
-
(0, _utils.updateAttribute)(this, 'optionaltext', value);
|
|
84
|
-
}
|
|
85
|
-
get optionalText() {
|
|
86
|
-
return (0, _utils.getAttribute)(this, 'optionaltext');
|
|
87
|
-
}
|
|
88
|
-
get focusable() {
|
|
89
|
-
return true;
|
|
90
|
-
}
|
|
91
|
-
focus() {
|
|
92
|
-
this.#$button.focus();
|
|
93
|
-
}
|
|
94
|
-
blur() {
|
|
95
|
-
this.#$button.blur();
|
|
96
|
-
}
|
|
97
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _utils = require('../action-menu-option/utils');
|
|
4
|
-
var _utils2 = require('../utils');
|
|
5
|
-
const templateHTML = '<style>:host{display:block;outline:0}#listbox{overflow-y:auto}</style><div id="listbox" role="presentation"><slot></slot></div>';
|
|
6
|
-
const ITEM_HEIGHT = 40;
|
|
7
|
-
const template = document.createElement('template');
|
|
8
|
-
template.innerHTML = templateHTML;
|
|
9
|
-
(0, _utils2.defineCustomElement)('sinch-action-menu', class extends _utils2.NectaryElement {
|
|
10
|
-
#$optionSlot;
|
|
11
|
-
#$listbox;
|
|
12
|
-
#controller = null;
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
const shadowRoot = this.attachShadow();
|
|
16
|
-
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
17
|
-
this.#$optionSlot = shadowRoot.querySelector('slot');
|
|
18
|
-
this.#$listbox = shadowRoot.querySelector('#listbox');
|
|
19
|
-
}
|
|
20
|
-
connectedCallback() {
|
|
21
|
-
this.#controller = new AbortController();
|
|
22
|
-
const {
|
|
23
|
-
signal
|
|
24
|
-
} = this.#controller;
|
|
25
|
-
this.setAttribute('role', 'listbox');
|
|
26
|
-
this.setAttribute('tabindex', '0');
|
|
27
|
-
this.addEventListener('keydown', this.#onListboxKeyDown, {
|
|
28
|
-
signal
|
|
29
|
-
});
|
|
30
|
-
this.addEventListener('blur', this.#onListboxBlur, {
|
|
31
|
-
signal
|
|
32
|
-
});
|
|
33
|
-
this.#$listbox.addEventListener('click', this.#onListboxClick, {
|
|
34
|
-
signal
|
|
35
|
-
});
|
|
36
|
-
(0, _utils2.subscribeContext)(this, 'keydown', this.#onContextKeyDown, signal);
|
|
37
|
-
(0, _utils2.subscribeContext)(this, 'visibility', this.#onContextVisibility, signal);
|
|
38
|
-
}
|
|
39
|
-
disconnectedCallback() {
|
|
40
|
-
this.#controller.abort();
|
|
41
|
-
this.#controller = null;
|
|
42
|
-
}
|
|
43
|
-
static get observedAttributes() {
|
|
44
|
-
return ['rows'];
|
|
45
|
-
}
|
|
46
|
-
attributeChangedCallback(name, oldVal, newVal) {
|
|
47
|
-
switch (name) {
|
|
48
|
-
case 'rows':
|
|
49
|
-
{
|
|
50
|
-
this.#$listbox.style.maxHeight = (0, _utils2.attrValueToPixels)(newVal, {
|
|
51
|
-
min: 1,
|
|
52
|
-
itemSizeMultiplier: ITEM_HEIGHT
|
|
53
|
-
});
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
set rows(value) {
|
|
59
|
-
(0, _utils2.updateIntegerAttribute)(this, 'rows', value);
|
|
60
|
-
}
|
|
61
|
-
get rows() {
|
|
62
|
-
return (0, _utils2.getIntegerAttribute)(this, 'rows', null);
|
|
63
|
-
}
|
|
64
|
-
#onListboxBlur = () => {
|
|
65
|
-
this.#selectOption(null);
|
|
66
|
-
};
|
|
67
|
-
#onListboxClick = e => {
|
|
68
|
-
this.focus();
|
|
69
|
-
if ((0, _utils.isSinchActionMenuOption)(e.target)) {
|
|
70
|
-
this.#selectOption(e.target);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
#onListboxKeyDown = e => {
|
|
74
|
-
this.#handleKeydown(e);
|
|
75
|
-
};
|
|
76
|
-
#onContextKeyDown = e => {
|
|
77
|
-
this.#handleKeydown(e.detail);
|
|
78
|
-
};
|
|
79
|
-
#onContextVisibility = e => {
|
|
80
|
-
if (!e.detail) {
|
|
81
|
-
this.#selectOption(null);
|
|
82
|
-
this.#$listbox.scrollTo({
|
|
83
|
-
top: 0,
|
|
84
|
-
behavior: 'auto'
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
#handleKeydown(e) {
|
|
89
|
-
switch (e.code) {
|
|
90
|
-
case 'Enter':
|
|
91
|
-
case 'Space':
|
|
92
|
-
{
|
|
93
|
-
e.preventDefault();
|
|
94
|
-
const $opt = this.#findSelectedOption();
|
|
95
|
-
if ($opt !== null) {
|
|
96
|
-
$opt.click();
|
|
97
|
-
}
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
case 'ArrowUp':
|
|
101
|
-
{
|
|
102
|
-
e.preventDefault();
|
|
103
|
-
this.#selectOption(this.#getPrevOption());
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
case 'ArrowDown':
|
|
107
|
-
{
|
|
108
|
-
e.preventDefault();
|
|
109
|
-
this.#selectOption(this.#getNextOption());
|
|
110
|
-
break;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
#getFirstOption() {
|
|
115
|
-
const $options = this.#getOptionElements();
|
|
116
|
-
for (let i = 0; i < $options.length; i++) {
|
|
117
|
-
const el = $options[i];
|
|
118
|
-
if (!(0, _utils2.getBooleanAttribute)(el, 'disabled')) {
|
|
119
|
-
return el;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
124
|
-
#getLastOption() {
|
|
125
|
-
const $options = this.#getOptionElements();
|
|
126
|
-
for (let i = $options.length - 1; i >= 0; i--) {
|
|
127
|
-
const el = $options[i];
|
|
128
|
-
if (!(0, _utils2.getBooleanAttribute)(el, 'disabled')) {
|
|
129
|
-
return el;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return null;
|
|
133
|
-
}
|
|
134
|
-
#getNextOption() {
|
|
135
|
-
const index = this.#getSelectedOptionIndex();
|
|
136
|
-
if (index !== null) {
|
|
137
|
-
const $options = this.#getOptionElements();
|
|
138
|
-
for (let i = 1; i <= $options.length; i++) {
|
|
139
|
-
const el = $options[(i + index) % $options.length];
|
|
140
|
-
if (!(0, _utils2.getBooleanAttribute)(el, 'disabled')) {
|
|
141
|
-
return el;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return this.#getFirstOption();
|
|
146
|
-
}
|
|
147
|
-
#getPrevOption() {
|
|
148
|
-
const index = this.#getSelectedOptionIndex();
|
|
149
|
-
if (index !== null) {
|
|
150
|
-
const $options = this.#getOptionElements();
|
|
151
|
-
for (let i = 1; i <= $options.length; i++) {
|
|
152
|
-
const el = $options[(index - i + $options.length) % $options.length];
|
|
153
|
-
if (!(0, _utils2.getBooleanAttribute)(el, 'disabled')) {
|
|
154
|
-
return el;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
return this.#getLastOption();
|
|
159
|
-
}
|
|
160
|
-
#selectOption($option) {
|
|
161
|
-
const hasRows = this.hasAttribute('rows');
|
|
162
|
-
for (const $op of this.#getOptionElements()) {
|
|
163
|
-
const isSelected = $op === $option;
|
|
164
|
-
(0, _utils2.updateBooleanAttribute)($op, 'data-selected', isSelected);
|
|
165
|
-
if (isSelected && hasRows) {
|
|
166
|
-
$op.scrollIntoView?.({
|
|
167
|
-
block: 'nearest'
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
#getOptionElements() {
|
|
173
|
-
return this.#$optionSlot.assignedElements();
|
|
174
|
-
}
|
|
175
|
-
#getSelectedOptionIndex() {
|
|
176
|
-
const elements = this.#getOptionElements();
|
|
177
|
-
for (let i = 0; i < elements.length; i++) {
|
|
178
|
-
const el = elements[i];
|
|
179
|
-
if (!(0, _utils2.getBooleanAttribute)(el, 'disabled') && (0, _utils2.getBooleanAttribute)(el, 'data-selected')) {
|
|
180
|
-
return i;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
return null;
|
|
184
|
-
}
|
|
185
|
-
#findSelectedOption() {
|
|
186
|
-
const elements = this.#getOptionElements();
|
|
187
|
-
for (const el of elements) {
|
|
188
|
-
if ((0, _utils2.getBooleanAttribute)(el, 'data-selected')) {
|
|
189
|
-
return el;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
return null;
|
|
193
|
-
}
|
|
194
|
-
get focusable() {
|
|
195
|
-
return true;
|
|
196
|
-
}
|
|
197
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|