@usefidel/design-system 0.12.1 → 0.13.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.
- package/dist/fidel.manifest.json +2 -2
- package/dist/index.css +19 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/fidel.manifest.json
CHANGED
package/dist/index.css
CHANGED
|
@@ -108,6 +108,25 @@
|
|
|
108
108
|
color: #a3a3a3;
|
|
109
109
|
cursor: not-allowed;
|
|
110
110
|
}
|
|
111
|
+
.fds-button--link {
|
|
112
|
+
padding: 0;
|
|
113
|
+
border: none;
|
|
114
|
+
border-radius: 2px;
|
|
115
|
+
background-color: transparent;
|
|
116
|
+
font-size: inherit;
|
|
117
|
+
line-height: inherit;
|
|
118
|
+
letter-spacing: inherit;
|
|
119
|
+
vertical-align: baseline;
|
|
120
|
+
color: var(--color-accent, #ea580c);
|
|
121
|
+
}
|
|
122
|
+
.fds-button--link:where(:hover:not(:disabled)),
|
|
123
|
+
.fds-button--link:where(:active:not(:disabled)) {
|
|
124
|
+
color: var(--color-text, #171717);
|
|
125
|
+
}
|
|
126
|
+
.fds-button--link:disabled {
|
|
127
|
+
color: #a3a3a3;
|
|
128
|
+
cursor: not-allowed;
|
|
129
|
+
}
|
|
111
130
|
.fds-button--neutral {
|
|
112
131
|
background-color: var(--color-surface-subtle, #fafafa);
|
|
113
132
|
color: var(--color-text-on-neutral, #404040);
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
-
type ButtonVariant = 'primary' | 'outlined' | 'text' | 'neutral';
|
|
4
|
+
type ButtonVariant = 'primary' | 'outlined' | 'text' | 'neutral' | 'link';
|
|
5
5
|
type ButtonSize = 'x-small' | 'small' | 'medium' | 'big';
|
|
6
6
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
7
|
/** Visual style. @default 'primary' */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, InputHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
-
type ButtonVariant = 'primary' | 'outlined' | 'text' | 'neutral';
|
|
4
|
+
type ButtonVariant = 'primary' | 'outlined' | 'text' | 'neutral' | 'link';
|
|
5
5
|
type ButtonSize = 'x-small' | 'small' | 'medium' | 'big';
|
|
6
6
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
7
|
/** Visual style. @default 'primary' */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usefidel/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Fidel brand design tokens + React component library — DTCG token source of truth, generated per-surface CSS + Tailwind-v4 parser-compatibility output, and on-brand React components (Button, MismatchCard, DiffSection).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|