@salesforce/design-system-react 11.0.0-alpha.4 → 11.0.0-alpha.6
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/README.md +112 -70
- package/dist/cjs/components/accordion/index.cjs +1 -1
- package/dist/cjs/components/accordion/index.cjs.map +1 -1
- package/dist/cjs/components/alert/index.cjs +1 -1
- package/dist/cjs/components/alert/index.cjs.map +1 -1
- package/dist/cjs/components/avatar/index.cjs +1 -1
- package/dist/cjs/components/avatar/index.cjs.map +1 -1
- package/dist/cjs/components/badge/index.cjs +1 -1
- package/dist/cjs/components/badge/index.cjs.map +1 -1
- package/dist/cjs/components/breadcrumb/index.cjs +1 -1
- package/dist/cjs/components/breadcrumb/index.cjs.map +1 -1
- package/dist/cjs/components/builder-header/index.cjs +1 -1
- package/dist/cjs/components/builder-header/index.cjs.map +1 -1
- package/dist/cjs/components/button/index.cjs +1 -1
- package/dist/cjs/components/button/index.cjs.map +1 -1
- package/dist/cjs/components/button-group/index.cjs +1 -1
- package/dist/cjs/components/button-group/index.cjs.map +1 -1
- package/dist/cjs/components/button-stateful/index.cjs +1 -1
- package/dist/cjs/components/button-stateful/index.cjs.map +1 -1
- package/dist/cjs/components/card/index.cjs +1 -1
- package/dist/cjs/components/card/index.cjs.map +1 -1
- package/dist/cjs/components/carousel/index.cjs +1 -1
- package/dist/cjs/components/carousel/index.cjs.map +1 -1
- package/dist/cjs/components/carousel/private/carousel-item.cjs.map +1 -1
- package/dist/cjs/components/checkbox/index.cjs +1 -1
- package/dist/cjs/components/checkbox/index.cjs.map +1 -1
- package/dist/cjs/components/color-picker/color-picker.cjs.map +1 -1
- package/dist/cjs/components/color-picker/index.cjs +1 -0
- package/dist/cjs/components/color-picker.cjs +1 -0
- package/dist/cjs/components/combobox/add-subheadings.cjs +1 -1
- package/dist/cjs/components/combobox/add-subheadings.cjs.map +1 -1
- package/dist/cjs/components/combobox/check-props.cjs +1 -1
- package/dist/cjs/components/combobox/check-props.cjs.map +1 -1
- package/dist/cjs/components/combobox/combobox.cjs +1 -1
- package/dist/cjs/components/combobox/combobox.cjs.map +1 -1
- package/dist/cjs/components/combobox/filter.cjs +1 -1
- package/dist/cjs/components/combobox/filter.cjs.map +1 -1
- package/dist/cjs/components/combobox/index.cjs +1 -1
- package/dist/cjs/components/combobox/index.cjs.map +1 -1
- package/dist/cjs/components/combobox/private/menu.cjs +1 -1
- package/dist/cjs/components/combobox/private/menu.cjs.map +1 -1
- package/dist/cjs/components/date-picker/check-props.cjs +1 -1
- package/dist/cjs/components/date-picker/date-picker.cjs +1 -1
- package/dist/cjs/components/date-picker/date-picker.cjs.map +1 -1
- package/dist/cjs/components/date-picker/index.cjs +1 -1
- package/dist/cjs/components/date-picker/index.cjs.map +1 -1
- package/dist/cjs/components/docked-composer/index.cjs +1 -1
- package/dist/cjs/components/docked-composer/index.cjs.map +1 -1
- package/dist/cjs/components/dynamic-icon/index.cjs +1 -1
- package/dist/cjs/components/dynamic-icon/index.cjs.map +1 -1
- package/dist/cjs/components/expandable-section/index.cjs +1 -1
- package/dist/cjs/components/expandable-section/index.cjs.map +1 -1
- package/dist/cjs/components/files/index.cjs +1 -1
- package/dist/cjs/components/files/index.cjs.map +1 -1
- package/dist/cjs/components/filter/index.cjs +1 -0
- package/dist/cjs/components/filter.cjs +1 -0
- package/dist/cjs/components/grid/index.cjs +2 -0
- package/dist/cjs/components/grid/index.cjs.map +1 -0
- package/dist/cjs/components/grid.cjs +1 -0
- package/dist/cjs/components/icon/index.cjs +1 -1
- package/dist/cjs/components/icon/index.cjs.map +1 -1
- package/dist/cjs/components/icon-settings/index.cjs +1 -1
- package/dist/cjs/components/icon-settings/index.cjs.map +1 -1
- package/dist/cjs/components/illustration/index.cjs +1 -1
- package/dist/cjs/components/illustration/index.cjs.map +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/input/check-props.cjs +1 -1
- package/dist/cjs/components/input/check-props.cjs.map +1 -1
- package/dist/cjs/components/input/index.cjs +1 -1
- package/dist/cjs/components/input/index.cjs.map +1 -1
- package/dist/cjs/components/input/search.cjs +1 -1
- package/dist/cjs/components/input/search.cjs.map +1 -1
- package/dist/cjs/components/media-object/index.cjs +1 -1
- package/dist/cjs/components/media-object/index.cjs.map +1 -1
- package/dist/cjs/components/menu-dropdown/button-trigger.cjs.map +1 -1
- package/dist/cjs/components/menu-dropdown/check-props.cjs +1 -1
- package/dist/cjs/components/menu-dropdown/index.cjs +1 -1
- package/dist/cjs/components/menu-dropdown/index.cjs.map +1 -1
- package/dist/cjs/components/menu-dropdown/menu-dropdown.cjs +1 -1
- package/dist/cjs/components/menu-dropdown/menu-dropdown.cjs.map +1 -1
- package/dist/cjs/components/modal/index.cjs +1 -1
- package/dist/cjs/components/modal/index.cjs.map +1 -1
- package/dist/cjs/components/page-header/index.cjs +1 -1
- package/dist/cjs/components/page-header/index.cjs.map +1 -1
- package/dist/cjs/components/panel/index.cjs +1 -1
- package/dist/cjs/components/panel/index.cjs.map +1 -1
- package/dist/cjs/components/pill/index.cjs +1 -1
- package/dist/cjs/components/pill/index.cjs.map +1 -1
- package/dist/cjs/components/pill-container/check-props.cjs +2 -0
- package/dist/cjs/components/pill-container/check-props.cjs.map +1 -0
- package/dist/cjs/components/pill-container/component.cjs +2 -0
- package/dist/cjs/components/pill-container/component.cjs.map +1 -0
- package/dist/cjs/components/pill-container/index.cjs +1 -1
- package/dist/cjs/components/pill-container/index.cjs.map +1 -1
- package/dist/cjs/components/popover/index.cjs +1 -1
- package/dist/cjs/components/popover/index.cjs.map +1 -1
- package/dist/cjs/components/popover/popover.cjs +1 -1
- package/dist/cjs/components/popover/popover.cjs.map +1 -1
- package/dist/cjs/components/portal-settings/index.cjs +1 -1
- package/dist/cjs/components/portal-settings/index.cjs.map +1 -1
- package/dist/cjs/components/progress-bar/index.cjs +1 -1
- package/dist/cjs/components/progress-bar/index.cjs.map +1 -1
- package/dist/cjs/components/progress-indicator/check-props.cjs +2 -0
- package/dist/cjs/components/progress-indicator/check-props.cjs.map +1 -0
- package/dist/cjs/components/progress-indicator/index.cjs +1 -1
- package/dist/cjs/components/progress-indicator/index.cjs.map +1 -1
- package/dist/cjs/components/progress-indicator/private/path.cjs +2 -0
- package/dist/cjs/components/progress-indicator/private/path.cjs.map +1 -0
- package/dist/cjs/components/progress-indicator/private/progress.cjs +1 -1
- package/dist/cjs/components/progress-indicator/private/progress.cjs.map +1 -1
- package/dist/cjs/components/progress-indicator/private/use-roving-tab-index.cjs +2 -0
- package/dist/cjs/components/progress-indicator/private/use-roving-tab-index.cjs.map +1 -0
- package/dist/cjs/components/progress-ring/index.cjs +1 -1
- package/dist/cjs/components/progress-ring/index.cjs.map +1 -1
- package/dist/cjs/components/radio/index.cjs +1 -1
- package/dist/cjs/components/radio/index.cjs.map +1 -1
- package/dist/cjs/components/radio-button-group/index.cjs +1 -1
- package/dist/cjs/components/radio-button-group/index.cjs.map +1 -1
- package/dist/cjs/components/radio-group/index.cjs +1 -1
- package/dist/cjs/components/radio-group/index.cjs.map +1 -1
- package/dist/cjs/components/scoped-notification/index.cjs +1 -1
- package/dist/cjs/components/scoped-notification/index.cjs.map +1 -1
- package/dist/cjs/components/setup-assistant/index.cjs +1 -1
- package/dist/cjs/components/setup-assistant/index.cjs.map +1 -1
- package/dist/cjs/components/setup-assistant/step.cjs +1 -1
- package/dist/cjs/components/setup-assistant/step.cjs.map +1 -1
- package/dist/cjs/components/simple-data-table/check-props.cjs +1 -1
- package/dist/cjs/components/simple-data-table/index.cjs +1 -1
- package/dist/cjs/components/simple-data-table/index.cjs.map +1 -1
- package/dist/cjs/components/simple-data-table/row-actions.cjs +1 -1
- package/dist/cjs/components/simple-data-table/row-actions.cjs.map +1 -1
- package/dist/cjs/components/slider/index.cjs +1 -1
- package/dist/cjs/components/slider/index.cjs.map +1 -1
- package/dist/cjs/components/spinner/index.cjs +1 -1
- package/dist/cjs/components/spinner/index.cjs.map +1 -1
- package/dist/cjs/components/split-view/check-props.cjs +2 -0
- package/dist/cjs/components/split-view/check-props.cjs.map +1 -0
- package/dist/cjs/components/split-view/component.cjs +2 -0
- package/dist/cjs/components/split-view/component.cjs.map +1 -0
- package/dist/cjs/components/split-view/header.cjs.map +1 -1
- package/dist/cjs/components/split-view/index.cjs +1 -1
- package/dist/cjs/components/split-view/index.cjs.map +1 -1
- package/dist/cjs/components/split-view/listbox.cjs.map +1 -1
- package/dist/cjs/components/tabs/index.cjs +1 -1
- package/dist/cjs/components/tabs/index.cjs.map +1 -1
- package/dist/cjs/components/textarea/check-props.cjs +2 -0
- package/dist/cjs/components/textarea/check-props.cjs.map +1 -0
- package/dist/cjs/components/textarea/component.cjs +2 -0
- package/dist/cjs/components/textarea/component.cjs.map +1 -0
- package/dist/cjs/components/textarea/index.cjs +1 -1
- package/dist/cjs/components/textarea/index.cjs.map +1 -1
- package/dist/cjs/components/toast/index.cjs +1 -1
- package/dist/cjs/components/toast/index.cjs.map +1 -1
- package/dist/cjs/components/tooltip/check-props.cjs +1 -1
- package/dist/cjs/components/tooltip/check-props.cjs.map +1 -1
- package/dist/cjs/components/tooltip/index.cjs +2 -2
- package/dist/cjs/components/tooltip/index.cjs.map +1 -1
- package/dist/cjs/components/tree/check-props.cjs +1 -1
- package/dist/cjs/components/tree/check-props.cjs.map +1 -1
- package/dist/cjs/components/tree/index.cjs +1 -0
- package/dist/cjs/components/tree/private/branch.cjs.map +1 -1
- package/dist/cjs/components/tree/private/item.cjs.map +1 -1
- package/dist/cjs/components/tree/private/render-branch.cjs.map +1 -1
- package/dist/cjs/components/tree/private/render-initial-branch.cjs +1 -1
- package/dist/cjs/components/tree/private/render-initial-branch.cjs.map +1 -1
- package/dist/cjs/components/tree/tree.cjs +1 -1
- package/dist/cjs/components/tree/tree.cjs.map +1 -1
- package/dist/cjs/components/tree.cjs +1 -0
- package/dist/cjs/components/trial-bar/index.cjs +1 -1
- package/dist/cjs/components/trial-bar/index.cjs.map +1 -1
- package/dist/cjs/components/utilities/menu-list/index.cjs.map +1 -1
- package/dist/cjs/components/utilities/menu-list/item.cjs +1 -1
- package/dist/cjs/components/utilities/menu-list/item.cjs.map +1 -1
- package/dist/cjs/components/vertical-navigation/index.cjs +1 -1
- package/dist/cjs/components/vertical-navigation/index.cjs.map +1 -1
- package/dist/cjs/components/vertical-navigation/private/item.cjs.map +1 -1
- package/dist/cjs/components/visual-picker/index.cjs +1 -1
- package/dist/cjs/components/visual-picker/index.cjs.map +1 -1
- package/dist/cjs/components/welcome-mat/index.cjs +1 -1
- package/dist/cjs/components/welcome-mat/index.cjs.map +1 -1
- package/dist/cjs/utilities/constants.cjs +1 -1
- package/dist/cjs/utilities/constants.cjs.map +1 -1
- package/dist/cjs/utilities/hooks/index.cjs +1 -0
- package/dist/cjs/utilities/hooks.cjs +1 -0
- package/dist/cjs/utilities/warning/incompatible-props.cjs +2 -0
- package/dist/cjs/utilities/warning/incompatible-props.cjs.map +1 -0
- package/dist/es/components/accordion/index.js +28 -24
- package/dist/es/components/accordion/index.js.map +1 -1
- package/dist/es/components/alert/index.js +14 -14
- package/dist/es/components/alert/index.js.map +1 -1
- package/dist/es/components/avatar/index.js +1 -1
- package/dist/es/components/avatar/index.js.map +1 -1
- package/dist/es/components/badge/index.js +1 -0
- package/dist/es/components/badge/index.js.map +1 -1
- package/dist/es/components/breadcrumb/index.js +1 -1
- package/dist/es/components/breadcrumb/index.js.map +1 -1
- package/dist/es/components/button/index.js +2 -2
- package/dist/es/components/button/index.js.map +1 -1
- package/dist/es/components/button-stateful/index.js +4 -3
- package/dist/es/components/button-stateful/index.js.map +1 -1
- package/dist/es/components/carousel/index.js +8 -12
- package/dist/es/components/carousel/index.js.map +1 -1
- package/dist/es/components/carousel/private/carousel-item.js.map +1 -1
- package/dist/es/components/checkbox/index.js +17 -17
- package/dist/es/components/checkbox/index.js.map +1 -1
- package/dist/es/components/color-picker/color-picker.js.map +1 -1
- package/dist/es/components/color-picker/index.js +2 -0
- package/dist/es/components/color-picker.js +2 -0
- package/dist/es/components/combobox/add-subheadings.js +2 -1
- package/dist/es/components/combobox/add-subheadings.js.map +1 -1
- package/dist/es/components/combobox/check-props.js +15 -5
- package/dist/es/components/combobox/check-props.js.map +1 -1
- package/dist/es/components/combobox/combobox.js +193 -186
- package/dist/es/components/combobox/combobox.js.map +1 -1
- package/dist/es/components/combobox/filter.js +1 -1
- package/dist/es/components/combobox/filter.js.map +1 -1
- package/dist/es/components/combobox/index.js.map +1 -1
- package/dist/es/components/combobox/private/menu.js +2 -0
- package/dist/es/components/combobox/private/menu.js.map +1 -1
- package/dist/es/components/date-picker/check-props.js +4 -4
- package/dist/es/components/date-picker/date-picker.js +149 -142
- package/dist/es/components/date-picker/date-picker.js.map +1 -1
- package/dist/es/components/date-picker/index.js.map +1 -1
- package/dist/es/components/filter/index.js +2 -0
- package/dist/es/components/filter.js +2 -0
- package/dist/es/components/grid/index.js +31 -0
- package/dist/es/components/grid/index.js.map +1 -0
- package/dist/es/components/grid.js +2 -0
- package/dist/es/components/index.js +41 -43
- package/dist/es/components/input/check-props.js +17 -18
- package/dist/es/components/input/check-props.js.map +1 -1
- package/dist/es/components/input/search.js +1 -1
- package/dist/es/components/input/search.js.map +1 -1
- package/dist/es/components/menu-dropdown/button-trigger.js.map +1 -1
- package/dist/es/components/menu-dropdown/check-props.js +6 -6
- package/dist/es/components/menu-dropdown/index.js +5 -5
- package/dist/es/components/menu-dropdown/index.js.map +1 -1
- package/dist/es/components/menu-dropdown/menu-dropdown.js +262 -258
- package/dist/es/components/menu-dropdown/menu-dropdown.js.map +1 -1
- package/dist/es/components/modal/index.js +104 -132
- package/dist/es/components/modal/index.js.map +1 -1
- package/dist/es/components/page-header/index.js +24 -24
- package/dist/es/components/pill-container/check-props.js +13 -0
- package/dist/es/components/pill-container/check-props.js.map +1 -0
- package/dist/es/components/pill-container/component.js +31 -0
- package/dist/es/components/pill-container/component.js.map +1 -0
- package/dist/es/components/pill-container/index.js +65 -56
- package/dist/es/components/pill-container/index.js.map +1 -1
- package/dist/es/components/popover/index.js +3 -3
- package/dist/es/components/popover/index.js.map +1 -1
- package/dist/es/components/popover/popover.js +72 -64
- package/dist/es/components/popover/popover.js.map +1 -1
- package/dist/es/components/progress-indicator/check-props.js +24 -0
- package/dist/es/components/progress-indicator/check-props.js.map +1 -0
- package/dist/es/components/progress-indicator/index.js +80 -38
- package/dist/es/components/progress-indicator/index.js.map +1 -1
- package/dist/es/components/progress-indicator/private/path.js +95 -0
- package/dist/es/components/progress-indicator/private/path.js.map +1 -0
- package/dist/es/components/progress-indicator/private/progress.js +1 -1
- package/dist/es/components/progress-indicator/private/progress.js.map +1 -1
- package/dist/es/components/progress-indicator/private/use-roving-tab-index.js +29 -0
- package/dist/es/components/progress-indicator/private/use-roving-tab-index.js.map +1 -0
- package/dist/es/components/progress-ring/index.js +8 -8
- package/dist/es/components/progress-ring/index.js.map +1 -1
- package/dist/es/components/setup-assistant/index.js.map +1 -1
- package/dist/es/components/setup-assistant/step.js +1 -1
- package/dist/es/components/setup-assistant/step.js.map +1 -1
- package/dist/es/components/simple-data-table/check-props.js +4 -4
- package/dist/es/components/simple-data-table/index.js +67 -69
- package/dist/es/components/simple-data-table/index.js.map +1 -1
- package/dist/es/components/simple-data-table/row-actions.js +2 -2
- package/dist/es/components/simple-data-table/row-actions.js.map +1 -1
- package/dist/es/components/spinner/index.js +1 -1
- package/dist/es/components/spinner/index.js.map +1 -1
- package/dist/es/components/split-view/check-props.js +13 -0
- package/dist/es/components/split-view/check-props.js.map +1 -0
- package/dist/es/components/split-view/component.js +46 -0
- package/dist/es/components/split-view/component.js.map +1 -0
- package/dist/es/components/split-view/header.js.map +1 -1
- package/dist/es/components/split-view/index.js +40 -34
- package/dist/es/components/split-view/index.js.map +1 -1
- package/dist/es/components/split-view/listbox.js.map +1 -1
- package/dist/es/components/tabs/index.js +64 -64
- package/dist/es/components/tabs/index.js.map +1 -1
- package/dist/es/components/textarea/check-props.js +17 -0
- package/dist/es/components/textarea/check-props.js.map +1 -0
- package/dist/es/components/textarea/component.js +27 -0
- package/dist/es/components/textarea/component.js.map +1 -0
- package/dist/es/components/textarea/index.js +50 -46
- package/dist/es/components/textarea/index.js.map +1 -1
- package/dist/es/components/toast/index.js +18 -12
- package/dist/es/components/toast/index.js.map +1 -1
- package/dist/es/components/tooltip/check-props.js +9 -23
- package/dist/es/components/tooltip/check-props.js.map +1 -1
- package/dist/es/components/tooltip/index.js +81 -75
- package/dist/es/components/tooltip/index.js.map +1 -1
- package/dist/es/components/tree/check-props.js +6 -6
- package/dist/es/components/tree/check-props.js.map +1 -1
- package/dist/es/components/tree/index.js +2 -0
- package/dist/es/components/tree/private/branch.js.map +1 -1
- package/dist/es/components/tree/private/item.js.map +1 -1
- package/dist/es/components/tree/private/render-branch.js.map +1 -1
- package/dist/es/components/tree/private/render-initial-branch.js +5 -2
- package/dist/es/components/tree/private/render-initial-branch.js.map +1 -1
- package/dist/es/components/tree/tree.js +60 -35
- package/dist/es/components/tree/tree.js.map +1 -1
- package/dist/es/components/tree.js +2 -0
- package/dist/es/components/utilities/menu-list/index.js.map +1 -1
- package/dist/es/components/utilities/menu-list/item.js +1 -1
- package/dist/es/components/utilities/menu-list/item.js.map +1 -1
- package/dist/es/components/vertical-navigation/index.js.map +1 -1
- package/dist/es/components/vertical-navigation/private/item.js.map +1 -1
- package/dist/es/components/welcome-mat/index.js.map +1 -1
- package/dist/es/utilities/constants.js +2 -2
- package/dist/es/utilities/constants.js.map +1 -1
- package/dist/es/utilities/hooks/index.js +2 -0
- package/dist/es/utilities/hooks.js +1 -0
- package/dist/es/utilities/warning/incompatible-props.js +19 -0
- package/dist/es/utilities/warning/incompatible-props.js.map +1 -0
- package/dist/types/components/accordion/index.d.ts.map +1 -1
- package/dist/types/components/alert/index.d.ts.map +1 -1
- package/dist/types/components/avatar/index.d.ts +1 -1
- package/dist/types/components/avatar/index.d.ts.map +1 -1
- package/dist/types/components/badge/index.d.ts +1 -1
- package/dist/types/components/badge/index.d.ts.map +1 -1
- package/dist/types/components/breadcrumb/index.d.ts +1 -1
- package/dist/types/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/button/check-props.d.ts.map +1 -1
- package/dist/types/components/button/index.d.ts +6 -3
- package/dist/types/components/button/index.d.ts.map +1 -1
- package/dist/types/components/button-stateful/index.d.ts +3 -3
- package/dist/types/components/button-stateful/index.d.ts.map +1 -1
- package/dist/types/components/carousel/index.d.ts +34 -7
- package/dist/types/components/carousel/index.d.ts.map +1 -1
- package/dist/types/components/carousel/private/carousel-item.d.ts +3 -3
- package/dist/types/components/carousel/private/carousel-item.d.ts.map +1 -1
- package/dist/types/components/checkbox/check-props.d.ts.map +1 -1
- package/dist/types/components/checkbox/index.d.ts +1 -6
- package/dist/types/components/checkbox/index.d.ts.map +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +25 -7
- package/dist/types/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/components/color-picker/index.d.ts +1 -1
- package/dist/types/components/color-picker/index.d.ts.map +1 -1
- package/dist/types/components/combobox/add-subheadings.d.ts +1 -1
- package/dist/types/components/combobox/add-subheadings.d.ts.map +1 -1
- package/dist/types/components/combobox/check-props.d.ts.map +1 -1
- package/dist/types/components/combobox/combobox.d.ts +57 -24
- package/dist/types/components/combobox/combobox.d.ts.map +1 -1
- package/dist/types/components/combobox/filter.d.ts.map +1 -1
- package/dist/types/components/combobox/index.d.ts +2 -2
- package/dist/types/components/combobox/index.d.ts.map +1 -1
- package/dist/types/components/combobox/private/menu.d.ts +65 -4
- package/dist/types/components/combobox/private/menu.d.ts.map +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +52 -6
- package/dist/types/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/components/date-picker/index.d.ts +1 -1
- package/dist/types/components/date-picker/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/input/check-props.d.ts.map +1 -1
- package/dist/types/components/input/search.d.ts +1 -1
- package/dist/types/components/input/search.d.ts.map +1 -1
- package/dist/types/components/menu-dropdown/button-trigger.d.ts +1 -1
- package/dist/types/components/menu-dropdown/button-trigger.d.ts.map +1 -1
- package/dist/types/components/menu-dropdown/index.d.ts +2 -2
- package/dist/types/components/menu-dropdown/index.d.ts.map +1 -1
- package/dist/types/components/menu-dropdown/menu-dropdown.d.ts +95 -24
- package/dist/types/components/menu-dropdown/menu-dropdown.d.ts.map +1 -1
- package/dist/types/components/modal/index.d.ts +26 -3
- package/dist/types/components/modal/index.d.ts.map +1 -1
- package/dist/types/components/pill-container/check-props.d.ts.map +1 -0
- package/dist/types/components/pill-container/index.d.ts +24 -3
- package/dist/types/components/pill-container/index.d.ts.map +1 -1
- package/dist/types/components/popover/index.d.ts +1 -1
- package/dist/types/components/popover/index.d.ts.map +1 -1
- package/dist/types/components/popover/popover.d.ts +41 -12
- package/dist/types/components/popover/popover.d.ts.map +1 -1
- package/dist/types/components/progress-indicator/check-props.d.ts.map +1 -0
- package/dist/types/components/progress-indicator/index.d.ts +39 -8
- package/dist/types/components/progress-indicator/index.d.ts.map +1 -1
- package/dist/types/components/progress-indicator/private/path.d.ts +48 -0
- package/dist/types/components/progress-indicator/private/path.d.ts.map +1 -0
- package/dist/types/components/progress-indicator/private/progress.d.ts.map +1 -1
- package/dist/types/components/progress-indicator/private/use-roving-tab-index.d.ts +41 -0
- package/dist/types/components/progress-indicator/private/use-roving-tab-index.d.ts.map +1 -0
- package/dist/types/components/setup-assistant/index.d.ts +7 -3
- package/dist/types/components/setup-assistant/index.d.ts.map +1 -1
- package/dist/types/components/setup-assistant/step.d.ts +7 -1
- package/dist/types/components/setup-assistant/step.d.ts.map +1 -1
- package/dist/types/components/simple-data-table/index.d.ts.map +1 -1
- package/dist/types/components/simple-data-table/row-actions.d.ts.map +1 -1
- package/dist/types/components/spinner/index.d.ts +1 -1
- package/dist/types/components/spinner/index.d.ts.map +1 -1
- package/dist/types/components/split-view/check-props.d.ts.map +1 -0
- package/dist/types/components/split-view/header.d.ts +3 -3
- package/dist/types/components/split-view/header.d.ts.map +1 -1
- package/dist/types/components/split-view/index.d.ts +25 -3
- package/dist/types/components/split-view/index.d.ts.map +1 -1
- package/dist/types/components/split-view/listbox.d.ts +27 -24
- package/dist/types/components/split-view/listbox.d.ts.map +1 -1
- package/dist/types/components/tabs/index.d.ts +16 -3
- package/dist/types/components/tabs/index.d.ts.map +1 -1
- package/dist/types/components/textarea/index.d.ts +2 -2
- package/dist/types/components/textarea/index.d.ts.map +1 -1
- package/dist/types/components/toast/index.d.ts +17 -2
- package/dist/types/components/toast/index.d.ts.map +1 -1
- package/dist/types/components/tooltip/check-props.d.ts.map +1 -1
- package/dist/types/components/tooltip/index.d.ts +10 -5
- package/dist/types/components/tooltip/index.d.ts.map +1 -1
- package/dist/types/components/tree/check-props.d.ts.map +1 -1
- package/dist/types/components/tree/index.d.ts +1 -1
- package/dist/types/components/tree/index.d.ts.map +1 -1
- package/dist/types/components/tree/private/branch.d.ts +2 -4
- package/dist/types/components/tree/private/branch.d.ts.map +1 -1
- package/dist/types/components/tree/private/item.d.ts.map +1 -1
- package/dist/types/components/tree/private/render-branch.d.ts.map +1 -1
- package/dist/types/components/tree/private/render-initial-branch.d.ts +2 -3
- package/dist/types/components/tree/private/render-initial-branch.d.ts.map +1 -1
- package/dist/types/components/tree/tree.d.ts +27 -6
- package/dist/types/components/tree/tree.d.ts.map +1 -1
- package/dist/types/components/tree/types.d.ts +55 -8
- package/dist/types/components/tree/types.d.ts.map +1 -1
- package/dist/types/components/utilities/menu-list/index.d.ts +1 -1
- package/dist/types/components/utilities/menu-list/index.d.ts.map +1 -1
- package/dist/types/components/utilities/menu-list/item.d.ts +1 -1
- package/dist/types/components/utilities/menu-list/item.d.ts.map +1 -1
- package/dist/types/components/vertical-navigation/index.d.ts +7 -3
- package/dist/types/components/vertical-navigation/index.d.ts.map +1 -1
- package/dist/types/components/vertical-navigation/private/item.d.ts +1 -1
- package/dist/types/components/vertical-navigation/private/item.d.ts.map +1 -1
- package/dist/types/components/welcome-mat/index.d.ts +62 -13
- package/dist/types/components/welcome-mat/index.d.ts.map +1 -1
- package/dist/types/utilities/constants.d.ts +1 -1
- package/dist/types/utilities/constants.d.ts.map +1 -1
- package/dist/types/utilities/hooks/index.d.ts +1 -1
- package/dist/types/utilities/hooks/index.d.ts.map +1 -1
- package/dist/types/utilities/hooks.d.ts +0 -1
- package/dist/types/utilities/sample-data/global-navigation-bar.d.ts +0 -1
- package/dist/types/utilities/sample-data/vertical-navigation.d.ts +0 -1
- package/dist/types/utilities/warning/incompatible-props.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/cjs/components/forms/input/inline-check-props.cjs +0 -2
- package/dist/cjs/components/forms/input/inline-check-props.cjs.map +0 -1
- package/dist/cjs/components/forms/input/inline.cjs +0 -2
- package/dist/cjs/components/forms/input/inline.cjs.map +0 -1
- package/dist/cjs/components/modal/check-props.cjs +0 -2
- package/dist/cjs/components/modal/check-props.cjs.map +0 -1
- package/dist/cjs/components/modal/component.cjs +0 -2
- package/dist/cjs/components/modal/component.cjs.map +0 -1
- package/dist/cjs/components/modal/trigger.cjs +0 -2
- package/dist/cjs/components/modal/trigger.cjs.map +0 -1
- package/dist/cjs/utilities/design-tokens/dist/palette-colors.common.cjs +0 -2
- package/dist/cjs/utilities/design-tokens/dist/palette-colors.common.cjs.map +0 -1
- package/dist/cjs/utilities/design-tokens/dist/salesforce-skin.common.cjs +0 -2
- package/dist/cjs/utilities/design-tokens/dist/salesforce-skin.common.cjs.map +0 -1
- package/dist/cjs/utilities/warning/deprecated-property-value.cjs +0 -2
- package/dist/cjs/utilities/warning/deprecated-property-value.cjs.map +0 -1
- package/dist/es/components/forms/input/inline-check-props.js +0 -11
- package/dist/es/components/forms/input/inline-check-props.js.map +0 -1
- package/dist/es/components/forms/input/inline.js +0 -95
- package/dist/es/components/forms/input/inline.js.map +0 -1
- package/dist/es/components/modal/check-props.js +0 -13
- package/dist/es/components/modal/check-props.js.map +0 -1
- package/dist/es/components/modal/component.js +0 -35
- package/dist/es/components/modal/component.js.map +0 -1
- package/dist/es/components/modal/trigger.js +0 -22
- package/dist/es/components/modal/trigger.js.map +0 -1
- package/dist/es/utilities/design-tokens/dist/palette-colors.common.js +0 -6
- package/dist/es/utilities/design-tokens/dist/palette-colors.common.js.map +0 -1
- package/dist/es/utilities/design-tokens/dist/salesforce-skin.common.js +0 -286
- package/dist/es/utilities/design-tokens/dist/salesforce-skin.common.js.map +0 -1
- package/dist/es/utilities/warning/deprecated-property-value.js +0 -18
- package/dist/es/utilities/warning/deprecated-property-value.js.map +0 -1
- package/dist/types/components/avatar/check-props.d.ts.map +0 -1
- package/dist/types/components/breadcrumb/check-props.d.ts.map +0 -1
- package/dist/types/components/button-stateful/check-props.d.ts.map +0 -1
- package/dist/types/components/forms/checkbox/index.d.ts +0 -4
- package/dist/types/components/forms/checkbox/index.d.ts.map +0 -1
- package/dist/types/components/forms/checkbox.d.ts +0 -2
- package/dist/types/components/forms/input/inline-check-props.d.ts +0 -3
- package/dist/types/components/forms/input/inline-check-props.d.ts.map +0 -1
- package/dist/types/components/forms/input/inline.d.ts +0 -88
- package/dist/types/components/forms/input/inline.d.ts.map +0 -1
- package/dist/types/components/modal/check-props.d.ts +0 -3
- package/dist/types/components/modal/check-props.d.ts.map +0 -1
- package/dist/types/components/modal/trigger.d.ts +0 -14
- package/dist/types/components/modal/trigger.d.ts.map +0 -1
- package/dist/types/components/spinner/check-props.d.ts +0 -3
- package/dist/types/components/spinner/check-props.d.ts.map +0 -1
- package/dist/types/components/tabs/pane.d.ts +0 -3
- package/dist/types/components/tabs/pane.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/analytics-cloud.common.d.ts +0 -81
- package/dist/types/utilities/design-tokens/dist/analytics-cloud.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/bg-actions.common.d.ts +0 -201
- package/dist/types/utilities/design-tokens/dist/bg-actions.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/bg-custom.common.d.ts +0 -117
- package/dist/types/utilities/design-tokens/dist/bg-custom.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/bg-icons.common.d.ts +0 -5
- package/dist/types/utilities/design-tokens/dist/bg-icons.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/bg-standard.common.d.ts +0 -204
- package/dist/types/utilities/design-tokens/dist/bg-standard.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/color-palettes.common.d.ts +0 -3
- package/dist/types/utilities/design-tokens/dist/color-palettes.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/components.common.d.ts +0 -249
- package/dist/types/utilities/design-tokens/dist/components.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/console-base.common.d.ts +0 -9
- package/dist/types/utilities/design-tokens/dist/console-base.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/force-base.common.d.ts +0 -647
- package/dist/types/utilities/design-tokens/dist/force-base.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/force-font-commons.common.d.ts +0 -14
- package/dist/types/utilities/design-tokens/dist/force-font-commons.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/force-mq-commons.common.d.ts +0 -10
- package/dist/types/utilities/design-tokens/dist/force-mq-commons.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/icon-paths.common.d.ts +0 -9
- package/dist/types/utilities/design-tokens/dist/icon-paths.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/illustrations.common.d.ts +0 -7
- package/dist/types/utilities/design-tokens/dist/illustrations.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/image-paths.common.d.ts +0 -12
- package/dist/types/utilities/design-tokens/dist/image-paths.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/marketing-cloud.common.d.ts +0 -35
- package/dist/types/utilities/design-tokens/dist/marketing-cloud.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/palette-colors.common.d.ts +0 -98
- package/dist/types/utilities/design-tokens/dist/palette-colors.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/s1-base-large.common.d.ts +0 -15
- package/dist/types/utilities/design-tokens/dist/s1-base-large.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/s1-base-medium.common.d.ts +0 -5
- package/dist/types/utilities/design-tokens/dist/s1-base-medium.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/s1-base-small.common.d.ts +0 -11
- package/dist/types/utilities/design-tokens/dist/s1-base-small.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/s1-base.common.d.ts +0 -21
- package/dist/types/utilities/design-tokens/dist/s1-base.common.d.ts.map +0 -1
- package/dist/types/utilities/design-tokens/dist/salesforce-skin.common.d.ts +0 -283
- package/dist/types/utilities/design-tokens/dist/salesforce-skin.common.d.ts.map +0 -1
- package/dist/types/utilities/warning/deprecated-event-parameter.d.ts +0 -3
- package/dist/types/utilities/warning/deprecated-event-parameter.d.ts.map +0 -1
- /package/dist/types/components/{avatar → pill-container}/check-props.d.ts +0 -0
- /package/dist/types/components/{breadcrumb → progress-indicator}/check-props.d.ts +0 -0
- /package/dist/types/components/{button-stateful → split-view}/check-props.d.ts +0 -0
|
@@ -53,48 +53,46 @@ import K from "./files/index.js";
|
|
|
53
53
|
import q from "./files/more-files.js";
|
|
54
54
|
import J from "./filter/filter.js";
|
|
55
55
|
import Y from "./illustration/index.js";
|
|
56
|
-
import X from "./
|
|
57
|
-
import Z from "./input/search.js";
|
|
56
|
+
import X from "./input/search.js";
|
|
58
57
|
import ae from "./settings.js";
|
|
59
58
|
import oe from "./modal/index.js";
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import ce from "./page-header/
|
|
63
|
-
import le from "./
|
|
64
|
-
import ue from "./panel/
|
|
65
|
-
import de from "./panel/filtering/
|
|
66
|
-
import fe from "./panel/filtering/list.js";
|
|
67
|
-
import pe from "./
|
|
68
|
-
import me from "./
|
|
69
|
-
import he from "./progress-
|
|
70
|
-
import ge from "./progress-
|
|
71
|
-
import _e from "./
|
|
72
|
-
import ve from "./
|
|
73
|
-
import ye from "./setup-assistant/
|
|
74
|
-
import be from "./
|
|
75
|
-
import xe from "./simple-data-table/
|
|
76
|
-
import Se from "./simple-data-table/
|
|
77
|
-
import Ce from "./simple-data-table/interactive-
|
|
78
|
-
import we from "./simple-data-table/
|
|
79
|
-
import Te from "./simple-data-table/
|
|
80
|
-
import Ee from "./simple-data-table/
|
|
81
|
-
import De from "./
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import ke from "./split-view/
|
|
85
|
-
import Ae from "./
|
|
86
|
-
import je from "./
|
|
87
|
-
import Me from "./toast/
|
|
88
|
-
import Ne from "./
|
|
89
|
-
import Pe from "./
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
|
|
100
|
-
export { ee as Accordion, ne as AccordionPanel, re as Alert, ie as AlertContainer, s as Avatar, c as Badge, d as BreadCrumb, d as Breadcrumb, m as BuilderHeader, h as BuilderHeaderMisc, g as BuilderHeaderNav, _ as BuilderHeaderNavDropdown, p as BuilderHeaderNavLink, v as BuilderHeaderToolbar, f as BuilderHeaderUtilities, o as Button, y as ButtonGroup, n as ButtonIcon, b as ButtonStateful, C as Card, S as CardEmpty, D as CardFilter, O as Carousel, k as Checkbox, I as ColorPicker, R as Combobox, B as DatePicker, B as Datepicker, V as DockedComposer, u as Dropdown, l as DropdownTrigger, H as DynamicIcon, U as EditDialog, W as ExpandableSection, G as File, K as Files, G as FilesFile, q as FilesMoreFiles, J as Filter, i as Icon, e as IconSettings, Y as Illustration, X as InlineEdit, T as Input, E as InputIcon, Z as InputSearch, x as MediaObject, u as MenuDropdown, l as MenuDropdownButtonTrigger, oe as Modal, se as ModalTrigger, q as MoreFiles, Q as Navigation, ce as PageHeader, le as PageHeaderControl, ue as Panel, de as PanelFilterGroup, fe as PanelFilterList, pe as PanelFilterListHeading, L as Pill, me as PillContainer, F as Popover, a as PopoverTooltip, r as PortalSettings, he as ProgressBar, ge as ProgressIndicator, _e as ProgressRing, M as Radio, j as RadioButtonGroup, A as RadioGroup, ee as SLDSAccordion, ne as SLDSAccordionPanel, re as SLDSAlert, ie as SLDSAlertContainer, s as SLDSAvatar, c as SLDSBadge, d as SLDSBreadCrumb, d as SLDSBreadcrumb, m as SLDSBuilderHeader, h as SLDSBuilderHeaderMisc, g as SLDSBuilderHeaderNav, _ as SLDSBuilderHeaderNavDropdown, p as SLDSBuilderHeaderNavLink, v as SLDSBuilderHeaderToolbar, f as SLDSBuilderHeaderUtilities, o as SLDSButton, y as SLDSButtonGroup, n as SLDSButtonIcon, b as SLDSButtonStateful, C as SLDSCard, S as SLDSCardEmpty, D as SLDSCardFilter, O as SLDSCarousel, k as SLDSCheckbox, I as SLDSColorPicker, R as SLDSCombobox, z as SLDSComboboxFilterAndLimit, B as SLDSDatePicker, B as SLDSDatepicker, V as SLDSDockedComposer, l as SLDSDropdownTrigger, H as SLDSDynamicIcon, U as SLDSEditDialog, W as SLDSExpandableSection, G as SLDSFile, K as SLDSFiles, G as SLDSFilesFile, q as SLDSFilesMoreFiles, J as SLDSFilter, i as SLDSIcon, e as SLDSIconSettings, Y as SLDSIllustration, X as SLDSInlineEdit, T as SLDSInput, E as SLDSInputIcon, Z as SLDSInputSearch, x as SLDSMediaObject, u as SLDSMenuDropdown, l as SLDSMenuDropdownButtonTrigger, oe as SLDSModal, se as SLDSModalTrigger, q as SLDSMoreFiles, Q as SLDSNavigation, ce as SLDSPageHeader, le as SLDSPageHeaderControl, ue as SLDSPanel, de as SLDSPanelFilterGroup, fe as SLDSPanelFilterList, pe as SLDSPanelFilterListHeading, L as SLDSPill, me as SLDSPillContainer, F as SLDSPopover, a as SLDSPopoverTooltip, r as SLDSPortalSettings, he as SLDSProgressBar, ge as SLDSProgressIndicator, _e as SLDSProgressRing, M as SLDSRadio, j as SLDSRadioButtonGroup, A as SLDSRadioGroup, ve as SLDSScopedNotification, Z as SLDSSearch, ae as SLDSSettings, ye as SLDSSetupAssistant, be as SLDSSetupAssistantStep, Ee as SLDSSimpleDataTable, xe as SLDSSimpleDataTableCell, Se as SLDSSimpleDataTableColumn, De as SLDSSimpleDataTableHighlightCell, Ce as SLDSSimpleDataTableInteractiveElement, we as SLDSSimpleDataTableInteractiveLink, Te as SLDSSimpleDataTableRowActions, Oe as SLDSSlider, w as SLDSSpinner, $ as SLDSSplitView, ke as SLDSSplitViewHeader, Ae as SLDSSplitViewListbox, $ as SLDSSplitview, N as SLDSTabs, P as SLDSTabsPanel, je as SLDSTextarea, Me as SLDSToast, Ne as SLDSToastContainer, a as SLDSTooltip, Pe as SLDSTree, Fe as SLDSTrialBar, Ie as SLDSTrialBarButton, Le as SLDSTrialBarDropdown, t as SLDSUtilityIcon, Q as SLDSVerticalNavigation, Re as SLDSVisualPicker, ze as SLDSVisualPickerLink, Be as SLDSWelcomeMat, Ve as SLDSWelcomeMatInfoBadge, He as SLDSWelcomeMatTile, ve as ScopedNotification, Z as Search, ae as Settings, ye as SetupAssistant, be as SetupAssistantStep, Ee as SimpleDataTable, xe as SimpleDataTableCell, Se as SimpleDataTableColumn, De as SimpleDataTableHighlightCell, Ce as SimpleDataTableInteractiveElement, we as SimpleDataTableInteractiveLink, Te as SimpleDataTableRowActions, Oe as Slider, w as Spinner, $ as SplitView, ke as SplitViewHeader, Ae as SplitViewListbox, $ as Splitview, N as Tabs, P as TabsPanel, je as Textarea, Me as Toast, Ne as ToastContainer, a as Tooltip, Pe as Tree, Fe as TrialBar, Ie as TrialBarButton, Le as TrialBarDropdown, te as UNSAFE_DirectionSettings, t as UtilityIcon, Q as VerticalNavigation, Re as VisualPicker, ze as VisualPickerLink, Be as WelcomeMat, Ve as WelcomeMatInfoBadge, He as WelcomeMatTile, Ue as comboboxAddSubheadings, z as comboboxFilterAndLimit, We as log };
|
|
59
|
+
import Z from "./vertical-navigation/index.js";
|
|
60
|
+
import se from "./page-header/index.js";
|
|
61
|
+
import ce from "./page-header/control.js";
|
|
62
|
+
import le from "./panel/index.js";
|
|
63
|
+
import ue from "./panel/filtering/group.js";
|
|
64
|
+
import de from "./panel/filtering/list.js";
|
|
65
|
+
import fe from "./panel/filtering/list-heading.js";
|
|
66
|
+
import pe from "./pill-container/index.js";
|
|
67
|
+
import me from "./progress-bar/index.js";
|
|
68
|
+
import he from "./progress-indicator/index.js";
|
|
69
|
+
import ge from "./progress-ring/index.js";
|
|
70
|
+
import _e from "./scoped-notification/index.js";
|
|
71
|
+
import ve from "./setup-assistant/index.js";
|
|
72
|
+
import ye from "./setup-assistant/step.js";
|
|
73
|
+
import be from "./simple-data-table/cell.js";
|
|
74
|
+
import xe from "./simple-data-table/column.js";
|
|
75
|
+
import Se from "./simple-data-table/interactive-element.js";
|
|
76
|
+
import Ce from "./simple-data-table/interactive-link.js";
|
|
77
|
+
import we from "./simple-data-table/row-actions.js";
|
|
78
|
+
import Te from "./simple-data-table/index.js";
|
|
79
|
+
import Ee from "./simple-data-table/highlight-cell.js";
|
|
80
|
+
import De from "./slider/index.js";
|
|
81
|
+
import Q from "./split-view/index.js";
|
|
82
|
+
import Oe from "./split-view/header.js";
|
|
83
|
+
import ke from "./split-view/listbox.js";
|
|
84
|
+
import Ae from "./textarea/index.js";
|
|
85
|
+
import je from "./toast/index.js";
|
|
86
|
+
import Me from "./toast/container.js";
|
|
87
|
+
import Ne from "./tree/tree.js";
|
|
88
|
+
import Pe from "./trial-bar/index.js";
|
|
89
|
+
import $ from "./trial-bar/button.js";
|
|
90
|
+
import Fe from "./trial-bar/dropdown.js";
|
|
91
|
+
import Ie from "./visual-picker/index.js";
|
|
92
|
+
import Le from "./visual-picker/link.js";
|
|
93
|
+
import Re from "./welcome-mat/index.js";
|
|
94
|
+
import ze from "./welcome-mat/info-badge.js";
|
|
95
|
+
import Be from "./welcome-mat/tile.js";
|
|
96
|
+
import Ve from "./combobox/add-subheadings.js";
|
|
97
|
+
import He from "../utilities/log.js";
|
|
98
|
+
export { ee as Accordion, ne as AccordionPanel, re as Alert, ie as AlertContainer, s as Avatar, c as Badge, d as BreadCrumb, d as Breadcrumb, m as BuilderHeader, h as BuilderHeaderMisc, g as BuilderHeaderNav, _ as BuilderHeaderNavDropdown, p as BuilderHeaderNavLink, v as BuilderHeaderToolbar, f as BuilderHeaderUtilities, o as Button, y as ButtonGroup, n as ButtonIcon, b as ButtonStateful, C as Card, S as CardEmpty, D as CardFilter, O as Carousel, k as Checkbox, I as ColorPicker, R as Combobox, B as DatePicker, B as Datepicker, V as DockedComposer, u as Dropdown, l as DropdownTrigger, H as DynamicIcon, U as EditDialog, W as ExpandableSection, G as File, K as Files, G as FilesFile, q as FilesMoreFiles, J as Filter, i as Icon, e as IconSettings, Y as Illustration, T as Input, E as InputIcon, X as InputSearch, x as MediaObject, u as MenuDropdown, l as MenuDropdownButtonTrigger, oe as Modal, q as MoreFiles, Z as Navigation, se as PageHeader, ce as PageHeaderControl, le as Panel, ue as PanelFilterGroup, de as PanelFilterList, fe as PanelFilterListHeading, L as Pill, pe as PillContainer, F as Popover, a as PopoverTooltip, r as PortalSettings, me as ProgressBar, he as ProgressIndicator, ge as ProgressRing, M as Radio, j as RadioButtonGroup, A as RadioGroup, ee as SLDSAccordion, ne as SLDSAccordionPanel, re as SLDSAlert, ie as SLDSAlertContainer, s as SLDSAvatar, c as SLDSBadge, d as SLDSBreadCrumb, d as SLDSBreadcrumb, m as SLDSBuilderHeader, h as SLDSBuilderHeaderMisc, g as SLDSBuilderHeaderNav, _ as SLDSBuilderHeaderNavDropdown, p as SLDSBuilderHeaderNavLink, v as SLDSBuilderHeaderToolbar, f as SLDSBuilderHeaderUtilities, o as SLDSButton, y as SLDSButtonGroup, n as SLDSButtonIcon, b as SLDSButtonStateful, C as SLDSCard, S as SLDSCardEmpty, D as SLDSCardFilter, O as SLDSCarousel, k as SLDSCheckbox, I as SLDSColorPicker, R as SLDSCombobox, z as SLDSComboboxFilterAndLimit, B as SLDSDatePicker, B as SLDSDatepicker, V as SLDSDockedComposer, l as SLDSDropdownTrigger, H as SLDSDynamicIcon, U as SLDSEditDialog, W as SLDSExpandableSection, G as SLDSFile, K as SLDSFiles, G as SLDSFilesFile, q as SLDSFilesMoreFiles, J as SLDSFilter, i as SLDSIcon, e as SLDSIconSettings, Y as SLDSIllustration, T as SLDSInput, E as SLDSInputIcon, X as SLDSInputSearch, x as SLDSMediaObject, u as SLDSMenuDropdown, l as SLDSMenuDropdownButtonTrigger, oe as SLDSModal, q as SLDSMoreFiles, Z as SLDSNavigation, se as SLDSPageHeader, ce as SLDSPageHeaderControl, le as SLDSPanel, ue as SLDSPanelFilterGroup, de as SLDSPanelFilterList, fe as SLDSPanelFilterListHeading, L as SLDSPill, pe as SLDSPillContainer, F as SLDSPopover, a as SLDSPopoverTooltip, r as SLDSPortalSettings, me as SLDSProgressBar, he as SLDSProgressIndicator, ge as SLDSProgressRing, M as SLDSRadio, j as SLDSRadioButtonGroup, A as SLDSRadioGroup, _e as SLDSScopedNotification, X as SLDSSearch, ae as SLDSSettings, ve as SLDSSetupAssistant, ye as SLDSSetupAssistantStep, Te as SLDSSimpleDataTable, be as SLDSSimpleDataTableCell, xe as SLDSSimpleDataTableColumn, Ee as SLDSSimpleDataTableHighlightCell, Se as SLDSSimpleDataTableInteractiveElement, Ce as SLDSSimpleDataTableInteractiveLink, we as SLDSSimpleDataTableRowActions, De as SLDSSlider, w as SLDSSpinner, Q as SLDSSplitView, Oe as SLDSSplitViewHeader, ke as SLDSSplitViewListbox, Q as SLDSSplitview, N as SLDSTabs, P as SLDSTabsPanel, Ae as SLDSTextarea, je as SLDSToast, Me as SLDSToastContainer, a as SLDSTooltip, Ne as SLDSTree, Pe as SLDSTrialBar, $ as SLDSTrialBarButton, Fe as SLDSTrialBarDropdown, t as SLDSUtilityIcon, Z as SLDSVerticalNavigation, Ie as SLDSVisualPicker, Le as SLDSVisualPickerLink, Re as SLDSWelcomeMat, ze as SLDSWelcomeMatInfoBadge, Be as SLDSWelcomeMatTile, _e as ScopedNotification, X as Search, ae as Settings, ve as SetupAssistant, ye as SetupAssistantStep, Te as SimpleDataTable, be as SimpleDataTableCell, xe as SimpleDataTableColumn, Ee as SimpleDataTableHighlightCell, Se as SimpleDataTableInteractiveElement, Ce as SimpleDataTableInteractiveLink, we as SimpleDataTableRowActions, De as Slider, w as Spinner, Q as SplitView, Oe as SplitViewHeader, ke as SplitViewListbox, Q as Splitview, N as Tabs, P as TabsPanel, Ae as Textarea, je as Toast, Me as ToastContainer, a as Tooltip, Ne as Tree, Pe as TrialBar, $ as TrialBarButton, Fe as TrialBarDropdown, te as UNSAFE_DirectionSettings, t as UtilityIcon, Z as VerticalNavigation, Ie as VisualPicker, Le as VisualPickerLink, Re as WelcomeMat, ze as WelcomeMatInfoBadge, Be as WelcomeMatTile, Ve as comboboxAddSubheadings, z as comboboxFilterAndLimit, He as log };
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import "../../utilities/constants.js";
|
|
2
|
-
import e from "../../utilities/
|
|
2
|
+
import e from "../../utilities/get-component-doc.js";
|
|
3
3
|
import t from "../../utilities/warning/deprecated-property.js";
|
|
4
|
-
import n from "../../utilities/
|
|
5
|
-
import r from "../../utilities/warning/only-one-of-properties.js";
|
|
4
|
+
import n from "../../utilities/warning/only-one-of-properties.js";
|
|
6
5
|
//#region components/input/check-props.js
|
|
7
|
-
var
|
|
8
|
-
process.env.NODE_ENV !== "production" && (
|
|
9
|
-
let
|
|
10
|
-
if (
|
|
11
|
-
let
|
|
12
|
-
t(
|
|
13
|
-
"assistiveText.label":
|
|
14
|
-
label:
|
|
15
|
-
},
|
|
16
|
-
fixedTextLeft:
|
|
17
|
-
fixedTextRight:
|
|
18
|
-
},
|
|
19
|
-
}
|
|
6
|
+
var r = function() {};
|
|
7
|
+
process.env.NODE_ENV !== "production" && (r = function(r, i = {}, a) {
|
|
8
|
+
let o = e(a);
|
|
9
|
+
if (r === "SLDSInput") {
|
|
10
|
+
let e = `Please use \`iconLeft\` and \`iconRight\` to pass in a customized <Icon> component. ${o()}`;
|
|
11
|
+
t(r, i.assistiveText && i.assistiveText.fieldLevelHelpButton, "assistiveText.fieldLevelHelpButton", void 0, "Please pass a `Tooltip` component into `fieldLevelHelpTooltip` with `assistiveText.triggerLearnMoreIcon`."), t(r, i.iconCategory, "iconCategory", void 0, e), t(r, i.iconName, "iconName", void 0, e), t(r, i.iconPosition, "iconPosition", void 0, e), t(r, i.iconAssistiveText, "iconAssistiveText", void 0, e), t(r, i.onIconClick, "onIconClick", void 0, e), n(r, {
|
|
12
|
+
"assistiveText.label": i.assistiveText && i.assistiveText.label,
|
|
13
|
+
label: i.label
|
|
14
|
+
}, o("assistiveText")), n(r, {
|
|
15
|
+
fixedTextLeft: i.fixedTextLeft,
|
|
16
|
+
fixedTextRight: i.fixedTextRight
|
|
17
|
+
}, o("assistiveText"));
|
|
18
|
+
}
|
|
20
19
|
});
|
|
21
|
-
var
|
|
20
|
+
var i = r;
|
|
22
21
|
//#endregion
|
|
23
|
-
export {
|
|
22
|
+
export { i as default };
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=check-props.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-props.js","names":[],"sources":["../../../../components/input/check-props.js"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n/* eslint-disable import/no-mutable-exports */\n/* eslint-disable max-len */\n\nimport deprecatedProperty from '../../utilities/warning/deprecated-property';\
|
|
1
|
+
{"version":3,"file":"check-props.js","names":[],"sources":["../../../../components/input/check-props.js"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n/* eslint-disable import/no-mutable-exports */\n/* eslint-disable max-len */\n\nimport deprecatedProperty from '../../utilities/warning/deprecated-property';\n// import oneOfRequiredProperty from '../../../utilities/warning/one-of-required-property';\nimport onlyOneOfProperties from '../../utilities/warning/only-one-of-properties';\nimport getComponentDocFn from '../../utilities/get-component-doc';\n\nimport { INPUT } from '../../utilities/constants';\n\nlet checkProps = function checkPropsFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tcheckProps = function checkPropsFunction(COMPONENT, props = {}, jsonDoc) {\n\t\tconst createDocUrl = getComponentDocFn(jsonDoc);\n\n\t\tif (COMPONENT === INPUT) {\n\t\t\tconst iconDeprecatedMessage = `Please use \\`iconLeft\\` and \\`iconRight\\` to pass in a customized <Icon> component. ${createDocUrl()}`;\n\n\t\t\t// Deprecated and changed to another property\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.assistiveText && props.assistiveText.fieldLevelHelpButton,\n\t\t\t\t'assistiveText.fieldLevelHelpButton',\n\t\t\t\tundefined,\n\t\t\t\t`Please pass a \\`Tooltip\\` component into \\`fieldLevelHelpTooltip\\` with \\`assistiveText.triggerLearnMoreIcon\\`.`\n\t\t\t);\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.iconCategory,\n\t\t\t\t'iconCategory',\n\t\t\t\tundefined,\n\t\t\t\ticonDeprecatedMessage\n\t\t\t);\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.iconName,\n\t\t\t\t'iconName',\n\t\t\t\tundefined,\n\t\t\t\ticonDeprecatedMessage\n\t\t\t);\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.iconPosition,\n\t\t\t\t'iconPosition',\n\t\t\t\tundefined,\n\t\t\t\ticonDeprecatedMessage\n\t\t\t);\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.iconAssistiveText,\n\t\t\t\t'iconAssistiveText',\n\t\t\t\tundefined,\n\t\t\t\ticonDeprecatedMessage\n\t\t\t);\n\t\t\tdeprecatedProperty(\n\t\t\t\tCOMPONENT,\n\t\t\t\tprops.onIconClick,\n\t\t\t\t'onIconClick',\n\t\t\t\tundefined,\n\t\t\t\ticonDeprecatedMessage\n\t\t\t);\n\n\t\t\tonlyOneOfProperties(\n\t\t\t\tCOMPONENT,\n\t\t\t\t{\n\t\t\t\t\t'assistiveText.label':\n\t\t\t\t\t\tprops.assistiveText && props.assistiveText.label,\n\t\t\t\t\tlabel: props.label,\n\t\t\t\t},\n\t\t\t\tcreateDocUrl('assistiveText')\n\t\t\t);\n\n\t\t\tonlyOneOfProperties(\n\t\t\t\tCOMPONENT,\n\t\t\t\t{\n\t\t\t\t\tfixedTextLeft: props.fixedTextLeft,\n\t\t\t\t\tfixedTextRight: props.fixedTextRight,\n\t\t\t\t},\n\t\t\t\tcreateDocUrl('assistiveText')\n\t\t\t);\n\n\t\t\t/*\n\t\t\t* Once we support horizontal labels, then I think we can enable this check\n\t\t\t*\n\t\t\tif (!props.inlineEditTrigger) {\n\t\t\t\toneOfRequiredProperty(COMPONENT, {\n\t\t\t\t\tassistiveText: props.assistiveText,\n\t\t\t\t\tlabel: props.label\n\t\t\t\t});\n\t\t\t}\n\t\t\t*/\n\t\t}\n\t};\n}\n\nexport default checkProps;\n"],"mappings":";;;;;AAYA,IAAI,IAAa,WAA8B,CAAC;AAEhD,QAAA,IAAA,aAA6B,iBAC5B,IAAa,SAA4B,GAAW,IAAQ,CAAC,GAAG,GAAS;CACxE,IAAM,IAAe,EAAkB,CAAO;CAE9C,IAAI,MAAA,aAAqB;EACxB,IAAM,IAAwB,uFAAuF,EAAa;EAwDlI,AArDA,EACC,GACA,EAAM,iBAAiB,EAAM,cAAc,sBAC3C,sCACA,KAAA,GACA,2GACD,GACA,EACC,GACA,EAAM,cACN,gBACA,KAAA,GACA,CACD,GACA,EACC,GACA,EAAM,UACN,YACA,KAAA,GACA,CACD,GACA,EACC,GACA,EAAM,cACN,gBACA,KAAA,GACA,CACD,GACA,EACC,GACA,EAAM,mBACN,qBACA,KAAA,GACA,CACD,GACA,EACC,GACA,EAAM,aACN,eACA,KAAA,GACA,CACD,GAEA,EACC,GACA;GACC,uBACC,EAAM,iBAAiB,EAAM,cAAc;GAC5C,OAAO,EAAM;EACd,GACA,EAAa,eAAe,CAC7B,GAEA,EACC,GACA;GACC,eAAe,EAAM;GACrB,gBAAgB,EAAM;EACvB,GACA,EAAa,eAAe,CAC7B;CAYD;AACD;AAGD,IAAA,IAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","names":[],"sources":["../../../../components/input/search.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { type KeyboardEvent } from 'react';\n\nimport Input, { type InputProps, type InputAssistiveText } from './index';\nimport InputIcon from '../icon/input-icon/index';\nimport checkProps from './check-props';\nimport componentDoc from './component.json';\nimport KEYS from '../../utilities/key-code';\nimport EventUtil from '../../utilities/event';\nimport { SEARCH } from '../../utilities/constants';\n\n/**\n * Assistive text for Search component\n */\nexport interface SearchAssistiveText extends InputAssistiveText {\n\t/** Label for the search input */\n\tlabel?: string;\n}\n\n/**\n * Props for the Search component\n */\nexport interface SearchProps extends Omit
|
|
1
|
+
{"version":3,"file":"search.js","names":[],"sources":["../../../../components/input/search.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\nimport React, { type KeyboardEvent } from 'react';\n\nimport Input, { type InputProps, type InputAssistiveText } from './index';\nimport InputIcon from '../icon/input-icon/index';\nimport checkProps from './check-props';\nimport componentDoc from './component.json';\nimport KEYS from '../../utilities/key-code';\nimport EventUtil from '../../utilities/event';\nimport { SEARCH } from '../../utilities/constants';\n\n/**\n * Assistive text for Search component\n */\nexport interface SearchAssistiveText extends InputAssistiveText {\n\t/** Label for the search input */\n\tlabel?: string;\n}\n\n/**\n * Props for the Search component\n */\nexport interface SearchProps extends Omit<\n\tInputProps,\n\t'assistiveText' | 'iconLeft' | 'iconRight'\n> {\n\t/** Assistive text for accessibility */\n\tassistiveText?: SearchAssistiveText;\n\t/** Adds a clear button to the right of the input */\n\tclearable?: boolean;\n\t/** Handler for clear button click */\n\tonClear?: (event: React.MouseEvent) => void;\n\t/** Handler for search (enter key or search icon click) */\n\tonSearch?: (\n\t\tevent: KeyboardEvent<HTMLInputElement> | React.MouseEvent\n\t) => void;\n}\n\nconst handleKeyDown = (\n\tevent: KeyboardEvent<HTMLInputElement>,\n\tonSearch?: (event: KeyboardEvent<HTMLInputElement> | React.MouseEvent) => void\n) => {\n\tif (event.keyCode === KEYS.ENTER && onSearch) {\n\t\tEventUtil.trapImmediate(event);\n\t\tonSearch(event);\n\t}\n};\n\n/**\n * A `Search` is an `Input` which renders the search icon by default.\n * It can be cleared, too. All `Input` props not specified as props\n * already may be used with this component and will override defaults.\n *\n * @see https://lightningdesignsystem.com/components/input/\n */\nconst Search = ({\n\tassistiveText,\n\tclearable = false,\n\tonClear,\n\tonSearch,\n\tplaceholder,\n\t...props\n}: SearchProps) => {\n\tcheckProps(\n\t\tSEARCH,\n\t\t{ assistiveText, clearable, onClear, onSearch, placeholder, ...props },\n\t\tcomponentDoc\n\t);\n\n\tconst mergedAssistiveText: InputAssistiveText = {\n\t\tlabel: assistiveText?.label,\n\t};\n\n\treturn (\n\t\t<Input\n\t\t\tassistiveText={mergedAssistiveText}\n\t\t\ticonLeft={\n\t\t\t\t<InputIcon\n\t\t\t\t\tassistiveText={{ icon: 'Search' }}\n\t\t\t\t\tcategory=\"utility\"\n\t\t\t\t\tname=\"search\"\n\t\t\t\t\tonClick={onSearch}\n\t\t\t\t/>\n\t\t\t}\n\t\t\ticonRight={\n\t\t\t\tclearable ? (\n\t\t\t\t\t<InputIcon\n\t\t\t\t\t\tassistiveText={{ icon: 'Clear' }}\n\t\t\t\t\t\tcategory=\"utility\"\n\t\t\t\t\t\tname=\"clear\"\n\t\t\t\t\t\tonClick={onClear}\n\t\t\t\t\t/>\n\t\t\t\t) : null\n\t\t\t}\n\t\t\tonKeyDown={\n\t\t\t\tonSearch\n\t\t\t\t\t? (event) =>\n\t\t\t\t\t\t\thandleKeyDown(event as KeyboardEvent<HTMLInputElement>, onSearch)\n\t\t\t\t\t: undefined\n\t\t\t}\n\t\t\tplaceholder={placeholder}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n\nSearch.displayName = SEARCH;\n\nexport default Search;\n"],"mappings":";;;;;;;;;;AAwCA,IAAM,KACL,GACA,MACI;CACJ,AAAI,EAAM,YAAY,EAAK,SAAS,MACnC,EAAU,cAAc,CAAK,GAC7B,EAAS,CAAK;AAEhB,GASM,KAAU,EACf,kBACA,eAAY,IACZ,YACA,aACA,gBACA,GAAG,QACe;CAClB,EACC,GACA;EAAE;EAAe;EAAW;EAAS;EAAU;EAAa,GAAG;CAAM,GACrE,CACD;CAEA,IAAM,IAA0C,EAC/C,OAAO,GAAe,MACvB;CAEA,OACC,kBAAC,GAAD;EACC,eAAe;EACf,UACC,kBAAC,GAAD;GACC,eAAe,EAAE,MAAM,SAAS;GAChC,UAAS;GACT,MAAK;GACL,SAAS;EACT,CAAA;EAEF,WACC,IACC,kBAAC,GAAD;GACC,eAAe,EAAE,MAAM,QAAQ;GAC/B,UAAS;GACT,MAAK;GACL,SAAS;EACT,CAAA,IACE;EAEL,WACC,KACI,MACD,EAAc,GAA0C,CAAQ,IAChE,KAAA;EAES;EACb,GAAI;CACJ,CAAA;AAEH;AAEA,EAAO,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-trigger.js","names":[],"sources":["../../../../components/menu-dropdown/button-trigger.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\n// # Dropdown Trigger Component (Simple Button Flavor) --- SLDS for React\n\nimport React, { forwardRef, type ReactElement, type ReactNode } from 'react';\nimport classnames from 'classnames';\n\nimport Button from '../button';\nimport { MENU_DROPDOWN_TRIGGER } from '../../utilities/constants';\n\nexport interface ButtonTriggerProps {\n\t/** Text that is visually hidden but read aloud by screenreaders */\n\tassistiveText?: Record<string, unknown>;\n\t/** Child elements (typically a Button) */\n\tchildren?: ReactElement;\n\t/** CSS classes to be added to triggering button */\n\tclassName?: string | string[] | Record<string, boolean>;\n\t/** A unique ID for accessibility support */\n\tid?: string;\n\t/** Whether the dropdown is inline */\n\tisInline?: boolean;\n\t/** Informs the trigger on the open/close state of the dropdown menu */\n\tisOpen?: boolean;\n\t/** The dropdown menu to render */\n\tmenu?: ReactNode;\n\t/** Called when the trigger button loses focus */\n\tonBlur?: React.FocusEventHandler<HTMLDivElement>;\n\t/** Triggered when the trigger button is clicked */\n\tonClick?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when the trigger button gains focus */\n\tonFocus?: React.FocusEventHandler<HTMLDivElement>;\n\t/** Called when a key is pressed */\n\tonKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;\n\t/** Called when mouse clicks down on the trigger button */\n\tonMouseDown?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when mouse hovers over the trigger button */\n\tonMouseEnter?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when mouse hover leaves the trigger button */\n\tonMouseLeave?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Determines if mouse hover or click opens the dropdown menu */\n\topenOn?: 'hover' | 'click' | 'hybrid';\n\t/** The ref of the actual triggering button */\n\ttriggerRef?: (element: HTMLButtonElement | null) => void;\n\t/** CSS classes to be added to wrapping trigger div */\n\ttriggerClassName?: string | string[] | Record<string, boolean>;\n\t/** Icon category passed from MenuDropdown */\n\ticonCategory?: 'action' | 'custom' | 'doctype' | 'standard' | 'utility';\n\t/** Icon name passed from MenuDropdown */\n\ticonName?: string;\n\t/** Icon position passed from MenuDropdown */\n\ticonPosition?: 'left' | 'right';\n\t/** Icon size passed from MenuDropdown */\n\ticonSize?: 'x-small' | 'small' | 'medium' | 'large';\n\t/** Icon variant passed from MenuDropdown */\n\ticonVariant?: 'bare' | 'container' | 'border' | 'border-filled' | 'more';\n\t/** Button variant passed from MenuDropdown */\n\tvariant?: 'base' | 'neutral' | 'brand' | 'destructive' | 'icon';\n\t/** Whether to show hint styling */\n\thint?: boolean;\n\t/** Whether the button is inverse */\n\tinverse?: boolean;\n\t/** Button label */\n\tlabel?: string | ReactNode;\n\t/** Disabled state */\n\tdisabled?: boolean;\n\t/** Tooltip */\n\ttooltip?: ReactNode;\n\t/** Tab index */\n\ttabIndex?: string;\n\t/** Button style */\n\tstyle?: React.CSSProperties;\n}\n\n/**\n * The Dropdown Button Trigger renders the default trigger button for the dropdown menu.\n * If this component has children, it does not render itself to the DOM.\n * Instead, it renders its child element, `Button`, and all that child's properties.\n * This component may be used as a template to create custom triggers that do not use `Button`.\n */\nconst ButtonTrigger = forwardRef<HTMLDivElement, ButtonTriggerProps>(\n\t(props, ref) => {\n\t\tconst {\n\t\t\tassistiveText,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tdisabled,\n\t\t\thint,\n\t\t\ticonCategory,\n\t\t\ticonName,\n\t\t\ticonPosition,\n\t\t\ticonSize,\n\t\t\ticonVariant,\n\t\t\tid,\n\t\t\tinverse,\n\t\t\tisInline: _isInline,\n\t\t\tisOpen,\n\t\t\tlabel,\n\t\t\tonBlur,\n\t\t\tmenu,\n\t\t\tonClick,\n\t\t\tonFocus,\n\t\t\tonKeyDown,\n\t\t\tonMouseDown,\n\t\t\tonMouseEnter,\n\t\t\tonMouseLeave,\n\t\t\topenOn: openOnProp,\n\t\t\tstyle,\n\t\t\ttabIndex,\n\t\t\ttooltip,\n\t\t\ttriggerRef,\n\t\t\ttriggerClassName,\n\t\t\tvariant,\n\t\t} = props;\n\n\t\tconst openOn = openOnProp === 'hover' ? 'click' : openOnProp;\n\n\t\t// Trigger manipulation\n\t\tlet propsFromGrandchildButton: Record<string, unknown> = {};\n\n\t\t// If there are children, extract props from the Button child\n\t\tif (React.Children.count(children) !== 0) {\n\t\t\tReact.Children.forEach(children, (child) => {\n\t\t\t\tif (\n\t\t\t\t\tchild &&\n\t\t\t\t\tReact.isValidElement(child) &&\n\t\t\t\t\t(child.type as { displayName?: string })?.displayName
|
|
1
|
+
{"version":3,"file":"button-trigger.js","names":[],"sources":["../../../../components/menu-dropdown/button-trigger.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\n// # Dropdown Trigger Component (Simple Button Flavor) --- SLDS for React\n\nimport React, { forwardRef, type ReactElement, type ReactNode } from 'react';\nimport classnames from 'classnames';\n\nimport Button from '../button';\nimport { MENU_DROPDOWN_TRIGGER } from '../../utilities/constants';\n\nexport interface ButtonTriggerProps {\n\t/** Text that is visually hidden but read aloud by screenreaders */\n\tassistiveText?: Record<string, unknown>;\n\t/** Child elements (typically a Button) */\n\tchildren?: ReactElement;\n\t/** CSS classes to be added to triggering button */\n\tclassName?: string | string[] | Record<string, boolean>;\n\t/** A unique ID for accessibility support */\n\tid?: string;\n\t/** Whether the dropdown is inline */\n\tisInline?: boolean;\n\t/** Informs the trigger on the open/close state of the dropdown menu */\n\tisOpen?: boolean;\n\t/** The dropdown menu to render */\n\tmenu?: ReactNode;\n\t/** Called when the trigger button loses focus */\n\tonBlur?: React.FocusEventHandler<HTMLDivElement>;\n\t/** Triggered when the trigger button is clicked */\n\tonClick?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when the trigger button gains focus */\n\tonFocus?: React.FocusEventHandler<HTMLDivElement>;\n\t/** Called when a key is pressed */\n\tonKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;\n\t/** Called when mouse clicks down on the trigger button */\n\tonMouseDown?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when mouse hovers over the trigger button */\n\tonMouseEnter?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Called when mouse hover leaves the trigger button */\n\tonMouseLeave?: React.MouseEventHandler<HTMLDivElement>;\n\t/** Determines if mouse hover or click opens the dropdown menu */\n\topenOn?: 'hover' | 'click' | 'hybrid';\n\t/** The ref of the actual triggering button */\n\ttriggerRef?: (element: HTMLButtonElement | null) => void;\n\t/** CSS classes to be added to wrapping trigger div */\n\ttriggerClassName?: string | string[] | Record<string, boolean>;\n\t/** Icon category passed from MenuDropdown */\n\ticonCategory?: 'action' | 'custom' | 'doctype' | 'standard' | 'utility';\n\t/** Icon name passed from MenuDropdown */\n\ticonName?: string;\n\t/** Icon position passed from MenuDropdown */\n\ticonPosition?: 'left' | 'right';\n\t/** Icon size passed from MenuDropdown */\n\ticonSize?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large';\n\t/** Icon variant passed from MenuDropdown */\n\ticonVariant?: 'bare' | 'container' | 'border' | 'border-filled' | 'more';\n\t/** Button variant passed from MenuDropdown */\n\tvariant?: 'base' | 'neutral' | 'brand' | 'destructive' | 'icon';\n\t/** Whether to show hint styling */\n\thint?: boolean;\n\t/** Whether the button is inverse */\n\tinverse?: boolean;\n\t/** Button label */\n\tlabel?: string | ReactNode;\n\t/** Disabled state */\n\tdisabled?: boolean;\n\t/** Tooltip */\n\ttooltip?: ReactNode;\n\t/** Tab index */\n\ttabIndex?: string;\n\t/** Button style */\n\tstyle?: React.CSSProperties;\n}\n\n/**\n * The Dropdown Button Trigger renders the default trigger button for the dropdown menu.\n * If this component has children, it does not render itself to the DOM.\n * Instead, it renders its child element, `Button`, and all that child's properties.\n * This component may be used as a template to create custom triggers that do not use `Button`.\n */\nconst ButtonTrigger = forwardRef<HTMLDivElement, ButtonTriggerProps>(\n\t(props, ref) => {\n\t\tconst {\n\t\t\tassistiveText,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tdisabled,\n\t\t\thint,\n\t\t\ticonCategory,\n\t\t\ticonName,\n\t\t\ticonPosition,\n\t\t\ticonSize,\n\t\t\ticonVariant,\n\t\t\tid,\n\t\t\tinverse,\n\t\t\tisInline: _isInline,\n\t\t\tisOpen,\n\t\t\tlabel,\n\t\t\tonBlur,\n\t\t\tmenu,\n\t\t\tonClick,\n\t\t\tonFocus,\n\t\t\tonKeyDown,\n\t\t\tonMouseDown,\n\t\t\tonMouseEnter,\n\t\t\tonMouseLeave,\n\t\t\topenOn: openOnProp,\n\t\t\tstyle,\n\t\t\ttabIndex,\n\t\t\ttooltip,\n\t\t\ttriggerRef,\n\t\t\ttriggerClassName,\n\t\t\tvariant,\n\t\t} = props;\n\n\t\tconst openOn = openOnProp === 'hover' ? 'click' : openOnProp;\n\n\t\t// Trigger manipulation\n\t\tlet propsFromGrandchildButton: Record<string, unknown> = {};\n\n\t\t// If there are children, extract props from the Button child\n\t\tif (React.Children.count(children) !== 0) {\n\t\t\tReact.Children.forEach(children, (child) => {\n\t\t\t\tif (\n\t\t\t\t\tchild &&\n\t\t\t\t\tReact.isValidElement(child) &&\n\t\t\t\t\t(child.type as { displayName?: string })?.displayName ===\n\t\t\t\t\t\tButton.displayName\n\t\t\t\t) {\n\t\t\t\t\tpropsFromGrandchildButton = child.props as Record<string, unknown>;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t// If Trigger has a Button child, then use the explicitly declared child's props\n\t\t// layered on top of those passed down by dropdown's props to allow manual override\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={ref}\n\t\t\t\tclassName={classnames(\n\t\t\t\t\t`slds-dropdown-trigger slds-dropdown-trigger_${openOn}`,\n\t\t\t\t\t{\n\t\t\t\t\t\t'slds-is-open': isOpen,\n\t\t\t\t\t},\n\t\t\t\t\ttriggerClassName as string | string[] | Record<string, boolean>\n\t\t\t\t)}\n\t\t\t\tid={id}\n\t\t\t\tonBlur={onBlur}\n\t\t\t\tonClick={onClick}\n\t\t\t\tonKeyDown={onKeyDown}\n\t\t\t\tonFocus={onFocus}\n\t\t\t\tonMouseDown={onMouseDown}\n\t\t\t\tonMouseEnter={onMouseEnter}\n\t\t\t\tonMouseLeave={onMouseLeave}\n\t\t\t>\n\t\t\t\t<Button\n\t\t\t\t\tassistiveText={assistiveText}\n\t\t\t\t\tclassName={className}\n\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\thint={hint}\n\t\t\t\t\ticonCategory={iconCategory}\n\t\t\t\t\ticonName={iconName}\n\t\t\t\t\ticonPosition={iconPosition}\n\t\t\t\t\ticonSize={iconSize}\n\t\t\t\t\ticonVariant={iconVariant}\n\t\t\t\t\tinverse={inverse}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\tstyle={style}\n\t\t\t\t\ttabIndex={tabIndex}\n\t\t\t\t\ttooltip={tooltip}\n\t\t\t\t\tvariant={variant}\n\t\t\t\t\taria-expanded={isOpen}\n\t\t\t\t\taria-haspopup\n\t\t\t\t\t{...propsFromGrandchildButton}\n\t\t\t\t\tbuttonRef={triggerRef}\n\t\t\t\t/>\n\t\t\t\t{menu}\n\t\t\t</div>\n\t\t);\n\t}\n);\n\nButtonTrigger.displayName = MENU_DROPDOWN_TRIGGER;\n\nexport default ButtonTrigger;\n"],"mappings":";;;;;;AAgFA,IAAM,IAAgB,GACpB,GAAO,MAAQ;CACf,IAAM,EACL,kBACA,aACA,cACA,aACA,SACA,iBACA,aACA,iBACA,aACA,gBACA,OACA,YACA,UAAU,GACV,WACA,UACA,WACA,SACA,YACA,YACA,cACA,gBACA,iBACA,iBACA,QAAQ,GACR,UACA,aACA,YACA,eACA,qBACA,eACG,GAEE,IAAS,MAAe,UAAU,UAAU,GAG9C,IAAqD,CAAC;CAkB1D,OAfI,EAAM,SAAS,MAAM,CAAQ,MAAM,KACtC,EAAM,SAAS,QAAQ,IAAW,MAAU;EAC3C,AACC,KACA,EAAM,eAAe,CAAK,KACzB,EAAM,MAAmC,gBACzC,EAAO,gBAER,IAA4B,EAAM;CAEpC,CAAC,GAMD,kBAAC,OAAD;EACM;EACL,WAAW,EACV,+CAA+C,KAC/C,EACC,gBAAgB,EACjB,GACA,CACD;EACI;EACI;EACC;EACE;EACF;EACI;EACC;EACA;EAhBf,UAAA,CAkBC,kBAAC,GAAD;GACgB;GACJ;GACD;GACJ;GACQ;GACJ;GACI;GACJ;GACG;GACJ;GACF;GACA;GACG;GACD;GACA;GACT,iBAAe;GACf,iBAAA;GACA,GAAI;GACJ,WAAW;EACX,CAAA,GACA,CACG;;AAEP,CACD;AAEA,EAAc,cAAc"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e from "../../utilities/warning/sunset-property.js";
|
|
2
|
-
import t from "../../utilities/
|
|
3
|
-
import n from "../../utilities/
|
|
4
|
-
import r from "../../utilities/warning/
|
|
2
|
+
import t from "../../utilities/get-component-doc.js";
|
|
3
|
+
import n from "../../utilities/warning/one-of-required-property.js";
|
|
4
|
+
import r from "../../utilities/warning/deprecated-property.js";
|
|
5
5
|
//#region components/menu-dropdown/check-props.js
|
|
6
6
|
var i = function() {};
|
|
7
7
|
process.env.NODE_ENV !== "production" && (i = function(i, a, o) {
|
|
8
|
-
let s =
|
|
9
|
-
e(i, a.forceOpen, "forceOpen", `Please use \`isOpen\` instead. It provides a consistent prop that aligns with other componenents. ${s("isOpen")}`), e(i, a.tooltip, "tooltip", s()),
|
|
8
|
+
let s = t(o);
|
|
9
|
+
e(i, a.forceOpen, "forceOpen", `Please use \`isOpen\` instead. It provides a consistent prop that aligns with other componenents. ${s("isOpen")}`), e(i, a.tooltip, "tooltip", s()), r(i, a.offset, "offset", void 0, `The manual setting of positional offset of dialog components has been deemed unreliable. Position logic has been re-written to deliver better and more reliable positioning. Please create an issue if you have an edge case not covered by the built-in logic. ${s()}`), n(i, {
|
|
10
10
|
options: a.options,
|
|
11
11
|
children: a.children
|
|
12
|
-
}, s()),
|
|
12
|
+
}, s()), r(i, a.isInline, "isInline", "menuPosition=\"relative\"", s("menuPosition"));
|
|
13
13
|
});
|
|
14
14
|
var a = i;
|
|
15
15
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../utilities/menu-list/item-label.js";
|
|
2
|
-
import "../utilities/menu-list/item.js";
|
|
3
|
-
import
|
|
1
|
+
import e from "../utilities/menu-list/item-label.js";
|
|
2
|
+
import t from "../utilities/menu-list/item.js";
|
|
3
|
+
import n, { DropdownNubbinPositions as r } from "./menu-dropdown.js";
|
|
4
4
|
//#region components/menu-dropdown/index.tsx
|
|
5
|
-
var
|
|
5
|
+
var i = n;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { t as default };
|
|
7
|
+
export { r as DropdownNubbinPositions, t as ListItem, e as ListItemLabel, i as default };
|
|
8
8
|
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../components/menu-dropdown/index.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\n// MenuDropdown is now a React 19 compatible functional component\n// that handles click outside detection internally without react-onclickoutside\n\nimport MenuDropdown from './menu-dropdown';\n\nexport default MenuDropdown;\nexport type {
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../components/menu-dropdown/index.tsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\n\n// MenuDropdown is now a React 19 compatible functional component\n// that handles click outside detection internally without react-onclickoutside\n\nimport MenuDropdown from './menu-dropdown';\n\nexport default MenuDropdown;\nexport type {\n\tMenuDropdownProps,\n\tMenuDropdownOption,\n\tMenuDropdownItemOption,\n\tMenuDropdownHeaderOption,\n\tMenuDropdownDividerOption,\n\tMenuDropdownOptionIcon,\n\tDropdownNubbinPosition,\n\tMenuDropdownSelectData,\n\tMenuDropdownOpenData,\n\tMenuDropdownOpenEvent,\n\tMenuDropdownCloseData,\n\tMenuDropdownCloseEvent,\n} from './menu-dropdown';\nexport {\n\tDropdownNubbinPositions,\n\tListItem,\n\tListItemLabel,\n} from './menu-dropdown';\n"],"mappings":";;;;AAQA,IAAA,IAAe"}
|