carbon-react 126.10.1 → 127.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/esm/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/esm/__internal__/input/input-presentation.component.js +19 -17
- package/esm/__internal__/input/input.component.js +355 -353
- package/esm/__internal__/input/input.style.d.ts +1 -1
- package/esm/__internal__/input/input.style.js +1 -7
- package/esm/__spec_helper__/index.js +5 -1
- package/esm/components/accordion/accordion.component.js +338 -336
- package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/esm/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/esm/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/esm/components/box/box.component.js +3785 -3783
- package/esm/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/esm/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/esm/components/button/button.component.js +688 -684
- package/esm/components/checkbox/checkbox.component.js +524 -522
- package/esm/components/date/date.component.js +722 -720
- package/esm/components/decimal/decimal.component.js +536 -534
- package/esm/components/dialog/dialog.component.js +56 -54
- package/esm/components/draggable/draggable-container.component.js +160 -158
- package/esm/components/draggable/draggable-item.component.js +162 -160
- package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/esm/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/esm/components/file-input/file-input.component.js +191 -189
- package/esm/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/esm/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
- package/esm/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/esm/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/esm/components/grouped-character/grouped-character.component.js +538 -536
- package/esm/components/help/help.component.js +172 -170
- package/esm/components/hr/hr.component.js +159 -157
- package/esm/components/icon/icon.component.js +181 -179
- package/esm/components/icon-button/icon-button.component.js +321 -319
- package/esm/components/link/link.component.js +72 -70
- package/esm/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/esm/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/esm/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/esm/components/message/message.component.js +168 -166
- package/esm/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/esm/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/esm/components/number/number.component.js +536 -534
- package/esm/components/pod/pod.component.js +178 -176
- package/esm/components/radio-button/radio-button.component.js +523 -521
- package/esm/components/search/search.component.js +183 -181
- package/esm/components/select/filterable-select/filterable-select.component.js +554 -552
- package/esm/components/select/list-action-button/list-action-button.component.js +6 -4
- package/esm/components/select/multi-select/multi-select.component.js +551 -549
- package/esm/components/select/option/option.component.js +402 -400
- package/esm/components/select/option-group-header/option-group-header.component.js +11 -9
- package/esm/components/select/option-row/option-row.component.js +16 -14
- package/esm/components/select/select-list/select-list.component.js +34 -32
- package/esm/components/select/select-textbox/select-textbox.component.js +543 -541
- package/esm/components/select/simple-select/simple-select.component.js +550 -548
- package/esm/components/sidebar/sidebar.component.js +297 -295
- package/esm/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/esm/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/esm/components/step-flow/step-flow.component.js +170 -168
- package/esm/components/switch/switch.component.js +524 -522
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/esm/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/esm/components/text-editor/text-editor.component.js +171 -169
- package/esm/components/textarea/textarea.component.js +532 -530
- package/esm/components/textbox/textbox.component.js +536 -534
- package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/esm/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/esm/components/tile-select/tile-select.component.js +180 -178
- package/esm/components/time/time.component.js +202 -200
- package/esm/components/toast/toast.component.js +18 -16
- package/esm/components/tooltip/tooltip.component.js +23 -21
- package/esm/components/vertical-divider/vertical-divider.component.js +316 -314
- package/lib/__internal__/checkable-input/checkable-input.component.js +362 -360
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +297 -295
- package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +6 -4
- package/lib/__internal__/input/input-presentation.component.js +19 -17
- package/lib/__internal__/input/input.component.js +355 -353
- package/lib/__internal__/input/input.style.d.ts +1 -1
- package/lib/__internal__/input/input.style.js +1 -7
- package/lib/__spec_helper__/index.js +5 -1
- package/lib/components/accordion/accordion.component.js +338 -336
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +22 -20
- package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +19 -17
- package/lib/components/anchor-navigation/anchor-navigation.component.js +6 -4
- package/lib/components/box/box.component.js +3785 -3783
- package/lib/components/breadcrumbs/breadcrumbs.component.js +316 -314
- package/lib/components/breadcrumbs/crumb/crumb.component.js +64 -62
- package/lib/components/button/button.component.js +688 -684
- package/lib/components/checkbox/checkbox.component.js +524 -522
- package/lib/components/date/date.component.js +722 -720
- package/lib/components/decimal/decimal.component.js +536 -534
- package/lib/components/dialog/dialog.component.js +56 -54
- package/lib/components/draggable/draggable-container.component.js +160 -158
- package/lib/components/draggable/draggable-item.component.js +162 -160
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +11 -9
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +15 -13
- package/lib/components/file-input/file-input.component.js +191 -189
- package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +5 -3
- package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
- package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +12 -10
- package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +19 -17
- package/lib/components/grouped-character/grouped-character.component.js +538 -536
- package/lib/components/help/help.component.js +172 -170
- package/lib/components/hr/hr.component.js +159 -157
- package/lib/components/icon/icon.component.js +181 -179
- package/lib/components/icon-button/icon-button.component.js +321 -319
- package/lib/components/link/link.component.js +72 -70
- package/lib/components/menu/__internal__/submenu/submenu.component.js +120 -118
- package/lib/components/menu/menu-divider/menu-divider.component.js +8 -6
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +11 -9
- package/lib/components/message/message.component.js +168 -166
- package/lib/components/navigation-bar/navigation-bar.component.js +1279 -1277
- package/lib/components/note/__internal__/status-icon/status-icon.component.js +6 -4
- package/lib/components/number/number.component.js +536 -534
- package/lib/components/pod/pod.component.js +178 -176
- package/lib/components/radio-button/radio-button.component.js +523 -521
- package/lib/components/search/search.component.js +183 -181
- package/lib/components/select/filterable-select/filterable-select.component.js +554 -552
- package/lib/components/select/list-action-button/list-action-button.component.js +6 -4
- package/lib/components/select/multi-select/multi-select.component.js +551 -549
- package/lib/components/select/option/option.component.js +402 -400
- package/lib/components/select/option-group-header/option-group-header.component.js +11 -9
- package/lib/components/select/option-row/option-row.component.js +16 -14
- package/lib/components/select/select-list/select-list.component.js +34 -32
- package/lib/components/select/select-textbox/select-textbox.component.js +543 -541
- package/lib/components/select/simple-select/simple-select.component.js +550 -548
- package/lib/components/sidebar/sidebar.component.js +297 -295
- package/lib/components/simple-color-picker/simple-color/simple-color.component.js +14 -12
- package/lib/components/simple-color-picker/simple-color-picker.component.js +173 -171
- package/lib/components/step-flow/step-flow.component.js +170 -168
- package/lib/components/switch/switch.component.js +524 -522
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +32 -30
- package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +14 -12
- package/lib/components/text-editor/text-editor.component.js +171 -169
- package/lib/components/textarea/textarea.component.js +532 -530
- package/lib/components/textbox/textbox.component.js +536 -534
- package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +3785 -3783
- package/lib/components/tile/flex-tile-container/flex-tile-container.component.js +6 -4
- package/lib/components/tile-select/tile-select.component.js +180 -178
- package/lib/components/time/time.component.js +202 -200
- package/lib/components/toast/toast.component.js +18 -16
- package/lib/components/tooltip/tooltip.component.js +23 -21
- package/lib/components/vertical-divider/vertical-divider.component.js +316 -314
- package/package.json +1 -1
|
@@ -121,75 +121,77 @@ const Link = exports.Link = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
121
121
|
hasFocus: hasFocus
|
|
122
122
|
}), createLinkBasedOnType());
|
|
123
123
|
});
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
124
|
+
if (process.env.NODE_ENV !== "production") {
|
|
125
|
+
Link.propTypes = {
|
|
126
|
+
"aria-activedescendant": _propTypes.default.string,
|
|
127
|
+
"aria-atomic": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
128
|
+
"aria-autocomplete": _propTypes.default.oneOf(["both", "inline", "list", "none"]),
|
|
129
|
+
"aria-busy": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
130
|
+
"aria-checked": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "mixed", "true"]), _propTypes.default.bool]),
|
|
131
|
+
"aria-colcount": _propTypes.default.number,
|
|
132
|
+
"aria-colindex": _propTypes.default.number,
|
|
133
|
+
"aria-colspan": _propTypes.default.number,
|
|
134
|
+
"aria-controls": _propTypes.default.string,
|
|
135
|
+
"aria-current": _propTypes.default.oneOfType([_propTypes.default.oneOf(["date", "false", "location", "page", "step", "time", "true"]), _propTypes.default.bool]),
|
|
136
|
+
"aria-describedby": _propTypes.default.string,
|
|
137
|
+
"aria-details": _propTypes.default.string,
|
|
138
|
+
"aria-disabled": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
139
|
+
"aria-dropeffect": _propTypes.default.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
140
|
+
"aria-errormessage": _propTypes.default.string,
|
|
141
|
+
"aria-expanded": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
142
|
+
"aria-flowto": _propTypes.default.string,
|
|
143
|
+
"aria-grabbed": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
144
|
+
"aria-haspopup": _propTypes.default.oneOfType([_propTypes.default.oneOf(["dialog", "false", "grid", "listbox", "menu", "tree", "true"]), _propTypes.default.bool]),
|
|
145
|
+
"aria-hidden": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
146
|
+
"aria-invalid": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "grammar", "spelling", "true"]), _propTypes.default.bool]),
|
|
147
|
+
"aria-keyshortcuts": _propTypes.default.string,
|
|
148
|
+
"aria-label": _propTypes.default.string,
|
|
149
|
+
"aria-labelledby": _propTypes.default.string,
|
|
150
|
+
"aria-level": _propTypes.default.number,
|
|
151
|
+
"aria-live": _propTypes.default.oneOf(["assertive", "off", "polite"]),
|
|
152
|
+
"aria-modal": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
153
|
+
"aria-multiline": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
154
|
+
"aria-multiselectable": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
155
|
+
"aria-orientation": _propTypes.default.oneOf(["horizontal", "vertical"]),
|
|
156
|
+
"aria-owns": _propTypes.default.string,
|
|
157
|
+
"aria-placeholder": _propTypes.default.string,
|
|
158
|
+
"aria-posinset": _propTypes.default.number,
|
|
159
|
+
"aria-pressed": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "mixed", "true"]), _propTypes.default.bool]),
|
|
160
|
+
"aria-readonly": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
161
|
+
"aria-relevant": _propTypes.default.oneOf(["additions removals", "additions text", "additions", "all", "removals additions", "removals text", "removals", "text additions", "text removals", "text"]),
|
|
162
|
+
"aria-required": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
163
|
+
"aria-roledescription": _propTypes.default.string,
|
|
164
|
+
"aria-rowcount": _propTypes.default.number,
|
|
165
|
+
"aria-rowindex": _propTypes.default.number,
|
|
166
|
+
"aria-rowspan": _propTypes.default.number,
|
|
167
|
+
"aria-selected": _propTypes.default.oneOfType([_propTypes.default.oneOf(["false", "true"]), _propTypes.default.bool]),
|
|
168
|
+
"aria-setsize": _propTypes.default.number,
|
|
169
|
+
"aria-sort": _propTypes.default.oneOf(["ascending", "descending", "none", "other"]),
|
|
170
|
+
"aria-valuemax": _propTypes.default.number,
|
|
171
|
+
"aria-valuemin": _propTypes.default.number,
|
|
172
|
+
"aria-valuenow": _propTypes.default.number,
|
|
173
|
+
"aria-valuetext": _propTypes.default.string,
|
|
174
|
+
"ariaLabel": _propTypes.default.string,
|
|
175
|
+
"children": _propTypes.default.node,
|
|
176
|
+
"className": _propTypes.default.string,
|
|
177
|
+
"disabled": _propTypes.default.bool,
|
|
178
|
+
"hasFocus": _propTypes.default.bool,
|
|
179
|
+
"href": _propTypes.default.string,
|
|
180
|
+
"icon": _propTypes.default.oneOf(["accessibility_web", "add", "admin", "alert_on", "alert", "analysis", "app_facebook", "app_instagram", "app_tiktok", "app_twitter", "app_youtube", "apps", "arrow_bottom_right_circle", "arrow_down", "arrow_left_boxed", "arrow_left_right_small", "arrow_left_small", "arrow_left", "arrow_right_small", "arrow_right", "arrow_top_left_circle", "arrow_up", "arrow", "arrows_left_right", "attach", "bank_with_card", "bank", "basket_with_squares", "basket", "bed", "bill_paid", "bill_unpaid", "bin", "block_arrow_right", "blocked_square", "blocked", "bold", "box_arrow_left", "box_arrow_right", "boxed_shapes", "bulk_destroy", "bullet_list_dotted", "bullet_list_numbers", "bullet_list", "business", "calendar_pay_date", "calendar_today", "calendar", "call", "camera", "car_lock", "car_money", "car_repair", "card_view", "card_wallet", "caret_down", "caret_large_down", "caret_large_left", "caret_large_right", "caret_large_up", "caret_left", "caret_right", "caret_up", "cart", "cash", "chart_bar", "chart_line", "chart_pie", "chat_notes", "chat", "check_all", "check_none", "chevron_down_thick", "chevron_down", "chevron_left_thick", "chevron_left", "chevron_right_thick", "chevron_right", "chevron_up_thick", "chevron_up", "circle_with_dots", "circles_connection", "clock", "close", "cloud_co2", "coins", "collaborate", "computer_clock", "connect_off", "connect", "construction", "contact_card", "contacts", "copy", "create", "credit_card_slash", "credit_card", "cross_circle", "cross", "csv", "dashboard", "delete", "delivery", "disconnect", "disputed", "document_right_align", "document_tick", "document_vertical_lines", "download", "draft", "drag_vertical", "drag", "drill", "dropdown", "duplicate", "edit", "edited", "ellipsis_horizontal", "ellipsis_vertical", "email_switch", "email", "entry", "envelope_dollar", "envelope_euro", "error_square", "error", "euro", "expand", "factory", "favourite_lined", "favourite", "fax", "feedback", "file_excel", "file_generic", "file_image", "file_pdf", "file_word", "files_leaning", "filter_new", "filter", "fit_height", "fit_width", "flag", "folder", "form_refresh", "gift", "go", "graduation_hat", "graph", "grid", "hand_cash_coins", "hand_cash_note", "heart_pulse", "help", "hide", "home", "image", "in_progress", "in_transit", "individual", "info", "intranet", "italic", "job_seeked", "key", "laptop", "leaf", "ledger_arrow_left", "ledger_arrow_right", "ledger", "lightbulb_off", "lightbulb_on", "like_no", "like", "link_cloud", "link_on", "link", "list_view", "location", "locked", "logout", "lookup", "marker", "message", "microphone", "minimise", "minus_large", "minus", "mobile", "money_bag", "none", "old_warning", "palm_tree", "pause_circle", "pause", "pdf", "people_switch", "people", "percentage_boxed", "person_info", "person_tick", "person", "petrol_pump", "phone", "piggy_bank", "pin", "plane", "play_circle", "play", "plus_large", "plus", "pound", "print", "progress", "progressed", "protect", "question_hollow", "question_mark", "question", "recruiting", "refresh_clock", "refresh", "remove", "sage_coin", "save", "scan", "search", "send", "services", "settings_old", "settings", "share", "shop", "sort_down", "sort_up", "spanner", "split_container", "split", "square_dot", "squares_nine", "stacked_boxes", "stacked_squares", "submitted", "support_online", "sync", "tag", "talk", "target_man", "target", "theatre_masks", "three_boxes", "tick_circle", "tick_thick", "tick", "true_tick", "u_turn_left", "u_turn_right", "undo", "unlocked", "upload", "uploaded", "video", "view", "volunteering", "warning", "website", "welfare"]),
|
|
181
|
+
"iconAlign": _propTypes.default.oneOf(["left", "right"]),
|
|
182
|
+
"isDarkBackground": _propTypes.default.bool,
|
|
183
|
+
"isSkipLink": _propTypes.default.bool,
|
|
184
|
+
"onClick": _propTypes.default.func,
|
|
185
|
+
"onKeyDown": _propTypes.default.func,
|
|
186
|
+
"onMouseDown": _propTypes.default.func,
|
|
187
|
+
"placeholderTabIndex": _propTypes.default.bool,
|
|
188
|
+
"rel": _propTypes.default.string,
|
|
189
|
+
"removeAriaLabelOnIcon": _propTypes.default.bool,
|
|
190
|
+
"target": _propTypes.default.string,
|
|
191
|
+
"tooltipMessage": _propTypes.default.string,
|
|
192
|
+
"tooltipPosition": _propTypes.default.oneOf(["bottom", "left", "right", "top"]),
|
|
193
|
+
"variant": _propTypes.default.oneOf(["default", "negative", "neutral"])
|
|
194
|
+
};
|
|
195
|
+
}
|
|
194
196
|
Link.displayName = "Link";
|
|
195
197
|
var _default = exports.default = Link;
|
|
@@ -309,123 +309,125 @@ const Submenu = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
309
309
|
}
|
|
310
310
|
}, children)));
|
|
311
311
|
});
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
"
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
312
|
+
if (process.env.NODE_ENV !== "production") {
|
|
313
|
+
Submenu.propTypes = {
|
|
314
|
+
"ariaLabel": _propTypes.default.string,
|
|
315
|
+
"asPassiveItem": _propTypes.default.bool,
|
|
316
|
+
"children": _propTypes.default.node,
|
|
317
|
+
"className": _propTypes.default.string,
|
|
318
|
+
"clickToOpen": _propTypes.default.bool,
|
|
319
|
+
"href": _propTypes.default.string,
|
|
320
|
+
"icon": _propTypes.default.string,
|
|
321
|
+
"maxWidth": _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.oneOf([null]), _propTypes.default.number, _propTypes.default.shape({
|
|
322
|
+
"__@iterator": _propTypes.default.func.isRequired,
|
|
323
|
+
"anchor": _propTypes.default.func.isRequired,
|
|
324
|
+
"at": _propTypes.default.func.isRequired,
|
|
325
|
+
"big": _propTypes.default.func.isRequired,
|
|
326
|
+
"blink": _propTypes.default.func.isRequired,
|
|
327
|
+
"bold": _propTypes.default.func.isRequired,
|
|
328
|
+
"charAt": _propTypes.default.func.isRequired,
|
|
329
|
+
"charCodeAt": _propTypes.default.func.isRequired,
|
|
330
|
+
"codePointAt": _propTypes.default.func.isRequired,
|
|
331
|
+
"concat": _propTypes.default.func.isRequired,
|
|
332
|
+
"endsWith": _propTypes.default.func.isRequired,
|
|
333
|
+
"fixed": _propTypes.default.func.isRequired,
|
|
334
|
+
"fontcolor": _propTypes.default.func.isRequired,
|
|
335
|
+
"fontsize": _propTypes.default.func.isRequired,
|
|
336
|
+
"includes": _propTypes.default.func.isRequired,
|
|
337
|
+
"indexOf": _propTypes.default.func.isRequired,
|
|
338
|
+
"italics": _propTypes.default.func.isRequired,
|
|
339
|
+
"lastIndexOf": _propTypes.default.func.isRequired,
|
|
340
|
+
"length": _propTypes.default.number.isRequired,
|
|
341
|
+
"link": _propTypes.default.func.isRequired,
|
|
342
|
+
"localeCompare": _propTypes.default.func.isRequired,
|
|
343
|
+
"match": _propTypes.default.func.isRequired,
|
|
344
|
+
"matchAll": _propTypes.default.func.isRequired,
|
|
345
|
+
"normalize": _propTypes.default.func.isRequired,
|
|
346
|
+
"padEnd": _propTypes.default.func.isRequired,
|
|
347
|
+
"padStart": _propTypes.default.func.isRequired,
|
|
348
|
+
"repeat": _propTypes.default.func.isRequired,
|
|
349
|
+
"replace": _propTypes.default.func.isRequired,
|
|
350
|
+
"search": _propTypes.default.func.isRequired,
|
|
351
|
+
"slice": _propTypes.default.func.isRequired,
|
|
352
|
+
"small": _propTypes.default.func.isRequired,
|
|
353
|
+
"split": _propTypes.default.func.isRequired,
|
|
354
|
+
"startsWith": _propTypes.default.func.isRequired,
|
|
355
|
+
"strike": _propTypes.default.func.isRequired,
|
|
356
|
+
"sub": _propTypes.default.func.isRequired,
|
|
357
|
+
"substr": _propTypes.default.func.isRequired,
|
|
358
|
+
"substring": _propTypes.default.func.isRequired,
|
|
359
|
+
"sup": _propTypes.default.func.isRequired,
|
|
360
|
+
"toLocaleLowerCase": _propTypes.default.func.isRequired,
|
|
361
|
+
"toLocaleUpperCase": _propTypes.default.func.isRequired,
|
|
362
|
+
"toLowerCase": _propTypes.default.func.isRequired,
|
|
363
|
+
"toString": _propTypes.default.func.isRequired,
|
|
364
|
+
"toUpperCase": _propTypes.default.func.isRequired,
|
|
365
|
+
"trim": _propTypes.default.func.isRequired,
|
|
366
|
+
"trimEnd": _propTypes.default.func.isRequired,
|
|
367
|
+
"trimLeft": _propTypes.default.func.isRequired,
|
|
368
|
+
"trimRight": _propTypes.default.func.isRequired,
|
|
369
|
+
"trimStart": _propTypes.default.func.isRequired,
|
|
370
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
371
|
+
}), _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.shape({
|
|
372
|
+
"__@iterator": _propTypes.default.func.isRequired,
|
|
373
|
+
"anchor": _propTypes.default.func.isRequired,
|
|
374
|
+
"at": _propTypes.default.func.isRequired,
|
|
375
|
+
"big": _propTypes.default.func.isRequired,
|
|
376
|
+
"blink": _propTypes.default.func.isRequired,
|
|
377
|
+
"bold": _propTypes.default.func.isRequired,
|
|
378
|
+
"charAt": _propTypes.default.func.isRequired,
|
|
379
|
+
"charCodeAt": _propTypes.default.func.isRequired,
|
|
380
|
+
"codePointAt": _propTypes.default.func.isRequired,
|
|
381
|
+
"concat": _propTypes.default.func.isRequired,
|
|
382
|
+
"endsWith": _propTypes.default.func.isRequired,
|
|
383
|
+
"fixed": _propTypes.default.func.isRequired,
|
|
384
|
+
"fontcolor": _propTypes.default.func.isRequired,
|
|
385
|
+
"fontsize": _propTypes.default.func.isRequired,
|
|
386
|
+
"includes": _propTypes.default.func.isRequired,
|
|
387
|
+
"indexOf": _propTypes.default.func.isRequired,
|
|
388
|
+
"italics": _propTypes.default.func.isRequired,
|
|
389
|
+
"lastIndexOf": _propTypes.default.func.isRequired,
|
|
390
|
+
"length": _propTypes.default.number.isRequired,
|
|
391
|
+
"link": _propTypes.default.func.isRequired,
|
|
392
|
+
"localeCompare": _propTypes.default.func.isRequired,
|
|
393
|
+
"match": _propTypes.default.func.isRequired,
|
|
394
|
+
"matchAll": _propTypes.default.func.isRequired,
|
|
395
|
+
"normalize": _propTypes.default.func.isRequired,
|
|
396
|
+
"padEnd": _propTypes.default.func.isRequired,
|
|
397
|
+
"padStart": _propTypes.default.func.isRequired,
|
|
398
|
+
"repeat": _propTypes.default.func.isRequired,
|
|
399
|
+
"replace": _propTypes.default.func.isRequired,
|
|
400
|
+
"search": _propTypes.default.func.isRequired,
|
|
401
|
+
"slice": _propTypes.default.func.isRequired,
|
|
402
|
+
"small": _propTypes.default.func.isRequired,
|
|
403
|
+
"split": _propTypes.default.func.isRequired,
|
|
404
|
+
"startsWith": _propTypes.default.func.isRequired,
|
|
405
|
+
"strike": _propTypes.default.func.isRequired,
|
|
406
|
+
"sub": _propTypes.default.func.isRequired,
|
|
407
|
+
"substr": _propTypes.default.func.isRequired,
|
|
408
|
+
"substring": _propTypes.default.func.isRequired,
|
|
409
|
+
"sup": _propTypes.default.func.isRequired,
|
|
410
|
+
"toLocaleLowerCase": _propTypes.default.func.isRequired,
|
|
411
|
+
"toLocaleUpperCase": _propTypes.default.func.isRequired,
|
|
412
|
+
"toLowerCase": _propTypes.default.func.isRequired,
|
|
413
|
+
"toString": _propTypes.default.func.isRequired,
|
|
414
|
+
"toUpperCase": _propTypes.default.func.isRequired,
|
|
415
|
+
"trim": _propTypes.default.func.isRequired,
|
|
416
|
+
"trimEnd": _propTypes.default.func.isRequired,
|
|
417
|
+
"trimLeft": _propTypes.default.func.isRequired,
|
|
418
|
+
"trimRight": _propTypes.default.func.isRequired,
|
|
419
|
+
"trimStart": _propTypes.default.func.isRequired,
|
|
420
|
+
"valueOf": _propTypes.default.func.isRequired
|
|
421
|
+
}), _propTypes.default.string]),
|
|
422
|
+
"onClick": _propTypes.default.func,
|
|
423
|
+
"onKeyDown": _propTypes.default.func,
|
|
424
|
+
"onSubmenuClose": _propTypes.default.func,
|
|
425
|
+
"onSubmenuOpen": _propTypes.default.func,
|
|
426
|
+
"showDropdownArrow": _propTypes.default.bool,
|
|
427
|
+
"submenuDirection": _propTypes.default.string,
|
|
428
|
+
"title": _propTypes.default.string,
|
|
429
|
+
"variant": _propTypes.default.oneOf(["alternate", "default"])
|
|
430
|
+
};
|
|
431
|
+
}
|
|
430
432
|
Submenu.displayName = "submenu";
|
|
431
433
|
var _default = exports.default = Submenu;
|
|
@@ -28,11 +28,13 @@ const MenuDivider = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
28
28
|
ref: ref
|
|
29
29
|
})));
|
|
30
30
|
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
if (process.env.NODE_ENV !== "production") {
|
|
32
|
+
MenuDivider.propTypes = {
|
|
33
|
+
"data-component": _propTypes.default.string,
|
|
34
|
+
"data-element": _propTypes.default.string,
|
|
35
|
+
"data-role": _propTypes.default.string,
|
|
36
|
+
"size": _propTypes.default.oneOf(["default", "large"])
|
|
37
|
+
};
|
|
38
|
+
}
|
|
37
39
|
MenuDivider.displayName = "MenuDivider";
|
|
38
40
|
var _default = exports.default = MenuDivider;
|
|
@@ -33,14 +33,16 @@ const MenuSegmentTitle = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
33
33
|
variant: variant
|
|
34
34
|
}), text), children && /*#__PURE__*/_react.default.createElement(_menuSegmentTitle.StyledSegmentChildren, null, children));
|
|
35
35
|
});
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
if (process.env.NODE_ENV !== "production") {
|
|
37
|
+
MenuSegmentTitle.propTypes = {
|
|
38
|
+
"as": _propTypes.default.oneOf(["h2", "h3", "h4", "h5", "h6"]),
|
|
39
|
+
"children": _propTypes.default.node,
|
|
40
|
+
"data-component": _propTypes.default.string,
|
|
41
|
+
"data-element": _propTypes.default.string,
|
|
42
|
+
"data-role": _propTypes.default.string,
|
|
43
|
+
"text": _propTypes.default.string.isRequired,
|
|
44
|
+
"variant": _propTypes.default.oneOf(["alternate", "default"])
|
|
45
|
+
};
|
|
46
|
+
}
|
|
45
47
|
MenuSegmentTitle.displayName = "MenuSegmentTitle";
|
|
46
48
|
var _default = exports.default = MenuSegmentTitle;
|