@watermarkinsights/ripple 4.11.0 → 5.0.0
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/dist/cjs/app-globals-d6c37251.js +92 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/collection/global/global.js +0 -5
- package/dist/esm/app-globals-2df700e6.js +90 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm-es5/app-globals-2df700e6.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/ripple/p-764cee74.system.js +1 -0
- package/dist/ripple/{p-a5d1db19.system.js → p-838d75c2.system.js} +1 -1
- package/dist/ripple/p-ce492826.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-4d0c4389.js +0 -341
- package/dist/collection/global/themes/default.js +0 -230
- package/dist/collection/global/themes/neutral.js +0 -14
- package/dist/collection/global/themes/ugly.js +0 -48
- package/dist/esm/app-globals-52d71b0e.js +0 -339
- package/dist/esm-es5/app-globals-52d71b0e.js +0 -1
- package/dist/ripple/p-862f5861.js +0 -1
- package/dist/ripple/p-fbbf3172.system.js +0 -1
- package/dist/types/global/themes/default.d.ts +0 -1
- package/dist/types/global/themes/neutral.d.ts +0 -1
- package/dist/types/global/themes/ugly.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-7bf00a52.js";export{s as setNonce}from"./p-7bf00a52.js";import{g as t}from"./p-862f5861.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-9433f29c",[[17,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["p-eab22c94",[[17,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[17,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]}],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["p-5297476b",[[17,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["p-7d2bd039",[[17,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[17,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[17,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["p-3cc9b812",[[17,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[17,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["p-5356db9b",[[17,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["p-1435a717",[[17,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"reformatDate":[64],"isValidIso":[64]},[[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["p-76740c92",[[1,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"lineData":[513,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["p-9a977fbd",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}]]],["p-ef0854e6",[[0,"wm-modal-header",{"heading":[1],"subheading":[1]}]]],["p-e80009db",[[17,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["p-6372934d",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["p-6f61a5f1",[[17,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["p-3b9a9d73",[[17,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["p-7ffb6f07",[[4,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["p-c53f1dcb",[[17,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["p-d65e9846",[[1,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["p-4a8016fb",[[17,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["p-e14c3721",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["p-116477b7",[[1,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["p-44f2e1a7",[[17,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["p-9b894527",[[17,"wm-toggletip",{"label":[1],"tooltip":[1025],"tooltipPosition":[1537,"tooltip-position"],"isOpen":[32]},[[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["p-194c06e1",[[17,"wm-uploader",{"label":[1],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","storeDeletedId"]],{"errorMessage":["announceError"]}]]],["p-70c459b2",[[0,"wm-wrapper"]]],["p-25e011a6",[[0,"priv-datepicker",{"disabled":[4],"isExpanded":[1540,"is-expanded"],"view":[1025],"date":[16],"selectedYear":[1026,"selected-year"],"selectedMonth":[1026,"selected-month"],"selectedDay":[1026,"selected-day"],"monthInFocus":[1026,"month-in-focus"],"yearInFocus":[1026,"year-in-focus"],"dayInFocus":[1026,"day-in-focus"],"monthNumInFocus":[32]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"]]]]],["p-411f0d1d",[[17,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["p-1b8584f9",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["p-25cf3ccb",[[0,"priv-chart-popover",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["p-d8f1fd76",[[17,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"isExpanded":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"intCloneClicked","handleOptionCloneSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmLetterPressed","findAndFocusOption"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["p-e0ca71d3",[[17,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]],["p-b878d9c7",[[17,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-7bf00a52.js";export{s as setNonce}from"./p-7bf00a52.js";import{g as t}from"./p-ce492826.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-9433f29c",[[17,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["p-eab22c94",[[17,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[17,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]}],[0,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["p-5297476b",[[17,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["p-7d2bd039",[[17,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[17,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[17,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["p-3cc9b812",[[17,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[17,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["p-5356db9b",[[17,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["p-1435a717",[[17,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"reformatDate":[64],"isValidIso":[64]},[[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["p-76740c92",[[1,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"lineData":[513,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["p-9a977fbd",[[0,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}]]],["p-ef0854e6",[[0,"wm-modal-header",{"heading":[1],"subheading":[1]}]]],["p-e80009db",[[17,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["p-6372934d",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["p-6f61a5f1",[[17,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["p-3b9a9d73",[[17,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["p-7ffb6f07",[[4,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["p-c53f1dcb",[[17,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["p-d65e9846",[[1,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["p-4a8016fb",[[17,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["p-e14c3721",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["p-116477b7",[[1,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["p-44f2e1a7",[[17,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["p-9b894527",[[17,"wm-toggletip",{"label":[1],"tooltip":[1025],"tooltipPosition":[1537,"tooltip-position"],"isOpen":[32]},[[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["p-194c06e1",[[17,"wm-uploader",{"label":[1],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","storeDeletedId"]],{"errorMessage":["announceError"]}]]],["p-70c459b2",[[0,"wm-wrapper"]]],["p-25e011a6",[[0,"priv-datepicker",{"disabled":[4],"isExpanded":[1540,"is-expanded"],"view":[1025],"date":[16],"selectedYear":[1026,"selected-year"],"selectedMonth":[1026,"selected-month"],"selectedDay":[1026,"selected-day"],"monthInFocus":[1026,"month-in-focus"],"yearInFocus":[1026,"year-in-focus"],"dayInFocus":[1026,"day-in-focus"],"monthNumInFocus":[32]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"]]]]],["p-411f0d1d",[[17,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["p-1b8584f9",[[1,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["p-25cf3ccb",[[0,"priv-chart-popover",{"open":[1028],"sliceDetails":[16]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["p-d8f1fd76",[[17,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"isExpanded":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"intCloneClicked","handleOptionCloneSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"],[0,"wmLetterPressed","findAndFocusOption"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[1,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["p-e0ca71d3",[[17,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]],["p-b878d9c7",[[17,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[1,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]]]'),e))));
|
package/dist/ripple/ripple.js
CHANGED
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-838d75c2.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('./index-0f1bacce.js');
|
|
4
|
-
|
|
5
|
-
const version = "4.11.0";
|
|
6
|
-
|
|
7
|
-
function injectDefaultTheme() {
|
|
8
|
-
const style = `
|
|
9
|
-
:root {
|
|
10
|
-
/* Color Palette */
|
|
11
|
-
--wmcolor-acidwashjeans: #9bb6d7;
|
|
12
|
-
--wmcolor-asphalt: #353b48;
|
|
13
|
-
--wmcolor-asphalt-light: #454b57;
|
|
14
|
-
--wmcolor-blueberry: #667eed;
|
|
15
|
-
--wmcolor-cement: #afadb1;
|
|
16
|
-
--wmcolor-charcoal: #4a4a4a;
|
|
17
|
-
--wmcolor-cowboyjeans: #18314E;
|
|
18
|
-
--wmcolor-cyan: #19a1a9;
|
|
19
|
-
--wmcolor-cyan-dark: #15868d;
|
|
20
|
-
--wmcolor-cyan-darker: #116b71;
|
|
21
|
-
--wmcolor-cyber: #ddf1f2;
|
|
22
|
-
--wmcolor-dadjeans: #244974;
|
|
23
|
-
--wmcolor-firetruck: #c0392b;
|
|
24
|
-
--wmcolor-firetruck-dark: #9a2e22;
|
|
25
|
-
--wmcolor-firetruck-darker: #73221a;
|
|
26
|
-
--wmcolor-firetruck-light: #f6e1df;
|
|
27
|
-
--wmcolor-forest: #088000;
|
|
28
|
-
--wmcolor-forest-dark: #054d00;
|
|
29
|
-
--wmcolor-forest-light: #daecd9;
|
|
30
|
-
--wmcolor-gray: #6b6b6b;
|
|
31
|
-
--wmcolor-gray-light: #A6A6A6;
|
|
32
|
-
--wmcolor-lavender: #8B86CA;
|
|
33
|
-
--wmcolor-linen: #E1E9F3;
|
|
34
|
-
--wmcolor-meteorite: #454b57;
|
|
35
|
-
--wmcolor-midnight: #2e1b46;
|
|
36
|
-
--wmcolor-momjeans: #366dae;
|
|
37
|
-
--wmcolor-orchid: #b36dcd;
|
|
38
|
-
--wmcolor-palelilacgray: #e9e7ec;
|
|
39
|
-
--wmcolor-palelilacgray-dark: #d2d0d4;
|
|
40
|
-
--wmcolor-paleviolet: #eeedf7;
|
|
41
|
-
--wmcolor-periwinkle: #575195;
|
|
42
|
-
--wmcolor-periwinkle-dark: #464177;
|
|
43
|
-
--wmcolor-salmon: #ff5f4e;
|
|
44
|
-
--wmcolor-salmon-dark: #cc4c3e;
|
|
45
|
-
--wmcolor-salmon-darker: #a33d32;
|
|
46
|
-
--wmcolor-snow: #fafafa;
|
|
47
|
-
--wmcolor-transparent: transparent;
|
|
48
|
-
--wmcolor-white: #fff;
|
|
49
|
-
--wmcolor-whitesmoke: #f4f4f4;
|
|
50
|
-
|
|
51
|
-
/* Base Tokens */
|
|
52
|
-
--wmcolor-background-dark-secondary: var(--wmcolor-meteorite);
|
|
53
|
-
--wmcolor-background-dark: var(--wmcolor-asphalt);
|
|
54
|
-
--wmcolor-background-disabled: var(--wmcolor-whitesmoke);
|
|
55
|
-
--wmcolor-background-error: var(--wmcolor-firetruck-light);
|
|
56
|
-
--wmcolor-background-highlight: var(--wmcolor-cyber);
|
|
57
|
-
--wmcolor-background-positive: var(--wmcolor-forest-light);
|
|
58
|
-
--wmcolor-background-readonly: var(--wmcolor-whitesmoke);
|
|
59
|
-
--wmcolor-background-selected: var(--wmcolor-paleviolet);
|
|
60
|
-
--wmcolor-background-transparent: var(--wmcolor-transparent);
|
|
61
|
-
--wmcolor-background: var(--wmcolor-white);
|
|
62
|
-
--wmcolor-border-dark: var(--wmcolor-charcoal);
|
|
63
|
-
--wmcolor-border-error: var(--wmcolor-negative);
|
|
64
|
-
--wmcolor-border-focus: var(--wmcolor-cyan);
|
|
65
|
-
--wmcolor-border-light: var(--wmcolor-whitesmoke);
|
|
66
|
-
--wmcolor-border: var(--wmcolor-palelilacgray-dark);
|
|
67
|
-
--wmcolor-brand-dark: var(--wmcolor-midnight);
|
|
68
|
-
--wmcolor-brand: var(--wmcolor-periwinkle);
|
|
69
|
-
--wmcolor-card-background: var(--wmcolor-white);
|
|
70
|
-
--wmcolor-icon: var(--wmcolor-charcoal);
|
|
71
|
-
--wmcolor-icon-ondark: var(--wmcolor-text-ondark);
|
|
72
|
-
--wmcolor-icon-accent: var(--wmcolor-gray);
|
|
73
|
-
--wmcolor-interactive-background-focus: var(--wmcolor-palelilacgray);
|
|
74
|
-
--wmcolor-interactive-background-hover: var(--wmcolor-whitesmoke);
|
|
75
|
-
--wmcolor-interactive-delete-hover: var(--wmcolor-firetruck-dark);
|
|
76
|
-
--wmcolor-interactive-delete: var(--wmcolor-firetruck);
|
|
77
|
-
--wmcolor-interactive-disabled-ondark: var(--wmcolor-gray-light);
|
|
78
|
-
--wmcolor-interactive-disabled: var(--wmcolor-gray);
|
|
79
|
-
--wmcolor-interactive-focus-ondark: var(--wmcolor-interactive-focus); /* deprecated */
|
|
80
|
-
--wmcolor-interactive-focus-textonly-ondark: var(--wmcolor-interactive-focus); /* deprecated */
|
|
81
|
-
--wmcolor-interactive-focus-textonly: var(--wmcolor-interactive-focus); /* deprecated */
|
|
82
|
-
--wmcolor-interactive-focus: var(--wmcolor-orchid);
|
|
83
|
-
--wmcolor-interactive-hover-ondark: var(--wmcolor-palelilacgray);
|
|
84
|
-
--wmcolor-interactive-hover: var(--wmcolor-periwinkle-dark);
|
|
85
|
-
--wmcolor-interactive-negative-hover: var(--wmcolor-salmon-darker);
|
|
86
|
-
--wmcolor-interactive-negative: var(--wmcolor-salmon-dark);
|
|
87
|
-
--wmcolor-interactive-ondark: var(--wmcolor-white);
|
|
88
|
-
--wmcolor-interactive-positive-hover: var(--wmcolor-cyan-darker);
|
|
89
|
-
--wmcolor-interactive-positive: var(--wmcolor-cyan-dark);
|
|
90
|
-
--wmcolor-interactive-text-disabled-ondark: var(--wmcolor-asphalt);
|
|
91
|
-
--wmcolor-interactive-text-ondark: var(--wmcolor-brand);
|
|
92
|
-
--wmcolor-interactive-text-selected: var(--wmcolor-interactive-text);
|
|
93
|
-
--wmcolor-interactive-text: var(--wmcolor-white);
|
|
94
|
-
--wmcolor-interactive: var(--wmcolor-brand);
|
|
95
|
-
--wmcolor-link-text: var(--wmcolor-interactive);
|
|
96
|
-
--wmcolor-negative: var(--wmcolor-firetruck);
|
|
97
|
-
--wmcolor-option-background-focus: var(--wmcolor-palelilacgray);
|
|
98
|
-
--wmcolor-option-background-hover: var(--wmcolor-interactive-background-hover);
|
|
99
|
-
--wmcolor-option-background: var(--wmcolor-background);
|
|
100
|
-
--wmcolor-option-background-selected: var(--wmcolor-background-selected);
|
|
101
|
-
--wmcolor-option-background-disabled: var(--wmcolor-background-disabled);
|
|
102
|
-
--wmcolor-option-border: var(--wmcolor-border-light);
|
|
103
|
-
--wmcolor-option-text-disabled: var(--wmcolor-interactive-disabled);
|
|
104
|
-
--wmcolor-option-text: var(--wmcolor-text);
|
|
105
|
-
--wmcolor-overlay: rgba(25,25,25,0.4);
|
|
106
|
-
--wmcolor-page-background: var(--wmcolor-snow);
|
|
107
|
-
--wmcolor-positive-dark: var(--wmcolor-forest-dark);
|
|
108
|
-
--wmcolor-positive: var(--wmcolor-forest);
|
|
109
|
-
--wmcolor-progress: var(--wmcolor-cyan-dark);
|
|
110
|
-
--wmcolor-table-altrow-background: var(--wmcolor-snow);
|
|
111
|
-
--wmcolor-table-header-background: var(--wmcolor-palelilacgray);
|
|
112
|
-
--wmcolor-table-row-background-selected: var(--wmcolor-background-highlight);
|
|
113
|
-
--wmcolor-table-row-background: var(--wmcolor-white);
|
|
114
|
-
--wmcolor-table-row-border-selected: var(--wmcolor-border-focus);
|
|
115
|
-
--wmcolor-table-row-border: var(--wmcolor-border);
|
|
116
|
-
--wmcolor-text-error: var(--wmcolor-negative);
|
|
117
|
-
--wmcolor-text-negative: var(--wmcolor-firetruck);
|
|
118
|
-
--wmcolor-text-ondark: var(--wmcolor-white);
|
|
119
|
-
--wmcolor-text-positive: var(--wmcolor-positive);
|
|
120
|
-
--wmcolor-text-required: var(--wmcolor-negative);
|
|
121
|
-
--wmcolor-text: var(--wmcolor-charcoal);
|
|
122
|
-
--wmcolor-tooltip-background: black; /* EXCEPTION */
|
|
123
|
-
--wmcolor-tooltip-text: var(--wmcolor-text-ondark);
|
|
124
|
-
|
|
125
|
-
/* Shared Tokens */
|
|
126
|
-
--wmcolor-button-background-delete-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
127
|
-
--wmcolor-button-background-delete-disabled: var(--wmcolor-interactive-disabled);
|
|
128
|
-
--wmcolor-button-background-delete-hover: var(--wmcolor-interactive-delete-hover);
|
|
129
|
-
--wmcolor-button-background-delete: var(--wmcolor-interactive-delete);
|
|
130
|
-
--wmcolor-button-background-icononly-hover-ondark: var(--wmcolor-interactive-ondark);
|
|
131
|
-
--wmcolor-button-background-icononly-hover: var(--wmcolor-interactive-hover);
|
|
132
|
-
--wmcolor-button-background-icononly-ondark: var(--wmcolor-background-transparent);
|
|
133
|
-
--wmcolor-button-background-icononly: var(--wmcolor-background);
|
|
134
|
-
--wmcolor-button-background-navigational-hover-ondark: var(--wmcolor-interactive-ondark);
|
|
135
|
-
--wmcolor-button-background-navigational-hover: var(--wmcolor-interactive-hover-ondark);
|
|
136
|
-
--wmcolor-button-background-navigational-ondark: var(--wmcolor-background-transparent);
|
|
137
|
-
--wmcolor-button-background-navigational: var(--wmcolor-background-transparent);
|
|
138
|
-
--wmcolor-button-background-negative-disabled: var(--wmcolor-interactive-disabled);
|
|
139
|
-
--wmcolor-button-background-negative-hover: var(--wmcolor-interactive-negative-hover);
|
|
140
|
-
--wmcolor-button-background-negative: var(--wmcolor-interactive-negative);
|
|
141
|
-
--wmcolor-button-background-positive-disabled: var(--wmcolor-interactive-disabled);
|
|
142
|
-
--wmcolor-button-background-positive-hover: var(--wmcolor-interactive-positive-hover);
|
|
143
|
-
--wmcolor-button-background-positive: var(--wmcolor-interactive-positive);
|
|
144
|
-
--wmcolor-button-background-primary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
145
|
-
--wmcolor-button-background-primary-disabled: var(--wmcolor-interactive-disabled);
|
|
146
|
-
--wmcolor-button-background-primary-hover-ondark: var(--wmcolor-interactive-hover-ondark);
|
|
147
|
-
--wmcolor-button-background-primary-hover: var(--wmcolor-interactive-hover);
|
|
148
|
-
--wmcolor-button-background-primary-ondark: var(--wmcolor-interactive-ondark);
|
|
149
|
-
--wmcolor-button-background-primary: var(--wmcolor-interactive);
|
|
150
|
-
--wmcolor-button-background-secondary-hover-ondark: var(--wmcolor-interactive-hover-ondark);
|
|
151
|
-
--wmcolor-button-background-secondary-hover: var(--wmcolor-interactive-hover);
|
|
152
|
-
--wmcolor-button-background-secondary-ondark: var(--wmcolor-background-transparent);
|
|
153
|
-
--wmcolor-button-background-secondary: var(--wmcolor-background);
|
|
154
|
-
--wmcolor-button-background-selector-hover-ondark: var(--wmcolor-interactive-hover-ondark);
|
|
155
|
-
--wmcolor-button-background-selector-hover: var(--wmcolor-interactive-hover);
|
|
156
|
-
--wmcolor-button-background-selector-ondark: var(--wmcolor-background-transparent);
|
|
157
|
-
--wmcolor-button-background-selector: var(--wmcolor-background);
|
|
158
|
-
--wmcolor-button-background-selectorprimary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
159
|
-
--wmcolor-button-background-selectorprimary-disabled: var(--wmcolor-interactive-disabled);
|
|
160
|
-
--wmcolor-button-background-selectorprimary-hover-ondark: var(--wmcolor-interactive-hover-ondark);
|
|
161
|
-
--wmcolor-button-background-selectorprimary-hover: var(--wmcolor-interactive-hover);
|
|
162
|
-
--wmcolor-button-background-selectorprimary-ondark: var(--wmcolor-interactive-ondark);
|
|
163
|
-
--wmcolor-button-background-selectorprimary: var(--wmcolor-interactive);
|
|
164
|
-
--wmcolor-button-border-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
165
|
-
--wmcolor-button-border-icononly-disabled: var(--wmcolor-interactive-disabled);
|
|
166
|
-
--wmcolor-button-border-icononly-ondark: var(--wmcolor-interactive-ondark);
|
|
167
|
-
--wmcolor-button-border-icononly: var(--wmcolor-interactive);
|
|
168
|
-
--wmcolor-button-border-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
169
|
-
--wmcolor-button-border-secondary-disabled: var(--wmcolor-interactive-disabled);
|
|
170
|
-
--wmcolor-button-border-secondary-ondark: var(--wmcolor-interactive-ondark);
|
|
171
|
-
--wmcolor-button-border-secondary: var(--wmcolor-interactive);
|
|
172
|
-
--wmcolor-button-border-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
173
|
-
--wmcolor-button-border-selector-disabled: var(--wmcolor-interactive-disabled);
|
|
174
|
-
--wmcolor-button-border-selector-ondark: var(--wmcolor-interactive-ondark);
|
|
175
|
-
--wmcolor-button-border-selector: var(--wmcolor-interactive);
|
|
176
|
-
--wmcolor-button-icon-icononly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
177
|
-
--wmcolor-button-icon-icononly-disabled: var(--wmcolor-interactive-disabled);
|
|
178
|
-
--wmcolor-button-icon-icononly-hover-ondark: var(--wmcolor-interactive);
|
|
179
|
-
--wmcolor-button-icon-icononly-hover: var(--wmcolor-interactive-ondark);
|
|
180
|
-
--wmcolor-button-icon-icononly-ondark: var(--wmcolor-interactive-ondark);
|
|
181
|
-
--wmcolor-button-icon-icononly: var(--wmcolor-interactive);
|
|
182
|
-
--wmcolor-button-icon-navigational-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
183
|
-
--wmcolor-button-icon-navigational-disabled: var(--wmcolor-interactive-disabled);
|
|
184
|
-
--wmcolor-button-icon-navigational-hover-ondark: var(--wmcolor-interactive);
|
|
185
|
-
--wmcolor-button-icon-navigational-hover: var(--wmcolor-interactive);
|
|
186
|
-
--wmcolor-button-icon-navigational-ondark: var(--wmcolor-interactive-ondark);
|
|
187
|
-
--wmcolor-button-icon-navigational: var(--wmcolor-interactive);
|
|
188
|
-
--wmcolor-button-text-delete-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);
|
|
189
|
-
--wmcolor-button-text-delete-disabled: var(--wmcolor-interactive-text);
|
|
190
|
-
--wmcolor-button-text-delete: var(--wmcolor-interactive-text);
|
|
191
|
-
--wmcolor-button-text-negative-disabled: var(--wmcolor-interactive-text);
|
|
192
|
-
--wmcolor-button-text-negative: var(--wmcolor-interactive-text);
|
|
193
|
-
--wmcolor-button-text-positive-disabled: var(--wmcolor-interactive-text);
|
|
194
|
-
--wmcolor-button-text-positive: var(--wmcolor-interactive-text);
|
|
195
|
-
--wmcolor-button-text-primary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);
|
|
196
|
-
--wmcolor-button-text-primary-disabled: var(--wmcolor-interactive-text);
|
|
197
|
-
--wmcolor-button-text-primary-ondark: var(--wmcolor-interactive-text-ondark);
|
|
198
|
-
--wmcolor-button-text-primary: var(--wmcolor-interactive-text);
|
|
199
|
-
--wmcolor-button-text-secondary-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
200
|
-
--wmcolor-button-text-secondary-disabled: var(--wmcolor-interactive-disabled);
|
|
201
|
-
--wmcolor-button-text-secondary-hover-ondark: var(--wmcolor-interactive);
|
|
202
|
-
--wmcolor-button-text-secondary-hover: var(--wmcolor-interactive-ondark);
|
|
203
|
-
--wmcolor-button-text-secondary-ondark: var(--wmcolor-interactive-ondark);
|
|
204
|
-
--wmcolor-button-text-secondary: var(--wmcolor-interactive);
|
|
205
|
-
--wmcolor-button-text-selector-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
206
|
-
--wmcolor-button-text-selector-disabled: var(--wmcolor-interactive-disabled);
|
|
207
|
-
--wmcolor-button-text-selector-hover-ondark: var(--wmcolor-interactive);
|
|
208
|
-
--wmcolor-button-text-selector-hover: var(--wmcolor-interactive-ondark);
|
|
209
|
-
--wmcolor-button-text-selector-ondark: var(--wmcolor-interactive-ondark);
|
|
210
|
-
--wmcolor-button-text-selector: var(--wmcolor-interactive);
|
|
211
|
-
--wmcolor-button-text-selectorprimary-disabled-ondark: var(--wmcolor-interactive-text-disabled-ondark);
|
|
212
|
-
--wmcolor-button-text-selectorprimary-disabled: var(--wmcolor-interactive-text);
|
|
213
|
-
--wmcolor-button-text-selectorprimary-ondark: var(--wmcolor-interactive-text-ondark);
|
|
214
|
-
--wmcolor-button-text-selectorprimary: var(--wmcolor-interactive-text);
|
|
215
|
-
--wmcolor-button-text-textonly-disabled-ondark: var(--wmcolor-interactive-disabled-ondark);
|
|
216
|
-
--wmcolor-button-text-textonly-disabled: var(--wmcolor-interactive-disabled);
|
|
217
|
-
--wmcolor-button-text-textonly-ondark: var(--wmcolor-interactive-ondark);
|
|
218
|
-
--wmcolor-button-text-textonly: var(--wmcolor-interactive);
|
|
219
|
-
--wmcolor-chart-gridline: var(--wmcolor-border);
|
|
220
|
-
--wmcolor-chart-popover-background: var(--wmcolor-background);
|
|
221
|
-
--wmcolor-input-background-disabled: var(--wmcolor-background-disabled);
|
|
222
|
-
--wmcolor-input-background: var(--wmcolor-background);
|
|
223
|
-
--wmcolor-input-border-disabled: var(--wmcolor-interactive-disabled);
|
|
224
|
-
--wmcolor-input-border-error: var(--wmcolor-border-error);
|
|
225
|
-
--wmcolor-input-border-focus: var(--wmcolor-border-focus);
|
|
226
|
-
--wmcolor-input-border: var(--wmcolor-border-dark);
|
|
227
|
-
--wmcolor-input-charcount-background: var(--wmcolor-background-readonly);
|
|
228
|
-
--wmcolor-input-text-disabled: var(--wmcolor-interactive-disabled);
|
|
229
|
-
--wmcolor-input-text: var(--wmcolor-text);
|
|
230
|
-
--wmcolor-input-unit-background: var(--wmcolor-background-readonly);
|
|
231
|
-
}
|
|
232
|
-
`;
|
|
233
|
-
const themeStyleEl = document.createElement("style");
|
|
234
|
-
themeStyleEl.textContent = style;
|
|
235
|
-
document.head.appendChild(themeStyleEl);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
function injectNeutralTheme() {
|
|
239
|
-
const style = `
|
|
240
|
-
:root[wm-theme="neutral"] {
|
|
241
|
-
--wmcolor-brand: var(--wmcolor-momjeans);
|
|
242
|
-
--wmcolor-brand-dark: var(--wmcolor-cowboyjeans);
|
|
243
|
-
--wmcolor-interactive-focus: var(--wmcolor-blueberry);
|
|
244
|
-
--wmcolor-interactive-hover: var(--wmcolor-dadjeans);
|
|
245
|
-
--wmcolor-background-selected: var(--wmcolor-linen);
|
|
246
|
-
}
|
|
247
|
-
`;
|
|
248
|
-
const themeStyleEl = document.createElement("style");
|
|
249
|
-
themeStyleEl.textContent = style;
|
|
250
|
-
document.head.appendChild(themeStyleEl);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// PRINT RIPPLE VERSION IN CONSOLE
|
|
254
|
-
// test envs return 0 for plugin.length
|
|
255
|
-
// do not print version number there as it causes issues
|
|
256
|
-
if (window.navigator.plugins.length > 0) {
|
|
257
|
-
console.log("Ripple component library", version);
|
|
258
|
-
}
|
|
259
|
-
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
260
|
-
// no longer necessary for keyboard focus indicators (thanks to :focus-visible)
|
|
261
|
-
// but still used in several components for other things (search for isTabbing)
|
|
262
|
-
function wmComponentKeys(ev) {
|
|
263
|
-
if (ev.key == "Tab") {
|
|
264
|
-
var event = new Event("wmUserIsTabbing");
|
|
265
|
-
window.dispatchEvent(event);
|
|
266
|
-
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
267
|
-
}
|
|
268
|
-
if (ev.key == "ArrowLeft" || ev.key == "ArrowUp" || ev.key == "ArrowRight" || ev.key == "ArrowDown") {
|
|
269
|
-
var event = new Event("wmUserIsKeying");
|
|
270
|
-
window.dispatchEvent(event);
|
|
271
|
-
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
function wmComponentMouseDownOnce() {
|
|
275
|
-
var event = new Event("wmUserIsNotTabbing");
|
|
276
|
-
window.dispatchEvent(event);
|
|
277
|
-
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
278
|
-
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
279
|
-
}
|
|
280
|
-
window.addEventListener("keydown", wmComponentKeys);
|
|
281
|
-
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
282
|
-
// TOOLTIP
|
|
283
|
-
// Add a tooltip element
|
|
284
|
-
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
285
|
-
// Element is added withing a container to avoid performance impact
|
|
286
|
-
const tooltipContainer = document.createElement("div");
|
|
287
|
-
tooltipContainer.id = "wm-tooltip-container";
|
|
288
|
-
const tooltipEl = document.createElement("div");
|
|
289
|
-
tooltipEl.id = "wm-tooltip";
|
|
290
|
-
tooltipEl.classList.add("wm-tooltip");
|
|
291
|
-
tooltipEl.setAttribute("popover", "manual");
|
|
292
|
-
tooltipEl.setAttribute("aria-hidden", "true");
|
|
293
|
-
const tooltipStyles = document.createElement("style");
|
|
294
|
-
tooltipStyles.textContent = `
|
|
295
|
-
.wm-tooltip {
|
|
296
|
-
position: fixed;
|
|
297
|
-
overflow: hidden;
|
|
298
|
-
pointer-events: none;
|
|
299
|
-
line-height: normal;
|
|
300
|
-
font-family: inherit;
|
|
301
|
-
font-size: 0.875rem;
|
|
302
|
-
text-transform: none;
|
|
303
|
-
font-weight: normal;
|
|
304
|
-
background: var(--wmcolor-tooltip-background);
|
|
305
|
-
color: var(--wmcolor-tooltip-text);
|
|
306
|
-
z-index: 999999;
|
|
307
|
-
max-width: var(--wmTooltipMaxWidth, 13.75rem);
|
|
308
|
-
margin-right: 1.5rem;
|
|
309
|
-
padding: 0.375rem;
|
|
310
|
-
transition-property: opacity;
|
|
311
|
-
transition-delay: 0s;
|
|
312
|
-
opacity: 0;
|
|
313
|
-
inset: unset;
|
|
314
|
-
top: 0;
|
|
315
|
-
left: 0;
|
|
316
|
-
transform: translateZ(0);
|
|
317
|
-
will-change: transform;
|
|
318
|
-
transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));
|
|
319
|
-
border: none;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.wm-tooltip:popover-open {
|
|
323
|
-
opacity: 0;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.wm-tooltip.show {
|
|
327
|
-
transition-delay: 500ms;
|
|
328
|
-
opacity: 1;
|
|
329
|
-
}
|
|
330
|
-
`;
|
|
331
|
-
document.head.appendChild(tooltipStyles);
|
|
332
|
-
tooltipContainer.appendChild(tooltipEl);
|
|
333
|
-
document.querySelector("body").appendChild(tooltipContainer);
|
|
334
|
-
// Inject theme
|
|
335
|
-
injectDefaultTheme();
|
|
336
|
-
document.documentElement.getAttribute("wm-theme") == "neutral" && injectNeutralTheme();
|
|
337
|
-
const globalFn = () => { };
|
|
338
|
-
|
|
339
|
-
const globalScripts = globalFn;
|
|
340
|
-
|
|
341
|
-
exports.globalScripts = globalScripts;
|