@pallasoft/ps-core-components 2.44.0 → 2.44.1

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.
@@ -9,15 +9,15 @@ exports.PsButtonSizeClassNames = {
9
9
  };
10
10
  exports.PsButtonVariantClassNames = {
11
11
  danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
12
- ghost: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
12
+ ghost: 'ps-control-surface text-ink enabled:hover:border-primary/40',
13
13
  primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] enabled:hover:border-primary-dark enabled:hover:bg-primary-dark',
14
- secondary: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 enabled:hover:text-primary dark:border-white/16 dark:bg-white/12 dark:enabled:hover:text-white',
15
- surface: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
14
+ secondary: 'ps-control-surface text-ink enabled:hover:border-primary/40 enabled:hover:text-primary dark:enabled:hover:text-white',
15
+ surface: 'ps-control-surface text-ink enabled:hover:border-primary/40',
16
16
  };
17
17
  exports.PsLinkButtonVariantClassNames = {
18
18
  danger: 'border-danger bg-danger text-white hover:opacity-90',
19
- ghost: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
19
+ ghost: 'ps-control-surface text-ink hover:border-primary/40',
20
20
  primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] hover:border-primary-dark hover:bg-primary-dark',
21
- secondary: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 hover:text-primary dark:border-white/16 dark:bg-white/12 dark:hover:text-white',
22
- surface: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
21
+ secondary: 'ps-control-surface text-ink hover:border-primary/40 hover:text-primary dark:hover:text-white',
22
+ surface: 'ps-control-surface text-ink hover:border-primary/40',
23
23
  };
@@ -6,15 +6,15 @@ export const PsButtonSizeClassNames = {
6
6
  };
7
7
  export const PsButtonVariantClassNames = {
8
8
  danger: 'border-danger bg-danger text-white enabled:hover:opacity-90',
9
- ghost: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
9
+ ghost: 'ps-control-surface text-ink enabled:hover:border-primary/40',
10
10
  primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] enabled:hover:border-primary-dark enabled:hover:bg-primary-dark',
11
- secondary: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 enabled:hover:text-primary dark:border-white/16 dark:bg-white/12 dark:enabled:hover:text-white',
12
- surface: 'ps-liquid ps-liquid-control bg-white/72 text-ink enabled:hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
11
+ secondary: 'ps-control-surface text-ink enabled:hover:border-primary/40 enabled:hover:text-primary dark:enabled:hover:text-white',
12
+ surface: 'ps-control-surface text-ink enabled:hover:border-primary/40',
13
13
  };
14
14
  export const PsLinkButtonVariantClassNames = {
15
15
  danger: 'border-danger bg-danger text-white hover:opacity-90',
16
- ghost: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
16
+ ghost: 'ps-control-surface text-ink hover:border-primary/40',
17
17
  primary: 'border-primary bg-primary text-[color:var(--ps-color-primary-contrast)] hover:border-primary-dark hover:bg-primary-dark',
18
- secondary: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 hover:text-primary dark:border-white/16 dark:bg-white/12 dark:hover:text-white',
19
- surface: 'ps-liquid ps-liquid-control bg-white/72 text-ink hover:border-primary/30 dark:border-white/16 dark:bg-white/12',
18
+ secondary: 'ps-control-surface text-ink hover:border-primary/40 hover:text-primary dark:hover:text-white',
19
+ surface: 'ps-control-surface text-ink hover:border-primary/40',
20
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pallasoft/ps-core-components",
3
- "version": "2.44.0",
3
+ "version": "2.44.1",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",