@loomhq/lens 10.96.0 → 10.97.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/colors.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare type HslaColor = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const BaseColors: readonly ["red", "blurpleLight", "blurpleMedium", "blurple", "blurpleDark", "offWhite", "blueLight", "blue", "blueDark", "orangeLight", "orange", "orangeDark", "tealLight", "teal", "tealDark", "yellowLight", "yellow", "yellowDark"];
|
|
8
8
|
declare const GreyColors: readonly ["grey8", "grey7", "grey6", "grey5", "grey4", "grey3", "grey2", "grey1", "white"];
|
|
9
|
-
declare const SharedColors: readonly ["focusRing", "record", "recordHover", "recordActive", "info", "success", "warning", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "disabledContent", "highlight"];
|
|
9
|
+
declare const SharedColors: readonly ["focusRing", "record", "recordHover", "recordActive", "info", "success", "warning", "danger", "dangerHover", "dangerActive", "backdrop", "backdropDark", "backdropTwilight", "disabledContent", "highlight"];
|
|
10
10
|
declare const SemanticColors: readonly ["primary", "primaryHover", "primaryActive", "body", "bodyDimmed", "background", "backgroundHover", "backgroundActive", "backgroundSecondary", "backgroundSecondary2", "overlay", "border", "disabledBackground", "formFieldBorder", "formFieldBackground", "buttonBorder", "upgrade", "upgradeHover", "upgradeActive", "tabBackground", "discoveryBackground", "discoveryLightBackground", "discoveryTitle", "discoveryHighlight"];
|
|
11
11
|
declare type ThemesColorVariant = Record<typeof SharedColors[number] | typeof SemanticColors[number], HslaColor>;
|
|
12
12
|
declare type ThemesColors = {
|
package/dist/colors.js
CHANGED
|
@@ -42,6 +42,7 @@ const SharedColors = [
|
|
|
42
42
|
'dangerActive',
|
|
43
43
|
'backdrop',
|
|
44
44
|
'backdropDark',
|
|
45
|
+
'backdropTwilight',
|
|
45
46
|
'disabledContent',
|
|
46
47
|
'highlight',
|
|
47
48
|
];
|
|
@@ -81,6 +82,7 @@ const activeIncrease = 31.6;
|
|
|
81
82
|
const borderAlpha = 0.2;
|
|
82
83
|
const backdropAlpha = 0.5;
|
|
83
84
|
const backdropDarkAlpha = 0.9;
|
|
85
|
+
const backdropTwilightAlpha = 0.8;
|
|
84
86
|
const focusRingAlpha = 0.5;
|
|
85
87
|
const buttonBorderAlpha = 0.25;
|
|
86
88
|
const tabBackgroundAlpha = 0.15;
|
|
@@ -128,6 +130,7 @@ const themeSharedColors = {
|
|
|
128
130
|
dangerActive: darken(hslaBaseColors.red, activeIncrease),
|
|
129
131
|
backdrop: alpha(hslaGreys.grey8, backdropAlpha),
|
|
130
132
|
backdropDark: alpha(hslaGreys.grey8, backdropDarkAlpha),
|
|
133
|
+
backdropTwilight: alpha({ h: 245, s: 44.8, l: 46.9, a: 1 }, backdropTwilightAlpha),
|
|
131
134
|
disabledContent: hslaGreys.grey5,
|
|
132
135
|
highlight: {
|
|
133
136
|
h: hslaBaseColors.blurpleLight.h,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
function SvgWatchLater(props) {
|
|
3
3
|
return (React.createElement("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none" }, props),
|
|
4
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "
|
|
5
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.4663 14.6865C20.0186 14.6865 20.4663 15.1342 20.4663 15.6865V21.7537C20.4663 22.306 20.0186 22.7537 19.4663 22.7537C18.914 22.7537 18.4663 22.306 18.4663 21.7537V15.6865C18.4663 15.1342 18.914 14.6865 19.4663 14.6865Z", fill: "currentColor" }),
|
|
6
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.4326 18.7202C15.4326 18.1679 15.8803 17.7202 16.4326 17.7202H22.4998C23.0521 17.7202 23.4998 18.1679 23.4998 18.7202C23.4998 19.2725 23.0521 19.7202 22.4998 19.7202H16.4326C15.8803 19.7202 15.4326 19.2725 15.4326 18.7202Z", fill: "currentColor" })));
|
|
4
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7 4C6.73478 4 6.48043 4.10536 6.29289 4.29289C6.10536 4.48043 6 4.73478 6 5V19.0568L11.4188 15.1863C11.7665 14.9379 12.2335 14.9379 12.5812 15.1863L18 19.0568V5C18 4.73478 17.8946 4.48043 17.7071 4.29289C17.5196 4.10536 17.2652 4 17 4H7ZM4.87868 2.87868C5.44129 2.31607 6.20435 2 7 2H17C17.7956 2 18.5587 2.31607 19.1213 2.87868C19.6839 3.44129 20 4.20435 20 5V21C20 21.3746 19.7907 21.7178 19.4576 21.8892C19.1245 22.0606 18.7236 22.0315 18.4188 21.8137L12 17.2289L5.58124 21.8137C5.27642 22.0315 4.87549 22.0606 4.54242 21.8892C4.20935 21.7178 4 21.3746 4 21V5C4 4.20435 4.31607 3.44129 4.87868 2.87868Z", fill: "currentColor" })));
|
|
7
5
|
}
|
|
8
6
|
export default SvgWatchLater;
|