mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 13:04:11 +00:00
3466 lines
160 KiB
JavaScript
3466 lines
160 KiB
JavaScript
import {
|
|
dist_browser_esm_exports,
|
|
dist_browser_esm_exports2,
|
|
init_dist_browser_esm,
|
|
init_dist_browser_esm2
|
|
} from "./chunk-TFDFHE5Q.js";
|
|
import {
|
|
require_react
|
|
} from "./chunk-776SV3ZX.js";
|
|
import {
|
|
__commonJS,
|
|
__toCommonJS
|
|
} from "./chunk-V4OQ3NZ2.js";
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/color-primitive-tokens.js
|
|
var require_color_primitive_tokens = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/color-primitive-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.primitiveLightColors = exports.primitiveDarkColors = exports.default = void 0;
|
|
var primitiveColors = exports.default = {
|
|
/***** light color tokens *****/
|
|
white: "#FFFFFF",
|
|
gray50: "#F3F3F3",
|
|
gray100: "#E8E8E8",
|
|
gray200: "#DDDDDD",
|
|
gray300: "#C6C6C6",
|
|
gray400: "#A6A6A6",
|
|
gray500: "#868686",
|
|
gray600: "#727272",
|
|
gray700: "#5E5E5E",
|
|
gray800: "#4B4B4B",
|
|
gray900: "#282828",
|
|
black: "#000000",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum50: "#F4FAFB",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum100: "#EBF5F7",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum200: "#CCDFE5",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum300: "#A1BDCA",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum400: "#8EA3AD",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum500: "#6C7C83",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum600: "#556268",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum700: "#394145",
|
|
/** @deprecated use gray color tokens instead */
|
|
platinum800: "#142328",
|
|
red50: "#FFF0EE",
|
|
red100: "#FFE1DE",
|
|
red200: "#FFD2CD",
|
|
red300: "#FFB2AB",
|
|
red400: "#FC7F79",
|
|
red500: "#F83446",
|
|
red600: "#DE1135",
|
|
red700: "#BB032A",
|
|
red800: "#950F22",
|
|
red900: "#520810",
|
|
orange50: "#FFF0E9",
|
|
orange100: "#FEE2D4",
|
|
orange200: "#FFD3BC",
|
|
orange300: "#FFB48C",
|
|
orange400: "#FC823A",
|
|
orange500: "#E65300",
|
|
orange600: "#C54600",
|
|
orange700: "#A33B04",
|
|
orange800: "#823006",
|
|
orange900: "#461A00",
|
|
amber50: "#FFF1E1",
|
|
amber100: "#FFE4B7",
|
|
amber200: "#FFD5A1",
|
|
amber300: "#FFB749",
|
|
amber400: "#DF9500",
|
|
amber500: "#C46E00",
|
|
amber600: "#A95F03",
|
|
amber700: "#904A07",
|
|
amber800: "#763A00",
|
|
amber900: "#401E04",
|
|
yellow50: "#FDF2DC",
|
|
yellow100: "#FBE5B6",
|
|
yellow200: "#FFD688",
|
|
yellow300: "#F6BC2F",
|
|
yellow400: "#D79900",
|
|
yellow500: "#B97502",
|
|
yellow600: "#9F6402",
|
|
yellow700: "#845201",
|
|
yellow800: "#6B4100",
|
|
yellow900: "#392300",
|
|
lime50: "#EEF6E3",
|
|
lime100: "#DEEEC6",
|
|
lime200: "#CAE6A0",
|
|
lime300: "#A6D467",
|
|
lime400: "#77B71C",
|
|
lime500: "#5B9500",
|
|
lime600: "#4F7F06",
|
|
lime700: "#3F6900",
|
|
lime800: "#365310",
|
|
lime900: "#1B2D00",
|
|
green50: "#EAF6ED",
|
|
green100: "#D3EFDA",
|
|
green200: "#B1EAC2",
|
|
green300: "#7FD99A",
|
|
green400: "#06C167",
|
|
green500: "#009A51",
|
|
green600: "#0E8345",
|
|
green700: "#166C3B",
|
|
green800: "#0D572D",
|
|
green900: "#002F14",
|
|
teal50: "#E2F8FB",
|
|
teal100: "#CDEEF3",
|
|
teal200: "#B0E7EF",
|
|
teal300: "#77D5E3",
|
|
teal400: "#01B8CA",
|
|
teal500: "#0095A4",
|
|
teal600: "#007F8C",
|
|
teal700: "#016974",
|
|
teal800: "#1A535A",
|
|
teal900: "#002D33",
|
|
blue50: "#EFF4FE",
|
|
blue100: "#DEE9FE",
|
|
blue200: "#CDDEFF",
|
|
blue300: "#A9C9FF",
|
|
blue400: "#6DAAFB",
|
|
blue500: "#068BEE",
|
|
blue600: "#276EF1",
|
|
blue700: "#175BCC",
|
|
blue800: "#1948A3",
|
|
blue900: "#002661",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt50: "#EBEDFA",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt100: "#D2D7F0",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt200: "#949CE3",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt300: "#535FCF",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt400: "#0E1FC1",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt500: "#0A1899",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt600: "#081270",
|
|
/* @deprecated use blue color tokens instead */
|
|
cobalt700: "#050C4D",
|
|
purple50: "#F9F1FF",
|
|
purple100: "#F2E3FF",
|
|
purple200: "#EBD5FF",
|
|
purple300: "#DDB9FF",
|
|
purple400: "#C490F9",
|
|
purple500: "#A964F7",
|
|
purple600: "#944DE7",
|
|
purple700: "#7C3EC3",
|
|
purple800: "#633495",
|
|
purple900: "#3A1659",
|
|
magenta50: "#FEEFF9",
|
|
magenta100: "#FEDFF3",
|
|
magenta200: "#FFCEF2",
|
|
magenta300: "#FFACE5",
|
|
magenta400: "#F877D2",
|
|
magenta500: "#E142BC",
|
|
magenta600: "#CA26A5",
|
|
magenta700: "#A91A90",
|
|
magenta800: "#891869",
|
|
magenta900: "#50003F",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown50: "#F6F0EA",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown100: "#EBE0DB",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown200: "#D2BBB0",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown300: "#B18977",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown400: "#99644C",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown500: "#744C3A",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown600: "#5C3C2E",
|
|
/* @deprecated use orange color tokens instead */
|
|
brown700: "#3D281E",
|
|
// Brand colors
|
|
brandDefault50: "#EFF4FE",
|
|
brandDefault100: "#DEE9FE",
|
|
brandDefault200: "#CDDEFF",
|
|
brandDefault300: "#A9C9FF",
|
|
brandDefault400: "#6DAAFB",
|
|
brandDefault500: "#068BEE",
|
|
brandDefault600: "#276EF1",
|
|
brandDefault700: "#175BCC",
|
|
brandDefault800: "#1948A3",
|
|
brandDefault900: "#002661",
|
|
/***** dark color tokens *****/
|
|
gray50Dark: "#161616",
|
|
gray100Dark: "#292929",
|
|
gray200Dark: "#383838",
|
|
gray300Dark: "#484848",
|
|
gray400Dark: "#5D5D5D",
|
|
gray500Dark: "#717171",
|
|
gray600Dark: "#8C8C8C",
|
|
gray700Dark: "#ABABAB",
|
|
gray800Dark: "#C4C4C4",
|
|
gray900Dark: "#DEDEDE",
|
|
red50Dark: "#2E0608",
|
|
red100Dark: "#4A1216",
|
|
red200Dark: "#621C20",
|
|
red300Dark: "#7F1F26",
|
|
red400Dark: "#A32C34",
|
|
red500Dark: "#C33840",
|
|
red600Dark: "#DE5B5D",
|
|
red700Dark: "#EA9B98",
|
|
red800Dark: "#EFBCB9",
|
|
red900Dark: "#F2D7D5",
|
|
orange50Dark: "#260F03",
|
|
orange100Dark: "#401F0C",
|
|
orange200Dark: "#562A12",
|
|
orange300Dark: "#6D3715",
|
|
orange400Dark: "#8C4922",
|
|
orange500Dark: "#AB5727",
|
|
orange600Dark: "#C97245",
|
|
orange700Dark: "#ED9E74",
|
|
orange800Dark: "#F1BDA3",
|
|
orange900Dark: "#F8D6C5",
|
|
amber50Dark: "#241003",
|
|
amber100Dark: "#3C220F",
|
|
amber200Dark: "#502F18",
|
|
amber300Dark: "#653D18",
|
|
amber400Dark: "#805127",
|
|
amber500Dark: "#956724",
|
|
amber600Dark: "#B68131",
|
|
amber700Dark: "#DEA85E",
|
|
amber800Dark: "#EEC28D",
|
|
amber900Dark: "#F6D9B7",
|
|
yellow50Dark: "#211201",
|
|
yellow100Dark: "#39240A",
|
|
yellow200Dark: "#4C3111",
|
|
yellow300Dark: "#624013",
|
|
yellow400Dark: "#7A5616",
|
|
yellow500Dark: "#916C1A",
|
|
yellow600Dark: "#AE8523",
|
|
yellow700Dark: "#D7AC57",
|
|
yellow800Dark: "#E6C681",
|
|
yellow900Dark: "#F3DCAE",
|
|
lime50Dark: "#0F1A03",
|
|
lime100Dark: "#202E13",
|
|
lime200Dark: "#2C3F19",
|
|
lime300Dark: "#39501F",
|
|
lime400Dark: "#4A682B",
|
|
lime500Dark: "#5A7E35",
|
|
lime600Dark: "#759954",
|
|
lime700Dark: "#9EC080",
|
|
lime800Dark: "#BDD4AB",
|
|
lime900Dark: "#D6E3CB",
|
|
green50Dark: "#081B0E",
|
|
green100Dark: "#162F1E",
|
|
green200Dark: "#20402A",
|
|
green300Dark: "#2A5237",
|
|
green400Dark: "#306C44",
|
|
green500Dark: "#3D8351",
|
|
green600Dark: "#5C9D70",
|
|
green700Dark: "#8FC19C",
|
|
green800Dark: "#AED6B8",
|
|
green900Dark: "#CBE6D2",
|
|
teal50Dark: "#071A1C",
|
|
teal100Dark: "#0C2E34",
|
|
teal200Dark: "#113F46",
|
|
teal300Dark: "#155158",
|
|
teal400Dark: "#216972",
|
|
teal500Dark: "#217F8B",
|
|
teal600Dark: "#3B9BA8",
|
|
teal700Dark: "#72C1CD",
|
|
teal800Dark: "#9CD5DF",
|
|
teal900Dark: "#C5E5EA",
|
|
blue50Dark: "#061431",
|
|
blue100Dark: "#182946",
|
|
blue200Dark: "#22375C",
|
|
blue300Dark: "#2D4775",
|
|
blue400Dark: "#335BA3",
|
|
blue500Dark: "#3F6EC5",
|
|
blue600Dark: "#5E8BDB",
|
|
blue700Dark: "#93B4EE",
|
|
blue800Dark: "#B3CCF6",
|
|
blue900Dark: "#D1DFF6",
|
|
purple50Dark: "#1B0E2D",
|
|
purple100Dark: "#2F2044",
|
|
purple200Dark: "#3F2D59",
|
|
purple300Dark: "#513974",
|
|
purple400Dark: "#694B96",
|
|
purple500Dark: "#7F5BB6",
|
|
purple600Dark: "#9A78CE",
|
|
purple700Dark: "#BDA7E4",
|
|
purple800Dark: "#D2C1EF",
|
|
purple900Dark: "#E2D9F5",
|
|
magenta50Dark: "#28071F",
|
|
magenta100Dark: "#411636",
|
|
magenta200Dark: "#581F48",
|
|
magenta300Dark: "#6E2A5B",
|
|
magenta400Dark: "#8E3777",
|
|
magenta500Dark: "#AB4490",
|
|
magenta600Dark: "#C664A9",
|
|
magenta700Dark: "#E099C9",
|
|
magenta800Dark: "#EEB6DB",
|
|
magenta900Dark: "#F1D4E7",
|
|
// Brand colors
|
|
brandDefault50Dark: "#09152C",
|
|
brandDefault100Dark: "#182946",
|
|
brandDefault200Dark: "#22375C",
|
|
brandDefault300Dark: "#2D4775",
|
|
brandDefault400Dark: "#335BA3",
|
|
brandDefault500Dark: "#3F6EC5",
|
|
brandDefault600Dark: "#5E8BDB",
|
|
brandDefault700Dark: "#93B4EE",
|
|
brandDefault800Dark: "#B3CCF6",
|
|
brandDefault900Dark: "#D1DFF6"
|
|
};
|
|
var primitiveLightColors = exports.primitiveLightColors = {};
|
|
var primitiveDarkColors = exports.primitiveDarkColors = {};
|
|
for (const key in primitiveColors) {
|
|
if (key.endsWith("Dark")) {
|
|
primitiveDarkColors[key] = primitiveColors[key];
|
|
} else if (key === "white" || key === "black") {
|
|
primitiveLightColors[key] = primitiveColors[key];
|
|
primitiveDarkColors[key] = primitiveColors[key];
|
|
} else {
|
|
primitiveLightColors[key] = primitiveColors[key];
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/types.js
|
|
var require_types = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/types.js"() {
|
|
"use strict";
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/index.js
|
|
var require_tokens = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/tokens/index.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
var _exportNames = {
|
|
primitiveColors: true,
|
|
primitiveLightColors: true,
|
|
primitiveDarkColors: true,
|
|
colors: true
|
|
};
|
|
Object.defineProperty(exports, "colors", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _colorPrimitiveTokens.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "primitiveColors", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _colorPrimitiveTokens.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "primitiveDarkColors", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _colorPrimitiveTokens.primitiveDarkColors;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "primitiveLightColors", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _colorPrimitiveTokens.primitiveLightColors;
|
|
}
|
|
});
|
|
var _colorPrimitiveTokens = _interopRequireWildcard(require_color_primitive_tokens());
|
|
var _types = require_types();
|
|
Object.keys(_types).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
if (key in exports && exports[key] === _types[key]) return;
|
|
Object.defineProperty(exports, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _types[key];
|
|
}
|
|
});
|
|
});
|
|
function _getRequireWildcardCache(e) {
|
|
if ("function" != typeof WeakMap) return null;
|
|
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
|
return (_getRequireWildcardCache = function(e2) {
|
|
return e2 ? t : r;
|
|
})(e);
|
|
}
|
|
function _interopRequireWildcard(e, r) {
|
|
if (!r && e && e.__esModule) return e;
|
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
var t = _getRequireWildcardCache(r);
|
|
if (t && t.has(e)) return t.get(e);
|
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
}
|
|
return n.default = e, t && t.set(e, n), n;
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-foundation-tokens.js
|
|
var require_color_foundation_tokens = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-foundation-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _tokens = require_tokens();
|
|
var foundationColors = {
|
|
// Primary Palette
|
|
primaryA: _tokens.primitiveLightColors.black,
|
|
primaryB: _tokens.primitiveLightColors.white,
|
|
primary: "#000000",
|
|
primary50: "#F6F6F6",
|
|
primary100: "#EEEEEE",
|
|
primary200: "#E2E2E2",
|
|
primary300: "#CBCBCB",
|
|
primary400: "#AFAFAF",
|
|
primary500: "#6B6B6B",
|
|
primary600: "#545454",
|
|
primary700: "#333333",
|
|
// Accent Palette
|
|
accent: _tokens.primitiveLightColors.blue600,
|
|
accent50: "#EFF3FE",
|
|
accent100: "#D4E2FC",
|
|
accent200: "#A0BFF8",
|
|
accent300: "#5B91F5",
|
|
accent400: "#276EF1",
|
|
accent500: "#1E54B7",
|
|
accent600: "#174291",
|
|
accent700: "#102C60",
|
|
// Negative Palette
|
|
negative: _tokens.primitiveLightColors.red600,
|
|
negative50: "#FFEFED",
|
|
negative100: "#FED7D2",
|
|
negative200: "#F1998E",
|
|
negative300: "#E85C4A",
|
|
negative400: "#E11900",
|
|
negative500: "#AB1300",
|
|
negative600: "#870F00",
|
|
negative700: "#5A0A00",
|
|
// Warning Palette
|
|
warning: _tokens.primitiveLightColors.yellow300,
|
|
warning50: "#FFFAF0",
|
|
warning100: "#FFF2D9",
|
|
warning200: "#FFE3AC",
|
|
warning300: "#FFCF70",
|
|
warning400: "#FFC043",
|
|
warning500: "#BC8B2C",
|
|
warning600: "#996F00",
|
|
warning700: "#674D1B",
|
|
// Positive Palette
|
|
positive: _tokens.primitiveLightColors.green600,
|
|
positive50: "#E6F2ED",
|
|
positive100: "#ADDEC9",
|
|
positive200: "#66D19E",
|
|
positive300: "#06C167",
|
|
positive400: "#048848",
|
|
positive500: "#03703C",
|
|
positive600: "#03582F",
|
|
positive700: "#10462D",
|
|
// Monochrome Palette
|
|
white: "#FFFFFF",
|
|
black: "#000000",
|
|
mono100: "#FFFFFF",
|
|
mono200: "#F6F6F6",
|
|
mono300: "#EEEEEE",
|
|
mono400: "#E2E2E2",
|
|
mono500: "#CBCBCB",
|
|
mono600: "#AFAFAF",
|
|
mono700: "#6B6B6B",
|
|
mono800: "#545454",
|
|
mono900: "#333333",
|
|
mono1000: "#000000"
|
|
};
|
|
var _default = exports.default = foundationColors;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/util.js
|
|
var require_util = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/util.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.ellipsisText = void 0;
|
|
exports.expandBorderStyles = expandBorderStyles;
|
|
exports.hexToRgb = hexToRgb;
|
|
function hexToRgb(hex = "", alpha = "1") {
|
|
const shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
|
|
hex = hex.replace(shorthandRegex, function(m, r, g, b) {
|
|
return r + r + g + g + b + b;
|
|
});
|
|
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
return result ? `rgba(${parseInt(result[1], 16)}, ${parseInt(result[2], 16)}, ${parseInt(result[3], 16)}, ${alpha})` : null;
|
|
}
|
|
var ellipsisText = exports.ellipsisText = {
|
|
overflow: "hidden",
|
|
textOverflow: "ellipsis",
|
|
whiteSpace: "nowrap",
|
|
wordWrap: "normal"
|
|
};
|
|
function expandBorderStyles(borderStyles) {
|
|
return {
|
|
borderTopWidth: borderStyles.borderWidth,
|
|
borderTopStyle: borderStyles.borderStyle,
|
|
borderTopColor: borderStyles.borderColor,
|
|
borderBottomWidth: borderStyles.borderWidth,
|
|
borderBottomStyle: borderStyles.borderStyle,
|
|
borderBottomColor: borderStyles.borderColor,
|
|
borderLeftWidth: borderStyles.borderWidth,
|
|
borderLeftStyle: borderStyles.borderStyle,
|
|
borderLeftColor: borderStyles.borderColor,
|
|
borderRightWidth: borderStyles.borderWidth,
|
|
borderRightStyle: borderStyles.borderStyle,
|
|
borderRightColor: borderStyles.borderColor
|
|
};
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-semantic-tokens.js
|
|
var require_color_semantic_tokens = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-semantic-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens());
|
|
var _util = require_util();
|
|
var _colorPrimitiveTokens = _interopRequireDefault(require_color_primitive_tokens());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var _default = (foundation = _colorFoundationTokens.default) => {
|
|
const core = {
|
|
// Background
|
|
backgroundPrimary: foundation.primaryB,
|
|
backgroundSecondary: _colorPrimitiveTokens.default.gray50,
|
|
backgroundTertiary: _colorPrimitiveTokens.default.gray100,
|
|
backgroundInversePrimary: foundation.primaryA,
|
|
backgroundInverseSecondary: _colorPrimitiveTokens.default.gray900,
|
|
// Content
|
|
contentPrimary: foundation.primaryA,
|
|
contentSecondary: _colorPrimitiveTokens.default.gray800,
|
|
contentTertiary: _colorPrimitiveTokens.default.gray700,
|
|
contentInversePrimary: foundation.primaryB,
|
|
contentInverseSecondary: _colorPrimitiveTokens.default.gray200,
|
|
contentInverseTertiary: _colorPrimitiveTokens.default.gray400,
|
|
// Border
|
|
borderOpaque: _colorPrimitiveTokens.default.gray50,
|
|
borderTransparent: (0, _util.hexToRgb)(foundation.primaryA, "0.08") || (0, _util.hexToRgb)(_colorFoundationTokens.default.primaryA, "0.08") || "",
|
|
borderSelected: foundation.primaryA,
|
|
borderInverseOpaque: _colorPrimitiveTokens.default.gray800,
|
|
borderInverseTransparent: (0, _util.hexToRgb)(foundation.primaryB, "0.2") || (0, _util.hexToRgb)(_colorFoundationTokens.default.primaryB, "0.2") || "",
|
|
borderInverseSelected: foundation.primaryB,
|
|
// brand default
|
|
brandBackgroundPrimary: _colorPrimitiveTokens.default.brandDefault600,
|
|
brandBackgroundSecondary: _colorPrimitiveTokens.default.brandDefault50,
|
|
brandBackgroundTertiary: _colorPrimitiveTokens.default.white,
|
|
brandBackgroundDisabled: _colorPrimitiveTokens.default.brandDefault50,
|
|
brandContentPrimary: _colorPrimitiveTokens.default.brandDefault600,
|
|
brandContentOnPrimary: _colorPrimitiveTokens.default.white,
|
|
brandContentOnSecondary: _colorPrimitiveTokens.default.brandDefault700,
|
|
brandContentOnTertiary: _colorPrimitiveTokens.default.black,
|
|
brandContentOnGradient: _colorPrimitiveTokens.default.white,
|
|
brandContentDisabled: _colorPrimitiveTokens.default.brandDefault300,
|
|
brandBorderAccessible: _colorPrimitiveTokens.default.brandDefault600,
|
|
brandBorderSubtle: _colorPrimitiveTokens.default.brandDefault100
|
|
};
|
|
const coreExtensions = {
|
|
// Backgrounds
|
|
backgroundStateDisabled: _colorPrimitiveTokens.default.gray50,
|
|
backgroundOverlay: (0, _util.hexToRgb)(_colorPrimitiveTokens.default.black, "0.5") || "",
|
|
backgroundOverlayArt: (0, _util.hexToRgb)(_colorPrimitiveTokens.default.black, "0.00") || "",
|
|
backgroundAccent: foundation.accent,
|
|
backgroundNegative: foundation.negative,
|
|
backgroundWarning: foundation.warning,
|
|
backgroundPositive: foundation.positive,
|
|
backgroundAccentLight: _colorPrimitiveTokens.default.blue50,
|
|
backgroundNegativeLight: _colorPrimitiveTokens.default.red50,
|
|
backgroundWarningLight: _colorPrimitiveTokens.default.yellow50,
|
|
backgroundPositiveLight: _colorPrimitiveTokens.default.green50,
|
|
backgroundAlwaysDark: _colorPrimitiveTokens.default.black,
|
|
backgroundAlwaysLight: _colorPrimitiveTokens.default.white,
|
|
// Content
|
|
contentStateDisabled: _colorPrimitiveTokens.default.gray400,
|
|
contentOnColor: _colorPrimitiveTokens.default.white,
|
|
contentOnColorInverse: _colorPrimitiveTokens.default.black,
|
|
contentAccent: _colorPrimitiveTokens.default.blue600,
|
|
contentNegative: _colorPrimitiveTokens.default.red600,
|
|
contentWarning: _colorPrimitiveTokens.default.yellow600,
|
|
contentPositive: _colorPrimitiveTokens.default.green600,
|
|
tagRedContentSecondary: _colorPrimitiveTokens.default.red700,
|
|
// Border
|
|
borderStateDisabled: _colorPrimitiveTokens.default.gray50,
|
|
borderAccent: _colorPrimitiveTokens.default.blue600,
|
|
borderAccentLight: _colorPrimitiveTokens.default.blue300,
|
|
borderNegative: _colorPrimitiveTokens.default.red600,
|
|
borderNegativeLight: _colorPrimitiveTokens.default.red300,
|
|
borderWarning: _colorPrimitiveTokens.default.yellow600,
|
|
borderWarningLight: _colorPrimitiveTokens.default.yellow200,
|
|
borderPositive: _colorPrimitiveTokens.default.green600,
|
|
borderPositiveLight: _colorPrimitiveTokens.default.green300,
|
|
tagRedBorderSecondarySelected: _colorPrimitiveTokens.default.red700,
|
|
// Programs
|
|
safety: _colorPrimitiveTokens.default.blue600,
|
|
eatsGreen400: _colorPrimitiveTokens.default.green600,
|
|
freightBlue400: _colorPrimitiveTokens.default.cobalt400,
|
|
rewardsTier1: _colorPrimitiveTokens.default.blue600,
|
|
rewardsTier2: _colorPrimitiveTokens.default.yellow300,
|
|
rewardsTier3: _colorPrimitiveTokens.default.platinum400,
|
|
rewardsTier4: _colorPrimitiveTokens.default.black,
|
|
membership: _colorPrimitiveTokens.default.yellow600
|
|
};
|
|
const deprecated = {
|
|
jumpRed400: _colorPrimitiveTokens.default.red400,
|
|
backgroundOverlayLight: coreExtensions.backgroundOverlay,
|
|
backgroundOverlayDark: coreExtensions.backgroundOverlay,
|
|
backgroundLightAccent: coreExtensions.backgroundAccentLight,
|
|
backgroundLightPositive: coreExtensions.backgroundPositiveLight,
|
|
backgroundLightWarning: coreExtensions.backgroundWarningLight,
|
|
backgroundLightNegative: coreExtensions.backgroundNegativeLight
|
|
};
|
|
const tagTokens = {
|
|
tagGrayBackgroundPrimary: _colorPrimitiveTokens.default.gray600,
|
|
tagGrayBackgroundSecondary: _colorPrimitiveTokens.default.gray50,
|
|
tagGrayContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagGrayContentSecondary: _colorPrimitiveTokens.default.gray700,
|
|
tagGrayBackgroundStateDisabled: _colorPrimitiveTokens.default.gray50,
|
|
tagGrayContentStateDisabled: _colorPrimitiveTokens.default.gray300,
|
|
tagGrayBorderPrimaryUnselected: _colorPrimitiveTokens.default.gray700,
|
|
tagGrayBorderSecondaryUnselected: _colorPrimitiveTokens.default.gray100,
|
|
tagGrayBorderSecondarySelected: _colorPrimitiveTokens.default.gray600,
|
|
tagRedBackgroundPrimary: _colorPrimitiveTokens.default.red600,
|
|
tagRedBackgroundSecondary: _colorPrimitiveTokens.default.red50,
|
|
tagRedContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagRedContentSecondary: _colorPrimitiveTokens.default.red700,
|
|
tagRedBackgroundStateDisabled: _colorPrimitiveTokens.default.red50,
|
|
tagRedContentStateDisabled: _colorPrimitiveTokens.default.red300,
|
|
tagRedBorderPrimaryUnselected: _colorPrimitiveTokens.default.red700,
|
|
tagRedBorderSecondaryUnselected: _colorPrimitiveTokens.default.red100,
|
|
tagRedBorderSecondarySelected: _colorPrimitiveTokens.default.red700,
|
|
tagOrangeBackgroundPrimary: _colorPrimitiveTokens.default.orange600,
|
|
tagOrangeBackgroundSecondary: _colorPrimitiveTokens.default.orange50,
|
|
tagOrangeContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagOrangeContentSecondary: _colorPrimitiveTokens.default.orange700,
|
|
tagOrangeBackgroundStateDisabled: _colorPrimitiveTokens.default.orange50,
|
|
tagOrangeContentStateDisabled: _colorPrimitiveTokens.default.orange300,
|
|
tagYellowBackgroundPrimary: _colorPrimitiveTokens.default.yellow300,
|
|
tagOrangeBorderPrimaryUnselected: _colorPrimitiveTokens.default.orange700,
|
|
tagYellowBackgroundSecondary: _colorPrimitiveTokens.default.yellow50,
|
|
tagOrangeBorderSecondaryUnselected: _colorPrimitiveTokens.default.orange100,
|
|
tagOrangeBorderSecondarySelected: _colorPrimitiveTokens.default.orange700,
|
|
tagYellowContentPrimary: _colorPrimitiveTokens.default.black,
|
|
tagYellowContentSecondary: _colorPrimitiveTokens.default.yellow700,
|
|
tagYellowBackgroundStateDisabled: _colorPrimitiveTokens.default.yellow50,
|
|
tagYellowContentStateDisabled: _colorPrimitiveTokens.default.yellow200,
|
|
tagYellowBorderPrimaryUnselected: _colorPrimitiveTokens.default.yellow400,
|
|
tagYellowBorderSecondaryUnselected: _colorPrimitiveTokens.default.yellow100,
|
|
tagYellowBorderSecondarySelected: _colorPrimitiveTokens.default.yellow700,
|
|
tagGreenBackgroundPrimary: _colorPrimitiveTokens.default.green600,
|
|
tagGreenBackgroundSecondary: _colorPrimitiveTokens.default.green50,
|
|
tagGreenContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagGreenContentSecondary: _colorPrimitiveTokens.default.green700,
|
|
tagGreenBackgroundStateDisabled: _colorPrimitiveTokens.default.green50,
|
|
tagGreenContentStateDisabled: _colorPrimitiveTokens.default.green300,
|
|
tagGreenBorderPrimaryUnselected: _colorPrimitiveTokens.default.green700,
|
|
tagBlueBackgroundPrimary: _colorPrimitiveTokens.default.blue600,
|
|
tagBlueBackgroundSecondary: _colorPrimitiveTokens.default.blue50,
|
|
tagGreenBorderSecondaryUnselected: _colorPrimitiveTokens.default.green100,
|
|
tagBlueContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagGreenBorderSecondarySelected: _colorPrimitiveTokens.default.green700,
|
|
tagBlueContentSecondary: _colorPrimitiveTokens.default.blue700,
|
|
tagBlueBackgroundStateDisabled: _colorPrimitiveTokens.default.blue50,
|
|
tagBlueContentStateDisabled: _colorPrimitiveTokens.default.blue300,
|
|
tagBlueBorderPrimaryUnselected: _colorPrimitiveTokens.default.blue700,
|
|
tagPurpleBackgroundPrimary: _colorPrimitiveTokens.default.purple600,
|
|
tagPurpleBackgroundSecondary: _colorPrimitiveTokens.default.purple50,
|
|
tagBlueBorderSecondaryUnselected: _colorPrimitiveTokens.default.blue100,
|
|
tagBlueBorderSecondarySelected: _colorPrimitiveTokens.default.blue700,
|
|
tagPurpleContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagPurpleContentSecondary: _colorPrimitiveTokens.default.purple700,
|
|
tagPurpleBackgroundStateDisabled: _colorPrimitiveTokens.default.purple50,
|
|
tagPurpleContentStateDisabled: _colorPrimitiveTokens.default.purple300,
|
|
tagPurpleBorderPrimaryUnselected: _colorPrimitiveTokens.default.purple700,
|
|
tagMagentaBackgroundPrimary: _colorPrimitiveTokens.default.magenta600,
|
|
tagPurpleBorderSecondaryUnselected: _colorPrimitiveTokens.default.purple100,
|
|
tagMagentaBackgroundSecondary: _colorPrimitiveTokens.default.magenta50,
|
|
tagPurpleBorderSecondarySelected: _colorPrimitiveTokens.default.purple700,
|
|
tagMagentaContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagMagentaContentSecondary: _colorPrimitiveTokens.default.magenta700,
|
|
tagMagentaBackgroundStateDisabled: _colorPrimitiveTokens.default.magenta50,
|
|
tagMagentaContentStateDisabled: _colorPrimitiveTokens.default.magenta300,
|
|
tagMagentaBorderPrimaryUnselected: _colorPrimitiveTokens.default.magenta700,
|
|
tagMagentaBorderSecondaryUnselected: _colorPrimitiveTokens.default.magenta100,
|
|
tagMagentaBorderSecondarySelected: _colorPrimitiveTokens.default.magenta700,
|
|
tagTealBackgroundPrimary: _colorPrimitiveTokens.default.teal600,
|
|
tagTealBackgroundSecondary: _colorPrimitiveTokens.default.teal50,
|
|
tagTealContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagTealContentSecondary: _colorPrimitiveTokens.default.teal700,
|
|
tagTealBackgroundStateDisabled: _colorPrimitiveTokens.default.teal50,
|
|
tagTealContentStateDisabled: _colorPrimitiveTokens.default.teal300,
|
|
tagTealBorderPrimaryUnselected: _colorPrimitiveTokens.default.teal700,
|
|
tagTealBorderSecondaryUnselected: _colorPrimitiveTokens.default.teal100,
|
|
tagTealBorderSecondarySelected: _colorPrimitiveTokens.default.teal700,
|
|
tagLimeBackgroundPrimary: _colorPrimitiveTokens.default.lime600,
|
|
tagLimeBackgroundSecondary: _colorPrimitiveTokens.default.lime50,
|
|
tagLimeContentPrimary: _colorPrimitiveTokens.default.white,
|
|
tagLimeContentSecondary: _colorPrimitiveTokens.default.lime700,
|
|
tagLimeBackgroundStateDisabled: _colorPrimitiveTokens.default.lime50,
|
|
tagLimeContentStateDisabled: _colorPrimitiveTokens.default.lime300,
|
|
tagLimeBorderPrimaryUnselected: _colorPrimitiveTokens.default.lime700,
|
|
tagLimeBorderSecondaryUnselected: _colorPrimitiveTokens.default.lime100,
|
|
tagLimeBorderSecondarySelected: _colorPrimitiveTokens.default.lime700
|
|
};
|
|
const hoveredAndPressedColors = {
|
|
hoverOverlayInverseAlpha: "rgba(255, 255, 255, 0.1)",
|
|
hoverOverlayAlpha: "rgba(0, 0, 0, 0.04)",
|
|
hoverNegativeAlpha: "rgba(222, 17, 53, 0.1)",
|
|
pressedOverlayAlpha: "rgba(0, 0, 0, 0.08)",
|
|
pressedOverlayInverseAlpha: "rgba(255, 255, 255, 0.2)",
|
|
pressedNegativeAlpha: "rgba(222, 17, 53, 0.15)"
|
|
};
|
|
return {
|
|
...core,
|
|
...coreExtensions,
|
|
...tagTokens,
|
|
...hoveredAndPressedColors,
|
|
...deprecated
|
|
};
|
|
};
|
|
exports.default = _default;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-component-tokens.js
|
|
var require_color_component_tokens = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/color-component-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens());
|
|
var _tokens = require_tokens();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var defaultSemanticColors = (0, _colorSemanticTokens.default)();
|
|
var tagHoverBackground = `rgba(0, 0, 0, 0.08)`;
|
|
var _default = (semanticColors = defaultSemanticColors) => ({
|
|
// Banner
|
|
bannerActionLowInfo: _tokens.primitiveLightColors.blue100,
|
|
bannerActionLowNegative: _tokens.primitiveLightColors.red100,
|
|
bannerActionLowPositive: _tokens.primitiveLightColors.green100,
|
|
bannerActionLowWarning: _tokens.primitiveLightColors.yellow100,
|
|
bannerActionHighInfo: _tokens.primitiveLightColors.blue700,
|
|
bannerActionHighNegative: _tokens.primitiveLightColors.red700,
|
|
bannerActionHighPositive: _tokens.primitiveLightColors.green700,
|
|
bannerActionHighWarning: _tokens.primitiveLightColors.yellow200,
|
|
// BottomNavigation
|
|
bottomNavigationText: _tokens.primitiveLightColors.gray600,
|
|
bottomNavigationSelectedText: semanticColors.contentPrimary,
|
|
// Buttons
|
|
buttonPrimaryFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimaryText: semanticColors.contentInversePrimary,
|
|
buttonPrimaryHover: _tokens.primitiveLightColors.gray900,
|
|
buttonPrimaryActive: _tokens.primitiveLightColors.gray800,
|
|
buttonPrimaryHoverOverlay: semanticColors.hoverOverlayInverseAlpha,
|
|
buttonPrimaryActiveOverlay: semanticColors.pressedOverlayInverseAlpha,
|
|
buttonPrimarySelectedFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimarySelectedText: semanticColors.contentInversePrimary,
|
|
buttonPrimaryLoadingFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonPrimarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonSecondaryFill: semanticColors.backgroundSecondary,
|
|
buttonSecondaryText: semanticColors.contentPrimary,
|
|
buttonSecondaryHover: _tokens.primitiveLightColors.gray200,
|
|
buttonSecondaryActive: _tokens.primitiveLightColors.gray300,
|
|
buttonSecondaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonSecondaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonSecondarySelectedFill: semanticColors.backgroundInversePrimary,
|
|
buttonSecondarySelectedText: semanticColors.contentInversePrimary,
|
|
buttonSecondaryLoadingFill: semanticColors.backgroundSecondary,
|
|
buttonSecondarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonSecondarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonTertiaryFill: "transparent",
|
|
buttonTertiaryText: semanticColors.contentPrimary,
|
|
buttonTertiaryHover: _tokens.primitiveLightColors.gray50,
|
|
buttonTertiaryActive: _tokens.primitiveLightColors.gray100,
|
|
buttonTertiaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonTertiaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonTertiarySelectedFill: "transparent",
|
|
buttonTertiarySelectedText: semanticColors.contentPrimary,
|
|
buttonTertiaryLoadingFill: "transparent",
|
|
buttonTertiaryFocusFill: semanticColors.backgroundTertiary,
|
|
buttonTertiaryDisabledActiveFill: semanticColors.backgroundStateDisabled,
|
|
buttonTertiaryDisabledActiveText: semanticColors.contentStateDisabled,
|
|
buttonTertiarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonTertiarySpinnerBackground: semanticColors.backgroundTertiary,
|
|
buttonDangerPrimaryFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimaryText: semanticColors.contentOnColor,
|
|
buttonDangerPrimaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerPrimaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerPrimarySelectedFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimarySelectedText: semanticColors.contentOnColor,
|
|
buttonDangerPrimaryLoadingFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerPrimarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDangerSecondaryFill: semanticColors.backgroundSecondary,
|
|
buttonDangerSecondaryText: semanticColors.tagRedContentSecondary,
|
|
buttonDangerSecondaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerSecondaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerSecondarySelectedFill: semanticColors.backgroundNegative,
|
|
buttonDangerSecondarySelectedText: semanticColors.contentOnColor,
|
|
buttonDangerSecondaryLoadingFill: semanticColors.backgroundSecondary,
|
|
buttonDangerSecondarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerSecondarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDangerTertiaryFill: "transparent",
|
|
buttonDangerTertiaryText: semanticColors.tagRedContentSecondary,
|
|
buttonDangerTertiaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerTertiaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerTertiarySelectedFill: semanticColors.backgroundPrimary,
|
|
buttonDangerTertiarySelectedText: semanticColors.tagRedContentSecondary,
|
|
buttonDangerTertiaryLoadingFill: "transparent",
|
|
buttonDangerTertiarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerTertiarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonOutlineFill: "transparent",
|
|
buttonOutlineText: semanticColors.contentPrimary,
|
|
buttonOutlineHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonOutlineActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonOutlineSelectedFill: "transparent",
|
|
buttonOutlineSelectedText: semanticColors.contentPrimary,
|
|
buttonOutlineFocusFill: semanticColors.backgroundTertiary,
|
|
buttonOutlineLoadingFill: "transparent",
|
|
buttonOutlineSpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonOutlineSpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDisabledFill: semanticColors.backgroundStateDisabled,
|
|
buttonDisabledText: semanticColors.contentStateDisabled,
|
|
buttonDisabledActiveFill: semanticColors.backgroundStateDisabled,
|
|
buttonDisabledActiveText: semanticColors.contentStateDisabled,
|
|
buttonDisabledSpinnerForeground: semanticColors.contentStateDisabled,
|
|
buttonDisabledSpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonOuterBorder: semanticColors.borderSelected,
|
|
buttonOutlineOuterBorder: semanticColors.borderOpaque,
|
|
buttonDangerTertiaryOuterBorder: semanticColors.tagRedBorderSecondarySelected,
|
|
buttonInnerBorder: semanticColors.contentInversePrimary,
|
|
buttonTransparentBorder: "transparent",
|
|
buttonFocusOuterBorder: semanticColors.borderAccent,
|
|
// Breadcrumbs
|
|
breadcrumbsText: semanticColors.contentPrimary,
|
|
breadcrumbsSeparatorFill: semanticColors.contentTertiary,
|
|
// Datepicker
|
|
calendarBackground: semanticColors.backgroundPrimary,
|
|
calendarForeground: semanticColors.contentPrimary,
|
|
calendarForegroundDisabled: semanticColors.contentStateDisabled,
|
|
calendarHeaderBackground: semanticColors.backgroundPrimary,
|
|
calendarHeaderForeground: semanticColors.contentPrimary,
|
|
calendarHeaderBackgroundActive: semanticColors.backgroundInversePrimary,
|
|
calendarHeaderForegroundDisabled: semanticColors.contentStateDisabled,
|
|
calendarDayForegroundPseudoSelected: semanticColors.backgroundInversePrimary,
|
|
calendarDayBackgroundPseudoSelectedHighlighted: semanticColors.backgroundTertiary,
|
|
calendarDayForegroundPseudoSelectedHighlighted: semanticColors.contentPrimary,
|
|
calendarDayBackgroundSelected: semanticColors.backgroundInversePrimary,
|
|
calendarDayForegroundSelected: semanticColors.contentInversePrimary,
|
|
calendarDayBackgroundSelectedHighlighted: semanticColors.backgroundInversePrimary,
|
|
calendarDayForegroundSelectedHighlighted: semanticColors.contentInversePrimary,
|
|
// Combobox
|
|
comboboxListItemFocus: semanticColors.backgroundSecondary,
|
|
comboboxListItemHover: semanticColors.backgroundTertiary,
|
|
// FileUploader
|
|
fileUploaderBackgroundColor: semanticColors.backgroundSecondary,
|
|
fileUploaderBackgroundColorActive: semanticColors.backgroundPrimary,
|
|
fileUploaderBorderColorActive: semanticColors.borderSelected,
|
|
fileUploaderBorderColorDefault: semanticColors.borderOpaque,
|
|
fileUploaderMessageColor: semanticColors.contentPrimary,
|
|
// Links
|
|
linkText: semanticColors.contentPrimary,
|
|
linkVisited: _tokens.primitiveLightColors.gray600,
|
|
linkHover: _tokens.primitiveLightColors.gray800,
|
|
linkActive: _tokens.primitiveLightColors.gray700,
|
|
// List
|
|
listHeaderFill: semanticColors.backgroundPrimary,
|
|
listBodyFill: semanticColors.backgroundPrimary,
|
|
// ProgressSteps
|
|
progressStepsCompletedText: semanticColors.contentInversePrimary,
|
|
progressStepsCompletedFill: semanticColors.backgroundInversePrimary,
|
|
progressStepsActiveText: semanticColors.contentInversePrimary,
|
|
progressStepsActiveFill: semanticColors.backgroundInversePrimary,
|
|
// Toggle
|
|
toggleFill: semanticColors.backgroundPrimary,
|
|
toggleFillChecked: semanticColors.contentPrimary,
|
|
toggleFillDisabled: semanticColors.contentStateDisabled,
|
|
toggleTrackFill: semanticColors.backgroundTertiary,
|
|
toggleTrackFillDisabled: semanticColors.backgroundStateDisabled,
|
|
// Tick
|
|
tickFill: semanticColors.backgroundPrimary,
|
|
tickFillHover: _tokens.primitiveLightColors.gray50,
|
|
tickFillActive: _tokens.primitiveLightColors.gray100,
|
|
tickFillSelected: semanticColors.contentPrimary,
|
|
tickFillSelectedHover: _tokens.primitiveLightColors.gray900,
|
|
tickFillSelectedHoverActive: _tokens.primitiveLightColors.gray800,
|
|
tickFillError: semanticColors.backgroundPrimary,
|
|
tickFillErrorHover: _tokens.primitiveLightColors.gray50,
|
|
tickFillErrorHoverActive: _tokens.primitiveLightColors.gray100,
|
|
tickFillErrorSelected: semanticColors.contentNegative,
|
|
tickFillErrorSelectedHover: _tokens.primitiveLightColors.red700,
|
|
tickFillErrorSelectedHoverActive: _tokens.primitiveLightColors.red800,
|
|
tickFillDisabled: semanticColors.backgroundStateDisabled,
|
|
tickBorder: semanticColors.contentTertiary,
|
|
tickBorderError: semanticColors.borderNegative,
|
|
tickMarkFill: semanticColors.contentInversePrimary,
|
|
tickMarkFillError: semanticColors.contentOnColor,
|
|
tickMarkFillDisabled: semanticColors.contentInversePrimary,
|
|
// Slider/Toggle
|
|
sliderTrackFill: "transparent",
|
|
sliderHandleFill: semanticColors.contentPrimary,
|
|
sliderHandleFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFill: semanticColors.contentPrimary,
|
|
sliderTrackFillHover: _tokens.primitiveLightColors.gray200,
|
|
sliderTrackFillActive: _tokens.primitiveLightColors.gray300,
|
|
sliderTrackFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFillSelectedHover: _tokens.primitiveLightColors.gray900,
|
|
sliderHandleInnerFillSelectedActive: _tokens.primitiveLightColors.gray800,
|
|
// Inputs
|
|
inputBorder: semanticColors.borderOpaque,
|
|
inputFill: semanticColors.backgroundSecondary,
|
|
inputFillError: semanticColors.backgroundPrimary,
|
|
inputFillDisabled: semanticColors.backgroundStateDisabled,
|
|
inputFillActive: semanticColors.backgroundPrimary,
|
|
inputFillPositive: semanticColors.backgroundPrimary,
|
|
inputTextDisabled: semanticColors.contentStateDisabled,
|
|
inputBorderError: semanticColors.borderNegative,
|
|
inputBorderPositive: semanticColors.borderPositive,
|
|
inputEnhancerFill: semanticColors.contentPrimary,
|
|
inputEnhancerFillDisabled: semanticColors.contentStateDisabled,
|
|
inputEnhancerTextDisabled: semanticColors.contentStateDisabled,
|
|
inputPlaceholder: semanticColors.contentTertiary,
|
|
inputPlaceholderDisabled: semanticColors.contentStateDisabled,
|
|
// Menu
|
|
menuFill: semanticColors.backgroundPrimary,
|
|
menuFillHover: semanticColors.backgroundSecondary,
|
|
menuFontDefault: semanticColors.contentPrimary,
|
|
menuFontDisabled: semanticColors.contentStateDisabled,
|
|
menuFontHighlighted: semanticColors.contentPrimary,
|
|
menuFontSelected: semanticColors.contentPrimary,
|
|
// Modal
|
|
modalCloseColor: semanticColors.contentPrimary,
|
|
modalCloseColorHover: _tokens.primitiveLightColors.gray900,
|
|
modalCloseColorFocus: _tokens.primitiveLightColors.gray800,
|
|
// Tab
|
|
tabBarFill: semanticColors.backgroundPrimary,
|
|
tabColor: semanticColors.contentTertiary,
|
|
// Notification
|
|
notificationInfoBackground: semanticColors.backgroundAccentLight,
|
|
notificationInfoText: semanticColors.contentPrimary,
|
|
notificationPositiveBackground: semanticColors.backgroundPositiveLight,
|
|
notificationPositiveText: semanticColors.contentPrimary,
|
|
notificationWarningBackground: semanticColors.backgroundWarningLight,
|
|
notificationWarningText: semanticColors.contentPrimary,
|
|
notificationNegativeBackground: semanticColors.backgroundNegativeLight,
|
|
notificationNegativeText: semanticColors.contentPrimary,
|
|
// Tag
|
|
// Custom ramps
|
|
tagFontDisabledRampUnit: "200",
|
|
tagSolidFontRampUnit: "0",
|
|
tagSolidRampUnit: "400",
|
|
tagOutlinedFontRampUnit: "600",
|
|
tagOutlinedRampUnit: "600",
|
|
// Deprecated
|
|
tagSolidHoverRampUnit: "50",
|
|
tagSolidActiveRampUnit: "100",
|
|
tagSolidDisabledRampUnit: "50",
|
|
tagSolidFontHoverRampUnit: "700",
|
|
tagLightRampUnit: "50",
|
|
tagLightHoverRampUnit: "100",
|
|
tagLightActiveRampUnit: "200",
|
|
tagLightFontRampUnit: "600",
|
|
tagLightFontHoverRampUnit: "200",
|
|
tagOutlinedHoverRampUnit: "700",
|
|
tagOutlinedActiveRampUnit: "800",
|
|
tagOutlinedFontHoverRampUnit: "700",
|
|
// Neutral
|
|
tagNeutralFontDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagNeutralOutlinedDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagNeutralSolidFont: _tokens.primitiveLightColors.white,
|
|
tagNeutralSolidBackground: _tokens.primitiveLightColors.gray600,
|
|
tagNeutralOutlinedBackground: _tokens.primitiveLightColors.gray50,
|
|
tagNeutralOutlinedFont: _tokens.primitiveLightColors.gray700,
|
|
// Deprecated
|
|
tagNeutralSolidHover: _tokens.primitiveLightColors.gray900,
|
|
tagNeutralSolidActive: _tokens.primitiveLightColors.gray800,
|
|
tagNeutralSolidDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagNeutralSolidFontHover: _tokens.primitiveLightColors.gray700,
|
|
tagNeutralLightBackground: _tokens.primitiveLightColors.white,
|
|
tagNeutralLightHover: _tokens.primitiveLightColors.gray50,
|
|
tagNeutralLightActive: _tokens.primitiveLightColors.gray100,
|
|
tagNeutralLightDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagNeutralLightFont: _tokens.primitiveLightColors.gray600,
|
|
tagNeutralLightFontHover: _tokens.primitiveLightColors.gray700,
|
|
tagNeutralOutlinedActive: _tokens.primitiveLightColors.gray800,
|
|
tagNeutralOutlinedFontHover: _tokens.primitiveLightColors.gray700,
|
|
tagNeutralOutlinedHover: tagHoverBackground,
|
|
// Primary
|
|
tagPrimaryFontDisabled: _tokens.primitiveLightColors.gray300,
|
|
tagPrimaryOutlinedDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagPrimarySolidFont: _tokens.primitiveLightColors.white,
|
|
tagPrimarySolidBackground: _tokens.primitiveLightColors.gray600,
|
|
tagPrimaryOutlinedFontHover: _tokens.primitiveLightColors.gray900,
|
|
tagPrimaryOutlinedFont: _tokens.primitiveLightColors.gray700,
|
|
// Deprecated
|
|
tagPrimarySolidHover: _tokens.primitiveLightColors.gray900,
|
|
tagPrimarySolidActive: _tokens.primitiveLightColors.gray900,
|
|
tagPrimarySolidDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagPrimarySolidFontHover: _tokens.primitiveLightColors.gray900,
|
|
tagPrimaryLightBackground: _tokens.primitiveLightColors.white,
|
|
tagPrimaryLightHover: _tokens.primitiveLightColors.gray50,
|
|
tagPrimaryLightActive: _tokens.primitiveLightColors.gray100,
|
|
tagPrimaryLightDisabled: _tokens.primitiveLightColors.gray200,
|
|
tagPrimaryLightFont: _tokens.primitiveLightColors.black,
|
|
tagPrimaryLightFontHover: _tokens.primitiveLightColors.gray900,
|
|
tagPrimaryOutlinedActive: _tokens.primitiveLightColors.gray900,
|
|
tagPrimaryOutlinedHover: tagHoverBackground,
|
|
tagPrimaryOutlinedBackground: _tokens.primitiveLightColors.gray50,
|
|
// Accent
|
|
tagAccentFontDisabled: _tokens.primitiveLightColors.blue300,
|
|
tagAccentOutlinedDisabled: _tokens.primitiveLightColors.blue200,
|
|
tagAccentSolidFont: _tokens.primitiveLightColors.white,
|
|
tagAccentSolidBackground: _tokens.primitiveLightColors.blue600,
|
|
tagAccentOutlinedBackground: _tokens.primitiveLightColors.blue50,
|
|
tagAccentOutlinedFont: _tokens.primitiveLightColors.blue700,
|
|
// Deprecated
|
|
tagAccentSolidHover: _tokens.primitiveLightColors.blue50,
|
|
tagAccentSolidActive: _tokens.primitiveLightColors.blue100,
|
|
tagAccentSolidDisabled: _tokens.primitiveLightColors.blue50,
|
|
tagAccentSolidFontHover: _tokens.primitiveLightColors.blue500,
|
|
tagAccentLightBackground: _tokens.primitiveLightColors.blue50,
|
|
tagAccentLightHover: _tokens.primitiveLightColors.blue100,
|
|
tagAccentLightActive: _tokens.primitiveLightColors.blue200,
|
|
tagAccentLightDisabled: _tokens.primitiveLightColors.blue50,
|
|
tagAccentLightFont: _tokens.primitiveLightColors.blue600,
|
|
tagAccentLightFontHover: _tokens.primitiveLightColors.blue700,
|
|
tagAccentOutlinedActive: _tokens.primitiveLightColors.blue800,
|
|
tagAccentOutlinedFontHover: _tokens.primitiveLightColors.blue700,
|
|
tagAccentOutlinedHover: tagHoverBackground,
|
|
// Positive
|
|
tagPositiveFontDisabled: _tokens.primitiveLightColors.green300,
|
|
tagPositiveOutlinedDisabled: _tokens.primitiveLightColors.green200,
|
|
tagPositiveSolidFont: _tokens.primitiveLightColors.white,
|
|
tagPositiveSolidBackground: _tokens.primitiveLightColors.green600,
|
|
tagPositiveOutlinedBackground: _tokens.primitiveLightColors.green50,
|
|
tagPositiveOutlinedFont: _tokens.primitiveLightColors.green700,
|
|
// Deprecated
|
|
tagPositiveSolidHover: _tokens.primitiveLightColors.green50,
|
|
tagPositiveSolidActive: _tokens.primitiveLightColors.green100,
|
|
tagPositiveSolidDisabled: _tokens.primitiveLightColors.green50,
|
|
tagPositiveSolidFontHover: _tokens.primitiveLightColors.green500,
|
|
tagPositiveLightBackground: _tokens.primitiveLightColors.green50,
|
|
tagPositiveLightHover: _tokens.primitiveLightColors.green100,
|
|
tagPositiveLightActive: _tokens.primitiveLightColors.green200,
|
|
tagPositiveLightDisabled: _tokens.primitiveLightColors.green50,
|
|
tagPositiveLightFont: _tokens.primitiveLightColors.green600,
|
|
tagPositiveLightFontHover: _tokens.primitiveLightColors.green700,
|
|
tagPositiveOutlinedActive: _tokens.primitiveLightColors.green800,
|
|
tagPositiveOutlinedFontHover: _tokens.primitiveLightColors.green700,
|
|
tagPositiveOutlinedHover: tagHoverBackground,
|
|
// Warning
|
|
tagWarningFontDisabled: _tokens.primitiveLightColors.yellow200,
|
|
tagWarningOutlinedDisabled: _tokens.primitiveLightColors.yellow200,
|
|
tagWarningSolidFont: _tokens.primitiveLightColors.yellow900,
|
|
tagWarningSolidBackground: _tokens.primitiveLightColors.yellow300,
|
|
tagWarningOutlinedBackground: _tokens.primitiveLightColors.yellow50,
|
|
tagWarningOutlinedFont: _tokens.primitiveLightColors.yellow700,
|
|
// Deprecated
|
|
tagWarningSolidHover: _tokens.primitiveLightColors.yellow50,
|
|
tagWarningSolidActive: _tokens.primitiveLightColors.yellow100,
|
|
tagWarningSolidDisabled: _tokens.primitiveLightColors.yellow50,
|
|
tagWarningSolidFontHover: _tokens.primitiveLightColors.yellow500,
|
|
tagWarningLightBackground: _tokens.primitiveLightColors.yellow50,
|
|
tagWarningLightHover: _tokens.primitiveLightColors.yellow100,
|
|
tagWarningLightActive: _tokens.primitiveLightColors.yellow200,
|
|
tagWarningLightDisabled: _tokens.primitiveLightColors.yellow50,
|
|
tagWarningLightFont: _tokens.primitiveLightColors.yellow600,
|
|
tagWarningLightFontHover: _tokens.primitiveLightColors.yellow700,
|
|
tagWarningOutlinedActive: _tokens.primitiveLightColors.yellow800,
|
|
tagWarningOutlinedFontHover: _tokens.primitiveLightColors.yellow700,
|
|
tagWarningOutlinedHover: tagHoverBackground,
|
|
// Negative
|
|
tagNegativeFontDisabled: _tokens.primitiveLightColors.red300,
|
|
tagNegativeOutlinedDisabled: _tokens.primitiveLightColors.red200,
|
|
tagNegativeSolidFont: _tokens.primitiveLightColors.white,
|
|
tagNegativeSolidBackground: _tokens.primitiveLightColors.red600,
|
|
tagNegativeOutlinedBackground: _tokens.primitiveLightColors.red50,
|
|
tagNegativeOutlinedFont: _tokens.primitiveLightColors.red700,
|
|
// Deprecated
|
|
tagNegativeSolidHover: _tokens.primitiveLightColors.red50,
|
|
tagNegativeSolidActive: _tokens.primitiveLightColors.red100,
|
|
tagNegativeSolidDisabled: _tokens.primitiveLightColors.red50,
|
|
tagNegativeSolidFontHover: _tokens.primitiveLightColors.red500,
|
|
tagNegativeLightBackground: _tokens.primitiveLightColors.red50,
|
|
tagNegativeLightHover: _tokens.primitiveLightColors.red100,
|
|
tagNegativeLightActive: _tokens.primitiveLightColors.red200,
|
|
tagNegativeLightDisabled: _tokens.primitiveLightColors.red50,
|
|
tagNegativeLightFont: _tokens.primitiveLightColors.red600,
|
|
tagNegativeLightFontHover: _tokens.primitiveLightColors.red700,
|
|
tagNegativeOutlinedActive: _tokens.primitiveLightColors.red800,
|
|
tagNegativeOutlinedFontHover: _tokens.primitiveLightColors.red700,
|
|
tagNegativeOutlinedHover: tagHoverBackground,
|
|
// Table
|
|
tableHeadBackgroundColor: semanticColors.backgroundPrimary,
|
|
tableBackground: semanticColors.backgroundPrimary,
|
|
tableStripedBackground: semanticColors.backgroundSecondary,
|
|
tableFilter: semanticColors.contentTertiary,
|
|
tableFilterHeading: semanticColors.contentPrimary,
|
|
tableFilterBackground: semanticColors.backgroundPrimary,
|
|
tableFilterFooterBackground: semanticColors.backgroundSecondary,
|
|
// Toast
|
|
toastText: semanticColors.contentOnColor,
|
|
toastPrimaryText: semanticColors.contentOnColor,
|
|
toastInfoBackground: semanticColors.backgroundAccent,
|
|
toastInfoText: semanticColors.contentOnColor,
|
|
toastPositiveBackground: semanticColors.backgroundPositive,
|
|
toastPositiveText: semanticColors.contentOnColor,
|
|
toastWarningBackground: semanticColors.backgroundWarning,
|
|
toastWarningText: semanticColors.contentOnColorInverse,
|
|
toastNegativeBackground: semanticColors.backgroundNegative,
|
|
toastNegativeText: semanticColors.contentOnColor,
|
|
// Spinner
|
|
spinnerTrackFill: semanticColors.backgroundTertiary,
|
|
// Progress bar
|
|
progressbarTrackFill: semanticColors.backgroundTertiary,
|
|
// Tooltip
|
|
tooltipBackground: semanticColors.backgroundInverseSecondary,
|
|
tooltipText: semanticColors.contentInversePrimary,
|
|
// Rating
|
|
ratingInactiveFill: semanticColors.backgroundPrimary,
|
|
ratingStroke: semanticColors.contentPrimary
|
|
});
|
|
exports.default = _default;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/borders.js
|
|
var require_borders = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/borders.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var borders = {
|
|
border100: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.04)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
border200: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.08)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
border300: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.12)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
border400: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.16)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
border500: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.2)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
border600: {
|
|
borderColor: "hsla(0, 0%, 0%, 0.24)",
|
|
borderStyle: "solid",
|
|
borderWidth: "1px"
|
|
},
|
|
radius100: "2px",
|
|
radius200: "4px",
|
|
radius300: "8px",
|
|
radius400: "12px",
|
|
radius500: "16px",
|
|
/** Datepicker (Range), Progress Bar, Slider, Tag */
|
|
useRoundedCorners: true,
|
|
/** Button, ButtonGroup */
|
|
buttonBorderRadiusMini: "4px",
|
|
buttonBorderRadius: "8px",
|
|
/** Checkbox */
|
|
checkboxBorderRadius: "0px",
|
|
/** Input, Select, Textarea */
|
|
inputBorderRadiusMini: "4px",
|
|
inputBorderRadius: "8px",
|
|
/** Popover, Menu, Tooltip */
|
|
popoverBorderRadius: "8px",
|
|
/** Card, Datepicker, Modal, Toast, Notification */
|
|
surfaceBorderRadius: "0px",
|
|
/** Tag */
|
|
tagBorderRadius: "24px"
|
|
};
|
|
var _default = exports.default = borders;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/lighting.js
|
|
var require_lighting = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/lighting.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var lighting = {
|
|
shadow400: "0 1px 4px hsla(0, 0%, 0%, 0.16)",
|
|
shadow500: "0 2px 8px hsla(0, 0%, 0%, 0.16)",
|
|
shadow600: "0 4px 16px hsla(0, 0%, 0%, 0.16)",
|
|
shadow700: "0 8px 24px hsla(0, 0%, 0%, 0.16)",
|
|
overlay0: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0)",
|
|
overlay100: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.04)",
|
|
overlay200: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.08)",
|
|
overlay300: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)",
|
|
overlay400: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)",
|
|
overlay500: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)",
|
|
overlay600: "inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)",
|
|
shallowAbove: "0px -4px 16px rgba(0, 0, 0, 0.12)",
|
|
shallowBelow: "0px 4px 16px rgba(0, 0, 0, 0.12)",
|
|
deepAbove: "0px -16px 48px rgba(0, 0, 0, 0.22)",
|
|
deepBelow: "0px 16px 48px rgba(0, 0, 0, 0.22)"
|
|
};
|
|
var _default = exports.default = lighting;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/typography.js
|
|
var require_typography = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/typography.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.fontTokens = exports.default = void 0;
|
|
var fontTokens = exports.fontTokens = {
|
|
primaryFontFamily: 'UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
secondaryFontFamily: 'UberMove, UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
monoFontFamily: 'UberMoveMono, "Lucida Console", Monaco, monospace'
|
|
};
|
|
var font100 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "12px",
|
|
fontWeight: "normal",
|
|
lineHeight: "20px"
|
|
};
|
|
var font150 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "12px",
|
|
fontWeight: 500,
|
|
lineHeight: "16px"
|
|
};
|
|
var font200 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "14px",
|
|
fontWeight: "normal",
|
|
lineHeight: "20px"
|
|
};
|
|
var font250 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "14px",
|
|
fontWeight: 500,
|
|
lineHeight: "16px"
|
|
};
|
|
var font300 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "16px",
|
|
fontWeight: "normal",
|
|
lineHeight: "24px"
|
|
};
|
|
var font350 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "16px",
|
|
fontWeight: 500,
|
|
lineHeight: "20px"
|
|
};
|
|
var font400 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "18px",
|
|
fontWeight: "normal",
|
|
lineHeight: "28px"
|
|
};
|
|
var font450 = {
|
|
fontFamily: fontTokens.primaryFontFamily,
|
|
fontSize: "18px",
|
|
fontWeight: 500,
|
|
lineHeight: "24px"
|
|
};
|
|
var font550 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "20px",
|
|
fontWeight: 700,
|
|
lineHeight: "28px"
|
|
};
|
|
var font650 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "24px",
|
|
fontWeight: 700,
|
|
lineHeight: "32px"
|
|
};
|
|
var font750 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "28px",
|
|
fontWeight: 700,
|
|
lineHeight: "36px"
|
|
};
|
|
var font850 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "32px",
|
|
fontWeight: 700,
|
|
lineHeight: "40px"
|
|
};
|
|
var font950 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "36px",
|
|
fontWeight: 700,
|
|
lineHeight: "44px"
|
|
};
|
|
var font1050 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "40px",
|
|
fontWeight: 700,
|
|
lineHeight: "52px"
|
|
};
|
|
var font1150 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "36px",
|
|
fontWeight: 700,
|
|
lineHeight: "44px"
|
|
};
|
|
var font1250 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "44px",
|
|
fontWeight: 700,
|
|
lineHeight: "52px"
|
|
};
|
|
var font1350 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "52px",
|
|
fontWeight: 700,
|
|
lineHeight: "64px"
|
|
};
|
|
var font1450 = {
|
|
fontFamily: fontTokens.secondaryFontFamily,
|
|
fontSize: "96px",
|
|
fontWeight: 700,
|
|
lineHeight: "112px"
|
|
};
|
|
var typography = {
|
|
font100,
|
|
font150,
|
|
font200,
|
|
font250,
|
|
font300,
|
|
font350,
|
|
font400,
|
|
font450,
|
|
font550,
|
|
font650,
|
|
font750,
|
|
font850,
|
|
font950,
|
|
font1050,
|
|
font1150,
|
|
font1250,
|
|
font1350,
|
|
font1450,
|
|
ParagraphXSmall: font100,
|
|
ParagraphSmall: font200,
|
|
ParagraphMedium: font300,
|
|
ParagraphLarge: font400,
|
|
LabelXSmall: font150,
|
|
LabelSmall: font250,
|
|
LabelMedium: font350,
|
|
LabelLarge: font450,
|
|
HeadingXSmall: font550,
|
|
HeadingSmall: font650,
|
|
HeadingMedium: font750,
|
|
HeadingLarge: font850,
|
|
HeadingXLarge: font950,
|
|
HeadingXXLarge: font1050,
|
|
DisplayXSmall: font1150,
|
|
DisplaySmall: font1250,
|
|
DisplayMedium: font1350,
|
|
DisplayLarge: font1450,
|
|
MonoParagraphXSmall: {
|
|
...font100,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoParagraphSmall: {
|
|
...font200,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoParagraphMedium: {
|
|
...font300,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoParagraphLarge: {
|
|
...font400,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoLabelXSmall: {
|
|
...font150,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoLabelSmall: {
|
|
...font250,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoLabelMedium: {
|
|
...font350,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoLabelLarge: {
|
|
...font450,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingXSmall: {
|
|
...font550,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingSmall: {
|
|
...font650,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingMedium: {
|
|
...font750,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingLarge: {
|
|
...font850,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingXLarge: {
|
|
...font950,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoHeadingXXLarge: {
|
|
...font1050,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoDisplayXSmall: {
|
|
...font1150,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoDisplaySmall: {
|
|
...font1250,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoDisplayMedium: {
|
|
...font1350,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
},
|
|
MonoDisplayLarge: {
|
|
...font1450,
|
|
fontFamily: fontTokens.monoFontFamily
|
|
}
|
|
};
|
|
var _default = exports.default = typography;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/animation.js
|
|
var require_animation = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/animation.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var animation = {
|
|
timing0: "0",
|
|
timing100: "100ms",
|
|
timing150: "150ms",
|
|
timing200: "200ms",
|
|
timing250: "250ms",
|
|
timing300: "300ms",
|
|
timing400: "400ms",
|
|
timing500: "500ms",
|
|
timing600: "600ms",
|
|
timing700: "700ms",
|
|
timing800: "800ms",
|
|
timing900: "900ms",
|
|
timing1000: "1000ms",
|
|
timing1500: "1500ms",
|
|
timing3000: "3000ms",
|
|
timing5000: "5000ms",
|
|
timing7000: "7000ms",
|
|
// Moves at constant speed. Commonly used for opacity and color changes.
|
|
easeLinear: "cubic-bezier(0, 0, 1, 1)",
|
|
linearCurve: "cubic-bezier(0, 0, 1, 1)",
|
|
// use easeLinear
|
|
// Motion starts at top speed and comes to a very gradual stop.
|
|
// Commonly used for entering elements.
|
|
easeDecelerate: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
easeOutQuinticCurve: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
// use easeDecelerate
|
|
easeOutCurve: "cubic-bezier(.2, .8, .4, 1)",
|
|
// Motion begins very gradually and ends at top speed.
|
|
// Commonly used for exiting elements.
|
|
easeAccelerate: "cubic-bezier(0.64, 0, 0.78, 0)",
|
|
easeInQuinticCurve: "cubic-bezier(0.64, 0, 0.78, 0)",
|
|
// use easeAccelerate
|
|
easeInCurve: "cubic-bezier(.8, .2, .6, 1)",
|
|
// Motion begins and ends very gradually with high velocity movement
|
|
// in the middle.A good default for most motion.
|
|
easeAccelerateDecelerate: "cubic-bezier(0.83, 0, 0.17, 1)",
|
|
easeInOutQuinticCurve: "cubic-bezier(0.86, 0, 0.07, 1)",
|
|
// use easeAccelerateDecelerate
|
|
easeInOutCurve: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
// Motion begins naturally and speeds up slightly. Good for feeling
|
|
// of responsiveness when paired with short durations.
|
|
easeResponsiveAccelerate: "cubic-bezier(0.11, 0, 0.5, 0)"
|
|
};
|
|
var _default = exports.default = animation;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/breakpoints.js
|
|
var require_breakpoints = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/breakpoints.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var breakpoints = {
|
|
small: 320,
|
|
medium: 600,
|
|
large: 1136
|
|
};
|
|
var _default = exports.default = breakpoints;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/grid.js
|
|
var require_grid = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/grid.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var grid = {
|
|
columns: [4, 8, 12],
|
|
gutters: [16, 36, 36],
|
|
margins: [16, 36, 64],
|
|
gaps: 0,
|
|
unit: "px",
|
|
maxWidth: 1280
|
|
};
|
|
var _default = exports.default = grid;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/responsive-helpers.js
|
|
var require_responsive_helpers = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/responsive-helpers.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.getMinimumPageMargins = exports.getMediaQueryPageMargins = exports.getMediaQuery = exports.getMediaQueries = void 0;
|
|
var getMediaQuery = (breakpoint) => `@media screen and (min-width: ${breakpoint}px)`;
|
|
exports.getMediaQuery = getMediaQuery;
|
|
var getMediaQueries = (breakpoints) => Object.keys(breakpoints).map((key) => breakpoints[key]).sort((a, b) => a - b).map(getMediaQuery);
|
|
exports.getMediaQueries = getMediaQueries;
|
|
var getMinimumPageMargins = (margins) => {
|
|
const margin = Array.isArray(margins) ? margins[0] : margins;
|
|
return {
|
|
paddingInlineStart: `${margin}px`,
|
|
paddingInlineEnd: `${margin}px`
|
|
};
|
|
};
|
|
exports.getMinimumPageMargins = getMinimumPageMargins;
|
|
var getMediaQueryPageMargins = (theme) => {
|
|
const result = {};
|
|
const mediaQueries = getMediaQueries(theme.breakpoints);
|
|
for (const [index, query] of mediaQueries.entries()) {
|
|
const margin = Array.isArray(theme.grid.margins) ? theme.grid.margins[index] ?? theme.grid.margins.at(-1) : theme.grid.margins;
|
|
result[query] = {
|
|
paddingInlineStart: `${margin}px`,
|
|
paddingInlineEnd: `${margin}px`
|
|
};
|
|
}
|
|
return result;
|
|
};
|
|
exports.getMediaQueryPageMargins = getMediaQueryPageMargins;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/media-query.js
|
|
var require_media_query = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/media-query.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _responsiveHelpers = require_responsive_helpers();
|
|
var _breakpoints = _interopRequireDefault(require_breakpoints());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var mediaQuery = {
|
|
small: (0, _responsiveHelpers.getMediaQuery)(_breakpoints.default.small),
|
|
medium: (0, _responsiveHelpers.getMediaQuery)(_breakpoints.default.medium),
|
|
large: (0, _responsiveHelpers.getMediaQuery)(_breakpoints.default.large)
|
|
};
|
|
var _default = exports.default = mediaQuery;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/sizing.js
|
|
var require_sizing = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/shared/sizing.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var sizing = {
|
|
scale0: "2px",
|
|
scale100: "4px",
|
|
scale200: "6px",
|
|
scale300: "8px",
|
|
scale400: "10px",
|
|
scale500: "12px",
|
|
scale550: "14px",
|
|
scale600: "16px",
|
|
scale650: "18px",
|
|
scale700: "20px",
|
|
scale750: "22px",
|
|
scale800: "24px",
|
|
scale850: "28px",
|
|
scale900: "32px",
|
|
scale950: "36px",
|
|
scale1000: "40px",
|
|
scale1200: "48px",
|
|
scale1400: "56px",
|
|
scale1600: "64px",
|
|
scale2400: "96px",
|
|
scale3200: "128px",
|
|
scale4800: "192px"
|
|
};
|
|
var _default = exports.default = sizing;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/light-theme.js
|
|
var require_light_theme = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/light-theme.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.LightTheme = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens());
|
|
var _colorPrimitiveTokens = _interopRequireDefault(require_color_primitive_tokens());
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens());
|
|
var _colorComponentTokens = _interopRequireDefault(require_color_component_tokens());
|
|
var _borders = _interopRequireDefault(require_borders());
|
|
var _lighting = _interopRequireDefault(require_lighting());
|
|
var _typography = _interopRequireDefault(require_typography());
|
|
var _animation = _interopRequireDefault(require_animation());
|
|
var _breakpoints = _interopRequireDefault(require_breakpoints());
|
|
var _grid = _interopRequireDefault(require_grid());
|
|
var _mediaQuery = _interopRequireDefault(require_media_query());
|
|
var _sizing = _interopRequireDefault(require_sizing());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var LightTheme = exports.LightTheme = {
|
|
name: "light-theme",
|
|
colors: {
|
|
..._colorFoundationTokens.default,
|
|
..._colorPrimitiveTokens.default,
|
|
...(0, _colorComponentTokens.default)(),
|
|
...(0, _colorSemanticTokens.default)()
|
|
},
|
|
animation: _animation.default,
|
|
breakpoints: _breakpoints.default,
|
|
borders: _borders.default,
|
|
direction: "auto",
|
|
grid: _grid.default,
|
|
lighting: _lighting.default,
|
|
mediaQuery: _mediaQuery.default,
|
|
sizing: _sizing.default,
|
|
typography: _typography.default,
|
|
// TODO(#2318) Remove it in the next v11 major version.
|
|
// Do not use.
|
|
zIndex: {
|
|
modal: 2e3
|
|
}
|
|
};
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/utils/deep-merge.js
|
|
var require_deep_merge = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/utils/deep-merge.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = deepMerge;
|
|
function deepMerge(target, ...sources) {
|
|
target = target || {};
|
|
const len = sources.length;
|
|
let obj;
|
|
let value;
|
|
for (let i = 0; i < len; i++) {
|
|
obj = sources[i] || {};
|
|
for (let key in obj) {
|
|
if (typeof obj[key] !== void 0) {
|
|
value = obj[key];
|
|
if (isCloneable(value)) {
|
|
target[key] = deepMerge(
|
|
/* eslint-disable-next-line no-mixed-operators */
|
|
// @ts-ignore
|
|
target[key] || Array.isArray(value) && [] || {},
|
|
value
|
|
);
|
|
} else {
|
|
target[key] = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return target;
|
|
}
|
|
function isCloneable(obj) {
|
|
return Array.isArray(obj) || {}.toString.call(obj) == "[object Object]";
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/move-theme/light-theme-with-move.js
|
|
var require_light_theme_with_move = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/move-theme/light-theme-with-move.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.LightThemeMove = void 0;
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
var _lightTheme = require_light_theme();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var LightThemeMove = exports.LightThemeMove = (0, _deepMerge.default)({}, _lightTheme.LightTheme, {
|
|
name: "light-theme-with-move"
|
|
});
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-foundation-tokens.js
|
|
var require_color_foundation_tokens2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-foundation-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.foundationColors = exports.default = void 0;
|
|
var _tokens = require_tokens();
|
|
var foundationColors = exports.foundationColors = {
|
|
// Primary Palette
|
|
primaryA: _tokens.primitiveDarkColors.gray900Dark,
|
|
primaryB: _tokens.primitiveDarkColors.gray50Dark,
|
|
primary: "#FFFFFF",
|
|
primary50: "#F6F6F6",
|
|
primary100: "#EEEEEE",
|
|
primary200: "#E2E2E2",
|
|
primary300: "#CBCBCB",
|
|
primary400: "#AFAFAF",
|
|
primary500: "#6B6B6B",
|
|
primary600: "#545454",
|
|
primary700: "#333333",
|
|
// Accent Palette
|
|
accent: _tokens.primitiveDarkColors.blue400Dark,
|
|
accent50: "#EFF3FE",
|
|
accent100: "#D4E2FC",
|
|
accent200: "#A0BFF8",
|
|
accent300: "#5B91F5",
|
|
accent400: "#276EF1",
|
|
accent500: "#1E54B7",
|
|
accent600: "#174291",
|
|
accent700: "#102C60",
|
|
// Negative Palette
|
|
negative: _tokens.primitiveDarkColors.red400Dark,
|
|
negative50: "#FFEFED",
|
|
negative100: "#FED7D2",
|
|
negative200: "#F1998E",
|
|
negative300: "#E85C4A",
|
|
negative400: "#E11900",
|
|
negative500: "#AB1300",
|
|
negative600: "#870F00",
|
|
negative700: "#5A0A00",
|
|
// Warning Palette
|
|
warning: _tokens.primitiveDarkColors.yellow400Dark,
|
|
warning50: "#FFFAF0",
|
|
warning100: "#FFF2D9",
|
|
warning200: "#FFE3AC",
|
|
warning300: "#FFCF70",
|
|
warning400: "#FFC043",
|
|
warning500: "#BC8B2C",
|
|
warning600: "#996F00",
|
|
warning700: "#674D1B",
|
|
// Positive Palette
|
|
positive: _tokens.primitiveDarkColors.green400Dark,
|
|
positive50: "#E6F2ED",
|
|
positive100: "#ADDEC9",
|
|
positive200: "#66D19E",
|
|
positive300: "#06C167",
|
|
positive400: "#048848",
|
|
positive500: "#03703C",
|
|
positive600: "#03582F",
|
|
positive700: "#10462D",
|
|
// Monochrome Palette
|
|
white: "#FFFFFF",
|
|
black: "#000000",
|
|
mono100: "#CBCBCB",
|
|
mono200: "#AFAFAF",
|
|
mono300: "#6B6B6B",
|
|
mono400: "#545454",
|
|
mono500: "#333333",
|
|
// mono600 and mono900 are not in official brand tokens atm
|
|
mono600: "#292929",
|
|
mono700: "#1F1F1F",
|
|
mono800: "#141414",
|
|
mono900: "#111111",
|
|
mono1000: "#000000"
|
|
};
|
|
var _default = exports.default = foundationColors;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-semantic-tokens.js
|
|
var require_color_semantic_tokens2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-semantic-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens2());
|
|
var _util = require_util();
|
|
var _colorPrimitiveTokens = require_color_primitive_tokens();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var _default = (foundation = _colorFoundationTokens.default) => {
|
|
const core = {
|
|
// Background
|
|
backgroundPrimary: foundation.primaryB,
|
|
backgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
backgroundTertiary: _colorPrimitiveTokens.primitiveDarkColors.gray200Dark,
|
|
backgroundInversePrimary: _colorPrimitiveTokens.primitiveDarkColors.gray800Dark,
|
|
backgroundInverseSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray700Dark,
|
|
// Content
|
|
contentPrimary: foundation.primaryA,
|
|
contentSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray800Dark,
|
|
contentTertiary: _colorPrimitiveTokens.primitiveDarkColors.gray700Dark,
|
|
contentInversePrimary: _colorPrimitiveTokens.primitiveDarkColors.black,
|
|
contentInverseSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray200Dark,
|
|
contentInverseTertiary: _colorPrimitiveTokens.primitiveDarkColors.gray300Dark,
|
|
// Border
|
|
borderOpaque: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
borderTransparent: (0, _util.hexToRgb)(foundation.primaryA, "0.08") || "",
|
|
borderSelected: foundation.primaryA,
|
|
borderInverseOpaque: _colorPrimitiveTokens.primitiveDarkColors.gray300Dark,
|
|
borderInverseTransparent: (0, _util.hexToRgb)(foundation.primaryB, "0.2") || "",
|
|
borderInverseSelected: foundation.primaryB,
|
|
// Brand Default
|
|
brandBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.brandDefault500Dark,
|
|
brandBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.brandDefault100Dark,
|
|
brandBackgroundTertiary: _colorPrimitiveTokens.primitiveDarkColors.white,
|
|
brandBackgroundDisabled: _colorPrimitiveTokens.primitiveDarkColors.brandDefault100Dark,
|
|
brandContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.brandDefault600Dark,
|
|
brandContentOnPrimary: _colorPrimitiveTokens.primitiveDarkColors.white,
|
|
brandContentOnSecondary: _colorPrimitiveTokens.primitiveDarkColors.brandDefault700Dark,
|
|
brandContentOnTertiary: _colorPrimitiveTokens.primitiveDarkColors.black,
|
|
brandContentOnGradient: _colorPrimitiveTokens.primitiveDarkColors.white,
|
|
brandContentDisabled: _colorPrimitiveTokens.primitiveDarkColors.brandDefault400Dark,
|
|
brandBorderAccessible: _colorPrimitiveTokens.primitiveDarkColors.brandDefault600Dark,
|
|
brandBorderSubtle: _colorPrimitiveTokens.primitiveDarkColors.brandDefault400Dark
|
|
};
|
|
const coreExtensions = {
|
|
// Backgrounds
|
|
backgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
backgroundOverlay: (0, _util.hexToRgb)(_colorPrimitiveTokens.primitiveDarkColors.black, "0.7") || "",
|
|
backgroundOverlayArt: (0, _util.hexToRgb)(_colorPrimitiveTokens.primitiveDarkColors.black, "0.16") || "",
|
|
backgroundAccent: foundation.accent,
|
|
backgroundNegative: foundation.negative,
|
|
backgroundWarning: foundation.warning,
|
|
backgroundPositive: foundation.positive,
|
|
backgroundAccentLight: _colorPrimitiveTokens.primitiveDarkColors.blue100Dark,
|
|
backgroundPositiveLight: _colorPrimitiveTokens.primitiveDarkColors.green100Dark,
|
|
backgroundNegativeLight: _colorPrimitiveTokens.primitiveDarkColors.red100Dark,
|
|
backgroundWarningLight: _colorPrimitiveTokens.primitiveDarkColors.yellow100Dark,
|
|
backgroundAlwaysDark: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
backgroundAlwaysLight: _colorPrimitiveTokens.primitiveDarkColors.gray900Dark,
|
|
// Content
|
|
contentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.gray400Dark,
|
|
contentAccent: _colorPrimitiveTokens.primitiveDarkColors.blue600Dark,
|
|
contentOnColor: _colorPrimitiveTokens.primitiveDarkColors.gray900Dark,
|
|
contentOnColorInverse: _colorPrimitiveTokens.primitiveDarkColors.black,
|
|
contentNegative: _colorPrimitiveTokens.primitiveDarkColors.red600Dark,
|
|
contentWarning: _colorPrimitiveTokens.primitiveDarkColors.yellow600Dark,
|
|
contentPositive: _colorPrimitiveTokens.primitiveDarkColors.green600Dark,
|
|
tagRedContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.red700Dark,
|
|
// Border
|
|
borderStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
borderAccent: _colorPrimitiveTokens.primitiveDarkColors.blue500Dark,
|
|
borderAccentLight: _colorPrimitiveTokens.primitiveDarkColors.blue400Dark,
|
|
borderNegative: _colorPrimitiveTokens.primitiveDarkColors.red500Dark,
|
|
borderNegativeLight: _colorPrimitiveTokens.primitiveDarkColors.red400Dark,
|
|
borderWarning: _colorPrimitiveTokens.primitiveDarkColors.yellow500Dark,
|
|
borderWarningLight: _colorPrimitiveTokens.primitiveDarkColors.yellow400Dark,
|
|
borderPositive: _colorPrimitiveTokens.primitiveDarkColors.green500Dark,
|
|
borderPositiveLight: _colorPrimitiveTokens.primitiveDarkColors.green400Dark,
|
|
tagRedBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.red800Dark,
|
|
// Programs
|
|
safety: _colorPrimitiveTokens.primitiveLightColors.blue600,
|
|
eatsGreen400: _colorPrimitiveTokens.primitiveLightColors.green600,
|
|
freightBlue400: _colorPrimitiveTokens.primitiveLightColors.cobalt400,
|
|
rewardsTier1: _colorPrimitiveTokens.primitiveLightColors.blue600,
|
|
rewardsTier2: _colorPrimitiveTokens.primitiveLightColors.yellow300,
|
|
rewardsTier3: _colorPrimitiveTokens.primitiveLightColors.platinum400,
|
|
rewardsTier4: _colorPrimitiveTokens.primitiveLightColors.black,
|
|
membership: _colorPrimitiveTokens.primitiveLightColors.yellow600
|
|
};
|
|
const deprecated = {
|
|
jumpRed400: _colorPrimitiveTokens.primitiveLightColors.red600,
|
|
backgroundOverlayLight: coreExtensions.backgroundOverlay,
|
|
backgroundOverlayDark: coreExtensions.backgroundOverlay,
|
|
backgroundLightAccent: coreExtensions.backgroundAccentLight,
|
|
backgroundLightPositive: coreExtensions.backgroundPositiveLight,
|
|
backgroundLightWarning: coreExtensions.backgroundWarningLight,
|
|
backgroundLightNegative: coreExtensions.backgroundNegativeLight
|
|
};
|
|
const tagTokens = {
|
|
tagGrayBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.gray400Dark,
|
|
tagGrayBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
tagGrayContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.gray900Dark,
|
|
tagGrayContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.gray700Dark,
|
|
tagGrayBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.gray100Dark,
|
|
tagGrayContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.gray400Dark,
|
|
tagGrayBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.gray500Dark,
|
|
tagGrayBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.gray500Dark,
|
|
tagGrayBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.gray800Dark,
|
|
tagRedBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.red400Dark,
|
|
tagRedBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.red100Dark,
|
|
tagRedContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.red900Dark,
|
|
tagRedContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.red700Dark,
|
|
tagRedBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.red100Dark,
|
|
tagRedContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.red400Dark,
|
|
tagRedBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.red500Dark,
|
|
tagRedBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.red500Dark,
|
|
tagRedBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.red800Dark,
|
|
tagOrangeBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.orange400Dark,
|
|
tagOrangeBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.orange100Dark,
|
|
tagOrangeContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.orange900Dark,
|
|
tagOrangeContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.orange700Dark,
|
|
tagOrangeBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.orange100Dark,
|
|
tagOrangeContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.orange400Dark,
|
|
tagYellowBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.yellow700Dark,
|
|
tagOrangeBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.orange500Dark,
|
|
tagYellowBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.yellow100Dark,
|
|
tagOrangeBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.orange500Dark,
|
|
tagOrangeBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.orange800Dark,
|
|
tagYellowContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.yellow50Dark,
|
|
tagYellowContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.yellow900Dark,
|
|
tagYellowBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.yellow100Dark,
|
|
tagYellowContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.yellow400Dark,
|
|
tagYellowBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.yellow800Dark,
|
|
tagYellowBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.yellow500Dark,
|
|
tagYellowBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.yellow800Dark,
|
|
tagGreenBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.green400Dark,
|
|
tagGreenBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.green100Dark,
|
|
tagGreenContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.green900Dark,
|
|
tagGreenContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.green700Dark,
|
|
tagGreenBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.green100Dark,
|
|
tagGreenContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.green400Dark,
|
|
tagGreenBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.green500Dark,
|
|
tagBlueBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.blue400Dark,
|
|
tagBlueBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.blue100Dark,
|
|
tagGreenBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.green500Dark,
|
|
tagBlueContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.blue900Dark,
|
|
tagGreenBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.green800Dark,
|
|
tagBlueContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.blue700Dark,
|
|
tagBlueBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.blue100Dark,
|
|
tagBlueContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.blue400Dark,
|
|
tagBlueBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.blue500Dark,
|
|
tagPurpleBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.purple400Dark,
|
|
tagPurpleBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.purple100Dark,
|
|
tagBlueBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.blue500Dark,
|
|
tagBlueBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.blue800Dark,
|
|
tagPurpleContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.purple900Dark,
|
|
tagPurpleContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.purple700Dark,
|
|
tagPurpleBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.purple100Dark,
|
|
tagPurpleContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.purple400Dark,
|
|
tagPurpleBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.purple500Dark,
|
|
tagMagentaBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.magenta400Dark,
|
|
tagPurpleBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.purple500Dark,
|
|
tagMagentaBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.magenta100Dark,
|
|
tagPurpleBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.purple800Dark,
|
|
tagMagentaContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.magenta900Dark,
|
|
tagMagentaContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.magenta700Dark,
|
|
tagMagentaBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.magenta100Dark,
|
|
tagMagentaContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.magenta400Dark,
|
|
tagMagentaBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.magenta500Dark,
|
|
tagMagentaBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.magenta500Dark,
|
|
tagMagentaBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.magenta800Dark,
|
|
tagTealBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.teal400Dark,
|
|
tagTealBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.teal100Dark,
|
|
tagTealContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.teal900Dark,
|
|
tagTealContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.teal700Dark,
|
|
tagTealBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.teal100Dark,
|
|
tagTealContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.teal400Dark,
|
|
tagTealBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.teal500Dark,
|
|
tagTealBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.teal500Dark,
|
|
tagTealBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.teal800Dark,
|
|
tagLimeBackgroundPrimary: _colorPrimitiveTokens.primitiveDarkColors.lime400Dark,
|
|
tagLimeBackgroundSecondary: _colorPrimitiveTokens.primitiveDarkColors.lime100Dark,
|
|
tagLimeContentPrimary: _colorPrimitiveTokens.primitiveDarkColors.lime900Dark,
|
|
tagLimeContentSecondary: _colorPrimitiveTokens.primitiveDarkColors.lime700Dark,
|
|
tagLimeBackgroundStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.lime100Dark,
|
|
tagLimeContentStateDisabled: _colorPrimitiveTokens.primitiveDarkColors.lime400Dark,
|
|
tagLimeBorderPrimaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.lime500Dark,
|
|
tagLimeBorderSecondaryUnselected: _colorPrimitiveTokens.primitiveDarkColors.lime500Dark,
|
|
tagLimeBorderSecondarySelected: _colorPrimitiveTokens.primitiveDarkColors.lime800Dark
|
|
};
|
|
const hoveredAndPressedColors = {
|
|
hoverOverlayInverseAlpha: "rgba(0, 0, 0, 0.04)",
|
|
hoverOverlayAlpha: "rgba(255, 255, 255, 0.1)",
|
|
hoverNegativeAlpha: "rgba(163, 44, 52, 0.4)",
|
|
pressedOverlayAlpha: "rgba(255, 255, 255, 0.15)",
|
|
pressedOverlayInverseAlpha: "rgba(0, 0, 0, 0.08)",
|
|
pressedNegativeAlpha: "rgba(163, 44, 52, 0.6)"
|
|
};
|
|
return {
|
|
...core,
|
|
...coreExtensions,
|
|
...tagTokens,
|
|
...hoveredAndPressedColors,
|
|
...deprecated
|
|
};
|
|
};
|
|
exports.default = _default;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-component-tokens.js
|
|
var require_color_component_tokens2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/color-component-tokens.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens2());
|
|
var _tokens = require_tokens();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var defaultSemanticColors = (0, _colorSemanticTokens.default)();
|
|
var tagHoverBackground = `rgba(255, 255, 255, 0.2)`;
|
|
var _default = (semanticColors = defaultSemanticColors) => ({
|
|
//Banner
|
|
bannerActionLowInfo: _tokens.primitiveDarkColors.blue100Dark,
|
|
bannerActionLowNegative: _tokens.primitiveDarkColors.red200Dark,
|
|
bannerActionLowPositive: _tokens.primitiveDarkColors.green200Dark,
|
|
bannerActionLowWarning: _tokens.primitiveDarkColors.yellow200Dark,
|
|
bannerActionHighInfo: _tokens.primitiveDarkColors.blue300Dark,
|
|
bannerActionHighNegative: _tokens.primitiveDarkColors.red300Dark,
|
|
bannerActionHighPositive: _tokens.primitiveDarkColors.green300Dark,
|
|
bannerActionHighWarning: _tokens.primitiveDarkColors.yellow300Dark,
|
|
// BottomNavigation
|
|
bottomNavigationText: _tokens.primitiveDarkColors.gray600Dark,
|
|
bottomNavigationSelectedText: semanticColors.contentPrimary,
|
|
// Buttons
|
|
buttonPrimaryFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimaryText: semanticColors.contentInversePrimary,
|
|
buttonPrimaryHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
buttonPrimaryActive: _tokens.primitiveDarkColors.gray600Dark,
|
|
buttonPrimaryHoverOverlay: semanticColors.hoverOverlayInverseAlpha,
|
|
buttonPrimaryActiveOverlay: semanticColors.pressedOverlayInverseAlpha,
|
|
buttonPrimarySelectedFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimarySelectedText: semanticColors.contentInversePrimary,
|
|
buttonPrimaryLoadingFill: semanticColors.backgroundInversePrimary,
|
|
buttonPrimarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonPrimarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonSecondaryFill: semanticColors.backgroundSecondary,
|
|
buttonSecondaryText: semanticColors.contentPrimary,
|
|
buttonSecondaryHover: _tokens.primitiveDarkColors.gray300Dark,
|
|
buttonSecondaryActive: _tokens.primitiveDarkColors.gray400Dark,
|
|
buttonSecondaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonSecondaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonSecondarySelectedFill: semanticColors.backgroundInversePrimary,
|
|
buttonSecondarySelectedText: semanticColors.contentInversePrimary,
|
|
buttonSecondaryLoadingFill: semanticColors.backgroundSecondary,
|
|
buttonSecondarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonSecondarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonTertiaryFill: "transparent",
|
|
buttonTertiaryText: semanticColors.contentPrimary,
|
|
buttonTertiaryHover: _tokens.primitiveDarkColors.gray100Dark,
|
|
buttonTertiaryActive: _tokens.primitiveDarkColors.gray200Dark,
|
|
buttonTertiaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonTertiaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonTertiarySelectedFill: "transparent",
|
|
buttonTertiarySelectedText: semanticColors.contentPrimary,
|
|
buttonTertiaryLoadingFill: "transparent",
|
|
buttonTertiaryFocusFill: semanticColors.backgroundTertiary,
|
|
buttonTertiaryDisabledActiveFill: semanticColors.backgroundStateDisabled,
|
|
buttonTertiaryDisabledActiveText: semanticColors.contentStateDisabled,
|
|
buttonTertiarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonTertiarySpinnerBackground: semanticColors.backgroundTertiary,
|
|
buttonDangerPrimaryFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimaryText: semanticColors.contentOnColor,
|
|
buttonDangerPrimaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerPrimaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerPrimarySelectedFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimarySelectedText: semanticColors.contentOnColor,
|
|
buttonDangerPrimaryLoadingFill: semanticColors.backgroundNegative,
|
|
buttonDangerPrimarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerPrimarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDangerSecondaryFill: semanticColors.backgroundSecondary,
|
|
buttonDangerSecondaryText: semanticColors.contentNegative,
|
|
buttonDangerSecondaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerSecondaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerSecondarySelectedFill: semanticColors.backgroundNegative,
|
|
buttonDangerSecondarySelectedText: semanticColors.contentOnColor,
|
|
buttonDangerSecondaryLoadingFill: semanticColors.backgroundSecondary,
|
|
buttonDangerSecondarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerSecondarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDangerTertiaryFill: "transparent",
|
|
buttonDangerTertiaryText: semanticColors.contentNegative,
|
|
buttonDangerTertiaryHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonDangerTertiaryActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonDangerTertiarySelectedFill: semanticColors.backgroundPrimary,
|
|
buttonDangerTertiarySelectedText: semanticColors.contentNegative,
|
|
buttonDangerTertiaryLoadingFill: "transparent",
|
|
buttonDangerTertiarySpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonDangerTertiarySpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonOutlineFill: "transparent",
|
|
buttonOutlineText: semanticColors.contentPrimary,
|
|
buttonOutlineHoverOverlay: semanticColors.hoverOverlayAlpha,
|
|
buttonOutlineActiveOverlay: semanticColors.pressedOverlayAlpha,
|
|
buttonOutlineSelectedFill: "transparent",
|
|
buttonOutlineSelectedText: semanticColors.contentPrimary,
|
|
buttonOutlineFocusFill: semanticColors.backgroundTertiary,
|
|
buttonOutlineLoadingFill: "transparent",
|
|
buttonOutlineSpinnerForeground: semanticColors.backgroundAccent,
|
|
buttonOutlineSpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonDisabledFill: semanticColors.backgroundStateDisabled,
|
|
buttonDisabledText: semanticColors.contentStateDisabled,
|
|
buttonDisabledActiveFill: semanticColors.backgroundStateDisabled,
|
|
buttonDisabledActiveText: semanticColors.contentStateDisabled,
|
|
buttonDisabledSpinnerForeground: semanticColors.contentStateDisabled,
|
|
buttonDisabledSpinnerBackground: semanticColors.backgroundPrimary,
|
|
buttonOuterBorder: semanticColors.borderSelected,
|
|
buttonOutlineOuterBorder: semanticColors.borderOpaque,
|
|
buttonDangerTertiaryOuterBorder: semanticColors.tagRedBorderSecondarySelected,
|
|
buttonInnerBorder: semanticColors.contentInversePrimary,
|
|
buttonTransparentBorder: "transparent",
|
|
buttonFocusOuterBorder: semanticColors.borderAccent,
|
|
// Breadcrumbs
|
|
breadcrumbsText: semanticColors.contentPrimary,
|
|
breadcrumbsSeparatorFill: semanticColors.contentTertiary,
|
|
// Datepicker
|
|
calendarBackground: semanticColors.backgroundPrimary,
|
|
calendarForeground: semanticColors.contentPrimary,
|
|
calendarForegroundDisabled: semanticColors.contentStateDisabled,
|
|
calendarHeaderBackground: semanticColors.backgroundPrimary,
|
|
calendarHeaderForeground: semanticColors.contentPrimary,
|
|
calendarHeaderBackgroundActive: semanticColors.backgroundInversePrimary,
|
|
calendarHeaderForegroundDisabled: semanticColors.contentStateDisabled,
|
|
calendarDayForegroundPseudoSelected: semanticColors.backgroundInversePrimary,
|
|
calendarDayBackgroundPseudoSelectedHighlighted: semanticColors.backgroundTertiary,
|
|
calendarDayForegroundPseudoSelectedHighlighted: semanticColors.contentPrimary,
|
|
calendarDayBackgroundSelected: semanticColors.backgroundInversePrimary,
|
|
calendarDayForegroundSelected: semanticColors.contentInversePrimary,
|
|
calendarDayBackgroundSelectedHighlighted: semanticColors.backgroundInversePrimary,
|
|
calendarDayForegroundSelectedHighlighted: semanticColors.contentInversePrimary,
|
|
// Combobox
|
|
comboboxListItemFocus: semanticColors.backgroundSecondary,
|
|
comboboxListItemHover: semanticColors.backgroundTertiary,
|
|
// FileUploader
|
|
fileUploaderBackgroundColor: semanticColors.backgroundSecondary,
|
|
fileUploaderBackgroundColorActive: semanticColors.backgroundPrimary,
|
|
fileUploaderBorderColorActive: semanticColors.borderSelected,
|
|
fileUploaderBorderColorDefault: semanticColors.borderOpaque,
|
|
fileUploaderMessageColor: semanticColors.contentPrimary,
|
|
// Links
|
|
linkText: semanticColors.contentPrimary,
|
|
linkVisited: _tokens.primitiveDarkColors.gray500Dark,
|
|
linkHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
linkActive: _tokens.primitiveDarkColors.gray600Dark,
|
|
// List
|
|
listHeaderFill: semanticColors.backgroundPrimary,
|
|
listBodyFill: semanticColors.backgroundPrimary,
|
|
// ProgressSteps
|
|
progressStepsCompletedText: semanticColors.contentInversePrimary,
|
|
progressStepsCompletedFill: semanticColors.backgroundInversePrimary,
|
|
progressStepsActiveText: semanticColors.contentInversePrimary,
|
|
progressStepsActiveFill: semanticColors.backgroundInversePrimary,
|
|
// Modal
|
|
modalCloseColor: semanticColors.contentPrimary,
|
|
modalCloseColorHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
modalCloseColorFocus: _tokens.primitiveDarkColors.gray600Dark,
|
|
// Notification
|
|
notificationInfoBackground: semanticColors.backgroundAccentLight,
|
|
notificationInfoText: semanticColors.contentPrimary,
|
|
notificationPositiveBackground: semanticColors.backgroundPositiveLight,
|
|
notificationPositiveText: semanticColors.contentPrimary,
|
|
notificationWarningBackground: semanticColors.backgroundWarningLight,
|
|
notificationWarningText: semanticColors.contentPrimary,
|
|
notificationNegativeBackground: semanticColors.backgroundNegativeLight,
|
|
notificationNegativeText: semanticColors.contentPrimary,
|
|
// Tag
|
|
// Custom ramps
|
|
tagFontDisabledRampUnit: "600",
|
|
tagSolidFontRampUnit: "0",
|
|
tagSolidRampUnit: "600",
|
|
tagOutlinedFontRampUnit: "500",
|
|
tagOutlinedRampUnit: "500",
|
|
// Deprecated
|
|
tagSolidHoverRampUnit: "500",
|
|
tagSolidActiveRampUnit: "400",
|
|
tagSolidDisabledRampUnit: "700",
|
|
tagSolidFontHoverRampUnit: "100",
|
|
tagLightRampUnit: "700",
|
|
tagLightHoverRampUnit: "700",
|
|
tagLightActiveRampUnit: "600",
|
|
tagLightFontRampUnit: "100",
|
|
tagLightFontHoverRampUnit: "100",
|
|
tagOutlinedActiveRampUnit: "300",
|
|
tagOutlinedHoverRampUnit: "800",
|
|
tagOutlinedFontHoverRampUnit: "100",
|
|
// Neutral
|
|
tagNeutralFontDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagNeutralOutlinedDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagNeutralSolidFont: _tokens.primitiveDarkColors.gray900Dark,
|
|
tagNeutralSolidBackground: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagNeutralOutlinedBackground: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagNeutralOutlinedFont: _tokens.primitiveDarkColors.gray700Dark,
|
|
// Deprecated
|
|
tagNeutralSolidHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagNeutralSolidActive: _tokens.primitiveDarkColors.gray600Dark,
|
|
tagNeutralSolidDisabled: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagNeutralSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagNeutralLightBackground: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagNeutralLightHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagNeutralLightActive: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagNeutralLightDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagNeutralLightFont: _tokens.primitiveDarkColors.gray900Dark,
|
|
tagNeutralLightFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagNeutralOutlinedActive: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagNeutralOutlinedFontHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagNeutralOutlinedHover: tagHoverBackground,
|
|
// Primary
|
|
tagPrimaryOutlinedFont: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagPrimaryOutlinedBackground: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagPrimarySolidFont: _tokens.primitiveDarkColors.gray900Dark,
|
|
tagPrimarySolidBackground: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagPrimaryFontDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagPrimaryOutlinedDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
// Deprecated
|
|
tagPrimarySolidHover: _tokens.primitiveDarkColors.gray300Dark,
|
|
tagPrimarySolidActive: _tokens.primitiveDarkColors.gray200Dark,
|
|
tagPrimarySolidDisabled: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagPrimarySolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagPrimaryLightBackground: _tokens.primitiveDarkColors.gray100Dark,
|
|
tagPrimaryLightHover: _tokens.primitiveDarkColors.gray200Dark,
|
|
tagPrimaryLightActive: _tokens.primitiveDarkColors.gray300Dark,
|
|
tagPrimaryLightDisabled: _tokens.primitiveDarkColors.gray400Dark,
|
|
tagPrimaryLightFont: _tokens.primitiveDarkColors.gray900Dark,
|
|
tagPrimaryLightFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagPrimaryOutlinedActive: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagPrimaryOutlinedFontHover: _tokens.primitiveDarkColors.gray700Dark,
|
|
tagPrimaryOutlinedHover: tagHoverBackground,
|
|
// Accent
|
|
tagAccentOutlinedFont: _tokens.primitiveDarkColors.blue700Dark,
|
|
tagAccentOutlinedBackground: _tokens.primitiveDarkColors.blue100Dark,
|
|
tagAccentSolidFont: _tokens.primitiveDarkColors.blue900Dark,
|
|
tagAccentSolidBackground: _tokens.primitiveDarkColors.blue500Dark,
|
|
tagAccentFontDisabled: _tokens.primitiveDarkColors.blue400Dark,
|
|
tagAccentOutlinedDisabled: _tokens.primitiveDarkColors.blue400Dark,
|
|
// Deprecated
|
|
tagAccentSolidHover: _tokens.primitiveDarkColors.blue300Dark,
|
|
tagAccentSolidActive: _tokens.primitiveDarkColors.blue200Dark,
|
|
tagAccentSolidDisabled: _tokens.primitiveDarkColors.blue100Dark,
|
|
tagAccentSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagAccentLightBackground: _tokens.primitiveDarkColors.blue100Dark,
|
|
tagAccentLightHover: _tokens.primitiveDarkColors.blue200Dark,
|
|
tagAccentLightActive: _tokens.primitiveDarkColors.blue300Dark,
|
|
tagAccentLightDisabled: _tokens.primitiveDarkColors.blue400Dark,
|
|
tagAccentLightFont: _tokens.primitiveDarkColors.blue900Dark,
|
|
tagAccentLightFontHover: _tokens.primitiveDarkColors.blue800Dark,
|
|
tagAccentOutlinedActive: _tokens.primitiveDarkColors.blue700Dark,
|
|
tagAccentOutlinedFontHover: _tokens.primitiveDarkColors.blue700Dark,
|
|
tagAccentOutlinedHover: tagHoverBackground,
|
|
// Positive
|
|
tagPositiveFontDisabled: _tokens.primitiveDarkColors.green400Dark,
|
|
tagPositiveOutlinedDisabled: _tokens.primitiveDarkColors.green400Dark,
|
|
tagPositiveSolidFont: _tokens.primitiveDarkColors.green900Dark,
|
|
tagPositiveSolidBackground: _tokens.primitiveDarkColors.green500Dark,
|
|
tagPositiveOutlinedBackground: _tokens.primitiveDarkColors.green100Dark,
|
|
tagPositiveOutlinedFont: _tokens.primitiveDarkColors.green700Dark,
|
|
// Deprecated
|
|
tagPositiveSolidHover: _tokens.primitiveDarkColors.green300Dark,
|
|
tagPositiveSolidActive: _tokens.primitiveDarkColors.green200Dark,
|
|
tagPositiveSolidDisabled: _tokens.primitiveDarkColors.green100Dark,
|
|
tagPositiveSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagPositiveLightBackground: _tokens.primitiveDarkColors.green100Dark,
|
|
tagPositiveLightHover: _tokens.primitiveDarkColors.green200Dark,
|
|
tagPositiveLightActive: _tokens.primitiveDarkColors.green300Dark,
|
|
tagPositiveLightDisabled: _tokens.primitiveDarkColors.green400Dark,
|
|
tagPositiveLightFont: _tokens.primitiveDarkColors.green900Dark,
|
|
tagPositiveLightFontHover: _tokens.primitiveDarkColors.green800Dark,
|
|
tagPositiveOutlinedActive: _tokens.primitiveDarkColors.green700Dark,
|
|
tagPositiveOutlinedFontHover: _tokens.primitiveDarkColors.green700Dark,
|
|
tagPositiveOutlinedHover: tagHoverBackground,
|
|
// Warning
|
|
tagWarningOutlinedFont: _tokens.primitiveDarkColors.yellow700Dark,
|
|
tagWarningOutlinedBackground: _tokens.primitiveDarkColors.yellow100Dark,
|
|
tagWarningSolidFont: _tokens.primitiveDarkColors.yellow50Dark,
|
|
tagWarningSolidBackground: _tokens.primitiveDarkColors.yellow700Dark,
|
|
tagWarningFontDisabled: _tokens.primitiveDarkColors.yellow400Dark,
|
|
tagWarningOutlinedDisabled: _tokens.primitiveDarkColors.yellow400Dark,
|
|
// Deprecated
|
|
tagWarningSolidHover: _tokens.primitiveDarkColors.yellow300Dark,
|
|
tagWarningSolidActive: _tokens.primitiveDarkColors.yellow200Dark,
|
|
tagWarningSolidDisabled: _tokens.primitiveDarkColors.yellow100Dark,
|
|
tagWarningSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagWarningLightBackground: _tokens.primitiveDarkColors.yellow100Dark,
|
|
tagWarningLightHover: _tokens.primitiveDarkColors.yellow200Dark,
|
|
tagWarningLightActive: _tokens.primitiveDarkColors.yellow300Dark,
|
|
tagWarningLightDisabled: _tokens.primitiveDarkColors.yellow400Dark,
|
|
tagWarningLightFont: _tokens.primitiveDarkColors.yellow900Dark,
|
|
tagWarningLightFontHover: _tokens.primitiveDarkColors.yellow800Dark,
|
|
tagWarningOutlinedActive: _tokens.primitiveDarkColors.yellow700Dark,
|
|
tagWarningOutlinedFontHover: _tokens.primitiveDarkColors.yellow700Dark,
|
|
tagWarningOutlinedHover: tagHoverBackground,
|
|
// Negative
|
|
tagNegativeOutlinedFont: _tokens.primitiveDarkColors.red700Dark,
|
|
tagNegativeOutlinedBackground: _tokens.primitiveDarkColors.red100Dark,
|
|
tagNegativeSolidFont: _tokens.primitiveDarkColors.gray900Dark,
|
|
tagNegativeSolidBackground: _tokens.primitiveDarkColors.red500Dark,
|
|
tagNegativeFontDisabled: _tokens.primitiveDarkColors.red400Dark,
|
|
tagNegativeOutlinedDisabled: _tokens.primitiveDarkColors.red400Dark,
|
|
// Deprecated
|
|
tagNegativeSolidHover: _tokens.primitiveDarkColors.red300Dark,
|
|
tagNegativeSolidActive: _tokens.primitiveDarkColors.red200Dark,
|
|
tagNegativeSolidDisabled: _tokens.primitiveDarkColors.red100Dark,
|
|
tagNegativeSolidFontHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tagNegativeLightBackground: _tokens.primitiveDarkColors.red100Dark,
|
|
tagNegativeLightHover: _tokens.primitiveDarkColors.red200Dark,
|
|
tagNegativeLightActive: _tokens.primitiveDarkColors.red300Dark,
|
|
tagNegativeLightDisabled: _tokens.primitiveDarkColors.red400Dark,
|
|
tagNegativeLightFont: _tokens.primitiveDarkColors.red900Dark,
|
|
tagNegativeLightFontHover: _tokens.primitiveDarkColors.red800Dark,
|
|
tagNegativeOutlinedActive: _tokens.primitiveDarkColors.red700Dark,
|
|
tagNegativeOutlinedFontHover: _tokens.primitiveDarkColors.red700Dark,
|
|
tagNegativeOutlinedHover: tagHoverBackground,
|
|
// Table
|
|
tableHeadBackgroundColor: semanticColors.backgroundPrimary,
|
|
tableBackground: semanticColors.backgroundPrimary,
|
|
tableStripedBackground: semanticColors.backgroundSecondary,
|
|
tableFilter: semanticColors.contentTertiary,
|
|
tableFilterHeading: semanticColors.contentPrimary,
|
|
tableFilterBackground: semanticColors.backgroundPrimary,
|
|
tableFilterFooterBackground: semanticColors.backgroundSecondary,
|
|
// Toast
|
|
toastText: semanticColors.contentOnColor,
|
|
toastPrimaryText: semanticColors.contentOnColor,
|
|
toastInfoBackground: semanticColors.backgroundAccent,
|
|
toastInfoText: semanticColors.contentOnColor,
|
|
toastPositiveBackground: semanticColors.backgroundPositive,
|
|
toastPositiveText: semanticColors.contentOnColor,
|
|
toastWarningBackground: semanticColors.backgroundWarning,
|
|
toastWarningText: semanticColors.contentOnColorInverse,
|
|
toastNegativeBackground: semanticColors.backgroundNegative,
|
|
toastNegativeText: semanticColors.contentOnColor,
|
|
// Toggle
|
|
toggleFill: semanticColors.backgroundPrimary,
|
|
toggleFillChecked: semanticColors.contentPrimary,
|
|
toggleFillDisabled: semanticColors.contentStateDisabled,
|
|
toggleTrackFill: semanticColors.backgroundTertiary,
|
|
toggleTrackFillDisabled: semanticColors.backgroundStateDisabled,
|
|
// Tick
|
|
tickFill: semanticColors.backgroundPrimary,
|
|
tickFillHover: _tokens.primitiveDarkColors.gray100Dark,
|
|
tickFillActive: _tokens.primitiveDarkColors.gray200Dark,
|
|
tickFillSelected: semanticColors.contentPrimary,
|
|
tickFillSelectedHover: _tokens.primitiveDarkColors.gray800Dark,
|
|
tickFillSelectedHoverActive: _tokens.primitiveDarkColors.gray700Dark,
|
|
tickFillError: semanticColors.backgroundPrimary,
|
|
tickFillErrorHover: _tokens.primitiveDarkColors.gray100Dark,
|
|
tickFillErrorHoverActive: _tokens.primitiveDarkColors.gray200Dark,
|
|
tickFillErrorSelected: semanticColors.contentNegative,
|
|
tickFillErrorSelectedHover: _tokens.primitiveDarkColors.red500Dark,
|
|
tickFillErrorSelectedHoverActive: _tokens.primitiveDarkColors.red400Dark,
|
|
tickFillDisabled: semanticColors.backgroundStateDisabled,
|
|
tickBorder: semanticColors.contentTertiary,
|
|
tickBorderError: semanticColors.borderNegative,
|
|
tickMarkFill: semanticColors.contentInversePrimary,
|
|
tickMarkFillError: semanticColors.contentOnColor,
|
|
tickMarkFillDisabled: semanticColors.contentInversePrimary,
|
|
// Slider/Toggle
|
|
sliderTrackFill: "transparent",
|
|
sliderHandleFill: semanticColors.contentPrimary,
|
|
sliderHandleFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFill: semanticColors.contentPrimary,
|
|
sliderTrackFillHover: _tokens.primitiveDarkColors.gray300Dark,
|
|
sliderTrackFillActive: _tokens.primitiveDarkColors.gray400Dark,
|
|
sliderTrackFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFillDisabled: semanticColors.backgroundStateDisabled,
|
|
sliderHandleInnerFillSelectedHover: _tokens.primitiveDarkColors.gray600Dark,
|
|
sliderHandleInnerFillSelectedActive: _tokens.primitiveDarkColors.gray700Dark,
|
|
// Inputs
|
|
inputBorder: semanticColors.borderOpaque,
|
|
inputFill: semanticColors.backgroundSecondary,
|
|
inputFillError: semanticColors.backgroundPrimary,
|
|
inputFillDisabled: semanticColors.backgroundStateDisabled,
|
|
inputFillActive: semanticColors.backgroundPrimary,
|
|
inputFillPositive: semanticColors.backgroundPrimary,
|
|
inputTextDisabled: semanticColors.contentStateDisabled,
|
|
inputBorderError: semanticColors.borderNegative,
|
|
inputBorderPositive: semanticColors.borderPositive,
|
|
inputEnhancerFill: semanticColors.contentPrimary,
|
|
inputEnhancerFillDisabled: semanticColors.contentStateDisabled,
|
|
inputEnhancerTextDisabled: semanticColors.contentStateDisabled,
|
|
inputPlaceholder: semanticColors.contentTertiary,
|
|
inputPlaceholderDisabled: semanticColors.contentStateDisabled,
|
|
// Menu
|
|
menuFill: semanticColors.backgroundPrimary,
|
|
menuFillHover: semanticColors.backgroundSecondary,
|
|
menuFontDefault: semanticColors.contentPrimary,
|
|
menuFontDisabled: semanticColors.contentStateDisabled,
|
|
menuFontHighlighted: semanticColors.contentPrimary,
|
|
menuFontSelected: semanticColors.contentPrimary,
|
|
// Tab
|
|
tabBarFill: semanticColors.backgroundPrimary,
|
|
tabColor: semanticColors.contentTertiary,
|
|
// Spinner
|
|
spinnerTrackFill: semanticColors.backgroundTertiary,
|
|
// Progress bar
|
|
progressbarTrackFill: semanticColors.backgroundTertiary,
|
|
// Tooltip
|
|
tooltipBackground: semanticColors.backgroundInverseSecondary,
|
|
tooltipText: semanticColors.contentInversePrimary,
|
|
// Rating
|
|
ratingInactiveFill: _tokens.primitiveDarkColors.gray500Dark,
|
|
ratingStroke: _tokens.primitiveDarkColors.gray700Dark
|
|
});
|
|
exports.default = _default;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/borders.js
|
|
var require_borders2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/borders.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _borders = _interopRequireDefault(require_borders());
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var borders = (0, _deepMerge.default)({}, _borders.default, {
|
|
border100: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.04)"
|
|
},
|
|
border200: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.08)"
|
|
},
|
|
border300: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.12)"
|
|
},
|
|
border400: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.16)"
|
|
},
|
|
border500: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.2)"
|
|
},
|
|
border600: {
|
|
borderColor: "hsla(0, 0%, 100%, 0.24)"
|
|
}
|
|
});
|
|
var _default = exports.default = borders;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/dark-theme.js
|
|
var require_dark_theme = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/dark-theme.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.DarkTheme = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens2());
|
|
var _colorPrimitiveTokens = _interopRequireDefault(require_color_primitive_tokens());
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens2());
|
|
var _colorComponentTokens = _interopRequireDefault(require_color_component_tokens2());
|
|
var _borders = _interopRequireDefault(require_borders2());
|
|
var _lighting = _interopRequireDefault(require_lighting());
|
|
var _typography = _interopRequireDefault(require_typography());
|
|
var _animation = _interopRequireDefault(require_animation());
|
|
var _breakpoints = _interopRequireDefault(require_breakpoints());
|
|
var _grid = _interopRequireDefault(require_grid());
|
|
var _mediaQuery = _interopRequireDefault(require_media_query());
|
|
var _sizing = _interopRequireDefault(require_sizing());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var DarkTheme = exports.DarkTheme = {
|
|
name: "dark-theme",
|
|
colors: {
|
|
..._colorFoundationTokens.default,
|
|
..._colorPrimitiveTokens.default,
|
|
...(0, _colorComponentTokens.default)(),
|
|
...(0, _colorSemanticTokens.default)()
|
|
},
|
|
animation: _animation.default,
|
|
breakpoints: _breakpoints.default,
|
|
borders: _borders.default,
|
|
direction: "auto",
|
|
grid: _grid.default,
|
|
lighting: _lighting.default,
|
|
mediaQuery: _mediaQuery.default,
|
|
sizing: _sizing.default,
|
|
typography: _typography.default,
|
|
// TODO(#2318) Remove it in the next v11 major version.
|
|
// Do not use.
|
|
zIndex: {
|
|
modal: 2e3
|
|
}
|
|
};
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/move-theme/dark-theme-with-move.js
|
|
var require_dark_theme_with_move = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/move-theme/dark-theme-with-move.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.DarkThemeMove = void 0;
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
var _darkTheme = require_dark_theme();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var DarkThemeMove = exports.DarkThemeMove = (0, _deepMerge.default)({}, _darkTheme.DarkTheme, {
|
|
name: "dark-theme-with-move"
|
|
});
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/utils.js
|
|
var require_utils = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/utils.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.getFoundationColorOverrides = getFoundationColorOverrides;
|
|
var foundationColors = ["primaryA", "primaryB", "primary", "accent", "negative", "warning", "positive"];
|
|
function getFoundationColorOverrides(colors) {
|
|
if (!colors) return {};
|
|
return foundationColors.reduce((acc, key) => {
|
|
if (colors[key]) {
|
|
acc[key] = colors[key];
|
|
}
|
|
return acc;
|
|
}, {});
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/create-dark-theme.js
|
|
var require_create_dark_theme = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/create-dark-theme.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = createDarkTheme;
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
var _utils = require_utils();
|
|
var _tokens = require_tokens();
|
|
var _colorComponentTokens = _interopRequireDefault(require_color_component_tokens2());
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens2());
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens2());
|
|
var _darkTheme = require_dark_theme();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
function createDarkTheme(overrides) {
|
|
const foundationColors = {
|
|
..._colorFoundationTokens.default,
|
|
...(0, _utils.getFoundationColorOverrides)(overrides?.colors)
|
|
};
|
|
const semanticColors = (0, _colorSemanticTokens.default)(foundationColors);
|
|
const componentColors = (0, _colorComponentTokens.default)(semanticColors);
|
|
const theme = {
|
|
...structuredClone(_darkTheme.DarkTheme),
|
|
colors: {
|
|
..._tokens.primitiveColors,
|
|
...foundationColors,
|
|
...semanticColors,
|
|
...componentColors
|
|
}
|
|
};
|
|
return (0, _deepMerge.default)(theme, overrides);
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/create-light-theme.js
|
|
var require_create_light_theme = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/create-light-theme.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = createLightTheme;
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
var _utils = require_utils();
|
|
var _tokens = require_tokens();
|
|
var _colorComponentTokens = _interopRequireDefault(require_color_component_tokens());
|
|
var _colorSemanticTokens = _interopRequireDefault(require_color_semantic_tokens());
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens());
|
|
var _lightTheme = require_light_theme();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
function createLightTheme(overrides) {
|
|
const foundationColors = {
|
|
..._colorFoundationTokens.default,
|
|
...(0, _utils.getFoundationColorOverrides)(overrides?.colors)
|
|
};
|
|
const semanticColors = (0, _colorSemanticTokens.default)(foundationColors);
|
|
const componentColors = (0, _colorComponentTokens.default)(semanticColors);
|
|
const theme = {
|
|
...structuredClone(_lightTheme.LightTheme),
|
|
colors: {
|
|
..._tokens.primitiveColors,
|
|
...foundationColors,
|
|
...semanticColors,
|
|
...componentColors
|
|
}
|
|
};
|
|
return (0, _deepMerge.default)(theme, overrides);
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/primitives.js
|
|
var require_primitives = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/dark-theme/primitives.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens2());
|
|
var _typography = require_typography();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var primitives = {
|
|
..._colorFoundationTokens.default,
|
|
..._typography.fontTokens
|
|
};
|
|
var _default = exports.default = primitives;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/primitives.js
|
|
var require_primitives2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/light-theme/primitives.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
var _colorFoundationTokens = _interopRequireDefault(require_color_foundation_tokens());
|
|
var _typography = require_typography();
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
var primitives = {
|
|
..._colorFoundationTokens.default,
|
|
..._typography.fontTokens
|
|
};
|
|
var _default = exports.default = primitives;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/types.js
|
|
var require_types2 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/types.js"() {
|
|
"use strict";
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/index.js
|
|
var require_themes = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/themes/index.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
var _exportNames = {
|
|
LightTheme: true,
|
|
LightThemeMove: true,
|
|
DarkTheme: true,
|
|
darkThemeOverrides: true,
|
|
DarkThemeMove: true,
|
|
createDarkTheme: true,
|
|
createLightTheme: true,
|
|
createTheme: true,
|
|
darkThemePrimitives: true,
|
|
lightThemePrimitives: true
|
|
};
|
|
Object.defineProperty(exports, "DarkTheme", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _darkTheme.DarkTheme;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "DarkThemeMove", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _darkThemeWithMove.DarkThemeMove;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "LightTheme", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _lightTheme.LightTheme;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "LightThemeMove", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _lightThemeWithMove.LightThemeMove;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createDarkTheme", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _createDarkTheme.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createLightTheme", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _createLightTheme.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createTheme", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _createLightTheme.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "darkThemeOverrides", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _darkTheme.DarkTheme;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "darkThemePrimitives", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _primitives.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "lightThemePrimitives", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _primitives2.default;
|
|
}
|
|
});
|
|
var _lightTheme = require_light_theme();
|
|
var _lightThemeWithMove = require_light_theme_with_move();
|
|
var _darkTheme = require_dark_theme();
|
|
var _darkThemeWithMove = require_dark_theme_with_move();
|
|
var _createDarkTheme = _interopRequireDefault(require_create_dark_theme());
|
|
var _createLightTheme = _interopRequireDefault(require_create_light_theme());
|
|
var _primitives = _interopRequireDefault(require_primitives());
|
|
var _primitives2 = _interopRequireDefault(require_primitives2());
|
|
var _types = require_types2();
|
|
Object.keys(_types).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
if (key in exports && exports[key] === _types[key]) return;
|
|
Object.defineProperty(exports, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _types[key];
|
|
}
|
|
});
|
|
});
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/theme-provider.js
|
|
var require_theme_provider = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/theme-provider.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = exports.ThemeContext = void 0;
|
|
var React = _interopRequireWildcard(require_react());
|
|
var _themes = require_themes();
|
|
function _getRequireWildcardCache(e) {
|
|
if ("function" != typeof WeakMap) return null;
|
|
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
|
return (_getRequireWildcardCache = function(e2) {
|
|
return e2 ? t : r;
|
|
})(e);
|
|
}
|
|
function _interopRequireWildcard(e, r) {
|
|
if (!r && e && e.__esModule) return e;
|
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
var t = _getRequireWildcardCache(r);
|
|
if (t && t.has(e)) return t.get(e);
|
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
}
|
|
return n.default = e, t && t.set(e, n), n;
|
|
}
|
|
var ThemeContext = exports.ThemeContext = React.createContext(_themes.LightTheme);
|
|
var ThemeProvider = (props) => {
|
|
const {
|
|
theme,
|
|
children
|
|
} = props;
|
|
return React.createElement(ThemeContext.Provider, {
|
|
value: theme
|
|
}, children);
|
|
};
|
|
var _default = exports.default = ThemeProvider;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/styled.js
|
|
var require_styled = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/styled.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.createThemedStyled = createThemedStyled;
|
|
exports.createThemedUseStyletron = createThemedUseStyletron;
|
|
exports.createThemedWithStyle = createThemedWithStyle;
|
|
exports.withStyle = exports.useStyletron = exports.styled = void 0;
|
|
exports.withWrapper = withWrapper;
|
|
var React = _interopRequireWildcard(require_react());
|
|
var _styletronReact = (init_dist_browser_esm2(), __toCommonJS(dist_browser_esm_exports2));
|
|
var _styletronStandard = (init_dist_browser_esm(), __toCommonJS(dist_browser_esm_exports));
|
|
var _themeProvider = require_theme_provider();
|
|
function _getRequireWildcardCache(e) {
|
|
if ("function" != typeof WeakMap) return null;
|
|
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
|
return (_getRequireWildcardCache = function(e2) {
|
|
return e2 ? t : r;
|
|
})(e);
|
|
}
|
|
function _interopRequireWildcard(e, r) {
|
|
if (!r && e && e.__esModule) return e;
|
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
var t = _getRequireWildcardCache(r);
|
|
if (t && t.has(e)) return t.get(e);
|
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
}
|
|
return n.default = e, t && t.set(e, n), n;
|
|
}
|
|
function _extends() {
|
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var source = arguments[i];
|
|
for (var key in source) {
|
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
target[key] = source[key];
|
|
}
|
|
}
|
|
}
|
|
return target;
|
|
};
|
|
return _extends.apply(this, arguments);
|
|
}
|
|
var wrapper = (StyledComponent) => {
|
|
return React.forwardRef((props, ref) => React.createElement(_themeProvider.ThemeContext.Consumer, null, (theme) => React.createElement(StyledComponent, _extends({
|
|
ref
|
|
}, props, {
|
|
$theme: theme
|
|
}))));
|
|
};
|
|
function createThemedStyled() {
|
|
return (0, _styletronReact.createStyled)({
|
|
wrapper,
|
|
getInitialStyle: _styletronStandard.getInitialStyle,
|
|
driver: _styletronStandard.driver
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
});
|
|
}
|
|
var styled = exports.styled = createThemedStyled();
|
|
function createThemedWithStyle() {
|
|
return _styletronReact.withStyle;
|
|
}
|
|
var withStyle = exports.withStyle = createThemedWithStyle();
|
|
function createThemedUseStyletron() {
|
|
return function() {
|
|
const theme = React.useContext(_themeProvider.ThemeContext);
|
|
const [css] = (0, _styletronReact.useStyletron)();
|
|
return [css, theme];
|
|
};
|
|
}
|
|
var useStyletron = exports.useStyletron = createThemedUseStyletron();
|
|
function withWrapper(StyledElement, wrapperFn) {
|
|
return (0, _styletronReact.withWrapper)(StyledElement, (Styled) => {
|
|
return React.forwardRef((props, ref) => React.createElement(_themeProvider.ThemeContext.Consumer, null, (theme) => (
|
|
// @ts-ignore
|
|
wrapperFn(Styled)({
|
|
ref,
|
|
...props,
|
|
$theme: theme
|
|
})
|
|
)));
|
|
});
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/types.js
|
|
var require_types3 = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/types.js"() {
|
|
"use strict";
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/index.js
|
|
var require_styles = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/styles/index.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
var _exportNames = {
|
|
ThemeConsumer: true,
|
|
ThemeProvider: true,
|
|
createThemedStyled: true,
|
|
createThemedWithStyle: true,
|
|
createThemedUseStyletron: true,
|
|
styled: true,
|
|
withStyle: true,
|
|
useStyletron: true,
|
|
withWrapper: true,
|
|
hexToRgb: true,
|
|
expandBorderStyles: true
|
|
};
|
|
exports.ThemeConsumer = void 0;
|
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _themeProvider.default;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createThemedStyled", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.createThemedStyled;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createThemedUseStyletron", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.createThemedUseStyletron;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "createThemedWithStyle", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.createThemedWithStyle;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "expandBorderStyles", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _util.expandBorderStyles;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "hexToRgb", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _util.hexToRgb;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "styled", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.styled;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "useStyletron", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.useStyletron;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "withStyle", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.withStyle;
|
|
}
|
|
});
|
|
Object.defineProperty(exports, "withWrapper", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _styled.withWrapper;
|
|
}
|
|
});
|
|
var _themeProvider = _interopRequireWildcard(require_theme_provider());
|
|
var _styled = require_styled();
|
|
var _util = require_util();
|
|
var _types = require_types3();
|
|
Object.keys(_types).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
if (key in exports && exports[key] === _types[key]) return;
|
|
Object.defineProperty(exports, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return _types[key];
|
|
}
|
|
});
|
|
});
|
|
function _getRequireWildcardCache(e) {
|
|
if ("function" != typeof WeakMap) return null;
|
|
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
|
return (_getRequireWildcardCache = function(e2) {
|
|
return e2 ? t : r;
|
|
})(e);
|
|
}
|
|
function _interopRequireWildcard(e, r) {
|
|
if (!r && e && e.__esModule) return e;
|
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
var t = _getRequireWildcardCache(r);
|
|
if (t && t.has(e)) return t.get(e);
|
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
}
|
|
return n.default = e, t && t.set(e, n), n;
|
|
}
|
|
var ThemeConsumer = exports.ThemeConsumer = _themeProvider.ThemeContext.Consumer;
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.development.js
|
|
var require_react_is_development = __commonJS({
|
|
"../../../node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
"use strict";
|
|
if (true) {
|
|
(function() {
|
|
"use strict";
|
|
var REACT_ELEMENT_TYPE = 60103;
|
|
var REACT_PORTAL_TYPE = 60106;
|
|
var REACT_FRAGMENT_TYPE = 60107;
|
|
var REACT_STRICT_MODE_TYPE = 60108;
|
|
var REACT_PROFILER_TYPE = 60114;
|
|
var REACT_PROVIDER_TYPE = 60109;
|
|
var REACT_CONTEXT_TYPE = 60110;
|
|
var REACT_FORWARD_REF_TYPE = 60112;
|
|
var REACT_SUSPENSE_TYPE = 60113;
|
|
var REACT_SUSPENSE_LIST_TYPE = 60120;
|
|
var REACT_MEMO_TYPE = 60115;
|
|
var REACT_LAZY_TYPE = 60116;
|
|
var REACT_BLOCK_TYPE = 60121;
|
|
var REACT_SERVER_BLOCK_TYPE = 60122;
|
|
var REACT_FUNDAMENTAL_TYPE = 60117;
|
|
var REACT_SCOPE_TYPE = 60119;
|
|
var REACT_OPAQUE_ID_TYPE = 60128;
|
|
var REACT_DEBUG_TRACING_MODE_TYPE = 60129;
|
|
var REACT_OFFSCREEN_TYPE = 60130;
|
|
var REACT_LEGACY_HIDDEN_TYPE = 60131;
|
|
if (typeof Symbol === "function" && Symbol.for) {
|
|
var symbolFor = Symbol.for;
|
|
REACT_ELEMENT_TYPE = symbolFor("react.element");
|
|
REACT_PORTAL_TYPE = symbolFor("react.portal");
|
|
REACT_FRAGMENT_TYPE = symbolFor("react.fragment");
|
|
REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode");
|
|
REACT_PROFILER_TYPE = symbolFor("react.profiler");
|
|
REACT_PROVIDER_TYPE = symbolFor("react.provider");
|
|
REACT_CONTEXT_TYPE = symbolFor("react.context");
|
|
REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref");
|
|
REACT_SUSPENSE_TYPE = symbolFor("react.suspense");
|
|
REACT_SUSPENSE_LIST_TYPE = symbolFor("react.suspense_list");
|
|
REACT_MEMO_TYPE = symbolFor("react.memo");
|
|
REACT_LAZY_TYPE = symbolFor("react.lazy");
|
|
REACT_BLOCK_TYPE = symbolFor("react.block");
|
|
REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block");
|
|
REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental");
|
|
REACT_SCOPE_TYPE = symbolFor("react.scope");
|
|
REACT_OPAQUE_ID_TYPE = symbolFor("react.opaque.id");
|
|
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor("react.debug_trace_mode");
|
|
REACT_OFFSCREEN_TYPE = symbolFor("react.offscreen");
|
|
REACT_LEGACY_HIDDEN_TYPE = symbolFor("react.legacy_hidden");
|
|
}
|
|
var enableScopeAPI = false;
|
|
function isValidElementType(type) {
|
|
if (typeof type === "string" || typeof type === "function") {
|
|
return true;
|
|
}
|
|
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI) {
|
|
return true;
|
|
}
|
|
if (typeof type === "object" && type !== null) {
|
|
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
function typeOf(object) {
|
|
if (typeof object === "object" && object !== null) {
|
|
var $$typeof = object.$$typeof;
|
|
switch ($$typeof) {
|
|
case REACT_ELEMENT_TYPE:
|
|
var type = object.type;
|
|
switch (type) {
|
|
case REACT_FRAGMENT_TYPE:
|
|
case REACT_PROFILER_TYPE:
|
|
case REACT_STRICT_MODE_TYPE:
|
|
case REACT_SUSPENSE_TYPE:
|
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
return type;
|
|
default:
|
|
var $$typeofType = type && type.$$typeof;
|
|
switch ($$typeofType) {
|
|
case REACT_CONTEXT_TYPE:
|
|
case REACT_FORWARD_REF_TYPE:
|
|
case REACT_LAZY_TYPE:
|
|
case REACT_MEMO_TYPE:
|
|
case REACT_PROVIDER_TYPE:
|
|
return $$typeofType;
|
|
default:
|
|
return $$typeof;
|
|
}
|
|
}
|
|
case REACT_PORTAL_TYPE:
|
|
return $$typeof;
|
|
}
|
|
}
|
|
return void 0;
|
|
}
|
|
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
var Element = REACT_ELEMENT_TYPE;
|
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
var Fragment = REACT_FRAGMENT_TYPE;
|
|
var Lazy = REACT_LAZY_TYPE;
|
|
var Memo = REACT_MEMO_TYPE;
|
|
var Portal = REACT_PORTAL_TYPE;
|
|
var Profiler = REACT_PROFILER_TYPE;
|
|
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
var Suspense = REACT_SUSPENSE_TYPE;
|
|
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
function isAsyncMode(object) {
|
|
{
|
|
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
function isConcurrentMode(object) {
|
|
{
|
|
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
function isContextConsumer(object) {
|
|
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
}
|
|
function isContextProvider(object) {
|
|
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
}
|
|
function isElement(object) {
|
|
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
}
|
|
function isForwardRef(object) {
|
|
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
}
|
|
function isFragment(object) {
|
|
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
}
|
|
function isLazy(object) {
|
|
return typeOf(object) === REACT_LAZY_TYPE;
|
|
}
|
|
function isMemo(object) {
|
|
return typeOf(object) === REACT_MEMO_TYPE;
|
|
}
|
|
function isPortal(object) {
|
|
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
}
|
|
function isProfiler(object) {
|
|
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
}
|
|
function isStrictMode(object) {
|
|
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
}
|
|
function isSuspense(object) {
|
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
}
|
|
exports.ContextConsumer = ContextConsumer;
|
|
exports.ContextProvider = ContextProvider;
|
|
exports.Element = Element;
|
|
exports.ForwardRef = ForwardRef;
|
|
exports.Fragment = Fragment;
|
|
exports.Lazy = Lazy;
|
|
exports.Memo = Memo;
|
|
exports.Portal = Portal;
|
|
exports.Profiler = Profiler;
|
|
exports.StrictMode = StrictMode;
|
|
exports.Suspense = Suspense;
|
|
exports.isAsyncMode = isAsyncMode;
|
|
exports.isConcurrentMode = isConcurrentMode;
|
|
exports.isContextConsumer = isContextConsumer;
|
|
exports.isContextProvider = isContextProvider;
|
|
exports.isElement = isElement;
|
|
exports.isForwardRef = isForwardRef;
|
|
exports.isFragment = isFragment;
|
|
exports.isLazy = isLazy;
|
|
exports.isMemo = isMemo;
|
|
exports.isPortal = isPortal;
|
|
exports.isProfiler = isProfiler;
|
|
exports.isStrictMode = isStrictMode;
|
|
exports.isSuspense = isSuspense;
|
|
exports.isValidElementType = isValidElementType;
|
|
exports.typeOf = typeOf;
|
|
})();
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/index.js
|
|
var require_react_is = __commonJS({
|
|
"../../../node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/index.js"(exports, module) {
|
|
"use strict";
|
|
if (false) {
|
|
module.exports = null;
|
|
} else {
|
|
module.exports = require_react_is_development();
|
|
}
|
|
}
|
|
});
|
|
|
|
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/overrides.js
|
|
var require_overrides = __commonJS({
|
|
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/overrides.js"(exports) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.getOverride = getOverride;
|
|
exports.getOverrideProps = getOverrideProps;
|
|
exports.getOverrides = getOverrides;
|
|
exports.mergeConfigurationOverrides = mergeConfigurationOverrides;
|
|
exports.mergeOverride = mergeOverride;
|
|
exports.mergeOverrides = mergeOverrides;
|
|
exports.toObjectOverride = toObjectOverride;
|
|
exports.useOverrides = useOverrides;
|
|
var React = _interopRequireWildcard(require_react());
|
|
var _reactIs = require_react_is();
|
|
var _deepMerge = _interopRequireDefault(require_deep_merge());
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
function _getRequireWildcardCache(e) {
|
|
if ("function" != typeof WeakMap) return null;
|
|
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
|
return (_getRequireWildcardCache = function(e2) {
|
|
return e2 ? t : r;
|
|
})(e);
|
|
}
|
|
function _interopRequireWildcard(e, r) {
|
|
if (!r && e && e.__esModule) return e;
|
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
var t = _getRequireWildcardCache(r);
|
|
if (t && t.has(e)) return t.get(e);
|
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
|
}
|
|
return n.default = e, t && t.set(e, n), n;
|
|
}
|
|
function _extends() {
|
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var source = arguments[i];
|
|
for (var key in source) {
|
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
target[key] = source[key];
|
|
}
|
|
}
|
|
}
|
|
return target;
|
|
};
|
|
return _extends.apply(this, arguments);
|
|
}
|
|
function getOverride(_override) {
|
|
if ((0, _reactIs.isValidElementType)(_override)) {
|
|
return _override;
|
|
}
|
|
if (_override && typeof _override === "object") {
|
|
return _override.component;
|
|
}
|
|
return _override;
|
|
}
|
|
function getOverrideProps(_override) {
|
|
if (_override && typeof _override === "object") {
|
|
if (typeof _override.props === "object") {
|
|
return {
|
|
..._override.props,
|
|
$style: _override.style
|
|
};
|
|
} else {
|
|
return {
|
|
$style: _override.style
|
|
};
|
|
}
|
|
}
|
|
return {};
|
|
}
|
|
function toObjectOverride(_override) {
|
|
if ((0, _reactIs.isValidElementType)(_override)) {
|
|
return {
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
component: _override
|
|
};
|
|
}
|
|
return _override || {};
|
|
}
|
|
function getOverrides(_override, defaultComponent) {
|
|
const Component = getOverride(_override) || defaultComponent;
|
|
if (_override && typeof _override === "object" && typeof _override.props === "function") {
|
|
if (true) {
|
|
console.warn("baseui:Overrides Props as a function will be removed in the next major version. Override the whole component instead. See https://baseweb.design/guides/understanding-overrides/#override-the-entire-subcomponent");
|
|
}
|
|
const DynamicOverride = React.forwardRef((props2, ref) => {
|
|
const mappedProps = _override.props(props2);
|
|
const nextProps = getOverrideProps({
|
|
..._override,
|
|
props: mappedProps
|
|
});
|
|
return React.createElement(Component, _extends({
|
|
ref
|
|
}, nextProps));
|
|
});
|
|
DynamicOverride.displayName = Component.displayName;
|
|
return [DynamicOverride, {}];
|
|
}
|
|
const props = getOverrideProps(_override);
|
|
return [Component, props];
|
|
}
|
|
function mergeOverrides(target = {}, source = {}) {
|
|
const merged = Object.assign({}, target, source);
|
|
const allIdentifiers = Object.keys(merged);
|
|
return allIdentifiers.reduce((acc, name) => {
|
|
acc[name] = mergeOverride(toObjectOverride(target[name]), toObjectOverride(source[name]));
|
|
return acc;
|
|
}, {});
|
|
}
|
|
function mergeOverride(target, source) {
|
|
const merged = {
|
|
...target,
|
|
...source
|
|
};
|
|
if (target.props && source.props) {
|
|
merged.props = mergeConfigurationOverrides(target.props, source.props);
|
|
}
|
|
if (target.style && source.style) {
|
|
merged.style = mergeConfigurationOverrides(target.style, source.style);
|
|
}
|
|
return merged;
|
|
}
|
|
function mergeConfigurationOverrides(target, source) {
|
|
if (typeof target === "object" && typeof source === "object") {
|
|
return (0, _deepMerge.default)({}, target, source);
|
|
}
|
|
return (...args) => {
|
|
return (0, _deepMerge.default)({}, typeof target === "function" ? target(...args) : target, typeof source === "function" ? source(...args) : source);
|
|
};
|
|
}
|
|
function useOverrides(defaults, overrides = {}) {
|
|
return React.useMemo(() => Object.keys(defaults).reduce((obj, key) => {
|
|
obj[key] = getOverrides(overrides[key], defaults[key]);
|
|
return obj;
|
|
}, {}), [overrides]);
|
|
}
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_responsive_helpers,
|
|
require_themes,
|
|
require_styles,
|
|
require_overrides
|
|
};
|
|
//# sourceMappingURL=chunk-K5FSULMP.js.map
|