@vyr/design 0.0.18 → 0.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/design",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "main": "./src/index.ts",
5
5
  "dependencies": {
6
6
  "@popperjs/core": "2.11.7",
@@ -106,7 +106,7 @@ const onLeaveCancelled = () => {
106
106
  top: 0;
107
107
  width: 100%;
108
108
  height: 100%;
109
- z-index: var(--vyr-z-index);
109
+ z-index: var(--vyr-loading-z-index);
110
110
  color: var(--vyr-black-color);
111
111
  background-color: var(--vyr-black-color);
112
112
 
@@ -20,7 +20,7 @@ const confirmKey = Symbol('vyr-confirm')
20
20
  const getConfirmState = (config: Partial<Confirm>, close = (state: boolean) => { }) => {
21
21
  return ref({
22
22
  visible: false,
23
- title: config.title,
23
+ title: config.title ?? language.get('confirm.title.default'),
24
24
  type: config.type,
25
25
  options: config.options ?? [],
26
26
  message: config.message,