import { isString as n } from "../utils.es.js";
const e = (s) => ({
  test: (t) => n(t) && t.endsWith(s) && t.split(" ").length === 1,
  parse: parseFloat,
  transform: (t) => `${t}${s}`
}), a = e("deg"), r = e("%"), c = e("px"), p = e("vh"), g = e("vw"), i = Object.assign(Object.assign({}, r), { parse: (s) => r.parse(s) / 100, transform: (s) => r.transform(s * 100) });
export {
  a as degrees,
  r as percent,
  i as progressPercentage,
  c as px,
  p as vh,
  g as vw
};
//# sourceMappingURL=units.es.js.map
