@uniai-fe/uds-templates 0.1.6 → 0.1.8

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/styles.css CHANGED
@@ -21,7 +21,7 @@
21
21
  --modal-border-color: var(--color-border-standard-cool-gray, #e4e5e7);
22
22
  --modal-footer-border-color: var(--modal-border-color);
23
23
  --modal-stack-index: 0;
24
- --modal-alert-body-color: var(--color-label-standard, #232629);
24
+ --modal-alert-body-color: var(--color-label-strong, #18191b);
25
25
  --modal-alert-body-font-size: var(--font-body-small-size, 14px);
26
26
  --modal-dialog-title-color: var(--color-label-strong, #090a0b);
27
27
  --modal-dialog-title-font-size: var(--font-heading-xsmall-size, 20px);
@@ -30,7 +30,7 @@
30
30
  28px
31
31
  );
32
32
  --modal-dialog-title-weight: var(--font-heading-xsmall-weight, 700);
33
- --modal-dialog-body-color: var(--color-label-standard, #232629);
33
+ --modal-dialog-body-color: var(--color-label-strong, #18191b);
34
34
  --modal-dialog-body-font-size: var(--font-body-small-size, 14px);
35
35
  --auth-container-max-width: 335px;
36
36
  --auth-container-gap: var(--spacing-padding-7, 28px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-templates",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -92,8 +92,8 @@ export function ModalFooterButtons({
92
92
  : "uds-modal-footer-button-solid",
93
93
  defaultOptions.className,
94
94
  );
95
+ const buttonKey = `modal/${stackKey}/footer/${button.role}/${index}`;
95
96
  const commonProps = {
96
- key: `uds-modal-footer-button-${button.stackKey}-${button.role}-${index}`,
97
97
  className: baseClassName,
98
98
  disabled: defaultOptions.disabled,
99
99
  block: resolvedBlock,
@@ -108,6 +108,7 @@ export function ModalFooterButtons({
108
108
  : "secondary";
109
109
  return (
110
110
  <Button.Text
111
+ key={buttonKey}
111
112
  {...commonProps}
112
113
  size={defaultOptions.textSize ?? "large"}
113
114
  priority={textPriority}
@@ -119,6 +120,7 @@ export function ModalFooterButtons({
119
120
 
120
121
  return (
121
122
  <Button.Default
123
+ key={buttonKey}
122
124
  {...commonProps}
123
125
  scale={defaultOptions.scale ?? "solid-large"}
124
126
  priority={defaultOptions.priority ?? "primary"}
@@ -10,7 +10,7 @@
10
10
  --modal-border-color: var(--color-border-standard-cool-gray, #e4e5e7);
11
11
  --modal-footer-border-color: var(--modal-border-color);
12
12
  --modal-stack-index: 0;
13
- --modal-alert-body-color: var(--color-label-standard, #232629);
13
+ --modal-alert-body-color: var(--color-label-strong, #18191b);
14
14
  --modal-alert-body-font-size: var(--font-body-small-size, 14px);
15
15
  --modal-dialog-title-color: var(--color-label-strong, #090a0b);
16
16
  --modal-dialog-title-font-size: var(--font-heading-xsmall-size, 20px);
@@ -19,7 +19,7 @@
19
19
  28px
20
20
  );
21
21
  --modal-dialog-title-weight: var(--font-heading-xsmall-weight, 700);
22
- --modal-dialog-body-color: var(--color-label-standard, #232629);
22
+ --modal-dialog-body-color: var(--color-label-strong, #18191b);
23
23
  --modal-dialog-body-font-size: var(--font-body-small-size, 14px);
24
24
  }
25
25