ux4g-components-web 1.3.0 → 1.3.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.
- package/dist/runtime/bootstrap.cjs +2 -2
- package/dist/runtime/bootstrap.mjs +2 -2
- package/dist/runtime/index.cjs +2 -2
- package/dist/runtime/index.mjs +2 -2
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +2 -0
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
- package/styles/ux4g.css +1 -1
package/dist/types/index.cjs
CHANGED
|
@@ -10,6 +10,8 @@ const VARIANT_CLASS_MAP = {
|
|
|
10
10
|
'outline-danger': 'ux4g-btn-outline-danger',
|
|
11
11
|
'text-danger': 'ux4g-btn-text-danger',
|
|
12
12
|
'tonal-danger': 'ux4g-btn-tonal-danger',
|
|
13
|
+
'outline-neutral': 'ux4g-btn-outline-neutral',
|
|
14
|
+
'text-neutral': 'ux4g-btn-text-neutral',
|
|
13
15
|
};
|
|
14
16
|
// Maps size → CSS class
|
|
15
17
|
const SIZE_CLASS_MAP = {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ButtonVariant = 'primary' | 'outline-primary' | 'text-primary' | 'tonal-primary' | 'danger' | 'outline-danger' | 'text-danger' | 'tonal-danger';
|
|
1
|
+
export type ButtonVariant = 'primary' | 'outline-primary' | 'text-primary' | 'tonal-primary' | 'danger' | 'outline-danger' | 'text-danger' | 'tonal-danger' | 'outline-neutral' | 'text-neutral';
|
|
2
2
|
export type ButtonSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
3
|
export type ButtonShape = 'rectangle' | 'pill';
|
|
4
4
|
export declare const VARIANT_CLASS_MAP: Record<ButtonVariant, string>;
|
package/dist/types/index.mjs
CHANGED
|
@@ -8,6 +8,8 @@ const VARIANT_CLASS_MAP = {
|
|
|
8
8
|
'outline-danger': 'ux4g-btn-outline-danger',
|
|
9
9
|
'text-danger': 'ux4g-btn-text-danger',
|
|
10
10
|
'tonal-danger': 'ux4g-btn-tonal-danger',
|
|
11
|
+
'outline-neutral': 'ux4g-btn-outline-neutral',
|
|
12
|
+
'text-neutral': 'ux4g-btn-text-neutral',
|
|
11
13
|
};
|
|
12
14
|
// Maps size → CSS class
|
|
13
15
|
const SIZE_CLASS_MAP = {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ButtonVariant = 'primary' | 'outline-primary' | 'text-primary' | 'tonal-primary' | 'danger' | 'outline-danger' | 'text-danger' | 'tonal-danger';
|
|
1
|
+
export type ButtonVariant = 'primary' | 'outline-primary' | 'text-primary' | 'tonal-primary' | 'danger' | 'outline-danger' | 'text-danger' | 'tonal-danger' | 'outline-neutral' | 'text-neutral';
|
|
2
2
|
export type ButtonSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
3
|
export type ButtonShape = 'rectangle' | 'pill';
|
|
4
4
|
export declare const VARIANT_CLASS_MAP: Record<ButtonVariant, string>;
|