@pega/cosmos-react-core 4.0.0-dev.1.2 → 4.0.0-dev.2.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.
Files changed (62) hide show
  1. package/lib/components/AppShell/AppShell.styles.js +4 -4
  2. package/lib/components/AppShell/AppShell.styles.js.map +1 -1
  3. package/lib/components/AppShell/AppShellList.styles.js +2 -2
  4. package/lib/components/AppShell/AppShellList.styles.js.map +1 -1
  5. package/lib/components/AppShell/AppShellSearch.styles.js +1 -1
  6. package/lib/components/AppShell/AppShellSearch.styles.js.map +1 -1
  7. package/lib/components/AppShell/Drawer.d.ts.map +1 -1
  8. package/lib/components/AppShell/Drawer.js +0 -3
  9. package/lib/components/AppShell/Drawer.js.map +1 -1
  10. package/lib/components/AppShell/Drawer.styles.js +2 -2
  11. package/lib/components/AppShell/Drawer.styles.js.map +1 -1
  12. package/lib/components/Badges/Count.d.ts.map +1 -1
  13. package/lib/components/Badges/Count.js +23 -22
  14. package/lib/components/Badges/Count.js.map +1 -1
  15. package/lib/components/DateTime/Input/usePickerButton.d.ts.map +1 -1
  16. package/lib/components/DateTime/Input/usePickerButton.js +19 -27
  17. package/lib/components/DateTime/Input/usePickerButton.js.map +1 -1
  18. package/lib/components/DateTime/Input/utils.js +1 -1
  19. package/lib/components/DateTime/Input/utils.js.map +1 -1
  20. package/lib/components/DateTime/Picker/TimePicker.js +1 -1
  21. package/lib/components/DateTime/Picker/TimePicker.js.map +1 -1
  22. package/lib/components/Lightbox/Lightbox.styles.js +2 -2
  23. package/lib/components/Lightbox/Lightbox.styles.js.map +1 -1
  24. package/lib/components/Menu/Menu.styles.js +1 -1
  25. package/lib/components/Menu/Menu.styles.js.map +1 -1
  26. package/lib/components/Progress/Bar.d.ts +0 -3
  27. package/lib/components/Progress/Bar.d.ts.map +1 -1
  28. package/lib/components/Progress/Bar.js +1 -54
  29. package/lib/components/Progress/Bar.js.map +1 -1
  30. package/lib/components/Progress/Ellipsis.d.ts +0 -1
  31. package/lib/components/Progress/Ellipsis.d.ts.map +1 -1
  32. package/lib/components/Progress/Ellipsis.js +1 -72
  33. package/lib/components/Progress/Ellipsis.js.map +1 -1
  34. package/lib/components/Progress/Progress.d.ts.map +1 -1
  35. package/lib/components/Progress/Progress.js +2 -17
  36. package/lib/components/Progress/Progress.js.map +1 -1
  37. package/lib/components/Progress/Progress.styles.d.ts +10 -0
  38. package/lib/components/Progress/Progress.styles.d.ts.map +1 -0
  39. package/lib/components/Progress/Progress.styles.js +207 -0
  40. package/lib/components/Progress/Progress.styles.js.map +1 -0
  41. package/lib/components/Progress/Progress.types.d.ts +1 -1
  42. package/lib/components/Progress/Progress.types.d.ts.map +1 -1
  43. package/lib/components/Progress/Progress.types.js.map +1 -1
  44. package/lib/components/Progress/Ring.d.ts +0 -3
  45. package/lib/components/Progress/Ring.d.ts.map +1 -1
  46. package/lib/components/Progress/Ring.js +1 -58
  47. package/lib/components/Progress/Ring.js.map +1 -1
  48. package/lib/components/Progress/index.d.ts +1 -3
  49. package/lib/components/Progress/index.d.ts.map +1 -1
  50. package/lib/components/Progress/index.js +1 -3
  51. package/lib/components/Progress/index.js.map +1 -1
  52. package/lib/components/Tabs/Tab.js +1 -1
  53. package/lib/components/Tabs/Tab.js.map +1 -1
  54. package/lib/components/Toaster/Toaster.js +1 -1
  55. package/lib/components/Toaster/Toaster.js.map +1 -1
  56. package/lib/theme/theme.d.ts +3 -9
  57. package/lib/theme/theme.d.ts.map +1 -1
  58. package/lib/theme/themeDefinition.json +5 -9
  59. package/lib/theme/themeOverrides.schema.json +1 -4
  60. package/lib/theme/themes/darkTheme.json +2 -1
  61. package/lib/theme/themes/legacyBuildTheme.json +2 -3
  62. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,EAAE,EAAE,YAAY,EAAE,aAAa,EAAkB,MAAM,gBAAgB,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,OAAO,sBAAsB,CAAC;KAAG;CACrF"}
@@ -279,11 +279,11 @@
279
279
  },
280
280
  "focus": {
281
281
  "$type": "literal",
282
- "$value": "0 0 0 0.125rem rgba(0, 118, 209, 0.30)"
282
+ "$value": "0 0 0 0.11rem #fff, 0 0 0 0.18rem #076bc9, 0 0 0 0.3rem #076bc91a"
283
283
  },
284
- "focus-inverted": {
284
+ "focus-inset": {
285
285
  "$type": "literal",
286
- "$value": "0 0 0 0.125rem rgba(255, 255, 255, 0.30)"
286
+ "$value": "inset 0 0 0 0.11rem #fff, inset 0 0 0 0.18rem #076bc9, inset 0 0 0 0.3rem #076bc91a"
287
287
  },
288
288
  "focus-solid": {
289
289
  "$type": "literal",
@@ -292,10 +292,6 @@
292
292
  "focus-filter": {
293
293
  "$type": "literal",
294
294
  "$value": "drop-shadow(0 0 0.125rem rgba(0, 118, 209, 0.30))"
295
- },
296
- "focus-inverted-filter": {
297
- "$type": "literal",
298
- "$value": "drop-shadow(0 0 0.125rem rgba(255, 255, 255, 0.30))"
299
295
  }
300
296
  },
301
297
  "z-index": {
@@ -465,11 +461,11 @@
465
461
  "base": {
466
462
  "foreground": {
467
463
  "$type": "inherited",
468
- "$value": "base.colors.slate.extra-dark"
464
+ "$value": "base.colors.slate.dark"
469
465
  },
470
466
  "background": {
471
467
  "$type": "inherited",
472
- "$value": "base.colors.slate.light"
468
+ "$value": "base.colors.slate.extra-light"
473
469
  }
474
470
  },
475
471
  "interactive": {
@@ -360,14 +360,11 @@
360
360
  "focus": {
361
361
  "type": "string"
362
362
  },
363
- "focus-inverted": {
363
+ "focus-inset": {
364
364
  "type": "string"
365
365
  },
366
366
  "focus-filter": {
367
367
  "type": "string"
368
- },
369
- "focus-inverted-filter": {
370
- "type": "string"
371
368
  }
372
369
  },
373
370
  "additionalProperties": false
@@ -20,7 +20,8 @@
20
20
  "dark": "#ffffff"
21
21
  },
22
22
  "shadow": {
23
- "focus": "0 0 0.25rem rgba(255, 255, 255, 0.95)"
23
+ "focus": "0 0 0 0.11rem #fff, 0 0 0 0.18rem #71c1ff, 0 0 0 0.3rem #71c1ff1a",
24
+ "focus-inset": "inset 0 0 0 0.11rem #fff, inset 0 0 0 0.18rem #71c1ff, inset 0 0 0 0.3rem #71c1ff1a"
24
25
  }
25
26
  },
26
27
  "components": {
@@ -6,9 +6,8 @@
6
6
  },
7
7
  "shadow": {
8
8
  "focus": "0 0 0 0.0625rem #295ED9",
9
- "focus-inverted": "0 0 0 0.0625rem #ffffff",
10
- "focus-filter": "drop-shadow(0.0625rem 0px 0px #295ED9) drop-shadow(-0.0625rem 0px 0px #295ED9) drop-shadow(0px 0.0625rem 0px #295ED9) drop-shadow(0px -0.0625rem 0px #295ED9)",
11
- "focus-inverted-filter": "drop-shadow(0.0625rem 0px 0px #ffffff) drop-shadow(-0.0625rem 0px 0px #ffffff) drop-shadow(0px 0.0625rem 0px #ffffff) drop-shadow(0px -0.0625rem 0px #ffffff)"
9
+ "focus-inset": "inset 0 0 0 0.0625rem #295ED9",
10
+ "focus-filter": "drop-shadow(0.0625rem 0px 0px #295ED9) drop-shadow(-0.0625rem 0px 0px #295ED9) drop-shadow(0px 0.0625rem 0px #295ED9) drop-shadow(0px -0.0625rem 0px #295ED9)"
12
11
  }
13
12
  },
14
13
  "components": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-core",
3
- "version": "4.0.0-dev.1.2",
3
+ "version": "4.0.0-dev.2.0",
4
4
  "description": "Cosmos is a visual design system and UI component collection. Its goal is to empower application developers in their pursuit to create engaging and rewarding user experiences.",
5
5
  "author": "Pegasystems",
6
6
  "license": "SEE LICENSE IN LICENSE",