@dscout/particle 1.0.0-alpha.16 → 1.0.0-alpha.18
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/cjs/components/advanced_options.d.ts +1 -1
- package/lib/cjs/components/attribute_input.d.ts +1 -1
- package/lib/cjs/components/attribute_input.js +1 -4
- package/lib/cjs/components/attribute_input.js.map +1 -1
- package/lib/cjs/components/attribute_selector.d.ts +2 -1
- package/lib/cjs/components/avatar.d.ts +2 -1
- package/lib/cjs/components/blitz.d.ts +1 -1
- package/lib/cjs/components/button.d.ts +3 -3
- package/lib/cjs/components/button.js +2 -2
- package/lib/cjs/components/button.js.map +1 -1
- package/lib/cjs/components/button_control.d.ts +1 -1
- package/lib/cjs/components/button_icon.d.ts +1 -1
- package/lib/cjs/components/button_mode.d.ts +1 -1
- package/lib/cjs/components/button_plain.d.ts +1 -1
- package/lib/cjs/components/card.d.ts +1 -1
- package/lib/cjs/components/card_body.d.ts +1 -1
- package/lib/cjs/components/card_footer.d.ts +1 -1
- package/lib/cjs/components/cards.d.ts +1 -1
- package/lib/cjs/components/checkbox_input.d.ts +1 -1
- package/lib/cjs/components/chip.d.ts +1 -1
- package/lib/cjs/components/collapsible_content.d.ts +1 -1
- package/lib/cjs/components/collapsing_menu.d.ts +1 -1
- package/lib/cjs/components/column.d.ts +1 -1
- package/lib/cjs/components/common_button.d.ts +1 -1
- package/lib/cjs/components/common_input.d.ts +1 -1
- package/lib/cjs/components/common_menu_item.d.ts +2 -1
- package/lib/cjs/components/common_menu_item.js.map +1 -1
- package/lib/cjs/components/container.d.ts +1 -1
- package/lib/cjs/components/container_header.d.ts +1 -1
- package/lib/cjs/components/date_input.d.ts +1 -1
- package/lib/cjs/components/drag_and_drop.d.ts +1 -1
- package/lib/cjs/components/dropdown.d.ts +4 -2
- package/lib/cjs/components/dropdown.js +15 -12
- package/lib/cjs/components/dropdown.js.map +1 -1
- package/lib/cjs/components/dropdown_input_toggle.d.ts +1 -1
- package/lib/cjs/components/editing_container.d.ts +1 -1
- package/lib/cjs/components/email_input.d.ts +1 -1
- package/lib/cjs/components/file_input.d.ts +1 -1
- package/lib/cjs/components/flex.d.ts +1 -1
- package/lib/cjs/components/focus_intent.d.ts +1 -1
- package/lib/cjs/components/focus_trap.d.ts +3 -3
- package/lib/cjs/components/focus_trap.js +5 -0
- package/lib/cjs/components/focus_trap.js.map +1 -1
- package/lib/cjs/components/footnote.d.ts +1 -1
- package/lib/cjs/components/formatted_text.d.ts +2 -1
- package/lib/cjs/components/heading.d.ts +1 -1
- package/lib/cjs/components/input_addon.d.ts +1 -1
- package/lib/cjs/components/input_group.d.ts +1 -1
- package/lib/cjs/components/input_group_item.d.ts +1 -1
- package/lib/cjs/components/link_text.d.ts +1 -1
- package/lib/cjs/components/list.d.ts +1 -1
- package/lib/cjs/components/list_inline.d.ts +1 -1
- package/lib/cjs/components/menu.d.ts +1 -1
- package/lib/cjs/components/menu_item.d.ts +3 -2
- package/lib/cjs/components/menu_item.js +7 -2
- package/lib/cjs/components/menu_item.js.map +1 -1
- package/lib/cjs/components/menu_item_li.d.ts +3 -2
- package/lib/cjs/components/menu_item_li.js +7 -2
- package/lib/cjs/components/menu_item_li.js.map +1 -1
- package/lib/cjs/components/menu_link.d.ts +1 -1
- package/lib/cjs/components/menu_list.d.ts +1 -1
- package/lib/cjs/components/menu_section.d.ts +1 -1
- package/lib/cjs/components/menu_title.d.ts +1 -1
- package/lib/cjs/components/modal.d.ts +1 -1
- package/lib/cjs/components/modal.js +1 -1
- package/lib/cjs/components/modal.js.map +1 -1
- package/lib/cjs/components/modifier.d.ts +2 -1
- package/lib/cjs/components/modifier.js +2 -2
- package/lib/cjs/components/modifier.js.map +1 -1
- package/lib/cjs/components/number_input.d.ts +1 -1
- package/lib/cjs/components/password_input.d.ts +1 -1
- package/lib/cjs/components/pill.d.ts +1 -1
- package/lib/cjs/components/radio_input.d.ts +1 -1
- package/lib/cjs/components/range_input.d.ts +1 -1
- package/lib/cjs/components/row.d.ts +1 -1
- package/lib/cjs/components/search_input.d.ts +1 -1
- package/lib/cjs/components/segmented_controls.d.ts +1 -1
- package/lib/cjs/components/select_input.d.ts +1 -1
- package/lib/cjs/components/separator.d.ts +2 -1
- package/lib/cjs/components/speech_bubble.d.ts +1 -1
- package/lib/cjs/components/swappable_content.d.ts +1 -1
- package/lib/cjs/components/tags_input.d.ts +4 -3
- package/lib/cjs/components/tags_input.js +16 -5
- package/lib/cjs/components/tags_input.js.map +1 -1
- package/lib/cjs/components/text_input.d.ts +1 -1
- package/lib/cjs/components/textarea.d.ts +4 -3
- package/lib/cjs/components/textarea.js +15 -6
- package/lib/cjs/components/textarea.js.map +1 -1
- package/lib/cjs/components/theme_provider.d.ts +2 -2
- package/lib/cjs/components/thumbnail.d.ts +2 -1
- package/lib/cjs/components/togglable_fieldset.d.ts +1 -1
- package/lib/cjs/components/toggle.d.ts +1 -1
- package/lib/cjs/components/tooltip.d.ts +1 -1
- package/lib/cjs/components/tooltip_container.d.ts +1 -1
- package/lib/cjs/components/with_addons.d.ts +1 -1
- package/lib/cjs/icons/alert.d.ts +2 -1
- package/lib/cjs/icons/amazing_emoticon.d.ts +2 -1
- package/lib/cjs/icons/analysis.d.ts +2 -1
- package/lib/cjs/icons/approve_payment.d.ts +2 -1
- package/lib/cjs/icons/archive.d.ts +2 -1
- package/lib/cjs/icons/arrow_up.d.ts +2 -1
- package/lib/cjs/icons/autotag.d.ts +2 -1
- package/lib/cjs/icons/bell.d.ts +2 -1
- package/lib/cjs/icons/bookmark.d.ts +2 -1
- package/lib/cjs/icons/camera.d.ts +2 -1
- package/lib/cjs/icons/checkbox_check.d.ts +2 -1
- package/lib/cjs/icons/checkbox_indeterminate.d.ts +2 -1
- package/lib/cjs/icons/checkmark.d.ts +2 -1
- package/lib/cjs/icons/checkpoint.d.ts +2 -1
- package/lib/cjs/icons/chevron.d.ts +2 -1
- package/lib/cjs/icons/choice.d.ts +2 -1
- package/lib/cjs/icons/circle.d.ts +2 -1
- package/lib/cjs/icons/circle_checkmark.d.ts +2 -1
- package/lib/cjs/icons/circle_chevron.d.ts +2 -1
- package/lib/cjs/icons/circle_clone.d.ts +2 -1
- package/lib/cjs/icons/circle_i.d.ts +2 -1
- package/lib/cjs/icons/circle_minus.d.ts +2 -1
- package/lib/cjs/icons/circle_plus.d.ts +2 -1
- package/lib/cjs/icons/circle_question.d.ts +2 -1
- package/lib/cjs/icons/circle_x.d.ts +2 -1
- package/lib/cjs/icons/clip.d.ts +2 -1
- package/lib/cjs/icons/clock.d.ts +2 -1
- package/lib/cjs/icons/clone.d.ts +2 -1
- package/lib/cjs/icons/column.d.ts +2 -1
- package/lib/cjs/icons/common_svg.d.ts +1 -1
- package/lib/cjs/icons/download.d.ts +2 -1
- package/lib/cjs/icons/drag_dots.d.ts +2 -1
- package/lib/cjs/icons/dscout.d.ts +2 -1
- package/lib/cjs/icons/edit.d.ts +2 -1
- package/lib/cjs/icons/email.d.ts +2 -1
- package/lib/cjs/icons/exclude.d.ts +2 -1
- package/lib/cjs/icons/export_icon.d.ts +2 -1
- package/lib/cjs/icons/express_mission.d.ts +2 -1
- package/lib/cjs/icons/express_mission_card.d.ts +2 -1
- package/lib/cjs/icons/external_link.d.ts +2 -1
- package/lib/cjs/icons/eye.d.ts +2 -1
- package/lib/cjs/icons/file_type_text.d.ts +2 -1
- package/lib/cjs/icons/filter.d.ts +2 -1
- package/lib/cjs/icons/fit.d.ts +2 -1
- package/lib/cjs/icons/folder.d.ts +2 -1
- package/lib/cjs/icons/good_emoticon.d.ts +2 -1
- package/lib/cjs/icons/grid.d.ts +2 -1
- package/lib/cjs/icons/grip.d.ts +2 -1
- package/lib/cjs/icons/heart.d.ts +2 -1
- package/lib/cjs/icons/highlighter.d.ts +2 -1
- package/lib/cjs/icons/icon_with_count.d.ts +1 -1
- package/lib/cjs/icons/image_file.d.ts +2 -1
- package/lib/cjs/icons/key.d.ts +2 -1
- package/lib/cjs/icons/knockout.d.ts +2 -1
- package/lib/cjs/icons/link.d.ts +2 -1
- package/lib/cjs/icons/live_mission.d.ts +2 -1
- package/lib/cjs/icons/live_mission_card.d.ts +2 -1
- package/lib/cjs/icons/live_notes.d.ts +2 -1
- package/lib/cjs/icons/location.d.ts +2 -1
- package/lib/cjs/icons/lock.d.ts +2 -1
- package/lib/cjs/icons/map.d.ts +2 -1
- package/lib/cjs/icons/media.d.ts +2 -1
- package/lib/cjs/icons/media_upload.d.ts +2 -1
- package/lib/cjs/icons/mic.d.ts +2 -1
- package/lib/cjs/icons/minus.d.ts +2 -1
- package/lib/cjs/icons/mission.d.ts +2 -1
- package/lib/cjs/icons/mission_card.d.ts +2 -1
- package/lib/cjs/icons/mobile.d.ts +2 -1
- package/lib/cjs/icons/more.d.ts +2 -1
- package/lib/cjs/icons/multi_exclude.d.ts +2 -1
- package/lib/cjs/icons/note.d.ts +2 -1
- package/lib/cjs/icons/number.d.ts +2 -1
- package/lib/cjs/icons/observer.d.ts +2 -1
- package/lib/cjs/icons/open_ended.d.ts +2 -1
- package/lib/cjs/icons/payment.d.ts +2 -1
- package/lib/cjs/icons/pen.d.ts +2 -1
- package/lib/cjs/icons/pin.d.ts +2 -1
- package/lib/cjs/icons/play.d.ts +2 -1
- package/lib/cjs/icons/plus.d.ts +2 -1
- package/lib/cjs/icons/poor_emoticon.d.ts +2 -1
- package/lib/cjs/icons/power.d.ts +2 -1
- package/lib/cjs/icons/profile.d.ts +2 -1
- package/lib/cjs/icons/quotation_mark.d.ts +2 -1
- package/lib/cjs/icons/radio_circle.d.ts +2 -1
- package/lib/cjs/icons/randomize.d.ts +2 -1
- package/lib/cjs/icons/reinclude.d.ts +2 -1
- package/lib/cjs/icons/remote.d.ts +2 -1
- package/lib/cjs/icons/responses.d.ts +2 -1
- package/lib/cjs/icons/rocket.d.ts +2 -1
- package/lib/cjs/icons/round_arrow_down_left.d.ts +2 -1
- package/lib/cjs/icons/round_arrow_right.d.ts +2 -1
- package/lib/cjs/icons/row.d.ts +2 -1
- package/lib/cjs/icons/scale.d.ts +2 -1
- package/lib/cjs/icons/screen.d.ts +2 -1
- package/lib/cjs/icons/screen_share.d.ts +2 -1
- package/lib/cjs/icons/screener.d.ts +2 -1
- package/lib/cjs/icons/screener_card.d.ts +2 -1
- package/lib/cjs/icons/screener_small.d.ts +2 -1
- package/lib/cjs/icons/send_payment.d.ts +2 -1
- package/lib/cjs/icons/settings.d.ts +2 -1
- package/lib/cjs/icons/settings_alt.d.ts +2 -1
- package/lib/cjs/icons/share.d.ts +2 -1
- package/lib/cjs/icons/sidebar.d.ts +2 -1
- package/lib/cjs/icons/skip_end.d.ts +2 -1
- package/lib/cjs/icons/sort_asc.d.ts +2 -1
- package/lib/cjs/icons/sort_desc.d.ts +2 -1
- package/lib/cjs/icons/speaker_on.d.ts +2 -1
- package/lib/cjs/icons/speech_bubble.d.ts +2 -1
- package/lib/cjs/icons/spinner.d.ts +2 -1
- package/lib/cjs/icons/spinner_progress.d.ts +2 -1
- package/lib/cjs/icons/spreadsheet_file.d.ts +2 -1
- package/lib/cjs/icons/stacked_missions.d.ts +2 -1
- package/lib/cjs/icons/star.d.ts +2 -1
- package/lib/cjs/icons/stim.d.ts +2 -1
- package/lib/cjs/icons/summary.d.ts +2 -1
- package/lib/cjs/icons/tag.d.ts +2 -1
- package/lib/cjs/icons/tag_group.d.ts +2 -1
- package/lib/cjs/icons/team.d.ts +2 -1
- package/lib/cjs/icons/thumbs_down.d.ts +2 -1
- package/lib/cjs/icons/thumbs_up.d.ts +2 -1
- package/lib/cjs/icons/translate.d.ts +2 -1
- package/lib/cjs/icons/trash.d.ts +2 -1
- package/lib/cjs/icons/triangle_inverted.d.ts +2 -1
- package/lib/cjs/icons/type_video.d.ts +2 -1
- package/lib/cjs/icons/upload.d.ts +2 -1
- package/lib/cjs/icons/video_fast_forward.d.ts +2 -1
- package/lib/cjs/icons/video_next.d.ts +2 -1
- package/lib/cjs/icons/video_pause.d.ts +2 -1
- package/lib/cjs/icons/video_play.d.ts +2 -1
- package/lib/cjs/icons/video_skip.d.ts +2 -1
- package/lib/cjs/icons/videocamera.d.ts +2 -1
- package/lib/cjs/icons/wand.d.ts +2 -1
- package/lib/cjs/icons/wifi.d.ts +2 -1
- package/lib/cjs/icons/x.d.ts +2 -1
- package/lib/esm/components/advanced_options.d.ts +1 -1
- package/lib/esm/components/attribute_input.d.ts +1 -1
- package/lib/esm/components/attribute_input.js +1 -4
- package/lib/esm/components/attribute_input.js.map +1 -1
- package/lib/esm/components/attribute_selector.d.ts +2 -1
- package/lib/esm/components/avatar.d.ts +2 -1
- package/lib/esm/components/blitz.d.ts +1 -1
- package/lib/esm/components/button.d.ts +3 -3
- package/lib/esm/components/button.js +2 -2
- package/lib/esm/components/button.js.map +1 -1
- package/lib/esm/components/button_control.d.ts +1 -1
- package/lib/esm/components/button_icon.d.ts +1 -1
- package/lib/esm/components/button_mode.d.ts +1 -1
- package/lib/esm/components/button_plain.d.ts +1 -1
- package/lib/esm/components/card.d.ts +1 -1
- package/lib/esm/components/card_body.d.ts +1 -1
- package/lib/esm/components/card_footer.d.ts +1 -1
- package/lib/esm/components/cards.d.ts +1 -1
- package/lib/esm/components/checkbox_input.d.ts +1 -1
- package/lib/esm/components/chip.d.ts +1 -1
- package/lib/esm/components/collapsible_content.d.ts +1 -1
- package/lib/esm/components/collapsing_menu.d.ts +1 -1
- package/lib/esm/components/column.d.ts +1 -1
- package/lib/esm/components/common_button.d.ts +1 -1
- package/lib/esm/components/common_input.d.ts +1 -1
- package/lib/esm/components/common_menu_item.d.ts +2 -1
- package/lib/esm/components/common_menu_item.js.map +1 -1
- package/lib/esm/components/container.d.ts +1 -1
- package/lib/esm/components/container_header.d.ts +1 -1
- package/lib/esm/components/date_input.d.ts +1 -1
- package/lib/esm/components/drag_and_drop.d.ts +1 -1
- package/lib/esm/components/dropdown.d.ts +4 -2
- package/lib/esm/components/dropdown.js +15 -12
- package/lib/esm/components/dropdown.js.map +1 -1
- package/lib/esm/components/dropdown_input_toggle.d.ts +1 -1
- package/lib/esm/components/editing_container.d.ts +1 -1
- package/lib/esm/components/email_input.d.ts +1 -1
- package/lib/esm/components/file_input.d.ts +1 -1
- package/lib/esm/components/flex.d.ts +1 -1
- package/lib/esm/components/focus_intent.d.ts +1 -1
- package/lib/esm/components/focus_trap.d.ts +3 -3
- package/lib/esm/components/focus_trap.js +5 -0
- package/lib/esm/components/focus_trap.js.map +1 -1
- package/lib/esm/components/footnote.d.ts +1 -1
- package/lib/esm/components/formatted_text.d.ts +2 -1
- package/lib/esm/components/heading.d.ts +1 -1
- package/lib/esm/components/input_addon.d.ts +1 -1
- package/lib/esm/components/input_group.d.ts +1 -1
- package/lib/esm/components/input_group_item.d.ts +1 -1
- package/lib/esm/components/link_text.d.ts +1 -1
- package/lib/esm/components/list.d.ts +1 -1
- package/lib/esm/components/list_inline.d.ts +1 -1
- package/lib/esm/components/menu.d.ts +1 -1
- package/lib/esm/components/menu_item.d.ts +3 -2
- package/lib/esm/components/menu_item.js +7 -2
- package/lib/esm/components/menu_item.js.map +1 -1
- package/lib/esm/components/menu_item_li.d.ts +3 -2
- package/lib/esm/components/menu_item_li.js +7 -2
- package/lib/esm/components/menu_item_li.js.map +1 -1
- package/lib/esm/components/menu_link.d.ts +1 -1
- package/lib/esm/components/menu_list.d.ts +1 -1
- package/lib/esm/components/menu_section.d.ts +1 -1
- package/lib/esm/components/menu_title.d.ts +1 -1
- package/lib/esm/components/modal.d.ts +1 -1
- package/lib/esm/components/modal.js +1 -1
- package/lib/esm/components/modal.js.map +1 -1
- package/lib/esm/components/modifier.d.ts +2 -1
- package/lib/esm/components/modifier.js +2 -2
- package/lib/esm/components/modifier.js.map +1 -1
- package/lib/esm/components/number_input.d.ts +1 -1
- package/lib/esm/components/password_input.d.ts +1 -1
- package/lib/esm/components/pill.d.ts +1 -1
- package/lib/esm/components/radio_input.d.ts +1 -1
- package/lib/esm/components/range_input.d.ts +1 -1
- package/lib/esm/components/row.d.ts +1 -1
- package/lib/esm/components/search_input.d.ts +1 -1
- package/lib/esm/components/segmented_controls.d.ts +1 -1
- package/lib/esm/components/select_input.d.ts +1 -1
- package/lib/esm/components/separator.d.ts +2 -1
- package/lib/esm/components/speech_bubble.d.ts +1 -1
- package/lib/esm/components/swappable_content.d.ts +1 -1
- package/lib/esm/components/tags_input.d.ts +4 -3
- package/lib/esm/components/tags_input.js +16 -5
- package/lib/esm/components/tags_input.js.map +1 -1
- package/lib/esm/components/text_input.d.ts +1 -1
- package/lib/esm/components/textarea.d.ts +4 -3
- package/lib/esm/components/textarea.js +15 -6
- package/lib/esm/components/textarea.js.map +1 -1
- package/lib/esm/components/theme_provider.d.ts +2 -2
- package/lib/esm/components/thumbnail.d.ts +2 -1
- package/lib/esm/components/togglable_fieldset.d.ts +1 -1
- package/lib/esm/components/toggle.d.ts +1 -1
- package/lib/esm/components/tooltip.d.ts +1 -1
- package/lib/esm/components/tooltip_container.d.ts +1 -1
- package/lib/esm/components/with_addons.d.ts +1 -1
- package/lib/esm/icons/alert.d.ts +2 -1
- package/lib/esm/icons/amazing_emoticon.d.ts +2 -1
- package/lib/esm/icons/analysis.d.ts +2 -1
- package/lib/esm/icons/approve_payment.d.ts +2 -1
- package/lib/esm/icons/archive.d.ts +2 -1
- package/lib/esm/icons/arrow_up.d.ts +2 -1
- package/lib/esm/icons/autotag.d.ts +2 -1
- package/lib/esm/icons/bell.d.ts +2 -1
- package/lib/esm/icons/bookmark.d.ts +2 -1
- package/lib/esm/icons/camera.d.ts +2 -1
- package/lib/esm/icons/checkbox_check.d.ts +2 -1
- package/lib/esm/icons/checkbox_indeterminate.d.ts +2 -1
- package/lib/esm/icons/checkmark.d.ts +2 -1
- package/lib/esm/icons/checkpoint.d.ts +2 -1
- package/lib/esm/icons/chevron.d.ts +2 -1
- package/lib/esm/icons/choice.d.ts +2 -1
- package/lib/esm/icons/circle.d.ts +2 -1
- package/lib/esm/icons/circle_checkmark.d.ts +2 -1
- package/lib/esm/icons/circle_chevron.d.ts +2 -1
- package/lib/esm/icons/circle_clone.d.ts +2 -1
- package/lib/esm/icons/circle_i.d.ts +2 -1
- package/lib/esm/icons/circle_minus.d.ts +2 -1
- package/lib/esm/icons/circle_plus.d.ts +2 -1
- package/lib/esm/icons/circle_question.d.ts +2 -1
- package/lib/esm/icons/circle_x.d.ts +2 -1
- package/lib/esm/icons/clip.d.ts +2 -1
- package/lib/esm/icons/clock.d.ts +2 -1
- package/lib/esm/icons/clone.d.ts +2 -1
- package/lib/esm/icons/column.d.ts +2 -1
- package/lib/esm/icons/common_svg.d.ts +1 -1
- package/lib/esm/icons/download.d.ts +2 -1
- package/lib/esm/icons/drag_dots.d.ts +2 -1
- package/lib/esm/icons/dscout.d.ts +2 -1
- package/lib/esm/icons/edit.d.ts +2 -1
- package/lib/esm/icons/email.d.ts +2 -1
- package/lib/esm/icons/exclude.d.ts +2 -1
- package/lib/esm/icons/export_icon.d.ts +2 -1
- package/lib/esm/icons/express_mission.d.ts +2 -1
- package/lib/esm/icons/express_mission_card.d.ts +2 -1
- package/lib/esm/icons/external_link.d.ts +2 -1
- package/lib/esm/icons/eye.d.ts +2 -1
- package/lib/esm/icons/file_type_text.d.ts +2 -1
- package/lib/esm/icons/filter.d.ts +2 -1
- package/lib/esm/icons/fit.d.ts +2 -1
- package/lib/esm/icons/folder.d.ts +2 -1
- package/lib/esm/icons/good_emoticon.d.ts +2 -1
- package/lib/esm/icons/grid.d.ts +2 -1
- package/lib/esm/icons/grip.d.ts +2 -1
- package/lib/esm/icons/heart.d.ts +2 -1
- package/lib/esm/icons/highlighter.d.ts +2 -1
- package/lib/esm/icons/icon_with_count.d.ts +1 -1
- package/lib/esm/icons/image_file.d.ts +2 -1
- package/lib/esm/icons/key.d.ts +2 -1
- package/lib/esm/icons/knockout.d.ts +2 -1
- package/lib/esm/icons/link.d.ts +2 -1
- package/lib/esm/icons/live_mission.d.ts +2 -1
- package/lib/esm/icons/live_mission_card.d.ts +2 -1
- package/lib/esm/icons/live_notes.d.ts +2 -1
- package/lib/esm/icons/location.d.ts +2 -1
- package/lib/esm/icons/lock.d.ts +2 -1
- package/lib/esm/icons/map.d.ts +2 -1
- package/lib/esm/icons/media.d.ts +2 -1
- package/lib/esm/icons/media_upload.d.ts +2 -1
- package/lib/esm/icons/mic.d.ts +2 -1
- package/lib/esm/icons/minus.d.ts +2 -1
- package/lib/esm/icons/mission.d.ts +2 -1
- package/lib/esm/icons/mission_card.d.ts +2 -1
- package/lib/esm/icons/mobile.d.ts +2 -1
- package/lib/esm/icons/more.d.ts +2 -1
- package/lib/esm/icons/multi_exclude.d.ts +2 -1
- package/lib/esm/icons/note.d.ts +2 -1
- package/lib/esm/icons/number.d.ts +2 -1
- package/lib/esm/icons/observer.d.ts +2 -1
- package/lib/esm/icons/open_ended.d.ts +2 -1
- package/lib/esm/icons/payment.d.ts +2 -1
- package/lib/esm/icons/pen.d.ts +2 -1
- package/lib/esm/icons/pin.d.ts +2 -1
- package/lib/esm/icons/play.d.ts +2 -1
- package/lib/esm/icons/plus.d.ts +2 -1
- package/lib/esm/icons/poor_emoticon.d.ts +2 -1
- package/lib/esm/icons/power.d.ts +2 -1
- package/lib/esm/icons/profile.d.ts +2 -1
- package/lib/esm/icons/quotation_mark.d.ts +2 -1
- package/lib/esm/icons/radio_circle.d.ts +2 -1
- package/lib/esm/icons/randomize.d.ts +2 -1
- package/lib/esm/icons/reinclude.d.ts +2 -1
- package/lib/esm/icons/remote.d.ts +2 -1
- package/lib/esm/icons/responses.d.ts +2 -1
- package/lib/esm/icons/rocket.d.ts +2 -1
- package/lib/esm/icons/round_arrow_down_left.d.ts +2 -1
- package/lib/esm/icons/round_arrow_right.d.ts +2 -1
- package/lib/esm/icons/row.d.ts +2 -1
- package/lib/esm/icons/scale.d.ts +2 -1
- package/lib/esm/icons/screen.d.ts +2 -1
- package/lib/esm/icons/screen_share.d.ts +2 -1
- package/lib/esm/icons/screener.d.ts +2 -1
- package/lib/esm/icons/screener_card.d.ts +2 -1
- package/lib/esm/icons/screener_small.d.ts +2 -1
- package/lib/esm/icons/send_payment.d.ts +2 -1
- package/lib/esm/icons/settings.d.ts +2 -1
- package/lib/esm/icons/settings_alt.d.ts +2 -1
- package/lib/esm/icons/share.d.ts +2 -1
- package/lib/esm/icons/sidebar.d.ts +2 -1
- package/lib/esm/icons/skip_end.d.ts +2 -1
- package/lib/esm/icons/sort_asc.d.ts +2 -1
- package/lib/esm/icons/sort_desc.d.ts +2 -1
- package/lib/esm/icons/speaker_on.d.ts +2 -1
- package/lib/esm/icons/speech_bubble.d.ts +2 -1
- package/lib/esm/icons/spinner.d.ts +2 -1
- package/lib/esm/icons/spinner_progress.d.ts +2 -1
- package/lib/esm/icons/spreadsheet_file.d.ts +2 -1
- package/lib/esm/icons/stacked_missions.d.ts +2 -1
- package/lib/esm/icons/star.d.ts +2 -1
- package/lib/esm/icons/stim.d.ts +2 -1
- package/lib/esm/icons/summary.d.ts +2 -1
- package/lib/esm/icons/tag.d.ts +2 -1
- package/lib/esm/icons/tag_group.d.ts +2 -1
- package/lib/esm/icons/team.d.ts +2 -1
- package/lib/esm/icons/thumbs_down.d.ts +2 -1
- package/lib/esm/icons/thumbs_up.d.ts +2 -1
- package/lib/esm/icons/translate.d.ts +2 -1
- package/lib/esm/icons/trash.d.ts +2 -1
- package/lib/esm/icons/triangle_inverted.d.ts +2 -1
- package/lib/esm/icons/type_video.d.ts +2 -1
- package/lib/esm/icons/upload.d.ts +2 -1
- package/lib/esm/icons/video_fast_forward.d.ts +2 -1
- package/lib/esm/icons/video_next.d.ts +2 -1
- package/lib/esm/icons/video_pause.d.ts +2 -1
- package/lib/esm/icons/video_play.d.ts +2 -1
- package/lib/esm/icons/video_skip.d.ts +2 -1
- package/lib/esm/icons/videocamera.d.ts +2 -1
- package/lib/esm/icons/wand.d.ts +2 -1
- package/lib/esm/icons/wifi.d.ts +2 -1
- package/lib/esm/icons/x.d.ts +2 -1
- package/lib/stylesheets/particle.css +61 -789
- package/lib/stylesheets/particle.css.map +1 -1
- package/lib/stylesheets/particle.min.css +1 -1
- package/lib/stylesheets/particle.min.css.gz +0 -0
- package/package.json +8 -2
- package/styles/color_schemes/_index.scss +0 -2
- package/styles/components/attribute_selector/_base.scss +33 -30
- package/styles/components/attribute_selector/themes/_theme_builder.scss +2 -1
- package/styles/components/button_mode/_base.scss +1 -1
- package/styles/components/button_mode/themes/_bandit.scss +24 -0
- package/styles/components/button_mode/themes/_theme_builder.scss +10 -10
- package/styles/components/buttons/_base.scss +0 -23
- package/styles/components/buttons/themes/_bandit.scss +1 -3
- package/styles/components/buttons/themes/_theme_builder.scss +3 -9
- package/styles/components/chip/_base.scss +0 -1
- package/styles/components/chip/themes/_theme_builder.scss +2 -2
- package/styles/components/dropdown/_base.scss +0 -1
- package/styles/components/inputs/_base.scss +8 -7
- package/styles/components/inputs/themes/_theme_builder.scss +1 -1
- package/styles/components/menu/_base.scss +1 -1
- package/styles/components/menu/themes/_theme_builder.scss +2 -1
- package/styles/components/selectors/_base.scss +0 -1
- package/styles/components/selectors/themes/_theme_builder.scss +5 -3
- package/styles/components/toggle/_base.scss +0 -1
- package/styles/components/toggle/themes/_theme_builder.scss +11 -9
- package/styles/particle.scss +0 -1
- package/styles/themes/_theme_builder.scss +10 -8
- package/styles/color_schemes/_express_dark.scss +0 -55
- package/styles/color_schemes/_express_dark_colors.scss +0 -14
- package/styles/color_schemes/_express_light.scss +0 -6
- package/styles/color_schemes/_express_light_colors.scss +0 -4
- package/styles/components/button_mode/themes/_express.scss +0 -24
- package/styles/components/buttons/themes/_express.scss +0 -11
- package/styles/components/chip/themes/_express.scss +0 -10
- package/styles/components/inputs/themes/_express.scss +0 -9
- package/styles/components/selectors/themes/_express.scss +0 -9
- package/styles/components/toggle/themes/_express.scss +0 -29
- package/styles/themes/_express.scss +0 -26
|
@@ -10,5 +10,5 @@ interface AdvancedOptionsProps extends CommonComponentProps, ModifierProps {
|
|
|
10
10
|
name?: string;
|
|
11
11
|
title: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
export declare function AdvancedOptions({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, initialCollapsed, name, title, ...rest }: AdvancedOptionsProps): JSX.Element;
|
|
13
|
+
export declare function AdvancedOptions({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, initialCollapsed, name, title, ...rest }: AdvancedOptionsProps): React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -14,5 +14,5 @@ interface AttributeInputProps extends CommonComponentProps, ModifierProps {
|
|
|
14
14
|
tabIndex?: number;
|
|
15
15
|
value: number | string;
|
|
16
16
|
}
|
|
17
|
-
export declare function AttributeInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, checked, disabled, getRef, id, label, name, value, onChange, readOnly, tabIndex, ...rest }: AttributeInputProps): JSX.Element;
|
|
17
|
+
export declare function AttributeInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, checked, disabled, getRef, id, label, name, value, onChange, readOnly, tabIndex, ...rest }: AttributeInputProps): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -40,11 +40,8 @@ function determineIdValue(id, label) {
|
|
|
40
40
|
function AttributeInput(_a) {
|
|
41
41
|
var _modifierClass = _a._modifierClass, ariaDescribedby = _a["aria-describedby"], ariaInvalid = _a["aria-invalid"], ariaLabel = _a["aria-label"], ariaLabelledby = _a["aria-labelledby"], checked = _a.checked, disabled = _a.disabled, getRef = _a.getRef, id = _a.id, label = _a.label, name = _a.name, value = _a.value, onChange = _a.onChange, readOnly = _a.readOnly, tabIndex = _a.tabIndex, rest = __rest(_a, ["_modifierClass", 'aria-describedby', 'aria-invalid', 'aria-label', 'aria-labelledby', "checked", "disabled", "getRef", "id", "label", "name", "value", "onChange", "readOnly", "tabIndex"]);
|
|
42
42
|
var attributeId = determineIdValue(id, label);
|
|
43
|
-
var selectorClassName = (0, class_names_1.default)('Attribute', _modifierClass
|
|
44
|
-
'Attribute--with-label': label
|
|
45
|
-
});
|
|
43
|
+
var selectorClassName = (0, class_names_1.default)('Attribute', _modifierClass);
|
|
46
44
|
var labelClassName = (0, class_names_1.default)('Attribute__Label', {
|
|
47
|
-
'Attribute__Label--selected': checked,
|
|
48
45
|
'Attribute__Label--read-only': readOnly
|
|
49
46
|
});
|
|
50
47
|
return (react_1.default.createElement("div", { className: selectorClassName },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribute_input.js","sourceRoot":"","sources":["../../../src/components/attribute_input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAK1B,qEAA8C;AAC9C,wCAAqD;AACrD,6EAAyD;AAgBzD,SAAS,gBAAgB,CAAC,EAAU,EAAE,KAAsB;IAC1D,IAAI,EAAE;QAAE,OAAO,EAAE,CAAC;IAElB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC7B,OAAO,IAAA,mBAAW,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,cAAM,EAAC,KAAK,CAAC,CAAC;KACnD;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,EAiBT;IAhBpB,IAAA,cAAc,oBAAA,EACM,eAAe,yBAAA,EACnB,WAAW,qBAAA,EACb,SAAS,mBAAA,EACJ,cAAc,wBAAA,EACjC,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,MAAM,YAAA,EACN,EAAE,QAAA,EACF,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,QAAQ,cAAA,EACL,IAAI,cAhBsB,4LAiB9B,CADQ;IAEP,IAAM,WAAW,GAAG,gBAAgB,C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,IAC3B,EAAE,EAAE,WAAW,EACf,IAAI,EAAE,IAAI,gBACE,SAAS,qBACJ,cAAc,kBACjB,WAAW,sBACP,eAAe,EACjC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,kBAAkB,EAC5B,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EACzC,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,IAClB;QACF,yCAAO,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW;YACpD,wCAAM,SAAS,EAAC,2BAA2B,IAAE,KAAK,CAAQ,CACpD,CACJ,CACP,CAAC;AACJ,CAAC;AAlDD,wCAkDC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { CommonComponentProps, ModifierProps } from '../types';
|
|
2
3
|
import type { GetRef } from '../utils/refs';
|
|
3
4
|
type AttributesMap = {
|
|
@@ -13,5 +14,5 @@ interface AttributeSelectorProps extends CommonComponentProps, ModifierProps {
|
|
|
13
14
|
readOnly?: boolean;
|
|
14
15
|
selected?: keyof AttributesMap;
|
|
15
16
|
}
|
|
16
|
-
export declare function AttributeSelector({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, attributes, disabled, getRef, id, name, onClick, readOnly, selected, ...rest }: AttributeSelectorProps): JSX.Element;
|
|
17
|
+
export declare function AttributeSelector({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, attributes, disabled, getRef, id, name, onClick, readOnly, selected, ...rest }: AttributeSelectorProps): React.JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { Colors, CommonComponentProps, ModifierProps } from '../types';
|
|
2
3
|
import type { GetRef } from '../utils/refs';
|
|
3
4
|
interface AvatarProps extends CommonComponentProps, ModifierProps {
|
|
@@ -12,5 +13,5 @@ interface AvatarProps extends CommonComponentProps, ModifierProps {
|
|
|
12
13
|
textColor?: Colors;
|
|
13
14
|
title?: string;
|
|
14
15
|
}
|
|
15
|
-
export declare function Avatar({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, active, avatarUrl, backgroundColor, getRef, id, name, outlineColor, size, textColor, title, ...rest }: AvatarProps): JSX.Element;
|
|
16
|
+
export declare function Avatar({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, active, avatarUrl, backgroundColor, getRef, id, name, outlineColor, size, textColor, title, ...rest }: AvatarProps): React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -11,5 +11,5 @@ interface BlitzProps extends CommonComponentProps {
|
|
|
11
11
|
requestClose?: () => void;
|
|
12
12
|
type?: 'alert' | 'notification' | 'coaching';
|
|
13
13
|
}
|
|
14
|
-
export declare function Blitz({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, closeButtonTitle, getRef, id, initialFocusOn, isVisible, requestClose, type, ...rest }: BlitzProps): JSX.Element;
|
|
14
|
+
export declare function Blitz({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, closeButtonTitle, getRef, id, initialFocusOn, isVisible, requestClose, type, ...rest }: BlitzProps): React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -3,8 +3,8 @@ import type { CommonComponentProps, ModifierProps } from '../types';
|
|
|
3
3
|
import type { GetRef } from '../utils/refs';
|
|
4
4
|
declare const COLORS: readonly ["alert", "close", "coachmark", "dscout", "archive", "none", "success", "note", "screener", "live", "diary", "test", "invert", "black", "white"];
|
|
5
5
|
declare const SIZES: readonly ["tiny", "small", "big"];
|
|
6
|
-
declare const WIDTHS: readonly ["fullwidth", "tight"
|
|
7
|
-
declare const VARIANTS: readonly ["glass", "outline"
|
|
6
|
+
declare const WIDTHS: readonly ["fullwidth", "tight"];
|
|
7
|
+
declare const VARIANTS: readonly ["glass", "outline"];
|
|
8
8
|
type Colors = (typeof COLORS)[number];
|
|
9
9
|
type Sizes = (typeof SIZES)[number];
|
|
10
10
|
type Widths = (typeof WIDTHS)[number];
|
|
@@ -31,5 +31,5 @@ interface ButtonProps extends CommonComponentProps, ModifierProps {
|
|
|
31
31
|
width?: Widths;
|
|
32
32
|
variant?: Variants;
|
|
33
33
|
}
|
|
34
|
-
export declare function Button({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, color, disabled, getRef, id, linkComponent, linkProps, name, onClick, onMouseUp, onMouseDown, refProp, size, title, type, width, variant, ...rest }: ButtonProps): JSX.Element;
|
|
34
|
+
export declare function Button({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, color, disabled, getRef, id, linkComponent, linkProps, name, onClick, onMouseUp, onMouseDown, refProp, size, title, type, width, variant, ...rest }: ButtonProps): React.JSX.Element;
|
|
35
35
|
export {};
|
|
@@ -48,8 +48,8 @@ var COLORS = [
|
|
|
48
48
|
'white'
|
|
49
49
|
];
|
|
50
50
|
var SIZES = ['tiny', 'small', 'big'];
|
|
51
|
-
var WIDTHS = ['fullwidth', 'tight'
|
|
52
|
-
var VARIANTS = ['glass', 'outline'
|
|
51
|
+
var WIDTHS = ['fullwidth', 'tight'];
|
|
52
|
+
var VARIANTS = ['glass', 'outline'];
|
|
53
53
|
var ENUMS = {
|
|
54
54
|
color: COLORS,
|
|
55
55
|
size: SIZES,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAK1B,qEAA8C;AAC9C,6EAAyD;AAEzD,iDAA+C;AAE/C,IAAM,MAAM,GAAG;IACb,OAAO;IACP,OAAO;IACP,WAAW;IACX,QAAQ;IACR,SAAS;IACT,MAAM;IACN,SAAS;IACT,MAAM;IACN,UAAU;IACV,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;CACC,CAAC;AAEX,IAAM,KAAK,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAU,CAAC;AAEhD,IAAM,MAAM,GAAG,CAAC,WAAW,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAK1B,qEAA8C;AAC9C,6EAAyD;AAEzD,iDAA+C;AAE/C,IAAM,MAAM,GAAG;IACb,OAAO;IACP,OAAO;IACP,WAAW;IACX,QAAQ;IACR,SAAS;IACT,MAAM;IACN,SAAS;IACT,MAAM;IACN,UAAU;IACV,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;CACC,CAAC;AAEX,IAAM,KAAK,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAU,CAAC;AAEhD,IAAM,MAAM,GAAG,CAAC,WAAW,EAAE,OAAO,CAAU,CAAC;AAE/C,IAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC;AAE/C,IAAM,KAAK,GAAG;IACZ,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,QAAQ;CAClB,CAAC;AA8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AS,qBACJ,cAAc,sBACb,eAAe,kBACnB,WAAW,EACzB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,EACN,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,KAET,QAAQ,CACI,CAChB,CAAC;AACJ,CAAC;AA9DD,wBA8DC"}
|
|
@@ -13,5 +13,5 @@ interface ButtonControlProps extends CommonComponentProps, ModifierProps {
|
|
|
13
13
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
14
14
|
title?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare function ButtonControl({ _modifierClass, active, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, name, onClick, title, ...rest }: ButtonControlProps): JSX.Element;
|
|
16
|
+
export declare function ButtonControl({ _modifierClass, active, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, name, onClick, title, ...rest }: ButtonControlProps): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -28,5 +28,5 @@ interface ButtonIconProps extends CommonComponentProps, ModifierProps {
|
|
|
28
28
|
title?: string;
|
|
29
29
|
type?: 'button' | 'submit';
|
|
30
30
|
}
|
|
31
|
-
export declare function ButtonIcon({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, bgColor, bgSize, borderColor, children, color, disabled, getRef, hoverBgColor, hoverBorderColor, hoverColor, hoverBgSize, id, linkComponent, linkProps, name, onClick, onMouseUp, radius, onMouseDown, refProp, title, type, ...rest }: ButtonIconProps): JSX.Element;
|
|
31
|
+
export declare function ButtonIcon({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, bgColor, bgSize, borderColor, children, color, disabled, getRef, hoverBgColor, hoverBorderColor, hoverColor, hoverBgSize, id, linkComponent, linkProps, name, onClick, onMouseUp, radius, onMouseDown, refProp, title, type, ...rest }: ButtonIconProps): React.JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -20,5 +20,5 @@ interface ButtonModeProps extends CommonComponentProps, ModifierProps {
|
|
|
20
20
|
title?: string;
|
|
21
21
|
type?: 'button' | 'submit';
|
|
22
22
|
}
|
|
23
|
-
export declare function ButtonMode({ _modifierClass, active, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, disabled, getRef, id, linkComponent, linkProps, name, onClick, onMouseUp, onMouseDown, refProp, title, type, ...rest }: ButtonModeProps): JSX.Element;
|
|
23
|
+
export declare function ButtonMode({ _modifierClass, active, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, disabled, getRef, id, linkComponent, linkProps, name, onClick, onMouseUp, onMouseDown, refProp, title, type, ...rest }: ButtonModeProps): React.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -13,5 +13,5 @@ interface ButtonPlainProps extends CommonComponentProps, ModifierProps {
|
|
|
13
13
|
title?: string;
|
|
14
14
|
type?: 'button' | 'submit';
|
|
15
15
|
}
|
|
16
|
-
export declare function ButtonPlain({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, name, onClick, title, type, ...rest }: ButtonPlainProps): JSX.Element;
|
|
16
|
+
export declare function ButtonPlain({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, getRef, id, name, onClick, title, type, ...rest }: ButtonPlainProps): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -21,5 +21,5 @@ interface CardProps extends CommonComponentProps, ModifierProps {
|
|
|
21
21
|
max?: number | string;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
export declare function Card({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, borderColor, borderPosition, children, getRef, height, id, linkComponent, linkProps, refProp, width, ...rest }: CardProps): JSX.Element;
|
|
24
|
+
export declare function Card({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, borderColor, borderPosition, children, getRef, height, id, linkComponent, linkProps, refProp, width, ...rest }: CardProps): React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -6,5 +6,5 @@ interface CardBodyProps extends CommonComponentProps, ModifierProps {
|
|
|
6
6
|
getRef?: GetRef<HTMLDivElement>;
|
|
7
7
|
id?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function CardBody({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: CardBodyProps): JSX.Element;
|
|
9
|
+
export declare function CardBody({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: CardBodyProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -7,5 +7,5 @@ interface CardFooterProps extends CommonComponentProps, ModifierProps {
|
|
|
7
7
|
getRef?: GetRef<HTMLDivElement>;
|
|
8
8
|
id?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function CardFooter({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, hasDivider, getRef, id, ...rest }: CardFooterProps): JSX.Element;
|
|
10
|
+
export declare function CardFooter({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, hasDivider, getRef, id, ...rest }: CardFooterProps): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -6,5 +6,5 @@ interface CardsProps extends CommonComponentProps, ModifierProps {
|
|
|
6
6
|
getRef?: GetRef<HTMLDivElement>;
|
|
7
7
|
id?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Cards({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: CardsProps): JSX.Element;
|
|
9
|
+
export declare function Cards({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: CardsProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -16,5 +16,5 @@ interface CheckboxInputProps extends CommonComponentProps, ModifierProps {
|
|
|
16
16
|
tabIndex?: number;
|
|
17
17
|
value?: number | string;
|
|
18
18
|
}
|
|
19
|
-
export declare function CheckboxInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, checked, color, disabled, getRef, id, indeterminate, label, name, onChange, readOnly, tabIndex, value, ...rest }: CheckboxInputProps): JSX.Element;
|
|
19
|
+
export declare function CheckboxInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, checked, color, disabled, getRef, id, indeterminate, label, name, onChange, readOnly, tabIndex, value, ...rest }: CheckboxInputProps): React.JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -28,5 +28,5 @@ interface ChipProps extends CommonComponentProps, ModifierProps {
|
|
|
28
28
|
* will match the inherited text color. If desired, the text color can be set
|
|
29
29
|
* explicitly with `textColor` prop, but that's an unlikely use case.
|
|
30
30
|
*/
|
|
31
|
-
export declare function Chip({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, color, getRef, id, outline, textColor, title, ...rest }: ChipProps): JSX.Element;
|
|
31
|
+
export declare function Chip({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, color, getRef, id, outline, textColor, title, ...rest }: ChipProps): React.JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -14,5 +14,5 @@ interface CollapsibleContentProps extends CommonComponentProps, ModifierProps {
|
|
|
14
14
|
* transition. When fully expanded or collapsed, it removes the `maxHeight` so
|
|
15
15
|
* that any content that might change height will not be cut off.
|
|
16
16
|
*/
|
|
17
|
-
export declare function CollapsibleContent({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, collapsed: collapsedProp, getRef, id, ...rest }: CollapsibleContentProps): JSX.Element;
|
|
17
|
+
export declare function CollapsibleContent({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, collapsed: collapsedProp, getRef, id, ...rest }: CollapsibleContentProps): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -11,5 +11,5 @@ interface CollapsingMenuProps extends CommonComponentProps, ModifierProps {
|
|
|
11
11
|
initialCollapsed?: boolean;
|
|
12
12
|
name?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function CollapsingMenu({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, collapsedTitle, expandedTitle, getRef, heading, id, initialCollapsed, name, ...rest }: CollapsingMenuProps): JSX.Element;
|
|
14
|
+
export declare function CollapsingMenu({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, collapsedTitle, expandedTitle, getRef, heading, id, initialCollapsed, name, ...rest }: CollapsingMenuProps): React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -8,5 +8,5 @@ interface ColumnProps extends CommonComponentProps, ModifierProps {
|
|
|
8
8
|
span?: number;
|
|
9
9
|
total?: number;
|
|
10
10
|
}
|
|
11
|
-
export declare function Column({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, span, total, ...rest }: ColumnProps): JSX.Element;
|
|
11
|
+
export declare function Column({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, span, total, ...rest }: ColumnProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -25,5 +25,5 @@ interface CommonButtonProps extends CommonComponentProps {
|
|
|
25
25
|
title?: string;
|
|
26
26
|
type?: 'button' | 'submit';
|
|
27
27
|
}
|
|
28
|
-
export declare function CommonButton({ 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, className, disabled, getRef, id, linkComponent, linkProps, name, onBlur, onClick, onFocus, onMouseDown, onMouseEnter, onMouseLeave, onMouseUp, refProp, style, title, type, ...rest }: CommonButtonProps): JSX.Element;
|
|
28
|
+
export declare function CommonButton({ 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'aria-pressed': ariaPressed, children, className, disabled, getRef, id, linkComponent, linkProps, name, onBlur, onClick, onFocus, onMouseDown, onMouseEnter, onMouseLeave, onMouseUp, refProp, style, title, type, ...rest }: CommonButtonProps): React.JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -28,5 +28,5 @@ interface CommonInputProps extends CommonComponentProps, ModifierProps {
|
|
|
28
28
|
type?: string;
|
|
29
29
|
value?: number | string;
|
|
30
30
|
}
|
|
31
|
-
export declare function CommonInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, max, maxLength, min, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, placeholder, prefix, readOnly, suffix, step, tabIndex, type, value, ...rest }: CommonInputProps): JSX.Element;
|
|
31
|
+
export declare function CommonInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, max, maxLength, min, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, placeholder, prefix, readOnly, suffix, step, tabIndex, type, value, ...rest }: CommonInputProps): React.JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -16,7 +16,8 @@ interface CommonMenuItemProps extends CommonComponentProps, ModifierProps {
|
|
|
16
16
|
selected?: boolean;
|
|
17
17
|
sortable?: boolean;
|
|
18
18
|
wrapWithLI?: boolean;
|
|
19
|
+
style?: React.CSSProperties;
|
|
19
20
|
[key: string]: unknown;
|
|
20
21
|
}
|
|
21
|
-
export declare function CommonMenuItem({ _modifierClass, active, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, color, component, disabled, getRef, id, name, onClick, onKeyDown, refProp, selected, sortable, wrapWithLI, ...otherProps }: CommonMenuItemProps): JSX.Element;
|
|
22
|
+
export declare function CommonMenuItem({ _modifierClass, active, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, color, component, disabled, getRef, id, name, onClick, onKeyDown, refProp, selected, sortable, wrapWithLI, ...otherProps }: CommonMenuItemProps): React.JSX.Element;
|
|
22
23
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common_menu_item.js","sourceRoot":"","sources":["../../../src/components/common_menu_item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAK1B,qEAA8C;AAC9C,2DAAqC;
|
|
1
|
+
{"version":3,"file":"common_menu_item.js","sourceRoot":"","sources":["../../../src/components/common_menu_item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAK1B,qEAA8C;AAC9C,2DAAqC;AAqBrC,IAAM,sBAAsB,GAAG,CAAC,WAAW,CAAC,CAAC;AAE7C,SAAS,kBAAkB,CAAC,KAA8B;IACxD,OAAO,IAAA,gBAAM,EAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,qBAAqB,CAAC,cAAsB;IACnD,IAAI,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;QACpC,+BAA+B;QAC/B,OAAO,CAAC,IAAI,CACV,uEAAuE;YACrE,iEAAiE;YACjE,oBAAoB,CACvB,CAAC;QACF,8BAA8B;KAC/B;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,EAoBT;;IAnBpB,IAAA,cAAc,oBAAA,EACd,MAAM,YAAA,EACQ,SAAS,mBAAA,EACJ,cAAc,wBAAA,EACb,eAAe,yBAAA,EACnC,QAAQ,cAAA,EACR,KAAK,WAAA,EACL,iBAAoB,EAApB,SAAS,mBAAG,QAAQ,KAAA,EACpB,QAAQ,cAAA,EACR,MAAM,YAAA,EACN,EAAE,QAAA,EACF,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,SAAS,eAAA,EACT,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,UAAU,gBAAA,EACP,UAAU,cAnBgB,gOAoB9B,CADc;IAEb,kFAAkF;IAClF,yDAAyD;IACzD,IAAM,SAAS,GAAG,IAAA,qBAAU,EAAC,YAAY,EAAE,cAAc;YACvD,oBAAoB,EAAE,MAAM;YAC5B,sBAAsB,EAAE,QAAQ;YAChC,sBAAsB,EAAE,QAAQ;YAChC,sBAAsB,EAAE,QAAQ;;QAChC,GAAC,iBAAU,KAAK,CAAE,IAAG,KAAK;YAC1B,CAAC;IAEH,IAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,WAAG,GAAC,OAAO,IAAG,MAAM,MAAG,CAAC,CAAC,EAAE,CAAC;IACrD,IAAM,SAAS,GAAG,SAAS,CAAC;IAE5B,qBAAqB,CAAC,cAAc,CAAC,CAAC;IAEtC,IAAM,OAAO,GAAG,CACd,8BAAC,SAAS,2BACI,SAAS,qBACJ,cAAc,sBACb,eAAe,EACjC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAChB,QAAQ,EACR,kBAAkB,CAAC,UAAU,CAAC,GAEjC,QAAQ,CACC,CACb,CAAC;IAEF,OAAO,UAAU,CAAC,CAAC,CAAC,0CAAK,OAAO,CAAM,CAAC,CAAC,CAAC,OAAO,CAAC;AACnD,CAAC;AAvDD,wCAuDC"}
|
|
@@ -8,5 +8,5 @@ interface ContainerProps extends CommonComponentProps, ModifierProps {
|
|
|
8
8
|
padding?: Spacing;
|
|
9
9
|
shadow?: Shadows;
|
|
10
10
|
}
|
|
11
|
-
export declare function Container({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, padding, shadow, ...rest }: ContainerProps): JSX.Element;
|
|
11
|
+
export declare function Container({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, padding, shadow, ...rest }: ContainerProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ interface ContainerHeaderProps extends CommonComponentProps, ModifierProps {
|
|
|
8
8
|
isEditing?: boolean;
|
|
9
9
|
onClick?: React.MouseEventHandler;
|
|
10
10
|
}
|
|
11
|
-
export declare function ContainerHeader({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, isEditing, onClick, ...rest }: ContainerHeaderProps): JSX.Element;
|
|
11
|
+
export declare function ContainerHeader({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, isEditing, onClick, ...rest }: ContainerHeaderProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -24,5 +24,5 @@ interface DateInputProps extends CommonComponentProps, ModifierProps {
|
|
|
24
24
|
tabIndex?: number;
|
|
25
25
|
value?: number | string;
|
|
26
26
|
}
|
|
27
|
-
export declare function DateInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, max, min, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, readOnly, step, tabIndex, value, ...rest }: DateInputProps): JSX.Element;
|
|
27
|
+
export declare function DateInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, max, min, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, readOnly, step, tabIndex, value, ...rest }: DateInputProps): React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -19,5 +19,5 @@ interface DragAndDropProps extends CommonComponentProps, ModifierProps {
|
|
|
19
19
|
tabIndex?: number;
|
|
20
20
|
value?: string;
|
|
21
21
|
}
|
|
22
|
-
export declare function DragAndDrop({ _modifierClass, accept, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, error, children, disabled, getRef, id, multiple, name, onChange, onDrop, onDragEnter, onDragOver, onDragLeave, success, tabIndex, value, ...rest }: DragAndDropProps): JSX.Element;
|
|
22
|
+
export declare function DragAndDrop({ _modifierClass, accept, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, error, children, disabled, getRef, id, multiple, name, onChange, onDrop, onDragEnter, onDragOver, onDragLeave, success, tabIndex, value, ...rest }: DragAndDropProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import type { CommonComponentProps, ModifierProps } from '../types';
|
|
2
|
+
import type { CommonComponentProps, ModifierProps, Shadows } from '../types';
|
|
3
3
|
import type { GetRef } from '../utils/refs';
|
|
4
4
|
type ChildrenRenderProp = (args: {
|
|
5
5
|
isOpen: boolean;
|
|
@@ -14,6 +14,7 @@ type ToggleRenderProp = (args: {
|
|
|
14
14
|
interface DropdownProps extends CommonComponentProps, ModifierProps {
|
|
15
15
|
align?: 'left' | 'right';
|
|
16
16
|
children?: React.ReactElement | ChildrenRenderProp;
|
|
17
|
+
contentShadow?: Shadows | 'none';
|
|
17
18
|
contentWidth?: number | string;
|
|
18
19
|
getRef?: GetRef<HTMLDivElement>;
|
|
19
20
|
id?: string;
|
|
@@ -31,6 +32,7 @@ interface DropdownState {
|
|
|
31
32
|
export declare class Dropdown extends Component<DropdownProps, DropdownState> {
|
|
32
33
|
static defaultProps: {
|
|
33
34
|
align: string;
|
|
35
|
+
contentShadow: string;
|
|
34
36
|
opens: string;
|
|
35
37
|
};
|
|
36
38
|
contentElem: HTMLDivElement;
|
|
@@ -45,6 +47,6 @@ export declare class Dropdown extends Component<DropdownProps, DropdownState> {
|
|
|
45
47
|
close(): void;
|
|
46
48
|
renderChildren(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
47
49
|
renderToggle(ariaControlsId: string): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
48
|
-
render(): JSX.Element;
|
|
50
|
+
render(): React.JSX.Element;
|
|
49
51
|
}
|
|
50
52
|
export {};
|
|
@@ -164,22 +164,24 @@ var Dropdown = /** @class */ (function (_super) {
|
|
|
164
164
|
return react_1.default.cloneElement(this.props.toggle, toggleProps);
|
|
165
165
|
};
|
|
166
166
|
Dropdown.prototype.render = function () {
|
|
167
|
-
var _a;
|
|
167
|
+
var _a, _b;
|
|
168
168
|
var _this = this;
|
|
169
169
|
var isOpen = this.state.isOpen;
|
|
170
|
-
var
|
|
170
|
+
var _c = this.props,
|
|
171
171
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
172
|
-
_modifierClass =
|
|
172
|
+
_modifierClass = _c._modifierClass, align = _c.align, ariaLabel = _c["aria-label"], ariaLabelledby = _c["aria-labelledby"], ariaDescribedby = _c["aria-describedby"], contentShadow = _c.contentShadow, contentWidth = _c.contentWidth, getRef = _c.getRef, id = _c.id, maxHeight = _c.maxHeight, opens = _c.opens, rest = __rest(_c, ["_modifierClass", "align", 'aria-label', 'aria-labelledby', 'aria-describedby', "contentShadow", "contentWidth", "getRef", "id", "maxHeight", "opens"]);
|
|
173
173
|
var className = (0, class_names_1.default)('Dropdown', _modifierClass);
|
|
174
|
-
var contentClassName = (0, class_names_1.default)('Dropdown__Content', {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
_a
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
174
|
+
var contentClassName = (0, class_names_1.default)('Dropdown__Content', (_a = {
|
|
175
|
+
'Dropdown__Content--open': isOpen
|
|
176
|
+
},
|
|
177
|
+
_a["shadow--".concat(contentShadow)] = contentShadow !== 'none',
|
|
178
|
+
_a));
|
|
179
|
+
var style = (_b = {},
|
|
180
|
+
_b[align] = 0,
|
|
181
|
+
_b[OPENS_PROP_MAPPING[opens]] = '100%',
|
|
182
|
+
_b.width = contentWidth,
|
|
183
|
+
_b.maxHeight = maxHeight,
|
|
184
|
+
_b);
|
|
183
185
|
var ariaControlsId = id ? "dropdown-togglable-content-".concat(id) : null;
|
|
184
186
|
return (react_1.default.createElement("div", __assign({}, (0, data_attributes_1.default)(rest), { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, className: className, ref: function (ref) {
|
|
185
187
|
if (ref)
|
|
@@ -194,6 +196,7 @@ var Dropdown = /** @class */ (function (_super) {
|
|
|
194
196
|
};
|
|
195
197
|
Dropdown.defaultProps = {
|
|
196
198
|
align: 'left',
|
|
199
|
+
contentShadow: 'xl',
|
|
197
200
|
opens: 'down'
|
|
198
201
|
};
|
|
199
202
|
return Dropdown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../src/components/dropdown.tsx"],"names":[],"mappings":";AAAA,4DAA4D;AAC5D,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,6CAAmD;AAKnD,sCAA6C;AAC7C,gDAAiE;AACjE,qEAA8C;AAC9C,6EAAyD;
|
|
1
|
+
{"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../src/components/dropdown.tsx"],"names":[],"mappings":";AAAA,4DAA4D;AAC5D,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD,6CAAmD;AAKnD,sCAA6C;AAC7C,gDAAiE;AACjE,qEAA8C;AAC9C,6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I,CAAC,WAAW,GAAG,EAAE,CAAC;gBAChC,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,IAAI,CAAC,mBAAmB,IAExC,IAAI,CAAC,cAAc,EAAE,CAClB,CACF,CACP,CAAC;IACJ,CAAC;IAtKM,qBAAY,GAAG;QACpB,KAAK,EAAE,MAAM;QACb,aAAa,EAAE,IAAI;QACnB,KAAK,EAAE,MAAM;KACd,CAAC;IAmKJ,eAAC;CAAA,AAxKD,CAA8B,iBAAS,GAwKtC;AAxKY,4BAAQ"}
|
|
@@ -14,5 +14,5 @@ interface DropdownInputToggleProps extends CommonComponentProps, ModifierProps {
|
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare function DropdownInputToggle({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, invalid, isToggled, mini, name, onClick, disabled, ...rest }: DropdownInputToggleProps): JSX.Element;
|
|
17
|
+
export declare function DropdownInputToggle({ _modifierClass, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, invalid, isToggled, mini, name, onClick, disabled, ...rest }: DropdownInputToggleProps): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -29,6 +29,6 @@ export declare class EditingContainer extends Component<EditingContainerProps> {
|
|
|
29
29
|
handleClick(event: React.MouseEvent | React.KeyboardEvent): void;
|
|
30
30
|
handleKeyDown(event: React.KeyboardEvent): void;
|
|
31
31
|
handleTransitionEnd(): void;
|
|
32
|
-
render(): JSX.Element;
|
|
32
|
+
render(): React.JSX.Element;
|
|
33
33
|
}
|
|
34
34
|
export {};
|
|
@@ -24,5 +24,5 @@ interface EmailInputProps extends CommonComponentProps, ModifierProps {
|
|
|
24
24
|
tabIndex?: number;
|
|
25
25
|
value?: number | string;
|
|
26
26
|
}
|
|
27
|
-
export declare function EmailInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, maxLength, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, placeholder, prefix, readOnly, suffix, tabIndex, value, ...rest }: EmailInputProps): JSX.Element;
|
|
27
|
+
export declare function EmailInput({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, autoComplete, autoFocus, disabled, getRef, id, invalid, maxLength, mini, name, onBlur, onChange, onFocus, onKeyDown, onPaste, placeholder, prefix, readOnly, suffix, tabIndex, value, ...rest }: EmailInputProps): React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -14,5 +14,5 @@ interface FileInputProps extends CommonComponentProps, ModifierProps {
|
|
|
14
14
|
tabIndex?: number;
|
|
15
15
|
onChange?: React.ChangeEventHandler;
|
|
16
16
|
}
|
|
17
|
-
export declare function FileInput({ _modifierClass, accept, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, filename, getRef, id, label, multiple, name, value, tabIndex, onChange, ...rest }: FileInputProps): JSX.Element;
|
|
17
|
+
export declare function FileInput({ _modifierClass, accept, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, filename, getRef, id, label, multiple, name, value, tabIndex, onChange, ...rest }: FileInputProps): React.JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -19,5 +19,5 @@ interface FlexProps extends CommonComponentProps, ModifierProps {
|
|
|
19
19
|
width?: Dimensions;
|
|
20
20
|
wrap?: boolean | string;
|
|
21
21
|
}
|
|
22
|
-
export declare function Flex({ _modifierClass, alignContent, alignItems, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, direction, getRef, height, id, inline, justify, spacing, width, wrap, ...rest }: FlexProps): JSX.Element;
|
|
22
|
+
export declare function Flex({ _modifierClass, alignContent, alignItems, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, direction, getRef, height, id, inline, justify, spacing, width, wrap, ...rest }: FlexProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
2
|
import type { GetRef } from '../utils/refs';
|
|
3
3
|
import type { CommonComponentProps } from '../types';
|
|
4
4
|
interface FocusTrapProps extends CommonComponentProps {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
as?: 'div' | 'span';
|
|
7
7
|
children?: React.ReactNode;
|
|
8
|
-
fallbackFocusOn?: Element | string;
|
|
8
|
+
fallbackFocusOn?: RefObject<Element> | Element | string;
|
|
9
9
|
getRef?: GetRef<HTMLDivElement | HTMLSpanElement>;
|
|
10
10
|
initialFocusOn?: Element | string;
|
|
11
11
|
refProp?: string;
|
|
12
12
|
setInitialFocus?: boolean;
|
|
13
13
|
[key: string]: unknown;
|
|
14
14
|
}
|
|
15
|
-
export declare function FocusTrap({ active, as: WrapperComponent, children, fallbackFocusOn, getRef, initialFocusOn, refProp, setInitialFocus, ...otherProps }: FocusTrapProps): JSX.Element;
|
|
15
|
+
export declare function FocusTrap({ active, as: WrapperComponent, children, fallbackFocusOn, getRef, initialFocusOn, refProp, setInitialFocus, ...otherProps }: FocusTrapProps): React.JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -61,6 +61,11 @@ function getFocusElement(focusOn, container) {
|
|
|
61
61
|
if (focusOn instanceof Element) {
|
|
62
62
|
element = focusOn;
|
|
63
63
|
}
|
|
64
|
+
else if (typeof focusOn === 'object' &&
|
|
65
|
+
focusOn !== null &&
|
|
66
|
+
focusOn.current instanceof Element) {
|
|
67
|
+
element = focusOn.current;
|
|
68
|
+
}
|
|
64
69
|
else if (typeof focusOn === 'string') {
|
|
65
70
|
element = container.parentElement.querySelector(focusOn);
|
|
66
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus_trap.js","sourceRoot":"","sources":["../../../src/components/focus_trap.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"focus_trap.js","sourceRoot":"","sources":["../../../src/components/focus_trap.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA4D;AAK5D,sCAA6C;AAC7C,oCAAqE;AAcrE,SAAS,0BAA0B,CAAC,OAAgB,EAAE,SAAkB;IACtE,IAAI,SAAS,KAAK,OAAO;QAAE,OAAO,IAAI,CAAC;IACvC,IAAI,IAAA,yBAAmB,EAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IAElE,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,eAAe,CACtB,OAA8C,EAC9C,SAAkB;IAElB,IAAI,OAAO,CAAC;IAEZ,IAAI,OAAO,YAAY,OAAO,EAAE;QAC9B,OAAO,GAAG,OAAO,CAAC;KACnB;SAAM,IACL,OAAO,OAAO,KAAK,QAAQ;QAC3B,OAAO,KAAK,IAAI;QAChB,OAAO,CAAC,OAAO,YAAY,OAAO,EAClC;QACA,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;KAC3B;SAAM,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QACtC,OAAO,GAAG,SAAS,CAAC,aAAa,CAAC,aAAa,CAAU,OAAO,CAAC,CAAC;KACnE;IAED,IAAI,OAAO,IAAI,0BAA0B,CAAC,OAAO,EAAE,SAA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CAAC;IAE9B,SAAS,0BAA0B;QACjC,IAAM,gBAAgB,GAAG,IAAA,yBAAmB,EAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACjE,IAAM,mBAAmB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE1E,CAAC,mBAAmB,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;IACtD,CAAC;IAED,SAAS,2BAA2B;QAClC,IAAM,gBAAgB,GAAG,IAAA,yBAAmB,EAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACjE,IAAM,oBAAoB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAEjD,CAAC,oBAAoB,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;IACvD,CAAC;IAED,OAAO,CACL;QACG,MAAM,IAAI,CACT,uDACc,MAAM,EAClB,OAAO,EAAE,0BAA0B;YACnC,+DAA+D;YAC/D,QAAQ,EAAE,CAAC,GACX,CACH;QACD,8BAAC,gBAAgB,eAAK,QAAQ,EAAM,UAAU,GAC3C,QAAQ,CACQ;QAClB,MAAM,IAAI,CACT,uDACc,MAAM,EAClB,OAAO,EAAE,2BAA2B;YACpC,+DAA+D;YAC/D,QAAQ,EAAE,CAAC,GACX,CACH,CACA,CACJ,CAAC;AACJ,CAAC;AAzED,8BAyEC"}
|
|
@@ -6,5 +6,5 @@ interface FootnoteProps extends CommonComponentProps, ModifierProps {
|
|
|
6
6
|
getRef?: GetRef<HTMLElement>;
|
|
7
7
|
id?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Footnote({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: FootnoteProps): JSX.Element;
|
|
9
|
+
export declare function Footnote({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, ...rest }: FootnoteProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { CommonComponentProps } from '../types';
|
|
2
3
|
import type { GetRef } from '../utils/refs';
|
|
3
4
|
interface FormattedTextProps extends CommonComponentProps {
|
|
@@ -6,5 +7,5 @@ interface FormattedTextProps extends CommonComponentProps {
|
|
|
6
7
|
getRef?: GetRef<HTMLSpanElement>;
|
|
7
8
|
id?: string;
|
|
8
9
|
}
|
|
9
|
-
export declare function FormattedText({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, formatter, getRef, id, ...rest }: FormattedTextProps): JSX.Element;
|
|
10
|
+
export declare function FormattedText({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, formatter, getRef, id, ...rest }: FormattedTextProps): React.JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -19,5 +19,5 @@ interface HeadingProps extends CommonComponentProps, ModifierProps {
|
|
|
19
19
|
*
|
|
20
20
|
* Apply the desired font size and weight via props.
|
|
21
21
|
*/
|
|
22
|
-
export declare function Heading({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, level, lineHeight, size, tracking, weight, ...rest }: HeadingProps): JSX.Element;
|
|
22
|
+
export declare function Heading({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, level, lineHeight, size, tracking, weight, ...rest }: HeadingProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -7,5 +7,5 @@ interface InputAddonProps extends CommonComponentProps {
|
|
|
7
7
|
id?: string;
|
|
8
8
|
mini?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare function InputAddon({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, filled, id, mini, ...rest }: InputAddonProps): JSX.Element;
|
|
10
|
+
export declare function InputAddon({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, disabled, filled, id, mini, ...rest }: InputAddonProps): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -4,5 +4,5 @@ interface InputGroupProps extends CommonComponentProps, ModifierProps {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
id?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function InputGroup({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, id, ...rest }: InputGroupProps): JSX.Element;
|
|
7
|
+
export declare function InputGroup({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, id, ...rest }: InputGroupProps): React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -6,5 +6,5 @@ interface InputGroupItemProps extends CommonComponentProps {
|
|
|
6
6
|
grow?: '0' | '1' | '2' | '3';
|
|
7
7
|
shrink?: '0' | '1' | '2' | '3';
|
|
8
8
|
}
|
|
9
|
-
export declare function InputGroupItem({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, id, grow, shrink, ...rest }: InputGroupItemProps): JSX.Element;
|
|
9
|
+
export declare function InputGroupItem({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, id, grow, shrink, ...rest }: InputGroupItemProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -15,5 +15,5 @@ interface LinkTextProps extends CommonComponentProps, ModifierProps {
|
|
|
15
15
|
title?: string;
|
|
16
16
|
weight?: FontWeights;
|
|
17
17
|
}
|
|
18
|
-
export declare function LinkText({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, children, color, download, getRef, href, id, onClick, rel, size, target, title, weight, ...rest }: LinkTextProps): JSX.Element;
|
|
18
|
+
export declare function LinkText({ _modifierClass, 'aria-describedby': ariaDescribedby, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, children, color, download, getRef, href, id, onClick, rel, size, target, title, weight, ...rest }: LinkTextProps): React.JSX.Element;
|
|
19
19
|
export {};
|