@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../components/utilities/menu-list/item.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AASlE,OAA8B,EAAE,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAQ9E,UAAU,kBAAkB;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS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,OAAO,aAAc,MAAM,GAAG,OAAO,8BAgCnC;IAEF,WAAW,UAAW,KAAK,CAAC,UAAU,UAYpC;IAEF,eAAe,UAAW,KAAK,CAAC,UAAU,UAExC;IAEF,MAAM,sBAsGL;CACD;eAEc,QAAQ"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import React, { type MouseEvent } from 'react';
|
|
1
|
+
import React, { type MouseEvent, type ReactElement } from 'react';
|
|
2
2
|
import { VERTICAL_NAVIGATION } from '../../utilities/constants';
|
|
3
|
+
import type { BadgeProps } from '../badge';
|
|
4
|
+
import type { IconProps } from '../icon';
|
|
3
5
|
/**
|
|
4
6
|
* Navigation item structure
|
|
5
7
|
*/
|
|
@@ -10,8 +12,10 @@ export interface NavigationItem {
|
|
|
10
12
|
label: string;
|
|
11
13
|
/** URL for the link */
|
|
12
14
|
url: string;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
+
/** `Icon` rendered before the label. Its `size` sets the right margin. */
|
|
16
|
+
icon?: ReactElement<IconProps>;
|
|
17
|
+
/** `Badge` rendered after the label, aligned right */
|
|
18
|
+
notificationBadge?: ReactElement<BadgeProps>;
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
17
21
|
* Navigation category structure
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/vertical-navigation/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/vertical-navigation/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAGb,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;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|
20
20
|
onSelect?: (event: React.MouseEvent<HTMLAnchorElement>, data: NavigationSelectData) => void;
|
|
21
21
|
}
|
|
22
|
-
declare function Item({ isSelected, item, categoryId, onSelect }: ItemProps): React.JSX.Element;
|
|
22
|
+
declare function Item({ isSelected, item, categoryId, onSelect, }: ItemProps): React.JSX.Element;
|
|
23
23
|
declare namespace Item {
|
|
24
24
|
export { VERTICAL_NAVIGATION_ITEM as displayName };
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../components/vertical-navigation/private/item.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../components/vertical-navigation/private/item.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE1E,MAAM,WAAW,SAAS;IACzB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,CACV,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAC1C,IAAI,EAAE,oBAAoB,KACtB,IAAI,CAAC;CACV;sBAiBa,EACb,UAAkB,EAClB,IAAI,EACJ,UAAU,EACV,QAAQ,GACR,EAAE,SAAS;;aA6CO,wBAAwB;;eAE5B,IAAI"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type ModalRequestCloseData, type ModalRequestCloseEvent, type ModalRequestCloseTrigger } from '../modal';
|
|
2
3
|
import { WELCOME_MAT } from '../../utilities/constants';
|
|
3
4
|
/**
|
|
4
5
|
* Welcome mat variant types
|
|
@@ -16,30 +17,78 @@ export interface WelcomeMatLabels {
|
|
|
16
17
|
unitsCompletedAfter?: string;
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* What caused a WelcomeMat close request (same as the underlying Modal's)
|
|
20
21
|
*/
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
export type WelcomeMatRequestCloseTrigger = ModalRequestCloseTrigger;
|
|
23
|
+
/**
|
|
24
|
+
* Data passed to `onRequestClose` (forwarded from the underlying Modal)
|
|
25
|
+
*/
|
|
26
|
+
export type WelcomeMatRequestCloseData = ModalRequestCloseData;
|
|
27
|
+
/**
|
|
28
|
+
* Event passed to `onRequestClose` (forwarded from the underlying Modal)
|
|
29
|
+
*/
|
|
30
|
+
export type WelcomeMatRequestCloseEvent = ModalRequestCloseEvent;
|
|
31
|
+
interface WelcomeMatBaseProps {
|
|
24
32
|
/** CSS classes */
|
|
25
33
|
className?: string | string[] | Record<string, boolean>;
|
|
26
|
-
/** Do not show again checkbox element */
|
|
27
|
-
doNotShowAgainCheckbox?: ReactNode;
|
|
28
34
|
/** HTML id */
|
|
29
35
|
id?: string;
|
|
30
|
-
/** Info badge for trailhead variant */
|
|
31
|
-
infoBadge?: ReactNode;
|
|
32
36
|
/** Whether modal is open */
|
|
33
37
|
isOpen?: boolean;
|
|
34
38
|
/** Text labels */
|
|
35
39
|
labels?: WelcomeMatLabels;
|
|
36
|
-
/**
|
|
37
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Close request handler, forwarded from the underlying Modal. Receives the triggering
|
|
42
|
+
* click or keydown event and `data.trigger`: `'close-button'`, `'escape'`, or `'click-outside'`.
|
|
43
|
+
*/
|
|
44
|
+
onRequestClose?: (event: WelcomeMatRequestCloseEvent, data: WelcomeMatRequestCloseData) => void;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* `variant` decides what the info panel shows. `steps` and
|
|
48
|
+
* `trailhead-connected` show progress through `WelcomeMatTile` children;
|
|
49
|
+
* `info-only` and `splash` show actions instead.
|
|
50
|
+
*/
|
|
51
|
+
export type WelcomeMatVariantProps = {
|
|
52
|
+
/** Tiles with a progress bar */
|
|
53
|
+
variant?: 'steps';
|
|
54
|
+
/** WelcomeMatTile children */
|
|
55
|
+
children: ReactNode;
|
|
56
|
+
doNotShowAgainCheckbox?: never;
|
|
57
|
+
infoBadge?: never;
|
|
58
|
+
onRenderInfoActions?: never;
|
|
59
|
+
} | {
|
|
60
|
+
/** Tiles with Trailhead progress and an info badge */
|
|
61
|
+
variant: 'trailhead-connected';
|
|
62
|
+
/** WelcomeMatTile children */
|
|
63
|
+
children: ReactNode;
|
|
64
|
+
doNotShowAgainCheckbox?: never;
|
|
65
|
+
/** WelcomeMatInfoBadge shown above the progress */
|
|
66
|
+
infoBadge?: ReactNode;
|
|
67
|
+
onRenderInfoActions?: never;
|
|
68
|
+
} | {
|
|
69
|
+
/** Tiles with actions instead of progress */
|
|
70
|
+
variant: 'info-only';
|
|
71
|
+
/** WelcomeMatTile children */
|
|
72
|
+
children: ReactNode;
|
|
73
|
+
/** Do not show again checkbox element */
|
|
74
|
+
doNotShowAgainCheckbox?: ReactNode;
|
|
75
|
+
infoBadge?: never;
|
|
38
76
|
/** Render function for info actions */
|
|
39
77
|
onRenderInfoActions?: () => ReactNode;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
78
|
+
} | {
|
|
79
|
+
/** Info panel only, with actions and no tiles */
|
|
80
|
+
variant: 'splash';
|
|
81
|
+
children?: never;
|
|
82
|
+
/** Do not show again checkbox element */
|
|
83
|
+
doNotShowAgainCheckbox?: ReactNode;
|
|
84
|
+
infoBadge?: never;
|
|
85
|
+
/** Render function for info actions */
|
|
86
|
+
onRenderInfoActions?: () => ReactNode;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Props for the WelcomeMat component
|
|
90
|
+
*/
|
|
91
|
+
export type WelcomeMatProps = WelcomeMatBaseProps & WelcomeMatVariantProps;
|
|
43
92
|
declare function WelcomeMat({ children, className, doNotShowAgainCheckbox, id: propId, infoBadge, isOpen, labels: propLabels, onRequestClose, onRenderInfoActions, variant, }: WelcomeMatProps): React.ReactElement;
|
|
44
93
|
declare namespace WelcomeMat {
|
|
45
94
|
export { WELCOME_MAT as displayName };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/welcome-mat/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/welcome-mat/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAGb,KAAK,SAAS,EAEd,MAAM,OAAO,CAAC;AAEf,OAAc,EACb,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAC5B,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,qBAAqB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,wBAAwB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAC;AAEjE,UAAU,mBAAmB;IAC5B,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,MAA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AAE,KAAK,CAAC;IAClB,uCAAuC;IACvC,mBAAmB,CAAC,EAAE,MAAM,SAAS,CAAC;CACrC,CAAC;AAEL;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,sBAAsB,CAAC;4BASvD,EACnB,QAAQ,EACR,SAAS,EACT,sBAAsB,EACtB,EAAE,EAAE,MAAM,EACV,SAAS,EACT,MAAa,EACb,MAAM,EAAE,UAAU,EAClB,cAAc,EACd,mBAAmB,EACnB,OAAiB,GACjB,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY;;aA2Id,WAAW;;eAErB,UAAU"}
|
|
@@ -60,7 +60,6 @@ export declare const EXPRESSION_CONDITION = "SLDSExpressionCondition";
|
|
|
60
60
|
export declare const EXPRESSION_FORMULA = "SLDSExpressionFormula";
|
|
61
61
|
export declare const FILTER = "SLDSFilter";
|
|
62
62
|
export declare const CHECKBOX = "SLDSCheckbox";
|
|
63
|
-
export declare const FORMS_INLINE_EDIT = "SLDSInlineEdit";
|
|
64
63
|
export declare const INPUT = "SLDSInput";
|
|
65
64
|
export declare const TEXTAREA = "SLDSTextarea";
|
|
66
65
|
export declare const SEARCH = "SLDSSearch";
|
|
@@ -113,6 +112,7 @@ export declare const POPOVER = "SLDSPopover";
|
|
|
113
112
|
export declare const POPOVER_EDIT_DIALOG = "SLDSPopoverEditDialog";
|
|
114
113
|
export declare const POPOVER_TOOLTIP = "SLDSPopoverTooltip";
|
|
115
114
|
export declare const PROGRESS_INDICATOR = "SLDSProgressIndicator";
|
|
115
|
+
export declare const PROGRESS_INDICATOR_PATH = "SLDSProgressIndicatorPath";
|
|
116
116
|
export declare const PROGRESS_INDICATOR_PROGRESS = "SLDSProgressIndicatorProgress";
|
|
117
117
|
export declare const PROGRESS_INDICATOR_STEP = "SLDSProgressIndicatorStep";
|
|
118
118
|
export declare const PROGRESS_INDICATOR_STEP_VERTICAL = "SLDSProgressIndicatorStepVertical";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"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AC;AAC5C,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useClickOutside, type UseClickOutsideOptions } from './use-click-outside';
|
|
1
|
+
export { useClickOutside, type UseClickOutsideOptions, } from './use-click-outside';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../utilities/hooks/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../utilities/hooks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,eAAe,EACf,KAAK,sBAAsB,GAC3B,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incompatible-props.d.ts","sourceRoot":"","sources":["../../../../utilities/warning/incompatible-props.js"],"names":[],"mappings":"AAQA,QAAA,IAAI,iBAAiB,YAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"incompatible-props.d.ts","sourceRoot":"","sources":["../../../../utilities/warning/incompatible-props.js"],"names":[],"mappings":"AAQA,QAAA,IAAI,iBAAiB,YAA0C,CAAC;eA4CjD,iBAAiB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/design-system-react",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "alpha"
|
|
6
6
|
},
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "vite",
|
|
15
|
-
"build": "tsc --noEmit && vite build && npm run build:types && npm run build:shims",
|
|
15
|
+
"build": "tsc --noEmit && vite build && npm run build:types && npm run build:shims && npm run test:exports",
|
|
16
16
|
"build:types": "tsc -p tsconfig.dts.json",
|
|
17
17
|
"build:shims": "node scripts/generate-entry-shims.mjs",
|
|
18
|
+
"test:exports": "node scripts/check-package-exports.mjs",
|
|
18
19
|
"preview": "vite preview",
|
|
19
20
|
"test": "vitest",
|
|
20
21
|
"test:unit": "vitest --project unit",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
"test:coverage": "vitest run --coverage",
|
|
25
26
|
"lint": "eslint .",
|
|
26
27
|
"lint:fix": "eslint . --fix && prettier --write \"**/*.{js,jsx,ts,tsx}\"",
|
|
27
|
-
"typecheck": "tsc --noEmit",
|
|
28
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.type-tests.json",
|
|
28
29
|
"test:ci": "npm run typecheck && npm run test -- --run --update=none && npm run build && npm run lint",
|
|
29
30
|
"start": "npm run dev",
|
|
30
31
|
"storybook": "storybook dev -p 6007",
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
"warning": "^4.0.3"
|
|
121
122
|
},
|
|
122
123
|
"peerDependencies": {
|
|
123
|
-
"@salesforce-ux/design-system": "2.25.0-alpha.2",
|
|
124
|
+
"@salesforce-ux/design-system": "^2.25.0-alpha.2",
|
|
124
125
|
"react": "^19.2.0",
|
|
125
126
|
"react-dom": "^19.2.0"
|
|
126
127
|
},
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("../../../utilities/warning/component-is-deprecated.cjs");var t=function(){};process.env.NODE_ENV!==`production`&&(t=function(t,n){e.default(t,n,'For a multiple input form, please use the pattern located at https://www.lightningdesignsystem.com/components/form-element/#Record-Detail that swaps out a read-only `Input` with a base `Input`. For a single input, please use a `Popover` paired with `<Button category="utility" iconName="edit" variant="icon" />` as the trigger.')});var n=t;exports.default=n;
|
|
2
|
-
//# sourceMappingURL=inline-check-props.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inline-check-props.cjs","names":[],"sources":["../../../../../components/forms/input/inline-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 componentIsDeprecated from '../../../utilities/warning/component-is-deprecated';\n\nlet checkProps = function checkPropsFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tcheckProps = function checkPropsFunction(COMPONENT, props) {\n\t\tcomponentIsDeprecated(\n\t\t\tCOMPONENT,\n\t\t\tprops,\n\t\t\t'For a multiple input form, please use the pattern located at https://www.lightningdesignsystem.com/components/form-element/#Record-Detail that swaps out a read-only `Input` with a base `Input`. For a single input, please use a `Popover` paired with `<Button\tcategory=\"utility\" iconName=\"edit\" variant=\"icon\" />` as the trigger.'\n\t\t);\n\t};\n}\n\nexport default checkProps;\n"],"mappings":"0EAOA,IAAI,EAAa,UAA8B,CAAC,EAEhD,QAAA,IAAA,WAA6B,eAC5B,EAAa,SAA4B,EAAW,EAAO,CAC1D,EAAA,QACC,EACA,EACA,yUACD,CACD,GAGD,IAAA,EAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utilities/constants.cjs"),n=require("../../../utilities/key-code.cjs"),r=require("../../button/index.cjs"),i=require("../../input/index.cjs"),a=require("../../icon/input-icon/index.cjs"),o=require("./inline-check-props.cjs");let s=require("react");s=e.__toESM(s,1);let c=require("react/jsx-runtime"),l=require("lodash.isfunction");l=e.__toESM(l,1);var u={assistiveText:`Edit text`,type:`text`},d=class extends s.default.Component{static displayName=t.FORMS_INLINE_EDIT;static defaultProps=u;autoFocus;inputNode=null;willSave;constructor(e){super(e),this.state={isEditing:!1,value:null},o.default(t.FORMS_INLINE_EDIT,e)}componentDidUpdate(){this.autoFocus&&=(this.inputNode&&(this.inputNode.focus(),this.inputNode.select()),!1)}endEditMode=e=>{this.willSave&&(clearTimeout(this.willSave),delete this.willSave),this.setState({isEditing:!1,value:null}),this.props.onLeaveEditMode&&(0,l.default)(this.props.onLeaveEditMode)&&this.props.onLeaveEditMode(void 0,e)};handleBlur=()=>{this.willSave||=setTimeout(this.saveEdits,200),this.props.onLeaveEditMode&&(0,l.default)(this.props.onLeaveEditMode)&&this.props.onLeaveEditMode()};handleChange=(e,t)=>{this.setState({value:t.value})};handleKeyDown=e=>{e.keyCode&&(e.keyCode===n.default.ESCAPE?this.saveEdits({cancel:!0}):e.keyCode===n.default.ENTER&&this.saveEdits())};handleKeyUp=e=>{e.keyCode&&this.props.onKeyUp&&(0,l.default)(this.props.onKeyUp)&&this.props.onKeyUp(e,{value:this.state.value})};saveEdits=e=>{e&&e.cancel===!0||(0,l.default)(this.props.onChange)&&this.props.onChange({value:this.state.value}),this.endEditMode(e)};triggerEditMode=()=>{this.props.disabled||(this.autoFocus=!0,this.setState({isEditing:!0,value:this.props.value}),(0,l.default)(this.props.onEnterEditMode)&&this.props.onEnterEditMode())};render(){let{assistiveText:e,disabled:t,value:n,name:o,...s}=this.props,l=this.state.isEditing?(0,c.jsx)(a.default,{category:`utility`,name:`close`,position:`right`,onClick:()=>this.endEditMode(),tabIndex:-1}):null;return(0,c.jsx)(i.default,{...s,iconRight:l,disabled:t,inlineEditTrigger:(0,c.jsx)(r.default,{assistiveText:{icon:e},className:`slds-m-left_x-small`,disabled:t,iconCategory:`utility`,iconName:`edit`,iconPosition:`right`,iconSize:`small`,variant:`icon`}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.state.isEditing?void 0:this.triggerEditMode,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,isStatic:!this.state.isEditing,name:o,value:this.state.isEditing?this.state.value||``:n,inputRef:e=>{this.inputNode=e}})}};exports.default=d;
|
|
2
|
-
//# sourceMappingURL=inline.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inline.cjs","names":[],"sources":["../../../../../components/forms/input/inline.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// # Inline Edit Component\n\n// Implements an inline edit component based on the [Input design pattern](https://www.lightningdesignsystem.com/components/forms/#input) in React.\n\n// ## Dependencies\n\n// ### React\nimport React, { type ReactNode } from 'react';\n\n// ### isFunction\nimport isFunction from 'lodash.isfunction';\n\n// ## Children\nimport Button from '../../button';\nimport Input, { type InputProps, type InputType } from '../../input/index';\nimport InputIcon from '../../icon/input-icon';\n\n// ### Event Helpers\nimport KEYS from '../../../utilities/key-code';\n\n// This component's `checkProps` which issues warnings to developers about properties when in development mode (similar to React's built in development tools)\nimport checkProps from './inline-check-props';\n\n// ## Constants\nimport { FORMS_INLINE_EDIT } from '../../../utilities/constants';\n\n/** Options passed when leaving edit mode. */\ninterface EndEditOption {\n\tcancel?: boolean;\n}\n\nexport interface InlineEditProps {\n\t/**\n\t * Assistive text for the edit trigger button's icon.\n\t */\n\tassistiveText?: string;\n\t/**\n\t * Class names to be added to the outer container of the input.\n\t */\n\tclassName?: unknown[] | Record<string, unknown> | string;\n\t/**\n\t * Name of the submitted form parameter.\n\t */\n\tname?: string;\n\t/**\n\t * Disables the Inline Edit component and prevents editing the contents.\n\t */\n\tdisabled?: boolean;\n\t/**\n\t * Every Inline Edit component must have a unique ID in order to support keyboard navigation and ARIA support.\n\t */\n\tid: string;\n\t/**\n\t * This event fires when the input changes.\n\t */\n\tonChange?: (data: { value: string | null }) => void;\n\t/**\n\t * Function will run when keyup during text edit\n\t */\n\tonKeyUp?: (\n\t\tevent: React.KeyboardEvent<HTMLInputElement>,\n\t\tdata: { value: string | null }\n\t) => void;\n\t/**\n\t * Function will run when we enter edit mode\n\t */\n\tonEnterEditMode?: () => void;\n\t/**\n\t * Function will run when we leave edit mode\n\t */\n\tonLeaveEditMode?: (event?: undefined, option?: EndEditOption) => void;\n\t/**\n\t * Typically an Inline Edit component will be of the type text, but like the Input element it includes support for all HTML5 types.\n\t */\n\ttype?: InputType;\n\t/**\n\t * Inline Edit is a controlled component, and will always display this value.\n\t */\n\tvalue: string;\n\t/**\n\t * Additional properties are passed onto the underlying `Input`.\n\t */\n\t[key: string]: unknown;\n}\n\ninterface InlineEditState {\n\tisEditing: boolean;\n\tvalue: string | null;\n}\n\nconst defaultProps: Partial<InlineEditProps> = {\n\tassistiveText: 'Edit text',\n\ttype: 'text',\n};\n\n/**\n * An inline input is rendered as a label by default. When clicked (or tabbed in), it's rendered as an input. When the focus is lost, the current input value is saved and the input is rendered as a label again.\n */\nclass InlineEdit extends React.Component<InlineEditProps, InlineEditState> {\n\tstatic displayName = FORMS_INLINE_EDIT;\n\n\tstatic defaultProps = defaultProps;\n\n\tautoFocus?: boolean;\n\n\tinputNode: HTMLInputElement | null = null;\n\n\twillSave?: ReturnType<typeof setTimeout>;\n\n\tconstructor(props: InlineEditProps) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tisEditing: false,\n\t\t\tvalue: null,\n\t\t};\n\n\t\t(checkProps as (name: string, props: unknown) => void)(\n\t\t\tFORMS_INLINE_EDIT,\n\t\t\tprops\n\t\t);\n\t}\n\n\tcomponentDidUpdate() {\n\t\tif (this.autoFocus) {\n\t\t\tif (this.inputNode) {\n\t\t\t\tthis.inputNode.focus();\n\t\t\t\tthis.inputNode.select();\n\t\t\t}\n\t\t\tthis.autoFocus = false;\n\t\t}\n\t}\n\n\tendEditMode = (option?: EndEditOption | React.MouseEvent) => {\n\t\tif (this.willSave) {\n\t\t\tclearTimeout(this.willSave);\n\t\t\tdelete this.willSave;\n\t\t}\n\n\t\tthis.setState({\n\t\t\tisEditing: false,\n\t\t\tvalue: null,\n\t\t});\n\n\t\tif (this.props.onLeaveEditMode && isFunction(this.props.onLeaveEditMode)) {\n\t\t\tthis.props.onLeaveEditMode(undefined, option as EndEditOption);\n\t\t}\n\t};\n\n\thandleBlur = () => {\n\t\tif (!this.willSave) {\n\t\t\tthis.willSave = setTimeout(this.saveEdits, 200);\n\t\t}\n\t\tif (this.props.onLeaveEditMode && isFunction(this.props.onLeaveEditMode)) {\n\t\t\tthis.props.onLeaveEditMode();\n\t\t}\n\t};\n\n\thandleChange = (\n\t\t_event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent,\n\t\tdata: { value: string }\n\t) => {\n\t\tthis.setState({\n\t\t\tvalue: data.value,\n\t\t});\n\t};\n\n\thandleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n\t\tif (event.keyCode) {\n\t\t\tif (event.keyCode === KEYS.ESCAPE) {\n\t\t\t\tthis.saveEdits({ cancel: true });\n\t\t\t} else if (event.keyCode === KEYS.ENTER) {\n\t\t\t\tthis.saveEdits();\n\t\t\t}\n\t\t}\n\t};\n\n\thandleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\n\t\tif (event.keyCode) {\n\t\t\tif (this.props.onKeyUp && isFunction(this.props.onKeyUp)) {\n\t\t\t\tthis.props.onKeyUp(event, {\n\t\t\t\t\tvalue: this.state.value,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\n\tsaveEdits = (option?: EndEditOption) => {\n\t\tif (!(option && option.cancel === true)) {\n\t\t\tif (isFunction(this.props.onChange)) {\n\t\t\t\tthis.props.onChange({\n\t\t\t\t\tvalue: this.state.value,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tthis.endEditMode(option);\n\t};\n\n\ttriggerEditMode = () => {\n\t\tif (!this.props.disabled) {\n\t\t\tthis.autoFocus = true;\n\t\t\tthis.setState({\n\t\t\t\tisEditing: true,\n\t\t\t\tvalue: this.props.value,\n\t\t\t});\n\t\t\tif (isFunction(this.props.onEnterEditMode)) {\n\t\t\t\tthis.props.onEnterEditMode();\n\t\t\t}\n\t\t}\n\t};\n\n\t// ### Render\n\trender() {\n\t\tconst {\n\t\t\tassistiveText,\n\t\t\tdisabled,\n\t\t\tvalue,\n\t\t\tname,\n\n\t\t\t// ### Additional properties\n\t\t\t// Using [object destructuring](https://facebook.github.io/react/docs/transferring-props.html#transferring-with-...-in-jsx) to pass on any properties which are not explicitly defined.\n\t\t\t...rest\n\t\t} = this.props;\n\n\t\tconst iconRight: ReactNode = this.state.isEditing ? (\n\t\t\t<InputIcon\n\t\t\t\tcategory=\"utility\"\n\t\t\t\tname=\"close\"\n\t\t\t\tposition=\"right\"\n\t\t\t\tonClick={() => this.endEditMode()}\n\t\t\t\ttabIndex={-1}\n\t\t\t/>\n\t\t) : null;\n\n\t\treturn (\n\t\t\t<Input\n\t\t\t\t{...(rest as unknown as InputProps)}\n\t\t\t\ticonRight={iconRight}\n\t\t\t\tdisabled={disabled}\n\t\t\t\tinlineEditTrigger={\n\t\t\t\t\t<Button\n\t\t\t\t\t\tassistiveText={{ icon: assistiveText }}\n\t\t\t\t\t\tclassName=\"slds-m-left_x-small\"\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t\ticonCategory=\"utility\"\n\t\t\t\t\t\ticonName=\"edit\"\n\t\t\t\t\t\ticonPosition=\"right\"\n\t\t\t\t\t\ticonSize=\"small\"\n\t\t\t\t\t\tvariant=\"icon\"\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t\tonBlur={this.handleBlur}\n\t\t\t\tonChange={this.handleChange}\n\t\t\t\tonClick={!this.state.isEditing ? this.triggerEditMode : undefined}\n\t\t\t\tonKeyDown={this.handleKeyDown}\n\t\t\t\tonKeyUp={this.handleKeyUp}\n\t\t\t\tisStatic={!this.state.isEditing}\n\t\t\t\tname={name}\n\t\t\t\tvalue={this.state.isEditing ? this.state.value || '' : value}\n\t\t\t\tinputRef={(input) => {\n\t\t\t\t\tthis.inputNode = input;\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\t}\n}\n\nexport default InlineEdit;\n"],"mappings":"2aA6FA,IAAM,EAAyC,CAC9C,cAAe,YACf,KAAM,MACP,EAKM,EAAN,cAA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jC,KAAK,MAAM,SAAS,CACnB,MAAO,KAAK,MAAM,KACnB,CAAC,EAGH,KAAK,YAAY,CAAM,CACxB,EAEA,oBAAwB,CAClB,KAAK,MAAM,WACf,KAAK,UAAY,GACjB,KAAK,SAAS,CACb,UAAW,GACX,MAAO,KAAK,MAAM,KACnB,CAAC,GACD,EAAI,EAAA,QAAA,CAAW,KAAK,MAAM,eAAe,GACxC,KAAK,MAAM,gBAAgB,EAG9B,EAGA,QAAS,CACR,GAAM,CACL,gBACA,WACA,QACA,OAIA,GAAG,GACA,KAAK,MAEH,EAAuB,KAAK,MAAM,WACvC,EAAA,EAAA,IAAA,CAAC,EAAA,QAAD,CACC,SAAS,UACT,KAAK,QACL,SAAS,QACT,YAAe,KAAK,YAAY,EAChC,SAAU,EACV,CAAA,EACE,KAEJ,OACC,EAAA,EAAA,IAAA,CAAC,EAAA,QAAD,CACC,GAAK,EACM,YACD,WACV,mBACC,EAAA,EAAA,IAAA,CAAC,EAAA,QAAD,CACC,cAAe,CAAE,KAAM,CAAc,EACrC,UAAU,sBACA,WACV,aAAa,UACb,SAAS,OACT,aAAa,QACb,SAAS,QACT,QAAQ,MACR,CAAA,EAEF,OAAQ,KAAK,WACb,SAAU,KAAK,aACf,QAAU,KAAK,MAAM,UAAmC,IAAA,GAAvB,KAAK,gBACtC,UAAW,KAAK,cAChB,QAAS,KAAK,YACd,SAAU,CAAC,KAAK,MAAM,UAChB,OACN,MAAO,KAAK,MAAM,UAAY,KAAK,MAAM,OAAS,GAAK,EACvD,SAAW,GAAU,CACpB,KAAK,UAAY,CAClB,CACA,CAAA,CAEH,CACD"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("../../utilities/warning/deprecated-property.cjs"),t=require("../../utilities/get-component-doc.cjs");var n=function(){};process.env.NODE_ENV!==`production`&&(n=function(n,r,i){let a=t.default(i);e.default(n,r.closeButtonAssistiveText,`closeButtonAssistiveText`,`assistiveText['closeButton']`,a(`assistiveText`)),e.default(n,r.title,`title`,`heading`,a(`heading`)),e.default(n,r.dismissible,`dismissible`,`disableClose`,a(`disableClose`))});var r=n;exports.default=r;
|
|
2
|
-
//# sourceMappingURL=check-props.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-props.cjs","names":[],"sources":["../../../../components/modal/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';\nimport getComponentDocFn from '../../utilities/get-component-doc';\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\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.closeButtonAssistiveText,\n\t\t\t'closeButtonAssistiveText',\n\t\t\t\"assistiveText['closeButton']\",\n\t\t\tcreateDocUrl('assistiveText')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.title,\n\t\t\t'title',\n\t\t\t'heading',\n\t\t\tcreateDocUrl('heading')\n\t\t);\n\t\tdeprecatedProperty(\n\t\t\tCOMPONENT,\n\t\t\tprops.dismissible,\n\t\t\t'dismissible',\n\t\t\t'disableClose',\n\t\t\tcreateDocUrl('disableClose')\n\t\t);\n\t};\n}\n\nexport default checkProps;\n"],"mappings":"sHAQA,IAAI,EAAa,UAA8B,CAAC,EAEhD,QAAA,IAAA,WAA6B,eAC5B,EAAa,SAA4B,EAAW,EAAO,EAAS,CACnE,IAAM,EAAe,EAAA,QAAkB,CAAO,EAC9C,EAAA,QACC,EACA,EAAM,yBACN,2BACA,+BACA,EAAa,eAAe,CAC7B,EACA,EAAA,QACC,EACA,EAAM,MACN,QACA,UACA,EAAa,SAAS,CACvB,EACA,EAAA,QACC,EACA,EAAM,YACN,cACA,eACA,EAAa,cAAc,CAC5B,CACD,GAGD,IAAA,EAAe"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=`modal`,t=`prod`,n=`Modal`,r={component:e,status:t,"display-name":`Modals and Prompts`,classKey:n,"SLDS-component-path":`/components/modals`,"site-stories":[{heading:`Default`,path:`/__examples__/menu-contents.jsx`},{heading:`With header and footer`,path:`/__examples__/header-footer.jsx`},{heading:`With Tagline`,path:`/__examples__/taglines.jsx`},{heading:`Prompt`,path:`/__examples__/prompt.jsx`},{heading:`Various sizes`,path:`/__examples__/sizes.jsx`}],"url-slug":`modals`};exports.classKey=n,exports.component=e,exports.default=r,exports.status=t;
|
|
2
|
-
//# sourceMappingURL=component.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component.cjs","names":[],"sources":["../../../../components/modal/component.json"],"sourcesContent":["{\n\t\"component\": \"modal\",\n\t\"status\": \"prod\",\n\t\"display-name\": \"Modals and Prompts\",\n\t\"classKey\": \"Modal\",\n\t\"SLDS-component-path\": \"/components/modals\",\n\t\"site-stories\": [\n\t\t{\n\t\t\t\"heading\": \"Default\",\n\t\t\t\"path\": \"/__examples__/menu-contents.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"With header and footer\",\n\t\t\t\"path\": \"/__examples__/header-footer.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"With Tagline\",\n\t\t\t\"path\": \"/__examples__/taglines.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Prompt\",\n\t\t\t\"path\": \"/__examples__/prompt.jsx\"\n\t\t},\n\t\t{\n\t\t\t\"heading\": \"Various sizes\",\n\t\t\t\"path\": \"/__examples__/sizes.jsx\"\n\t\t}\n\t],\n\t\"url-slug\": \"modals\"\n}\n"],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("../../utilities/execution-environment.cjs"),t=require("../../utilities/warning/component-is-deprecated.cjs"),n=require("./index.cjs");let r=require("react/jsx-runtime"),i=require("react-dom/client");var a={open:a=>{t.default(`components/modal/trigger.jsx`,{},`This component is deprecated and appears to have been created in order to do modals in portals which is what current Modal has done for years.`);let o;e.canUseDOM&&(o=document.createElement(`span`),o.setAttribute(`data-slds-modal`,`true`),document.body.appendChild(o));let s=(0,r.jsx)(n.default,{heading:a.title,footer:a.footer,isOpen:!0,children:a.content});o&&(0,i.createRoot)(o).render(s)}};exports.default=a;
|
|
2
|
-
//# sourceMappingURL=trigger.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.cjs","names":[],"sources":["../../../../components/modal/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\nimport { createRoot } from 'react-dom/client';\nimport { type ReactNode } from 'react';\n\nimport componentIsDeprecated from '../../utilities/warning/component-is-deprecated';\n\nimport Modal from './index';\n\nimport { canUseDOM } from '../../utilities/execution-environment';\n\nexport interface ModalTriggerConfig {\n\t/** Modal heading text. */\n\ttitle?: ReactNode;\n\t/** Modal footer content. */\n\tfooter?: ReactNode | ReactNode[];\n\t/** Modal body content. */\n\tcontent?: ReactNode;\n}\n\n// This component should be deprecated and appears to have\n// been created in order to do modals in portals.\n\nconst ModalTrigger = {\n\topen: (cfg: ModalTriggerConfig) => {\n\t\tcomponentIsDeprecated(\n\t\t\t'components/modal/trigger.jsx',\n\t\t\t// The legacy call passes a message string in the `props` slot; the\n\t\t\t// deprecation helper only reads `props.silenceDeprecationWarning`, so\n\t\t\t// this is a harmless no-op guard. Preserved for backwards behavior.\n\t\t\t{} as Record<string, unknown>,\n\t\t\t'This component is deprecated and appears to have been created in order to do modals in portals which is what current Modal has done for years.'\n\t\t);\n\n\t\tlet el;\n\t\tif (canUseDOM) {\n\t\t\tel = document.createElement('span');\n\t\t\tel.setAttribute('data-slds-modal', 'true');\n\t\t\tdocument.body.appendChild(el);\n\t\t}\n\t\tconst comp = (\n\t\t\t<Modal heading={cfg.title} footer={cfg.footer} isOpen>\n\t\t\t\t{cfg.content}\n\t\t\t</Modal>\n\t\t);\n\n\t\tif (el) {\n\t\t\t// React 18+ root API. `ReactDOM.render` was removed in React 19.\n\t\t\tconst root = createRoot(el);\n\t\t\troot.render(comp);\n\t\t}\n\t},\n};\n\nexport default ModalTrigger;\n"],"mappings":"wNAwBA,IAAM,EAAe,CACpB,KAAO,GAA4B,CAClC,EAAA,QACC,+BAIA,CAAC,EACD,gJACD,EAEA,IAAI,EACA,EAAA,YACH,EAAK,SAAS,cAAc,MAAM,EAClC,EAAG,aAAa,kBAAmB,MAAM,EACzC,SAAS,KAAK,YAAY,CAAE,GAE7B,IAAM,GACL,EAAA,EAAA,IAAA,CAAC,EAAA,QAAD,CAAO,QAAS,EAAI,MAAO,OAAQ,EAAI,OAAQ,OAAA,GAC7C,SAAA,EAAI,OACC,CAAA,EAGJ,IAGH,EADa,EAAA,WAAA,CAAW,CACxB,CAAA,CAAK,OAAO,CAAI,CAElB,CACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"palette-colors.common.cjs","names":[],"sources":["../../../../../utilities/design-tokens/dist/palette-colors.common.js"],"sourcesContent":["// Disabled state of BRAND_HEADER_CONTRAST_WEAK\nexport const brandHeaderContrastWeakDisabled = 'rgba(166, 166, 166, 0.25)';\n// Gray Color 11\nexport const colorGray11 = 'rgb(62, 62, 60)';\n// Transparent value of BRAND_PRIMARY at 10%\nexport const brandPrimaryTransparent10 = 'rgba(21, 137, 238, 0.1)';\n// Gray Color 12\nexport const colorGray12 = 'rgb(43, 40, 38)';\n// These RGBA values need to be updated if BRAND_BACKGROUND_DARK changes, solves webkit bug\nexport const brandBackgroundDarkTransparent = 'rgba(221, 219, 218, 0)';\n// Background color a branded app header\nexport const brandHeader = 'rgb(255, 255, 255)';\n// Active / Hover state of BRAND_LIGHT\nexport const brandLightActive = 'rgb(227, 229, 237)';\n// Variant of BRAND_HEADER_CONTRAST that provides a warm color\nexport const brandHeaderContrastWarm = 'rgb(191, 2, 1)';\n// Disabled state of BRAND_HEADER_ICON\nexport const brandHeaderIconDisabled = 'rgba(145, 145, 145, 0.25)';\n// Active / Hover state of BRAND_HEADER_CONTRAST\nexport const brandHeaderContrastActive = 'rgb(80, 80, 80)';\n// Primary page background color\nexport const brandBackgroundPrimary = 'rgb(250, 250, 249)';\n// Primary brand color\nexport const brandPrimary = 'rgb(21, 137, 238)';\n// Active / Hover state of BRAND_HEADER_CONTRAST_WEAK\nexport const brandHeaderContrastWeakActive = 'rgb(129, 129, 129)';\n// Active / Hover state of BRAND_CONTRAST\nexport const brandContrastActive = 'rgb(13, 14, 18)';\n// Variant of BRAND_HEADER_CONTRAST that provides a cool color\nexport const brandHeaderContrastCool = 'rgb(0, 85, 131)';\n// Variant of BRAND_HEADER that is accessible with BRAND_HEADER\nexport const brandHeaderContrastInverse = 'rgb(255, 255, 255)';\n// Dark variant of BRAND that is accessible with light colors\nexport const brandDark = 'rgb(24, 35, 55)';\n// Dark variant of BRAND that is accessible with white\nexport const brandAccessible = 'rgb(0, 112, 210)';\n// Dark variant of BRAND_BACKGROUND_PRIMARY, used within gradient of background color\nexport const brandBackgroundDark = 'rgb(232, 232, 232)';\n// Active / Hover state of BRAND_TEXT_LINK\nexport const brandTextLinkActive = 'rgb(0, 95, 178)';\n// Gray Color 1\nexport const colorGray1 = 'rgb(255, 255, 255)';\n// Gray Color 2\nexport const colorGray2 = 'rgb(250, 250, 249)';\n// Active / Hover state of BRAND_HEADER_ICON\nexport const brandHeaderIconActive = 'rgb(129, 129, 129)';\n// Gray Color 3\nexport const colorGray3 = 'rgb(243, 242, 242)';\n// Icons of BRAND_HEADER that is accessible with BRAND_HEADER\nexport const brandHeaderIcon = 'rgb(145, 145, 145)';\n// Disabled state of BRAND_A11Y\nexport const brandDisabled = 'rgb(201, 199, 197)';\n// Primary text link brand color\nexport const brandTextLink = 'rgb(0, 109, 204)';\n// Gray Color 4\nexport const colorGray4 = 'rgb(236, 235, 234)';\n// Gray Color 5\nexport const colorGray5 = 'rgb(221, 219, 218)';\n// Gray Color 6\nexport const colorGray6 = 'rgb(201, 199, 197)';\n// Active / Hover state of BRAND_A11Y\nexport const brandAccessibleActive = 'rgb(0, 95, 178)';\n// Gray Color 7\nexport const colorGray7 = 'rgb(176, 173, 171)';\n// Active / Hover state of BRAND_DARK\nexport const brandDarkActive = 'rgb(37, 48, 69)';\n// Gray Color 8\nexport const colorGray8 = 'rgb(150, 148, 146)';\n// Active / Hover state of BRAND_HEADER_CONTRAST\nexport const brandHeaderContrastInverseActive = 'rgb(238, 238, 238)';\n// Active / Hover state of BRAND_HEADER_CONTRAST_COOL\nexport const brandHeaderContrastCoolActive = 'rgb(0, 85, 131)';\n// Gray Color 9\nexport const colorGray9 = 'rgb(112, 110, 107)';\n// Variant of BRAND that is accessible with BRAND\nexport const brandContrast = 'rgb(26, 27, 30)';\n// Weak contrast ratio, useful for iconography\nexport const brandHeaderContrastWeak = 'rgb(145, 145, 145)';\n// Active / Hover state of BRAND_PRIMARY\nexport const brandPrimaryActive = 'rgb(0, 122, 221)';\n// These RGBA values need to be updated if BRAND_BACKGROUND_PRIMARY changes, solves webkit bug\nexport const brandBackgroundPrimaryTransparent = 'rgba(250, 250, 249, 0)';\n// Variant of BRAND_HEADER that is accessible with BRAND_HEADER\nexport const brandHeaderContrast = 'rgb(94, 94, 94)';\n// Transparent value of BRAND_PRIMARY\nexport const brandPrimaryTransparent = 'rgba(21, 137, 238, 0.1)';\n// Active / Hover state of BRAND_HEADER_CONTRAST_WARM\nexport const brandHeaderContrastWarmActive = 'rgb(172, 0, 0)';\n// Transparent value of BRAND_PRIMARY at 40%\nexport const brandPrimaryTransparent40 = 'rgba(21, 137, 238, 0.4)';\n// Light variant of BRAND that is accessible with dark colors\nexport const brandLight = 'rgb(244, 246, 254)';\n// Gray Color 10\nexport const colorGray10 = 'rgb(81, 79, 77)';\n\n// Default export for backwards compatibility\nexport default {\n\tbrandHeaderContrastWeakDisabled,\n\tcolorGray11,\n\tbrandPrimaryTransparent10,\n\tcolorGray12,\n\tbrandBackgroundDarkTransparent,\n\tbrandHeader,\n\tbrandLightActive,\n\tbrandHeaderContrastWarm,\n\tbrandHeaderIconDisabled,\n\tbrandHeaderContrastActive,\n\tbrandBackgroundPrimary,\n\tbrandPrimary,\n\tbrandHeaderContrastWeakActive,\n\tbrandContrastActive,\n\tbrandHeaderContrastCool,\n\tbrandHeaderContrastInverse,\n\tbrandDark,\n\tbrandAccessible,\n\tbrandBackgroundDark,\n\tbrandTextLinkActive,\n\tcolorGray1,\n\tcolorGray2,\n\tbrandHeaderIconActive,\n\tcolorGray3,\n\tbrandHeaderIcon,\n\tbrandDisabled,\n\tbrandTextLink,\n\tcolorGray4,\n\tcolorGray5,\n\tcolorGray6,\n\tbrandAccessibleActive,\n\tcolorGray7,\n\tbrandDarkActive,\n\tcolorGray8,\n\tbrandHeaderContrastInverseActive,\n\tbrandHeaderContrastCoolActive,\n\tcolorGray9,\n\tbrandContrast,\n\tbrandHeaderContrastWeak,\n\tbrandPrimaryActive,\n\tbrandBackgroundPrimaryTransparent,\n\tbrandHeaderContrast,\n\tbrandPrimaryTransparent,\n\tbrandHeaderContrastWarmActive,\n\tbrandPrimaryTransparent40,\n\tbrandLight,\n\tcolorGray10,\n};\n"],"mappings":"AAyDA,IAAa,EAAa"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={colorBackgroundRowActive:`rgb(236, 235, 234)`,colorBackgroundModalBrand:`rgb(0, 112, 210)`,colorBackgroundNotification:`rgb(255, 255, 255)`,colorBackgroundNotificationNew:`rgb(243, 242, 242)`,colorBackgroundNotificationBadgeActive:`rgb(0, 57, 107)`,colorBackgroundNotificationBadgeHover:`rgb(0, 95, 178)`,colorContrastPrimary:`rgb(243, 242, 242)`,colorBackgroundRowHover:`rgb(243, 242, 242)`,colorForegroundPrimary:`rgb(255, 255, 255)`,colorBackgroundErrorDark:`rgb(194, 57, 52)`,colorBackgroundInfo:`rgb(112, 110, 107)`,colorBackgroundTempModalTint:`rgba(43, 40, 38, 0.6)`,colorBackgroundReminderHover:`rgb(255, 255, 255)`,brandBandColorBackgroundSecondaryTransparent:`rgba(253, 253, 253, 0)`,colorBackgroundNotificationBadge:`rgb(194, 57, 52)`,colorBackgroundIndicatorDot:`rgb(22, 50, 92)`,cardWrapperColorBackground:`rgb(255, 255, 255)`,colorBackgroundAltInverse:`rgb(22, 50, 92)`,popoverWalkthroughHeaderImage:`/assets/images/popovers/popover-header.png`,colorBackgroundInputDisabled:`rgb(236, 235, 234)`,colorBackgroundRowNew:`rgb(217, 255, 223)`,colorBackgroundToggleHover:`rgb(150, 148, 146)`,popoverWalkthroughColorBackground:`rgb(3, 46, 97)`,colorBackgroundSuccessDark:`rgb(4, 132, 75)`,colorBackgroundReminder:`rgb(244, 246, 249)`,colorBackgroundStencil:`rgb(243, 242, 242)`,colorBackgroundAlt2:`rgb(243, 242, 242)`,colorBackgroundWarning:`rgb(255, 183, 93)`,colorBackgroundButtonSuccessHover:`rgb(4, 132, 75)`,popoverWalkthroughAltImage:`/assets/images/popovers/popover-action.png`,colorBackgroundUtilityBarHover:`rgb(236, 235, 234)`,progressColorBorderShade:`rgb(243, 242, 242)`,colorBackgroundHighlightSearch:`rgb(255, 240, 63)`,colorBackgroundToggle:`rgb(176, 173, 171)`,colorBackgroundAnchor:`rgb(243, 242, 242)`,popoverWalkthroughAltNubbinColorBackground:`rgb(33, 92, 160)`,colorBackgroundDestructiveHover:`rgb(166, 26, 20)`,progressColorBackgroundShade:`rgb(243, 242, 242)`,colorBackground:`rgb(243, 242, 242)`,colorBrandDark:`rgb(0, 112, 210)`,colorBackgroundButtonSuccess:`rgb(75, 202, 129)`,colorBackgroundBackdrop:`rgba(255, 255, 255, 0.75)`,colorBrand:`rgb(21, 137, 238)`,colorBackgroundChromeDesktop:`rgb(255, 255, 255)`,pageHeaderColorBackground:`rgb(243, 242, 242)`,colorBackgroundModalButtonActive:`rgba(0, 0, 0, 0.16)`,colorBackgroundDestructive:`rgb(194, 57, 52)`,colorBackgroundInputCheckboxSelected:`rgb(21, 137, 238)`,colorBackgroundInputCheckbox:`rgb(255, 255, 255)`,colorBackgroundPrimary:`rgb(243, 242, 242)`,colorBackgroundSuccess:`rgb(75, 202, 129)`,colorBackgroundInputCheckboxDisabled:`rgb(221, 219, 218)`,colorBackgroundPill:`rgb(255, 255, 255)`,colorBackgroundSpinnerDot:`rgb(176, 173, 171)`,colorBackgroundBrandPrimaryFocus:`rgb(0, 95, 178)`,colorBackgroundOffline:`rgb(62, 62, 60)`,tableColorBackgroundHeaderHover:`rgb(255, 255, 255)`,colorBackgroundBackdropTint:`rgb(250, 250, 249)`,colorBackgroundBrandPrimaryActive:`rgb(0, 95, 178)`,colorBackgroundInputActive:`rgb(255, 255, 255)`,popoverWalkthroughColorBackgroundAlt:`rgb(22, 74, 133)`,brandBandColorBackgroundSecondary:`rgb(253, 253, 253)`,tableColorBackgroundHeader:`rgb(250, 250, 249)`,colorBackgroundStencilAlt:`rgb(236, 235, 234)`,colorBackgroundScrollbar:`rgb(236, 235, 234)`,colorBackgroundToggleDisabled:`rgb(176, 173, 171)`,colorBackgroundToast:`rgb(112, 110, 107)`,colorBackgroundBrandPrimaryHover:`rgb(0, 95, 178)`,colorBackgroundChromeMobile:`rgb(0, 112, 210)`,brandBandColorBackgroundPrimaryTransparent:`rgba(253, 253, 253, 0)`,colorBackgroundCustomer:`rgb(255, 154, 60)`,colorBackgroundError:`rgb(212, 80, 76)`,colorContrastSecondary:`rgb(243, 242, 242)`,colorBackgroundBrowser:`rgb(112, 110, 107)`,colorBackgroundAlt:`rgb(255, 255, 255)`,colorBackgroundPost:`rgb(250, 250, 249)`,colorBackgroundBrandPrimary:`rgb(0, 112, 210)`,colorBackgroundRowSelected:`rgb(236, 235, 234)`,colorBackgroundInput:`rgb(255, 255, 255)`,colorBackgroundToastSuccess:`rgb(4, 132, 75)`,colorBackgroundImageOverlay:`rgba(0, 0, 0, 0.4)`,colorBrandDarker:`rgb(0, 95, 178)`,colorBackgroundTempModal:`rgb(150, 148, 146)`,colorBackgroundSelection:`rgb(216, 237, 255)`,colorBackgroundShade:`rgb(236, 235, 234)`,colorBackgroundModal:`rgb(255, 255, 255)`,colorBackgroundDestructiveActive:`rgb(135, 5, 0)`,colorBackgroundToggleActiveHover:`rgb(0, 95, 178)`,colorBackgroundPayload:`rgb(250, 250, 249)`,colorBackgroundModalButton:`rgba(0, 0, 0, 0.07)`,colorBackgroundUtilityBarActive:`rgb(21, 137, 238)`,colorBackgroundButtonSuccessActive:`rgb(4, 132, 75)`,buttonColorBackgroundPrimary:`rgb(255, 255, 255)`,colorBackgroundToastError:`rgb(194, 57, 52)`,colorBackgroundOrgSwitcherArrow:`rgb(6, 28, 63)`,colorBackgroundInverse:`rgb(6, 28, 63)`,colorBackgroundToggleActive:`rgb(0, 112, 210)`,colorPickerSliderThumbColorBackground:`rgb(243, 242, 242)`,pageColorBackgroundPrimary:`rgb(253, 253, 253)`,colorBackgroundShadeDark:`rgb(221, 219, 218)`,colorBackgroundNotificationBadgeFocus:`rgb(0, 95, 178)`,colorBackgroundActionbarIconUtility:`rgb(112, 110, 107)`,colorBackgroundScrollbarTrack:`rgb(201, 199, 197)`,colorBackgroundInputError:`rgb(255, 221, 225)`,brandBandColorBackgroundPrimary:`rgb(253, 253, 253)`,colorBackgroundHighlight:`rgb(250, 255, 189)`,colorBackgroundSecondary:`rgb(255, 255, 255)`,popoverWalkthroughHeaderColorBackground:`rgb(22, 74, 133)`,brandBandDefaultImage:`/assets/images/themes/oneSalesforce/banner-brand-default.png`,bannerUserDefaultImage:`/assets/images/themes/oneSalesforce/banner-user-default.png`,bannerGroupDefaultImage:`/assets/images/themes/oneSalesforce/banner-group-public-default.png`,colorBorderInputCheckboxSelectedCheckmark:`rgb(255, 255, 255)`,colorBorderButtonInverseDisabled:`rgba(255, 255, 255, 0.15)`,colorBorderIconInverseHintHover:`rgba(255, 255, 255, 0.75)`,colorBorderErrorDark:`rgb(234, 130, 136)`,colorBorderIconInverseHint:`rgba(255, 255, 255, 0.5)`,colorBorderBrandDark:`rgb(0, 112, 210)`,colorBorderInfo:`rgb(112, 110, 107)`,colorBorderWarning:`rgb(255, 183, 93)`,colorBorderTabActive:`rgb(255, 255, 255)`,colorStrokeDisabled:`rgb(236, 235, 234)`,colorBorderDestructiveHover:`rgb(166, 26, 20)`,colorBorder:`rgb(221, 219, 218)`,colorBorderInputDisabled:`rgb(201, 199, 197)`,colorBorderSuccessDark:`rgb(4, 132, 75)`,colorBorderReminder:`rgb(236, 235, 234)`,colorStrokeBrandActive:`rgb(22, 50, 92)`,colorBorderButtonBrandDisabled:`rgba(0, 0, 0, 0)`,pageHeaderColorBorder:`rgb(221, 219, 218)`,colorBorderDestructive:`rgb(194, 57, 52)`,colorBorderPrimary:`rgb(221, 219, 218)`,colorBorderButtonDefault:`rgb(221, 219, 218)`,colorBorderSeparatorAlt2:`rgb(201, 199, 197)`,colorBorderOffline:`rgb(62, 62, 60)`,colorBorderBrandPrimaryFocus:`rgb(0, 95, 178)`,colorBorderSuccess:`rgb(75, 202, 129)`,colorBorderSeparator:`rgb(243, 242, 242)`,colorBorderBrand:`rgb(21, 137, 238)`,colorBorderBrandPrimaryHover:`rgb(0, 95, 178)`,colorBorderSelectionActive:`rgb(243, 242, 242)`,colorBorderButtonBrand:`rgb(0, 112, 210)`,colorBorderError:`rgb(194, 57, 52)`,colorBorderSelectionHover:`rgb(21, 137, 238)`,colorBorderBrandPrimaryActive:`rgb(0, 95, 178)`,colorBorderInputActive:`rgb(21, 137, 238)`,colorBorderInput:`rgb(221, 219, 218)`,colorBorderBrandPrimary:`rgb(0, 112, 210)`,colorBorderToggleChecked:`rgb(255, 255, 255)`,colorBorderRowSelectedHover:`rgb(21, 137, 238)`,colorBorderCustomer:`rgb(255, 154, 60)`,colorBorderSelection:`rgb(0, 112, 210)`,colorBorderCanvasElementSelectionHover:`rgb(0, 95, 178)`,cardColorBorder:`rgb(221, 219, 218)`,colorBorderRowSelected:`rgb(0, 112, 210)`,buttonColorBorderPrimary:`rgb(221, 219, 218)`,colorBorderSeparatorAlt:`rgb(221, 219, 218)`,colorBorderCanvasElementSelection:`rgb(94, 180, 255)`,colorStrokeBrandHover:`rgb(0, 112, 210)`,colorBorderInverse:`rgb(6, 28, 63)`,colorStrokeHeaderButton:`rgb(176, 173, 171)`,colorBorderDestructiveActive:`rgb(135, 5, 0)`,colorBorderErrorAlt:`rgb(234, 130, 136)`,pageHeaderJoinedColorBorder:`rgb(221, 219, 218)`,colorStrokeBrand:`rgb(0, 112, 210)`,colorBorderTabSelected:`rgb(0, 112, 210)`,cardFooterColorBorder:`rgb(221, 219, 218)`,colorBorderSeparatorInverse:`rgb(42, 66, 108)`,pageHeaderBorderRadius:`0.25rem`,tableBorderRadius:`0 0 0.25rem 0.25rem`,pageHeaderShadow:`0 2px 2px 0 rgba(0, 0, 0, 0.1)`,shadowSoftPrimaryHover:`rgba(0, 0, 0, 0.20) 0 3px 6px`,shadowButtonFocus:`0 0 3px #0070D2`,shadowHeader:`0 2px 4px rgba(0, 0, 0, 0.07)`,shadowSoftPrimary:`rgba(0, 0, 0, 0.1) 0 2px 2px`,shadowHardPrimary:`rgba(0, 0, 0, 0.1) 0 2px 0`,shadowActionOverflowFooter:`0 -2px 4px #fafaf9`,cardShadow:`0 2px 2px 0 rgba(0, 0, 0, 0.1)`,shadowReminder:`0 2px 3px 0 rgba(0, 0, 0, 0.20)`,shadowDocked:`0 -2px 2px 0 rgba(0, 0, 0, 0.16)`,shadowInlineEdit:`0 2px 4px 4px rgba(0, 0, 0, 0.16)`,shadowDrag:`0 2px 4px 0 rgba(0, 0, 0, 0.40)`,shadowDropDown:`0 2px 3px 0 rgba(0, 0, 0, 0.16)`,shadowFocusInset:`0 0 2px 2px #1589EE inset`,shadowSoftPrimaryActive:`rgba(0, 0, 0, 0.20) 0 1px 1px`,shadowButtonFocusInverse:`0 0 3px #ecebea`,shadowImage:`0 1px 1px rgba(0, 0, 0, 0.16)`,formLabelFontSize:`.75rem`,inputStaticFontSize:`0.875rem`,inputStaticFontWeight:`400`,tabsFontWeight:`700`,cardFontWeight:`700`,pageHeaderTitleFontWeight:`700`,componentSpacingMargin:`0.75rem`,componentSpacingPadding:`1rem`,templateGutters:`0.75rem`,templateProfileGutters:`8rem 0.75rem 0.75rem`,tableCellSpacing:`0.25rem 0.5rem`,cardSpacingMargin:`0.75rem`,cardFooterPadding:`0.75rem 1rem`,cardFooterTextAlign:`center`,colorTextIconInverse:`rgb(255, 255, 255)`,colorTextActionLabel:`rgb(112, 110, 107)`,colorTextLinkInverse:`rgb(255, 255, 255)`,colorTextButtonInverseDisabled:`rgba(255, 255, 255, 0.15)`,colorTextIconInverseHintHover:`rgba(255, 255, 255, 0.75)`,colorTextInputIcon:`rgb(176, 173, 171)`,colorTextLinkInverseActive:`rgba(255, 255, 255, 0.5)`,colorTextActionLabelActive:`rgb(62, 62, 60)`,colorTextIconInverseActive:`rgb(255, 255, 255)`,colorTextTabLabelSelected:`rgb(0, 112, 210)`,colorTextWarning:`rgb(255, 183, 93)`,colorTextIconInverseHint:`rgba(255, 255, 255, 0.5)`,colorTextTabLabelDisabled:`rgb(236, 235, 234)`,colorTextButtonDefaultHover:`rgb(0, 112, 210)`,colorTextInputDisabled:`rgb(112, 110, 107)`,colorTextTertiary:`rgb(150, 148, 146)`,colorTextLinkFocus:`rgb(0, 95, 178)`,colorTextButtonDefault:`rgb(0, 112, 210)`,colorTextIconDefaultDisabled:`rgb(221, 219, 218)`,colorTextLinkDisabled:`rgb(22, 50, 92)`,colorTextDefault:`rgb(62, 62, 60)`,colorTextInverseActive:`rgb(94, 180, 255)`,colorTextButtonBrandDisabled:`rgb(255, 255, 255)`,colorTextPrimary:`rgb(62, 62, 60)`,colorTextLinkPrimaryFocus:`rgb(0, 95, 178)`,colorTextButtonBrandHover:`rgb(255, 255, 255)`,colorTextLinkHover:`rgb(0, 95, 178)`,colorTextTabLabelFocus:`rgb(0, 95, 178)`,colorTextSuccess:`rgb(2, 126, 70)`,colorTextWeak:`rgb(112, 110, 107)`,colorTextPlaceholderInverse:`rgb(236, 235, 234)`,colorTextIconDefaultHover:`rgb(0, 112, 210)`,colorTextIconDefaultHintBorderless:`rgb(236, 235, 234)`,colorTextPill:`rgb(0, 112, 210)`,colorTextLinkPrimaryHover:`rgb(0, 95, 178)`,colorTextLink:`rgb(0, 109, 204)`,colorTextWarningAlt:`rgb(132, 72, 0)`,colorTextButtonBrand:`rgb(255, 255, 255)`,colorTextTabLabelActive:`rgb(0, 57, 107)`,colorTextIconDefault:`rgb(112, 110, 107)`,colorTextBrand:`rgb(21, 137, 238)`,colorTextTabLabelHover:`rgb(0, 95, 178)`,colorTextButtonDefaultDisabled:`rgb(221, 219, 218)`,colorTextToast:`rgb(236, 235, 234)`,colorTextToggleDisabled:`rgb(221, 219, 218)`,colorTextBrowser:`rgb(255, 255, 255)`,colorTextLinkPrimaryActive:`rgb(0, 95, 178)`,colorTextError:`rgb(194, 57, 52)`,colorTextLinkPrimary:`rgb(0, 112, 210)`,colorTextBrowserActive:`rgba(0, 0, 0, 0.4)`,colorTextTabLabel:`rgb(22, 50, 92)`,colorTextCustomer:`rgb(255, 154, 60)`,colorTextIconDefaultActive:`rgb(0, 57, 107)`,colorTextBrandPrimary:`rgb(255, 255, 255)`,colorTextLinkActive:`rgb(0, 57, 107)`,colorTextIconDefaultHint:`rgb(176, 173, 171)`,colorTextButtonBrandActive:`rgb(255, 255, 255)`,colorTextRequired:`rgb(194, 57, 52)`,colorTextIconBrand:`rgb(0, 112, 210)`,colorTextInverseHover:`rgb(176, 173, 171)`,colorTextModal:`rgb(255, 255, 255)`,colorTextButtonInverse:`rgb(236, 235, 234)`,buttonColorTextPrimary:`rgb(255, 255, 255)`,colorTextModalButton:`rgb(112, 110, 107)`,colorTextLinkInverseDisabled:`rgba(255, 255, 255, 0.15)`,colorTextInverse:`rgb(255, 255, 255)`,colorTextButtonDefaultActive:`rgb(0, 112, 210)`,colorTextIconInverseDisabled:`rgba(255, 255, 255, 0.15)`,colorTextButtonDefaultHint:`rgb(176, 173, 171)`,colorTextIconUtility:`rgb(176, 173, 171)`,colorTextIconInverseHover:`rgb(255, 255, 255)`,colorTextPlaceholder:`rgb(112, 110, 107)`,colorTextInverseWeak:`rgb(176, 173, 171)`,colorTextSecondary:`rgb(112, 110, 107)`,colorTextInputFocusInverse:`rgb(22, 50, 92)`,colorTextStageLeft:`rgb(236, 235, 234)`,colorTextLinkInverseHover:`rgba(255, 255, 255, 0.75)`,colorTextSuccessInverse:`rgb(75, 202, 129)`,colorTextLabel:`rgb(112, 110, 107)`};exports.default=e;
|
|
2
|
-
//# sourceMappingURL=salesforce-skin.common.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"salesforce-skin.common.cjs","names":[],"sources":["../../../../../utilities/design-tokens/dist/salesforce-skin.common.js"],"sourcesContent":["export default {\n\t// Used as the background color for the active state on rows or items on list-like components.\n\tcolorBackgroundRowActive: 'rgb(236, 235, 234)',\n\t// Brandable modal header\n\tcolorBackgroundModalBrand: 'rgb(0, 112, 210)',\n\t// Background color for notification list item.\n\tcolorBackgroundNotification: 'rgb(255, 255, 255)',\n\t// Background color for a new notification list item.\n\tcolorBackgroundNotificationNew: 'rgb(243, 242, 242)',\n\t// Notifications badge background color.\n\tcolorBackgroundNotificationBadgeActive: 'rgb(0, 57, 107)',\n\t// Notifications badge background color.\n\tcolorBackgroundNotificationBadgeHover: 'rgb(0, 95, 178)',\n\tcolorContrastPrimary: 'rgb(243, 242, 242)',\n\t// Used as the background color for the hover state on rows or items on list-like components.\n\tcolorBackgroundRowHover: 'rgb(243, 242, 242)',\n\tcolorForegroundPrimary: 'rgb(255, 255, 255)',\n\t// Dark color for UI elements related to errors. Accessible with white text.\n\tcolorBackgroundErrorDark: 'rgb(194, 57, 52)',\n\t// Background color for UI elements related to providing neutral information (not error, success, or warning).\n\tcolorBackgroundInfo: 'rgb(112, 110, 107)',\n\t// The color of the mask overlay that appears when you enter a modal state.\n\tcolorBackgroundTempModalTint: 'rgba(43, 40, 38, 0.6)',\n\t// Background color for reminder notification on hover\n\tcolorBackgroundReminderHover: 'rgb(255, 255, 255)',\n\t// Winter 18 token, this has been deprecated. Please use BRAND_BACKGROUND_DARK_TRANSPARENT instead. These RGBA values need to be updated if BRAND_BAND_COLOR_BACKGROUND_PRIMARY changes, solves webkit bug\n\tbrandBandColorBackgroundSecondaryTransparent: 'rgba(253, 253, 253, 0)',\n\t// Notifications badge background color.\n\tcolorBackgroundNotificationBadge: 'rgb(194, 57, 52)',\n\t// Color of the indicator dot.\n\tcolorBackgroundIndicatorDot: 'rgb(22, 50, 92)',\n\tcardWrapperColorBackground: 'rgb(255, 255, 255)',\n\t// Alternative background color for dark portions of the app.\n\tcolorBackgroundAltInverse: 'rgb(22, 50, 92)',\n\tpopoverWalkthroughHeaderImage: '/assets/images/popovers/popover-header.png',\n\t// Disabled input\n\tcolorBackgroundInputDisabled: 'rgb(236, 235, 234)',\n\t// Used as the background color for the new state on rows or items on list-like components.\n\tcolorBackgroundRowNew: 'rgb(217, 255, 223)',\n\t// Hovered toggle background color.\n\tcolorBackgroundToggleHover: 'rgb(150, 148, 146)',\n\tpopoverWalkthroughColorBackground: 'rgb(3, 46, 97)',\n\t// Dark color for UI elements that have to do with success. Accessible with white text.\n\tcolorBackgroundSuccessDark: 'rgb(4, 132, 75)',\n\t// Background color for reminder notification\n\tcolorBackgroundReminder: 'rgb(244, 246, 249)',\n\t// Used as background for loading stencils on white background.\n\tcolorBackgroundStencil: 'rgb(243, 242, 242)',\n\t// Used when further differentiation is needed because colorBackground and colorBackgroundAlt are both being used in close proximity.\n\tcolorBackgroundAlt2: 'rgb(243, 242, 242)',\n\t// Color for UI elements that have to do with warning.\n\tcolorBackgroundWarning: 'rgb(255, 183, 93)',\n\t// Hovered background color for success buttons\n\tcolorBackgroundButtonSuccessHover: 'rgb(4, 132, 75)',\n\tpopoverWalkthroughAltImage: '/assets/images/popovers/popover-action.png',\n\t// Hover color for utility bar item.\n\tcolorBackgroundUtilityBarHover: 'rgb(236, 235, 234)',\n\tprogressColorBorderShade: 'rgb(243, 242, 242)',\n\t// Background color for highlighting text in search results.\n\tcolorBackgroundHighlightSearch: 'rgb(255, 240, 63)',\n\t// Toggle background color.\n\tcolorBackgroundToggle: 'rgb(176, 173, 171)',\n\t// Use COLOR_BACKGROUND_PAGE_HEADER instead.\n\tcolorBackgroundAnchor: 'rgb(243, 242, 242)',\n\tpopoverWalkthroughAltNubbinColorBackground: 'rgb(33, 92, 160)',\n\t// Hover color for UI elements related to destructive actions.\n\tcolorBackgroundDestructiveHover: 'rgb(166, 26, 20)',\n\tprogressColorBackgroundShade: 'rgb(243, 242, 242)',\n\t// Default background color for the whole app.\n\tcolorBackground: 'rgb(243, 242, 242)',\n\t// Our product brand blue, darkened to meet accessibility color contrast ratios with white text.\n\tcolorBrandDark: 'rgb(0, 112, 210)',\n\t// Background color for success buttons\n\tcolorBackgroundButtonSuccess: 'rgb(75, 202, 129)',\n\t// The color of the mask overlay that appears when you enter a modal state.\n\tcolorBackgroundBackdrop: 'rgba(255, 255, 255, 0.75)',\n\t// Our product brand blue.\n\tcolorBrand: 'rgb(21, 137, 238)',\n\t// Background color for default desktop chrome (ex. global header)\n\tcolorBackgroundChromeDesktop: 'rgb(255, 255, 255)',\n\t// Default Page Header background color\n\tpageHeaderColorBackground: 'rgb(243, 242, 242)',\n\t// Active button backgrounds on modal headers\n\tcolorBackgroundModalButtonActive: 'rgba(0, 0, 0, 0.16)',\n\t// Color for UI elements related to destructive actions.\n\tcolorBackgroundDestructive: 'rgb(194, 57, 52)',\n\t// Selected checkboxes\n\tcolorBackgroundInputCheckboxSelected: 'rgb(21, 137, 238)',\n\t// Default checkboxes\n\tcolorBackgroundInputCheckbox: 'rgb(255, 255, 255)',\n\tcolorBackgroundPrimary: 'rgb(243, 242, 242)',\n\t// Color for UI elements that have to do with success.\n\tcolorBackgroundSuccess: 'rgb(75, 202, 129)',\n\t// Disabled checkboxes\n\tcolorBackgroundInputCheckboxDisabled: 'rgb(221, 219, 218)',\n\t// Background color for pills.\n\tcolorBackgroundPill: 'rgb(255, 255, 255)',\n\t// Color of the spinner dot.\n\tcolorBackgroundSpinnerDot: 'rgb(176, 173, 171)',\n\tcolorBackgroundBrandPrimaryFocus: 'rgb(0, 95, 178)',\n\t// Color for UI elements related to the offline state.\n\tcolorBackgroundOffline: 'rgb(62, 62, 60)',\n\ttableColorBackgroundHeaderHover: 'rgb(255, 255, 255)',\n\t// The color of the mask overlay that provides user feedback on interaction.\n\tcolorBackgroundBackdropTint: 'rgb(250, 250, 249)',\n\tcolorBackgroundBrandPrimaryActive: 'rgb(0, 95, 178)',\n\t// Selected input field (when user has clicked or tabbed into field)\n\tcolorBackgroundInputActive: 'rgb(255, 255, 255)',\n\tpopoverWalkthroughColorBackgroundAlt: 'rgb(22, 74, 133)',\n\t// Winter 18 token, this has been deprecated. Please use BRAND_BACKGROUND_PRIMARY_DARK instead.\n\tbrandBandColorBackgroundSecondary: 'rgb(253, 253, 253)',\n\ttableColorBackgroundHeader: 'rgb(250, 250, 249)',\n\t// Used as an alternate background for loading stencils on gray backgrounds.\n\tcolorBackgroundStencilAlt: 'rgb(236, 235, 234)',\n\t// The background color of an internal scrollbar.\n\tcolorBackgroundScrollbar: 'rgb(236, 235, 234)',\n\t// Disabled toggle background color.\n\tcolorBackgroundToggleDisabled: 'rgb(176, 173, 171)',\n\t// Background color for toast messaging.\n\tcolorBackgroundToast: 'rgb(112, 110, 107)',\n\tcolorBackgroundBrandPrimaryHover: 'rgb(0, 95, 178)',\n\t// Background color for default mobile chrome (ex. global header)\n\tcolorBackgroundChromeMobile: 'rgb(0, 112, 210)',\n\t// Winter 18 token, this has been deprecated. Please use BRAND_BACKGROUND_PRIMARY_TRANSPARENT instead. These RGBA values need to be updated if BRAND_BAND_COLOR_BACKGROUND_PRIMARY changes, solves webkit bug\n\tbrandBandColorBackgroundPrimaryTransparent: 'rgba(253, 253, 253, 0)',\n\t// Background color for UI elements related to the concept of an external user or customer.\n\tcolorBackgroundCustomer: 'rgb(255, 154, 60)',\n\t// Color for UI elements related to errors.\n\tcolorBackgroundError: 'rgb(212, 80, 76)',\n\tcolorContrastSecondary: 'rgb(243, 242, 242)',\n\t// Secondary top bar background color (child browser, file preview, etc.)\n\tcolorBackgroundBrowser: 'rgb(112, 110, 107)',\n\t// Second default background color for the app.\n\tcolorBackgroundAlt: 'rgb(255, 255, 255)',\n\t// Background color of comment posts in the feed.\n\tcolorBackgroundPost: 'rgb(250, 250, 249)',\n\tcolorBackgroundBrandPrimary: 'rgb(0, 112, 210)',\n\t// Used as the background color for selected rows or items on list-like components.\n\tcolorBackgroundRowSelected: 'rgb(236, 235, 234)',\n\t// Default input field\n\tcolorBackgroundInput: 'rgb(255, 255, 255)',\n\t// Background color for success toast messaging.\n\tcolorBackgroundToastSuccess: 'rgb(4, 132, 75)',\n\t// Color of mask overlay that sits on top of an image when text is present.\n\tcolorBackgroundImageOverlay: 'rgba(0, 0, 0, 0.4)',\n\t// Our product brand blue, darkened even further.\n\tcolorBrandDarker: 'rgb(0, 95, 178)',\n\t// Used as the default background color for temporary dialog elements, such as the progress spinner background.\n\tcolorBackgroundTempModal: 'rgb(150, 148, 146)',\n\t// Background color for text selected with a mouse.\n\tcolorBackgroundSelection: 'rgb(216, 237, 255)',\n\t// Used as gray background when more contrast is desired.\n\tcolorBackgroundShade: 'rgb(236, 235, 234)',\n\t// Standard modal header\n\tcolorBackgroundModal: 'rgb(255, 255, 255)',\n\t// Active color for UI elements related to destructive actions.\n\tcolorBackgroundDestructiveActive: 'rgb(135, 5, 0)',\n\t// Hovered active toggle background color.\n\tcolorBackgroundToggleActiveHover: 'rgb(0, 95, 178)',\n\t// Background color for payloads in the feed.\n\tcolorBackgroundPayload: 'rgb(250, 250, 249)',\n\t// Button backgrounds on modal headers\n\tcolorBackgroundModalButton: 'rgba(0, 0, 0, 0.07)',\n\t// Active color for utility bar item.\n\tcolorBackgroundUtilityBarActive: 'rgb(21, 137, 238)',\n\t// Active background color for success buttons\n\tcolorBackgroundButtonSuccessActive: 'rgb(4, 132, 75)',\n\tbuttonColorBackgroundPrimary: 'rgb(255, 255, 255)',\n\t// Background color for error toast messaging.\n\tcolorBackgroundToastError: 'rgb(194, 57, 52)',\n\t// Stage left org switcher dropdown arrow background color.\n\tcolorBackgroundOrgSwitcherArrow: 'rgb(6, 28, 63)',\n\t// Default background color for dark portions of the app (like Stage Left or tooltips).\n\tcolorBackgroundInverse: 'rgb(6, 28, 63)',\n\t// Active toggle background color.\n\tcolorBackgroundToggleActive: 'rgb(0, 112, 210)',\n\tcolorPickerSliderThumbColorBackground: 'rgb(243, 242, 242)',\n\t// Winter 18 token, this has been deprecated. Please use BRAND_BACKGROUND_PRIMARY instead.\n\tpageColorBackgroundPrimary: 'rgb(253, 253, 253)',\n\t// Used as gray background in conjunction with Shade when more contrast is desired.\n\tcolorBackgroundShadeDark: 'rgb(221, 219, 218)',\n\t// Notifications badge background color.\n\tcolorBackgroundNotificationBadgeFocus: 'rgb(0, 95, 178)',\n\t// Background for utility icons that live in the action bar on mobile.\n\tcolorBackgroundActionbarIconUtility: 'rgb(112, 110, 107)',\n\t// The background color of an internal scrollbar track.\n\tcolorBackgroundScrollbarTrack: 'rgb(201, 199, 197)',\n\t// Background color for input field that has encountered an error.\n\tcolorBackgroundInputError: 'rgb(255, 221, 225)',\n\t// Winter 18 token, this has been deprecated. Please use BRAND_BACKGROUND_PRIMARY instead.\n\tbrandBandColorBackgroundPrimary: 'rgb(253, 253, 253)',\n\t// Background color for highlighting UI elements.\n\tcolorBackgroundHighlight: 'rgb(250, 255, 189)',\n\tcolorBackgroundSecondary: 'rgb(255, 255, 255)',\n\tpopoverWalkthroughHeaderColorBackground: 'rgb(22, 74, 133)',\n\tbrandBandDefaultImage:\n\t\t'/assets/images/themes/oneSalesforce/banner-brand-default.png',\n\tbannerUserDefaultImage:\n\t\t'/assets/images/themes/oneSalesforce/banner-user-default.png',\n\tbannerGroupDefaultImage:\n\t\t'/assets/images/themes/oneSalesforce/banner-group-public-default.png',\n\t// The borders to create the checkmark\n\tcolorBorderInputCheckboxSelectedCheckmark: 'rgb(255, 255, 255)',\n\t// Border color for disabled inverse button.\n\tcolorBorderButtonInverseDisabled: 'rgba(255, 255, 255, 0.15)',\n\t// Hovered border color for a button with an icon that has a parent element that has a hover state\n\tcolorBorderIconInverseHintHover: 'rgba(255, 255, 255, 0.75)',\n\t// Dark alternative border color for UI elements related to errors.\n\tcolorBorderErrorDark: 'rgb(234, 130, 136)',\n\t// Border color for a button with an icon that has a parent element that has a hover state\n\tcolorBorderIconInverseHint: 'rgba(255, 255, 255, 0.5)',\n\t// Our product brand blue, darkened to meet accessibility color contrast ratios with white text.\n\tcolorBorderBrandDark: 'rgb(0, 112, 210)',\n\t// Border color for UI elements related to providing neutral information (not error, success, or warning).\n\tcolorBorderInfo: 'rgb(112, 110, 107)',\n\t// Border color for UI elements that have to do with warnings.\n\tcolorBorderWarning: 'rgb(255, 183, 93)',\n\t// Border color for an active tab.\n\tcolorBorderTabActive: 'rgb(255, 255, 255)',\n\t// Disabled stroke color.\n\tcolorStrokeDisabled: 'rgb(236, 235, 234)',\n\t// Hover border color for UI elements that have to do with destructive actions.\n\tcolorBorderDestructiveHover: 'rgb(166, 26, 20)',\n\t// Default border color for UI elements.\n\tcolorBorder: 'rgb(221, 219, 218)',\n\t// Border color on disabled form elements.\n\tcolorBorderInputDisabled: 'rgb(201, 199, 197)',\n\t// Dark alternative border color for UI elements that have to do with success.\n\tcolorBorderSuccessDark: 'rgb(4, 132, 75)',\n\t// Border color on notification reminders.\n\tcolorBorderReminder: 'rgb(236, 235, 234)',\n\t// Active stroke color for our product brand blue.\n\tcolorStrokeBrandActive: 'rgb(22, 50, 92)',\n\t// Border color for brandable primary button - disabled state\n\tcolorBorderButtonBrandDisabled: 'rgba(0, 0, 0, 0)',\n\tpageHeaderColorBorder: 'rgb(221, 219, 218)',\n\t// Border color for UI elements that have to do with destructive actions.\n\tcolorBorderDestructive: 'rgb(194, 57, 52)',\n\tcolorBorderPrimary: 'rgb(221, 219, 218)',\n\t// Border color for default secondary button\n\tcolorBorderButtonDefault: 'rgb(221, 219, 218)',\n\t// Darkest separator color - used as an alternate separator color when more differentiation is desired.\n\tcolorBorderSeparatorAlt2: 'rgb(201, 199, 197)',\n\t// Border color for UI elements related to the offline state.\n\tcolorBorderOffline: 'rgb(62, 62, 60)',\n\tcolorBorderBrandPrimaryFocus: 'rgb(0, 95, 178)',\n\t// Border color for UI elements that have to do with success.\n\tcolorBorderSuccess: 'rgb(75, 202, 129)',\n\t// Lightest separator color - used as default separator on white backgrounds.\n\tcolorBorderSeparator: 'rgb(243, 242, 242)',\n\t// Our product brand blue.\n\tcolorBorderBrand: 'rgb(21, 137, 238)',\n\tcolorBorderBrandPrimaryHover: 'rgb(0, 95, 178)',\n\t// Used to delineate the boundary of a component that is being clicked. Specific to builders.\n\tcolorBorderSelectionActive: 'rgb(243, 242, 242)',\n\t// Border color for brandable primary button\n\tcolorBorderButtonBrand: 'rgb(0, 112, 210)',\n\t// Border color for UI elements that have to do with errors.\n\tcolorBorderError: 'rgb(194, 57, 52)',\n\t// Used to delineate the boundary of a component that is being hovered over. Specific to builders.\n\tcolorBorderSelectionHover: 'rgb(21, 137, 238)',\n\tcolorBorderBrandPrimaryActive: 'rgb(0, 95, 178)',\n\t// Border color on active form elements.\n\tcolorBorderInputActive: 'rgb(21, 137, 238)',\n\t// Border color on form elements.\n\tcolorBorderInput: 'rgb(221, 219, 218)',\n\tcolorBorderBrandPrimary: 'rgb(0, 112, 210)',\n\t// These borders create the faux checkmark when the checkbox toggle is in the checked state.\n\tcolorBorderToggleChecked: 'rgb(255, 255, 255)',\n\t// Used as the border color for the hover state on selected rows or items on list-like components.\n\tcolorBorderRowSelectedHover: 'rgb(21, 137, 238)',\n\t// Border color for UI elements related to the concept of an external user or customer.\n\tcolorBorderCustomer: 'rgb(255, 154, 60)',\n\t// Used to delineate the boundary of a selected component. Specific to builders.\n\tcolorBorderSelection: 'rgb(0, 112, 210)',\n\t// Used to delineate the boundary of a selected canvas element that is being hovered over. Specific to builders.\n\tcolorBorderCanvasElementSelectionHover: 'rgb(0, 95, 178)',\n\tcardColorBorder: 'rgb(221, 219, 218)',\n\t// Used as the border color for selected rows or items on list-like components.\n\tcolorBorderRowSelected: 'rgb(0, 112, 210)',\n\tbuttonColorBorderPrimary: 'rgb(221, 219, 218)',\n\t// Medium separator color - used as default separator on light gray backgrounds.\n\tcolorBorderSeparatorAlt: 'rgb(221, 219, 218)',\n\t// Used to delineate the boundary of a selected canvas element. Specific to builders.\n\tcolorBorderCanvasElementSelection: 'rgb(94, 180, 255)',\n\t// Hover stroke color for our product brand blue.\n\tcolorStrokeBrandHover: 'rgb(0, 112, 210)',\n\t// Border color to match UI elements using color-background-inverse.\n\tcolorBorderInverse: 'rgb(6, 28, 63)',\n\t// Stroke color for our global header buttons.\n\tcolorStrokeHeaderButton: 'rgb(176, 173, 171)',\n\t// Active border color for UI elements that have to do with destructive actions.\n\tcolorBorderDestructiveActive: 'rgb(135, 5, 0)',\n\t// Alternative border color for UI elements related to errors.\n\tcolorBorderErrorAlt: 'rgb(234, 130, 136)',\n\tpageHeaderJoinedColorBorder: 'rgb(221, 219, 218)',\n\t// Our product brand blue.\n\tcolorStrokeBrand: 'rgb(0, 112, 210)',\n\t// Border color for a selected tab in a tab group.\n\tcolorBorderTabSelected: 'rgb(0, 112, 210)',\n\tcardFooterColorBorder: 'rgb(221, 219, 218)',\n\t// Used as a separator on dark backgrounds, such as stage left navigation.\n\tcolorBorderSeparatorInverse: 'rgb(42, 66, 108)',\n\tpageHeaderBorderRadius: '0.25rem',\n\ttableBorderRadius: '0 0 0.25rem 0.25rem',\n\t// Hard dropshadow on page header\n\tpageHeaderShadow: '0 2px 2px 0 rgba(0, 0, 0, 0.1)',\n\tshadowSoftPrimaryHover: 'rgba(0, 0, 0, 0.20) 0 3px 6px',\n\t// Custom glow for focus states on UI elements with explicit containers.\n\tshadowButtonFocus: '0 0 3px #0070D2',\n\t// Shadow for header.\n\tshadowHeader: '0 2px 4px rgba(0, 0, 0, 0.07)',\n\t// Soft dropshadow found on general UI elements such as containers\n\tshadowSoftPrimary: 'rgba(0, 0, 0, 0.1) 0 2px 2px',\n\t// Hard dropshadow found on general UI elements such as containers\n\tshadowHardPrimary: 'rgba(0, 0, 0, 0.1) 0 2px 0',\n\t// Shadow above overflow menu close bar.\n\tshadowActionOverflowFooter: '0 -2px 4px #fafaf9',\n\t// Hard dropshadow found on outer cards\n\tcardShadow: '0 2px 2px 0 rgba(0, 0, 0, 0.1)',\n\t// Shadow for notifications that should be elevated above other components but under modals.\n\tshadowReminder: '0 2px 3px 0 rgba(0, 0, 0, 0.20)',\n\t// Shadow on elements that are docked to the bottom of the viewport.\n\tshadowDocked: '0 -2px 2px 0 rgba(0, 0, 0, 0.16)',\n\t// Shadow to make inline edit card pop out.\n\tshadowInlineEdit: '0 2px 4px 4px rgba(0, 0, 0, 0.16)',\n\t// Shadow for drag-n-drop.\n\tshadowDrag: '0 2px 4px 0 rgba(0, 0, 0, 0.40)',\n\t// Shadow for drop down.\n\tshadowDropDown: '0 2px 3px 0 rgba(0, 0, 0, 0.16)',\n\t// Inset shadow for editable grid\n\tshadowFocusInset: '0 0 2px 2px #1589EE inset',\n\tshadowSoftPrimaryActive: 'rgba(0, 0, 0, 0.20) 0 1px 1px',\n\t// Custom glow for focus states on UI elements with explicit containers on dark or vibrantly colored backgrounds.\n\tshadowButtonFocusInverse: '0 0 3px #ecebea',\n\t// Shadow on images.\n\tshadowImage: '0 1px 1px rgba(0, 0, 0, 0.16)',\n\tformLabelFontSize: '.75rem',\n\tinputStaticFontSize: '0.875rem',\n\tinputStaticFontWeight: '400',\n\t// Use for active tab.\n\ttabsFontWeight: '700',\n\t// Use for active tab.\n\tcardFontWeight: '700',\n\tpageHeaderTitleFontWeight: '700',\n\t//\n\tcomponentSpacingMargin: '0.75rem',\n\t//\n\tcomponentSpacingPadding: '1rem',\n\t//\n\ttemplateGutters: '0.75rem',\n\t//\n\ttemplateProfileGutters: '8rem 0.75rem 0.75rem',\n\t//\n\ttableCellSpacing: '0.25rem 0.5rem',\n\t//\n\tcardSpacingMargin: '0.75rem',\n\t//\n\tcardFooterPadding: '0.75rem 1rem',\n\tcardFooterTextAlign: 'center',\n\t// Icon color on dark background\n\tcolorTextIconInverse: 'rgb(255, 255, 255)',\n\t// Action label text color\n\tcolorTextActionLabel: 'rgb(112, 110, 107)',\n\t// Link color on dark background\n\tcolorTextLinkInverse: 'rgb(255, 255, 255)',\n\t// Text color for a button that has a parent element that has a hover state. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextButtonInverseDisabled: 'rgba(255, 255, 255, 0.15)',\n\t// Hovered icon color for a button that has a parent element that has a hover state\n\tcolorTextIconInverseHintHover: 'rgba(255, 255, 255, 0.75)',\n\t// Input icon\n\tcolorTextInputIcon: 'rgb(176, 173, 171)',\n\t// Link color on dark background - active state\n\tcolorTextLinkInverseActive: 'rgba(255, 255, 255, 0.5)',\n\t// Action label active text color\n\tcolorTextActionLabelActive: 'rgb(62, 62, 60)',\n\t// Icon color on dark background - active state\n\tcolorTextIconInverseActive: 'rgb(255, 255, 255)',\n\t// Color for text on a selected tab in a tab group.\n\tcolorTextTabLabelSelected: 'rgb(0, 112, 210)',\n\t// Color for texts or icons that are related to warnings on a dark background.\n\tcolorTextWarning: 'rgb(255, 183, 93)',\n\t// Icon color for a button that has a parent element that has a hover state on a dark background. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextIconInverseHint: 'rgba(255, 255, 255, 0.5)',\n\t// Color for disabled text in a tab group.\n\tcolorTextTabLabelDisabled: 'rgb(236, 235, 234)',\n\t// Text color for default secondary button - hover state\n\tcolorTextButtonDefaultHover: 'rgb(0, 112, 210)',\n\t// Input disabled text\n\tcolorTextInputDisabled: 'rgb(112, 110, 107)',\n\t// Tertiary body text color\n\tcolorTextTertiary: 'rgb(150, 148, 146)',\n\t// Focus link text\n\tcolorTextLinkFocus: 'rgb(0, 95, 178)',\n\t// Text color for default secondary button\n\tcolorTextButtonDefault: 'rgb(0, 112, 210)',\n\t// Default icon color - disabled state\n\tcolorTextIconDefaultDisabled: 'rgb(221, 219, 218)',\n\t// Disabled link text\n\tcolorTextLinkDisabled: 'rgb(22, 50, 92)',\n\t// Body text color\n\tcolorTextDefault: 'rgb(62, 62, 60)',\n\t// Active state on a standalone link on a dark background.\n\tcolorTextInverseActive: 'rgb(94, 180, 255)',\n\t// Text color for brandable primary button - disabled state\n\tcolorTextButtonBrandDisabled: 'rgb(255, 255, 255)',\n\t// Primary body text color\n\tcolorTextPrimary: 'rgb(62, 62, 60)',\n\tcolorTextLinkPrimaryFocus: 'rgb(0, 95, 178)',\n\t// Text color for brandable primary button - hover state\n\tcolorTextButtonBrandHover: 'rgb(255, 255, 255)',\n\t// Hover link text\n\tcolorTextLinkHover: 'rgb(0, 95, 178)',\n\t// Color for text in focus state in a tab group.\n\tcolorTextTabLabelFocus: 'rgb(0, 95, 178)',\n\t// Text color for success text.\n\tcolorTextSuccess: 'rgb(2, 126, 70)',\n\t// Color for text that is purposefully de-emphasized to create visual hierarchy.\n\tcolorTextWeak: 'rgb(112, 110, 107)',\n\t// Input placeholder text on dark backgrounds.\n\tcolorTextPlaceholderInverse: 'rgb(236, 235, 234)',\n\t// Default icon color - hover state.\n\tcolorTextIconDefaultHover: 'rgb(0, 112, 210)',\n\t// Icon color for a button that has a parent element that has a hover state. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextIconDefaultHintBorderless: 'rgb(236, 235, 234)',\n\t// Text color for pills.\n\tcolorTextPill: 'rgb(0, 112, 210)',\n\tcolorTextLinkPrimaryHover: 'rgb(0, 95, 178)',\n\t// Link text (508)\n\tcolorTextLink: 'rgb(0, 109, 204)',\n\t// Color for texts that are related to warnings on a light background.\n\tcolorTextWarningAlt: 'rgb(132, 72, 0)',\n\t// Text color for brandable primary button\n\tcolorTextButtonBrand: 'rgb(255, 255, 255)',\n\t// Color for text in active state in a tab group.\n\tcolorTextTabLabelActive: 'rgb(0, 57, 107)',\n\t// Default icon color.\n\tcolorTextIconDefault: 'rgb(112, 110, 107)',\n\t// Our product brand blue.\n\tcolorTextBrand: 'rgb(21, 137, 238)',\n\t// Color for text in hover state in a tab group.\n\tcolorTextTabLabelHover: 'rgb(0, 95, 178)',\n\t// Text color for default secondary button - disabled state\n\tcolorTextButtonDefaultDisabled: 'rgb(221, 219, 218)',\n\t// Color for text on toast messages.\n\tcolorTextToast: 'rgb(236, 235, 234)',\n\t// Color for disabled toggles\n\tcolorTextToggleDisabled: 'rgb(221, 219, 218)',\n\t// Top bar icon color\n\tcolorTextBrowser: 'rgb(255, 255, 255)',\n\tcolorTextLinkPrimaryActive: 'rgb(0, 95, 178)',\n\t// Error text for inputs and error misc\n\tcolorTextError: 'rgb(194, 57, 52)',\n\tcolorTextLinkPrimary: 'rgb(0, 112, 210)',\n\t// Top bar active icon color\n\tcolorTextBrowserActive: 'rgba(0, 0, 0, 0.4)',\n\t// Color for default text in a tab group.\n\tcolorTextTabLabel: 'rgb(22, 50, 92)',\n\t// Customer text used in anchor subtitle\n\tcolorTextCustomer: 'rgb(255, 154, 60)',\n\t// Default icon color - active state.\n\tcolorTextIconDefaultActive: 'rgb(0, 57, 107)',\n\t// Text color found on any primary brand color\n\tcolorTextBrandPrimary: 'rgb(255, 255, 255)',\n\t// Active link text\n\tcolorTextLinkActive: 'rgb(0, 57, 107)',\n\t// Icon color for a button that has a parent element that has a hover state. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextIconDefaultHint: 'rgb(176, 173, 171)',\n\t// Text color for brandable primary button - active state\n\tcolorTextButtonBrandActive: 'rgb(255, 255, 255)',\n\t// Color of required field marker.\n\tcolorTextRequired: 'rgb(194, 57, 52)',\n\t// Color for non-interactive icons that represent a selected item in a list\n\tcolorTextIconBrand: 'rgb(0, 112, 210)',\n\t// Hover state on a standalone link on a dark background.\n\tcolorTextInverseHover: 'rgb(176, 173, 171)',\n\t// Modal header title\n\tcolorTextModal: 'rgb(255, 255, 255)',\n\t// Text color for a button that has a parent element that has a hover state. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextButtonInverse: 'rgb(236, 235, 234)',\n\tbuttonColorTextPrimary: 'rgb(255, 255, 255)',\n\t// Modal header button text color\n\tcolorTextModalButton: 'rgb(112, 110, 107)',\n\t// Link color on dark background - disabled state\n\tcolorTextLinkInverseDisabled: 'rgba(255, 255, 255, 0.15)',\n\t// Inverse text color for dark backgrounds\n\tcolorTextInverse: 'rgb(255, 255, 255)',\n\t// Text color for default secondary button - active state\n\tcolorTextButtonDefaultActive: 'rgb(0, 112, 210)',\n\t// Icon color on dark background - disabled state\n\tcolorTextIconInverseDisabled: 'rgba(255, 255, 255, 0.15)',\n\t// Text color for a button that has a parent element that has a hover state. This is the default text/icon color for that button before its parent has been hovered over.\n\tcolorTextButtonDefaultHint: 'rgb(176, 173, 171)',\n\t// Color for interactive utility icons\n\tcolorTextIconUtility: 'rgb(176, 173, 171)',\n\t// Icon color on dark background - hover state\n\tcolorTextIconInverseHover: 'rgb(255, 255, 255)',\n\t// Input placeholder text.\n\tcolorTextPlaceholder: 'rgb(112, 110, 107)',\n\t// Weak inverse text color for dark backgrounds\n\tcolorTextInverseWeak: 'rgb(176, 173, 171)',\n\t// Secondary body text color\n\tcolorTextSecondary: 'rgb(112, 110, 107)',\n\t// Typed input text\n\tcolorTextInputFocusInverse: 'rgb(22, 50, 92)',\n\t// Text in stage left navigation.\n\tcolorTextStageLeft: 'rgb(236, 235, 234)',\n\t// Link color on dark background - hover state\n\tcolorTextLinkInverseHover: 'rgba(255, 255, 255, 0.75)',\n\t// Text color for success text on dark backgrounds.\n\tcolor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B,uBAAwB,oBAExB,6BAA8B,qBAE9B,iBAAkB,kBAClB,0BAA2B,kBAE3B,0BAA2B,qBAE3B,mBAAoB,kBAEpB,uBAAwB,kBAExB,iBAAkB,kBAElB,cAAe,qBAEf,4BAA6B,qBAE7B,0BAA2B,mBAE3B,mCAAoC,qBAEpC,cAAe,mBACf,0BAA2B,kBAE3B,cAAe,mBAEf,oBAAqB,kBAErB,qBAAsB,qBAEtB,wBAAyB,kBAEzB,qBAAsB,qBAEtB,eAAgB,oBAEhB,uBAAwB,kBAExB,+BAAgC,qBAEhC,eAAgB,qBAEhB,wBAAyB,qBAEzB,iBAAkB,qBAClB,2BAA4B,kBAE5B,eAAgB,mBAChB,qBAAsB,mBAEtB,uBAAwB,qBAExB,kBAAmB,kBAEnB,kBAAmB,oBAEnB,2BAA4B,kBAE5B,sBAAuB,qBAEvB,oBAAqB,kBAErB,yBAA0B,qBAE1B,2BAA4B,qBAE5B,kBAAmB,mBAEnB,mBAAoB,mBAEpB,sBAAuB,qBAEvB,eAAgB,qBAEhB,uBAAwB,qBACxB,uBAAwB,qBAExB,qBAAsB,qBAEtB,6BAA8B,4BAE9B,iBAAkB,qBAElB,6BAA8B,mBAE9B,6BAA8B,4BAE9B,2BAA4B,qBAE5B,qBAAsB,qBAEtB,0BAA2B,qBAE3B,qBAAsB,qBAEtB,qBAAsB,qBAEtB,mBAAoB,qBAEpB,2BAA4B,kBAE5B,mBAAoB,qBAEpB,0BAA2B,4BAE3B,wBAAyB,oBAEzB,eAAgB,oBACjB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("warning");t=e.__toESM(t,1);var n=function(){};if(process.env.NODE_ENV!==`production`){let e={};n=function(n,{propAsString:r,propValue:i,deprecatedPropValue:a,replacementPropAsString:o,replacementPropAsValue:s,log:c},l){let u=l?` ${l}`:``,d=n+r+a,f=i===a,p=a&&o&&s?` Replace \`${r}="${a}"\` with \`${o}="${s}"\`.`:``;if(!e[d]){let i=`[Design System React] The value of \`${a}\`, for prop \`${r}\` will be removed in the next major version of ${n}. Please update your props.${p}${u}`;f&&c?c({message:i}):(0,t.default)(!f,i),e[d]=f}}}var r=n;exports.default=r;
|
|
2
|
-
//# sourceMappingURL=deprecated-property-value.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecated-property-value.cjs","names":[],"sources":["../../../../utilities/warning/deprecated-property-value.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\n/* eslint-disable import/no-mutable-exports */\n/* eslint-disable max-len */\n\n// This function will deliver an error message to the browser console about the future of a removal and moving of a property's valid value to another prop. This makes the most sense to be used with `oneOf` prop types.\nimport warning from 'warning';\n\nlet deprecated = function deprecatedFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tconst hasWarned = {};\n\n\tdeprecated = function deprecatedFunction(\n\t\tcontrol,\n\t\t{\n\t\t\tpropAsString, // key name of prop being warned about\n\t\t\tpropValue, // actual value of prop being warned about\n\t\t\tdeprecatedPropValue, // value that is being deprecated\n\t\t\treplacementPropAsString, // prop that value is being moved to\n\t\t\treplacementPropAsValue, // value that should be used in new prop\n\t\t\tlog, // log function that will disable console warning and pipe to another function log({ message })\n\t\t},\n\t\tcomment\n\t) {\n\t\tconst additionalComment = comment ? ` ${comment}` : '';\n\t\tconst warnOnFirstOccurrenceKey =\n\t\t\tcontrol + propAsString + deprecatedPropValue;\n\t\tconst triggerWarning = propValue === deprecatedPropValue;\n\t\tconst replacementSentence =\n\t\t\tdeprecatedPropValue && replacementPropAsString && replacementPropAsValue\n\t\t\t\t? ` Replace \\`${propAsString}=\"${deprecatedPropValue}\"\\` with \\`${replacementPropAsString}=\"${replacementPropAsValue}\"\\`.`\n\t\t\t\t: '';\n\n\t\tif (!hasWarned[warnOnFirstOccurrenceKey]) {\n\t\t\tconst message = `[Design System React] The value of \\`${deprecatedPropValue}\\`, for prop \\`${propAsString}\\` will be removed in the next major version of ${control}. Please update your props.${replacementSentence}${additionalComment}`;\n\n\t\t\tif (triggerWarning && log) {\n\t\t\t\tlog({ message });\n\t\t\t} else {\n\t\t\t\twarning(\n\t\t\t\t\t!triggerWarning, // false value triggers warning\n\t\t\t\t\tmessage\n\t\t\t\t);\n\t\t\t}\n\t\t\t// store global flag to limit warnings to first issue\n\t\t\thasWarned[warnOnFirstOccurrenceKey] = triggerWarning;\n\t\t}\n\t};\n}\n\nexport default deprecated;\n"],"mappings":"kGASA,IAAI,EAAa,UAA8B,CAAC,EAEhD,GAAA,QAAA,IAAA,WAA6B,aAAc,CAC1C,IAAM,EAAY,CAAC,EAEnB,EAAa,SACZ,EACA,CACC,eACA,YACA,sBACA,0BACA,yBACA,OAED,EACC,CACD,IAAM,EAAoB,EAAU,IAAI,IAAY,GAC9C,EACL,EAAU,EAAe,EACpB,EAAiB,IAAc,EAC/B,EACL,GAAuB,GAA2B,EAC/C,cAAc,EAAa,IAAI,EAAoB,aAAa,EAAwB,IAAI,EAAuB,MACnH,GAEJ,GAAI,CAAC,EAAU,GAA2B,CACzC,IAAM,EAAU,wCAAwC,EAAoB,iBAAiB,EAAa,kDAAkD,EAAQ,6BAA6B,IAAsB,IAEnN,GAAkB,EACrB,EAAI,CAAE,SAAQ,CAAC,GAEf,EAAA,EAAA,QAAA,CACC,CAAC,EACD,CACD,EAGD,EAAU,GAA4B,CACvC,CACD,CACD,CAEA,IAAA,EAAe"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import e from "../../../utilities/warning/component-is-deprecated.js";
|
|
2
|
-
//#region components/forms/input/inline-check-props.js
|
|
3
|
-
var t = function() {};
|
|
4
|
-
process.env.NODE_ENV !== "production" && (t = function(t, n) {
|
|
5
|
-
e(t, n, "For a multiple input form, please use the pattern located at https://www.lightningdesignsystem.com/components/form-element/#Record-Detail that swaps out a read-only `Input` with a base `Input`. For a single input, please use a `Popover` paired with `<Button category=\"utility\" iconName=\"edit\" variant=\"icon\" />` as the trigger.");
|
|
6
|
-
});
|
|
7
|
-
var n = t;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { n as default };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=inline-check-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inline-check-props.js","names":[],"sources":["../../../../../components/forms/input/inline-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 componentIsDeprecated from '../../../utilities/warning/component-is-deprecated';\n\nlet checkProps = function checkPropsFunction() {};\n\nif (process.env.NODE_ENV !== 'production') {\n\tcheckProps = function checkPropsFunction(COMPONENT, props) {\n\t\tcomponentIsDeprecated(\n\t\t\tCOMPONENT,\n\t\t\tprops,\n\t\t\t'For a multiple input form, please use the pattern located at https://www.lightningdesignsystem.com/components/form-element/#Record-Detail that swaps out a read-only `Input` with a base `Input`. For a single input, please use a `Popover` paired with `<Button\tcategory=\"utility\" iconName=\"edit\" variant=\"icon\" />` as the trigger.'\n\t\t);\n\t};\n}\n\nexport default checkProps;\n"],"mappings":";;AAOA,IAAI,IAAa,WAA8B,CAAC;AAEhD,QAAA,IAAA,aAA6B,iBAC5B,IAAa,SAA4B,GAAW,GAAO;CAC1D,EACC,GACA,GACA,+UACD;AACD;AAGD,IAAA,IAAe"}
|