/** @license MIT | @cube-dev/ui-kit v0.142.7 | Cube Dev Team */
//#region src/data/item-themes.ts
const VALIDATION_STYLES = { border: {
	invalid: "#danger-accent-text",
	valid: "#success-accent-text"
} };
const ITEM_ACTION_BASE_STYLES = {
	display: "inline-grid",
	flow: "column",
	placeItems: "center",
	placeContent: "center",
	gap: 0,
	position: "relative",
	margin: {
		"": "0 1bw 0 1bw",
		":last-child & !:first-child": "0 $side-padding 0 0",
		"!:last-child & :first-child": "0 0 0 $side-padding",
		":last-child & :first-child": "0 $side-padding",
		context: "0"
	},
	padding: 0,
	radius: "(1r - 1bw)",
	transition: "theme",
	flexShrink: 0,
	textDecoration: "none",
	boxSizing: "border-box",
	whiteSpace: "nowrap",
	border: 0,
	height: "$action-size",
	width: {
		"": "$action-size",
		"has-label": "auto"
	},
	placeSelf: "center",
	"$side-padding": "(($size - $action-size - 2bw) / 2)",
	"$action-size": "min(max((2x + 2bw), (($size, $size-md) - 1x - 2bw)), (3x - 2bw))",
	Icon: {
		$: ">",
		display: "grid",
		placeItems: "center",
		height: "($action-size - 2bw) ($action-size - 2bw)",
		width: "($action-size - 2bw) ($action-size - 2bw)",
		opacity: {
			"": 1,
			"checkmark & selected": 1,
			"checkmark & !selected": 0,
			"checkmark & !selected & hovered": .4
		}
	}
};
const DEFAULT_PRIMARY_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#primary-accent-surface-border",
		pressed: "#primary-accent-surface-border",
		disabled: "transparent"
	},
	fill: {
		"": "#surface #primary-accent-surface",
		hovered: "#surface #primary-accent-surface-2",
		pressed: "#surface #primary-accent-surface-3",
		disabled: "#surface #primary-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#primary-accent-disabled-surface-text"
	}
};
const DEFAULT_OUTLINE_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": true,
		selected: "#primary-border",
		disabled: "#border",
		...VALIDATION_STYLES.border
	},
	fill: {
		"": "#surface-2 #surface-text.0",
		hovered: "#surface-2 #surface-text.03",
		pressed: "#surface-2 #surface-text.09",
		selected: "#surface-2 #primary-accent-surface.09",
		"selected & (hovered | focused)": "#surface-2 #primary-accent-surface.12",
		"selected & pressed": "#surface-2 #primary-accent-surface.18",
		disabled: "#surface-2 #disabled-surface"
	},
	color: {
		"": "#surface-text-soft",
		hovered: "#surface-text-soft",
		pressed: "#surface-text",
		selected: "#primary-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DEFAULT_OUTLINE_2_STYLES = {
	...DEFAULT_OUTLINE_STYLES,
	fill: {
		"": "#surface-3 #surface-text.0",
		hovered: "#surface-3 #surface-text.03",
		pressed: "#surface-3 #surface-text.09",
		selected: "#surface-3 #primary-accent-surface.09",
		"selected & (hovered | focused)": "#surface-3 #primary-accent-surface.12",
		"selected & pressed": "#surface-3 #primary-accent-surface.15",
		disabled: "#surface-3 #disabled-surface"
	}
};
const DEFAULT_CLEAR_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "transparent",
		...VALIDATION_STYLES.border
	},
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#primary-accent-surface.09",
		"selected & (hovered | focused)": "#primary-accent-surface.12",
		"selected & pressed": "#primary-accent-surface.18",
		disabled: "transparent"
	},
	color: {
		"": "#surface-text-soft",
		hovered: "#surface-text-soft",
		"pressed & !selected": "#surface-text",
		selected: "#primary-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DEFAULT_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#surface-text.09",
		"selected & (hovered | focused)": "#surface-text.12",
		"selected & pressed": "#surface-text.15",
		disabled: "transparent"
	},
	color: {
		"": "#surface-text-soft",
		hovered: "#surface-text-soft",
		selected: "#surface-text",
		disabled: "#disabled-surface-text"
	}
};
const DEFAULT_LINK_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: "0",
	fill: { "": "transparent" },
	color: {
		"": "#primary-accent-text-soft",
		"hovered & !pressed": "#primary-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DANGER_PRIMARY_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#white.2",
		pressed: "#danger-accent-text",
		disabled: "transparent"
	},
	fill: {
		"": "#surface #danger-accent-surface",
		hovered: "#surface #danger-accent-surface-2",
		pressed: "#surface #danger-accent-surface-3",
		disabled: "#surface #danger-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#danger-accent-disabled-surface-text"
	}
};
const DANGER_OUTLINE_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#danger-border",
		disabled: "#border"
	},
	fill: {
		"": "#surface-2 #danger-accent-surface.0",
		hovered: "#surface-2 #danger-accent-surface.03",
		pressed: "#surface-2 #danger-accent-surface.09",
		selected: "#surface-2 #danger-accent-surface.09",
		"selected & (hovered | focused)": "#surface-2 #danger-accent-surface.12",
		"selected & pressed": "#surface-2 #danger-accent-surface.18",
		disabled: "#surface-2 #disabled-surface"
	},
	color: {
		"": "#danger-accent-text-soft",
		selected: "#danger-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DANGER_OUTLINE_2_STYLES = {
	...DANGER_OUTLINE_STYLES,
	fill: {
		"": "#surface-3 #danger-accent-surface.0",
		hovered: "#surface-3 #danger-accent-surface.03",
		pressed: "#surface-3 #danger-accent-surface.09",
		selected: "#surface-3 #danger-accent-surface.09",
		"selected & (hovered | focused)": "#surface-3 #danger-accent-surface.12",
		"selected & pressed": "#surface-3 #danger-accent-surface.18",
		disabled: "#surface-3 #disabled-surface"
	}
};
const DANGER_CLEAR_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: { "": "transparent" },
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#danger-accent-text.09",
		"selected & (hovered | focused)": "#danger-accent-text.12",
		"selected & pressed": "#danger-accent-text.18",
		disabled: "transparent"
	},
	color: {
		"": "#danger-accent-text-soft",
		selected: "#danger-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DANGER_LINK_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: 0,
	fill: { "": "transparent" },
	color: {
		"": "#danger-accent-text-soft",
		"hovered & !pressed": "#danger-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const DANGER_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#danger-accent-text.0",
		"hovered | focused": "#danger-accent-text.03",
		selected: "#danger-accent-text.09",
		"selected & (hovered | focused)": "#danger-accent-text.12",
		pressed: "#danger-accent-text.09",
		disabled: "transparent"
	},
	color: {
		"": "#danger-accent-text",
		hovered: "#danger-accent-text",
		pressed: "#danger-accent-text",
		disabled: "#danger-accent-text.4"
	}
};
const SUCCESS_PRIMARY_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#white.2",
		pressed: "#success-accent-text",
		disabled: "transparent"
	},
	fill: {
		"": "#surface #success-accent-surface",
		hovered: "#surface #success-accent-surface-2",
		pressed: "#surface #success-accent-surface-3",
		disabled: "#surface #success-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#success-accent-disabled-surface-text"
	}
};
const SUCCESS_OUTLINE_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#success-border",
		disabled: "#border"
	},
	fill: {
		"": "#surface-2 #success-accent-surface.0",
		hovered: "#surface-2 #success-accent-surface.03",
		pressed: "#surface-2 #success-accent-surface.09",
		selected: "#surface-2 #success-accent-surface.09",
		"selected & (hovered | focused)": "#surface-2 #success-accent-surface.12",
		"selected & pressed": "#surface-2 #success-accent-surface.18",
		disabled: "#surface-2 #disabled-surface"
	},
	color: {
		"": "#success-accent-text-soft",
		selected: "#success-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const SUCCESS_OUTLINE_2_STYLES = {
	...SUCCESS_OUTLINE_STYLES,
	fill: {
		"": "#surface-3 #success-accent-surface.0",
		hovered: "#surface-3 #success-accent-surface.03",
		pressed: "#surface-3 #success-accent-surface.09",
		selected: "#surface-3 #success-accent-surface.09",
		"selected & (hovered | focused)": "#surface-3 #success-accent-surface.12",
		"selected & pressed": "#surface-3 #success-accent-surface.18",
		disabled: "#surface-3 #disabled-surface"
	}
};
const SUCCESS_CLEAR_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: { "": "transparent" },
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#success-accent-text.09",
		"selected & (hovered | focused)": "#success-accent-text.12",
		"selected & pressed": "#success-accent-text.18",
		disabled: "transparent"
	},
	color: {
		"": "#success-accent-text-soft",
		selected: "#success-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const SUCCESS_LINK_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: 0,
	fill: { "": "transparent" },
	color: {
		"": "#success-accent-text-soft",
		"hovered & !pressed": "#success-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const SUCCESS_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#success-accent-text.0",
		"hovered | focused": "#success-accent-text.03",
		selected: "#success-accent-text.09",
		"selected & (hovered | focused)": "#success-accent-text.12",
		pressed: "#success-accent-text.09",
		disabled: "transparent"
	},
	color: {
		"": "#success-accent-text",
		hovered: "#success-accent-text",
		pressed: "#success-accent-text",
		disabled: "#success-accent-text.4"
	}
};
const WARNING_PRIMARY_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#white.2",
		pressed: "#warning-accent-text",
		disabled: "transparent"
	},
	fill: {
		"": "#surface #warning-accent-surface",
		hovered: "#surface #warning-accent-surface-2",
		pressed: "#surface #warning-accent-surface-3",
		disabled: "#surface #warning-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#warning-accent-disabled-surface-text"
	}
};
const WARNING_OUTLINE_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#warning-border",
		disabled: "#border"
	},
	fill: {
		"": "#surface-2 #warning-accent-surface.0",
		hovered: "#surface-2 #warning-accent-surface.03",
		pressed: "#surface-2 #warning-accent-surface.09",
		selected: "#surface-2 #warning-accent-surface.09",
		"selected & (hovered | focused)": "#surface-2 #warning-accent-surface.12",
		"selected & pressed": "#surface-2 #warning-accent-surface.18",
		disabled: "#surface-2 #disabled-surface"
	},
	color: {
		"": "#warning-accent-text-soft",
		selected: "#warning-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const WARNING_OUTLINE_2_STYLES = {
	...WARNING_OUTLINE_STYLES,
	fill: {
		"": "#surface-3 #warning-accent-surface.0",
		hovered: "#surface-3 #warning-accent-surface.03",
		pressed: "#surface-3 #warning-accent-surface.09",
		selected: "#surface-3 #warning-accent-surface.09",
		"selected & (hovered | focused)": "#surface-3 #warning-accent-surface.12",
		"selected & pressed": "#surface-3 #warning-accent-surface.18",
		disabled: "#surface-3 #disabled-surface"
	}
};
const WARNING_CLEAR_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: { "": "transparent" },
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#warning-accent-text.09",
		"selected & (hovered | focused)": "#warning-accent-text.12",
		"selected & pressed": "#warning-accent-text.18",
		disabled: "transparent"
	},
	color: {
		"": "#warning-accent-text-soft",
		selected: "#warning-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const WARNING_LINK_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: 0,
	fill: { "": "transparent" },
	color: {
		"": "#warning-accent-text-soft",
		"hovered & !pressed": "#warning-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const WARNING_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#warning-accent-text.0",
		"hovered | focused": "#warning-accent-text.03",
		selected: "#warning-accent-text.09",
		"selected & (hovered | focused)": "#warning-accent-text.12",
		pressed: "#warning-accent-text.09",
		disabled: "transparent"
	},
	color: {
		"": "#warning-accent-text",
		hovered: "#warning-accent-text",
		pressed: "#warning-accent-text",
		disabled: "#warning-accent-text.4"
	}
};
const NOTE_PRIMARY_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#white.2",
		pressed: "#note-accent-text",
		disabled: "transparent"
	},
	fill: {
		"": "#surface #note-accent-surface",
		hovered: "#surface #note-accent-surface-2",
		pressed: "#surface #note-accent-surface-3",
		disabled: "#surface #note-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#note-accent-disabled-surface-text"
	}
};
const NOTE_OUTLINE_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: {
		"": "#note-border",
		disabled: "#border"
	},
	fill: {
		"": "#surface-2 #note-accent-surface.0",
		hovered: "#surface-2 #note-accent-surface.03",
		pressed: "#surface-2 #note-accent-surface.09",
		selected: "#surface-2 #note-accent-surface.09",
		"selected & (hovered | focused)": "#surface-2 #note-accent-surface.12",
		"selected & pressed": "#surface-2 #note-accent-surface.18",
		disabled: "#surface-2 #disabled-surface"
	},
	color: {
		"": "#note-accent-text-soft",
		selected: "#note-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const NOTE_OUTLINE_2_STYLES = {
	...NOTE_OUTLINE_STYLES,
	fill: {
		"": "#surface-3 #note-accent-surface.0",
		hovered: "#surface-3 #note-accent-surface.03",
		pressed: "#surface-3 #note-accent-surface.09",
		selected: "#surface-3 #note-accent-surface.09",
		"selected & (hovered | focused)": "#surface-3 #note-accent-surface.12",
		"selected & pressed": "#surface-3 #note-accent-surface.18",
		disabled: "#surface-3 #disabled-surface"
	}
};
const NOTE_CLEAR_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: { "": "transparent" },
	fill: {
		"": "#surface-text.0",
		"hovered | focused": "#surface-text.04",
		pressed: "#surface-text.06",
		selected: "#note-accent-text.09",
		"selected & (hovered | focused)": "#note-accent-text.12",
		"selected & pressed": "#note-accent-text.18",
		disabled: "transparent"
	},
	color: {
		"": "#note-accent-text-soft",
		selected: "#note-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const NOTE_LINK_STYLES = {
	outline: {
		"": "0 #primary-accent-text.0",
		focused: "1bw #primary-accent-text"
	},
	border: 0,
	fill: { "": "transparent" },
	color: {
		"": "#note-accent-text-soft",
		"hovered & !pressed": "#note-accent-text",
		disabled: "#disabled-surface-text"
	}
};
const NOTE_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#note-accent-text.0",
		"hovered | focused": "#note-accent-text.03",
		selected: "#note-accent-text.09",
		"selected & (hovered | focused)": "#note-accent-text.12",
		pressed: "#note-accent-text.09",
		disabled: "transparent"
	},
	color: {
		"": "#note-accent-text",
		hovered: "#note-accent-text",
		pressed: "#note-accent-text",
		disabled: "#note-accent-text.4"
	}
};
const SPECIAL_PRIMARY_STYLES = {
	outline: {
		"": "0 #special-accent-text.0",
		focused: "1bw #special-accent-text"
	},
	border: {
		"": "#special-accent-surface-border",
		pressed: "#special-accent-surface-border",
		disabled: "transparent"
	},
	fill: {
		"": "#white #special-accent-surface",
		hovered: "#white #special-accent-surface-2",
		pressed: "#white #special-accent-surface-3",
		disabled: "#white #special-accent-disabled-surface"
	},
	color: {
		"": "#white",
		disabled: "#special-accent-disabled-surface-text"
	}
};
const SPECIAL_OUTLINE_STYLES = {
	outline: {
		"": "0 #special-accent-text.0",
		focused: "1bw #special-accent-text"
	},
	border: {
		"": "#white.15",
		selected: "#white.2",
		...VALIDATION_STYLES.border
	},
	fill: {
		"": "#special-surface #white.0",
		hovered: "#special-surface #white.06",
		pressed: "#special-surface #white.12",
		selected: "#special-surface #white.18",
		"selected & (hovered | focused)": "#special-surface #white.24",
		"selected & pressed": "#special-surface #white.3",
		disabled: "#special-surface #white.04"
	},
	color: {
		"": "#white.8",
		selected: "#white",
		disabled: "#white.4"
	}
};
const SPECIAL_CLEAR_STYLES = {
	outline: {
		"": "0 #special-accent-text.0",
		focused: "1bw #special-accent-text"
	},
	border: {
		"": "transparent",
		...VALIDATION_STYLES.border
	},
	fill: {
		"": "#white.0",
		"hovered | focused": "#white.12",
		pressed: "#white.18",
		selected: "#white",
		"selected & (hovered | focused)": "#white.94",
		"selected & pressed": "#white.88",
		disabled: "#white.0",
		"selected & disabled": "#white.16"
	},
	color: {
		"": "#white.8",
		selected: "#special-accent-text",
		disabled: "#white.4"
	}
};
const SPECIAL_LINK_STYLES = {
	outline: {
		"": "0 #special-accent-text.0",
		focused: "1bw #special-accent-text"
	},
	border: "0",
	fill: { "": "transparent" },
	color: {
		"": "#white",
		"hovered & !pressed": "#white.9",
		disabled: "#white.4"
	}
};
const SPECIAL_ITEM_STYLES = {
	border: "transparent",
	fill: {
		"": "#white.0",
		hovered: "#white.12",
		"pressed | (selected & !hovered)": "#white.18"
	},
	color: {
		"": "#white",
		disabled: "#white.4"
	}
};
const DEFAULT_CARD_STYLES = {
	border: "#surface-text.20",
	fill: "#surface-3",
	color: "#surface-text-soft"
};
const SUCCESS_CARD_STYLES = {
	border: "#success-accent-surface.20",
	fill: "#success-surface",
	color: "#success-accent-text"
};
const DANGER_CARD_STYLES = {
	border: "#danger-accent-surface.20",
	fill: "#danger-surface",
	color: "#danger-accent-text"
};
const WARNING_CARD_STYLES = {
	border: "#warning-accent-surface.20",
	fill: "#warning-surface",
	color: "#warning-accent-text"
};
const NOTE_CARD_STYLES = {
	border: "#note-accent-surface.20",
	fill: "#note-surface",
	color: "#note-accent-text"
};

//#endregion
export { DANGER_CARD_STYLES, DANGER_CLEAR_STYLES, DANGER_ITEM_STYLES, DANGER_LINK_STYLES, DANGER_OUTLINE_2_STYLES, DANGER_OUTLINE_STYLES, DANGER_PRIMARY_STYLES, DEFAULT_CARD_STYLES, DEFAULT_CLEAR_STYLES, DEFAULT_ITEM_STYLES, DEFAULT_LINK_STYLES, DEFAULT_OUTLINE_2_STYLES, DEFAULT_OUTLINE_STYLES, DEFAULT_PRIMARY_STYLES, ITEM_ACTION_BASE_STYLES, NOTE_CARD_STYLES, NOTE_CLEAR_STYLES, NOTE_ITEM_STYLES, NOTE_LINK_STYLES, NOTE_OUTLINE_2_STYLES, NOTE_OUTLINE_STYLES, NOTE_PRIMARY_STYLES, SPECIAL_CLEAR_STYLES, SPECIAL_ITEM_STYLES, SPECIAL_LINK_STYLES, SPECIAL_OUTLINE_STYLES, SPECIAL_PRIMARY_STYLES, SUCCESS_CARD_STYLES, SUCCESS_CLEAR_STYLES, SUCCESS_ITEM_STYLES, SUCCESS_LINK_STYLES, SUCCESS_OUTLINE_2_STYLES, SUCCESS_OUTLINE_STYLES, SUCCESS_PRIMARY_STYLES, WARNING_CARD_STYLES, WARNING_CLEAR_STYLES, WARNING_ITEM_STYLES, WARNING_LINK_STYLES, WARNING_OUTLINE_2_STYLES, WARNING_OUTLINE_STYLES, WARNING_PRIMARY_STYLES };
//# sourceMappingURL=item-themes.js.map