@dinofront/design_system 1.19.4 → 1.19.6

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The "*" rendered after a field label when the field is `required`.
3
+ *
4
+ * Internal on purpose (not exported from the package root): it exists so every
5
+ * form component (Input, TextArea, SelectV2, DatePicker, Checkbox, Radio,
6
+ * Upload) renders the exact same mark and color and can't drift apart again.
7
+ * Consumers building their own labels should use `text-fg-danger` directly.
8
+ *
9
+ * `aria-hidden` because the requirement is already conveyed to assistive tech
10
+ * via the control's native `required` / `aria-required`.
11
+ */
12
+ export declare function RequiredMark(): import("react").JSX.Element;
package/dist/styles.css CHANGED
@@ -173,7 +173,7 @@
173
173
  --color-fg-info: var(--color-blue-600);
174
174
  --color-fg-success: var(--color-green-600);
175
175
  --color-fg-warning: var(--color-yellow-800);
176
- --color-fg-danger: var(--color-red-800);
176
+ --color-fg-danger: var(--color-red-600);
177
177
  --color-border-default: var(--color-gray-200);
178
178
  --color-border-subtle: var(--color-gray-100);
179
179
  --color-border-strong: var(--color-gray-300);
@@ -2894,6 +2894,7 @@
2894
2894
  --color-fg-secondary: var(--color-gray-400);
2895
2895
  --color-fg-tertiary: var(--color-gray-500);
2896
2896
  --color-fg-disabled: var(--color-gray-600);
2897
+ --color-fg-danger: var(--color-red-600);
2897
2898
  --color-border-default: rgba(255, 255, 255, 0.05);
2898
2899
  --color-border-subtle: rgba(255, 255, 255, 0.03);
2899
2900
  --color-border-strong: rgba(255, 255, 255, 0.1);
@@ -239,7 +239,7 @@ export declare const lightTheme: {
239
239
  readonly fgInfo: "#3C88F7";
240
240
  readonly fgSuccess: "#199754";
241
241
  readonly fgWarning: "#ED912A";
242
- readonly fgDanger: "#ad1f2b";
242
+ readonly fgDanger: "#e93544";
243
243
  readonly borderDefault: "#e1e4ea";
244
244
  readonly borderSubtle: "#f2f5f8";
245
245
  readonly borderStrong: "#cacfd8";
@@ -265,6 +265,7 @@ export declare const darkTheme: {
265
265
  readonly fgSecondary: "#99a0ae";
266
266
  readonly fgTertiary: "#717784";
267
267
  readonly fgDisabled: "#525866";
268
+ readonly fgDanger: "#e93544";
268
269
  readonly borderDefault: "rgba(255, 255, 255, 0.05)";
269
270
  readonly borderSubtle: "rgba(255, 255, 255, 0.03)";
270
271
  readonly borderStrong: "rgba(255, 255, 255, 0.10)";
@@ -275,7 +276,6 @@ export declare const darkTheme: {
275
276
  readonly fgInfo: "#3C88F7";
276
277
  readonly fgSuccess: "#199754";
277
278
  readonly fgWarning: "#ED912A";
278
- readonly fgDanger: "#ad1f2b";
279
279
  readonly borderBrand: "#72BF44";
280
280
  readonly iconInverse: "#FEFEFE";
281
281
  readonly iconBrand: "#72BF44";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinofront/design_system",
3
- "version": "1.19.4",
3
+ "version": "1.19.6",
4
4
  "description": "Enterprise React component library and design system built on Tailwind CSS.",
5
5
  "type": "module",
6
6
  "license": "MIT",