The determining factor for whether you can claim a dependent is whether you pay more than half of her living expenses, not how much she earns. She can earn $40,000, but if you are paying more than half of her support, she is still your dependent, provided that she fulfills the other requirements of age,
relationship, citizenship/residency status, and residence.
Your California return is based upon your federal return. California uses the same definitions for a dependent as the federal government, so if you list different dependents on the two returns, California may contact you.