@lumx/core 4.22.1-next.2 → 4.23.0-next.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/components-and-utils.css
CHANGED
|
@@ -7449,6 +7449,9 @@ table {
|
|
|
7449
7449
|
outline: 1px auto currentColor;
|
|
7450
7450
|
outline-offset: 2px;
|
|
7451
7451
|
}
|
|
7452
|
+
:where(p) .lumx-link {
|
|
7453
|
+
text-decoration: underline;
|
|
7454
|
+
}
|
|
7452
7455
|
.lumx-link:disabled, .lumx-link[aria-disabled=true] {
|
|
7453
7456
|
opacity: 0.5;
|
|
7454
7457
|
cursor: default;
|
|
@@ -11506,6 +11509,7 @@ table {
|
|
|
11506
11509
|
}
|
|
11507
11510
|
.lumx-text .lumx-icon, .lumx-text .lumx-icon > svg {
|
|
11508
11511
|
display: inline;
|
|
11512
|
+
white-space: nowrap;
|
|
11509
11513
|
}
|
|
11510
11514
|
|
|
11511
11515
|
/* ==========================================================================
|
|
@@ -279,4 +279,23 @@ export declare function setup({ component: Link, components: { Text, Icon, Custo
|
|
|
279
279
|
render: ({ children, ...args }: any) => import("react").JSX.Element;
|
|
280
280
|
decorators: ((story: any, context: any) => any)[];
|
|
281
281
|
};
|
|
282
|
+
InParagraph: {
|
|
283
|
+
args: {
|
|
284
|
+
href: string;
|
|
285
|
+
children: string;
|
|
286
|
+
};
|
|
287
|
+
argTypes: {
|
|
288
|
+
children: {
|
|
289
|
+
control: boolean;
|
|
290
|
+
};
|
|
291
|
+
isDisabled: {
|
|
292
|
+
control: boolean;
|
|
293
|
+
};
|
|
294
|
+
typography: {
|
|
295
|
+
control: boolean;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
render: ({ hasIcon, children, ...args }: any) => import("react").JSX.Element;
|
|
299
|
+
decorators: ((story: any, context: any) => any)[];
|
|
300
|
+
};
|
|
282
301
|
};
|
|
@@ -129,6 +129,9 @@ export declare function setup({ component: Text, components: { Icon }, decorator
|
|
|
129
129
|
WithIcon: {
|
|
130
130
|
render: ({ children, ...args }: any) => import("react").JSX.Element;
|
|
131
131
|
};
|
|
132
|
+
WithIconAndExplicitSpaces: {
|
|
133
|
+
render: ({ children, ...args }: any) => import("react").JSX.Element;
|
|
134
|
+
};
|
|
132
135
|
AllTypography: {
|
|
133
136
|
render: ({ children, ...args }: any) => import("react").JSX.Element;
|
|
134
137
|
argTypes: {
|
package/lumx.css
CHANGED
|
@@ -8130,6 +8130,9 @@ table {
|
|
|
8130
8130
|
outline: 1px auto currentColor;
|
|
8131
8131
|
outline-offset: 2px;
|
|
8132
8132
|
}
|
|
8133
|
+
:where(p) .lumx-link {
|
|
8134
|
+
text-decoration: underline;
|
|
8135
|
+
}
|
|
8133
8136
|
.lumx-link:disabled, .lumx-link[aria-disabled=true] {
|
|
8134
8137
|
opacity: 0.5;
|
|
8135
8138
|
cursor: default;
|
|
@@ -12187,6 +12190,7 @@ table {
|
|
|
12187
12190
|
}
|
|
12188
12191
|
.lumx-text .lumx-icon, .lumx-text .lumx-icon > svg {
|
|
12189
12192
|
display: inline;
|
|
12193
|
+
white-space: nowrap;
|
|
12190
12194
|
}
|
|
12191
12195
|
|
|
12192
12196
|
/* ==========================================================================
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@floating-ui/dom": "^1.7.5",
|
|
10
|
-
"@lumx/icons": "^4.
|
|
10
|
+
"@lumx/icons": "^4.23.0-next.0",
|
|
11
11
|
"classnames": "^2.3.2",
|
|
12
12
|
"focus-visible": "^5.0.2",
|
|
13
13
|
"lodash": "4.18.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
|
-
"version": "4.
|
|
69
|
+
"version": "4.23.0-next.0",
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
.#{$lumx-base-prefix}-link {
|
|
6
6
|
@include lumx-link;
|
|
7
7
|
|
|
8
|
+
// Underline links sitting inside a paragraph of text so they stay distinguishable
|
|
9
|
+
// from the surrounding text without relying on color alone (WCAG 1.4.1).
|
|
10
|
+
// `:where` keeps the specificity at 0-1-0 so this stays easy to override.
|
|
11
|
+
:where(p) & {
|
|
12
|
+
text-decoration: underline;
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
&:disabled,
|
|
9
16
|
&[aria-disabled="true"] {
|
|
10
17
|
@include lumx-state-disabled-input;
|