"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/date-time.ts
var date_time_exports = {};
__export(date_time_exports, {
  BaseIcon: () => BaseIcon,
  Calendar: () => Calendar,
  Clock: () => Clock
});
module.exports = __toCommonJS(date_time_exports);

// src/BaseIcon.tsx
var import_styled_components = __toESM(require("styled-components"));
var import_jsx_runtime = require("react/jsx-runtime");
var StyledIcon = import_styled_components.default.div`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: ${(props) => props.$size};
  height: ${(props) => props.$size};
  color: ${(props) => props.$color};

  svg {
    width: 100%;
    height: 100%;
  }
`;
var BaseIcon = ({
  variant = "line",
  size = 24,
  color = "currentColor",
  solidContent: solidContent3,
  lineContent: lineContent3,
  className,
  style,
  "data-testid": testId,
  "aria-label": ariaLabel,
  "aria-hidden": ariaHidden
}) => {
  const svgContent = variant === "line" ? lineContent3 : solidContent3;
  const sizeValue = typeof size === "number" ? `${size}px` : size;
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
    StyledIcon,
    {
      $size: sizeValue,
      $color: color,
      className,
      style,
      "data-testid": testId,
      role: ariaLabel ? "img" : void 0,
      "aria-label": ariaLabel,
      "aria-hidden": ariaHidden != null ? ariaHidden : ariaLabel ? void 0 : true,
      dangerouslySetInnerHTML: { __html: svgContent }
    }
  );
};

// src/components/date-time/Calendar.tsx
var import_jsx_runtime2 = require("react/jsx-runtime");
var solidContent = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="icon_calendar--solid"><g id="Union"><path d="M22 18.9971C21.9998 19.5145 21.6065 19.9409 21.1025 19.9922L21 19.9971H3C2.44788 19.9971 2.00026 19.5491 2 18.9971V9.99707H22V18.9971Z" style="fill: currentColor"/><path d="M8 3.99707H16V1.99609H18V3.99707H21L21.1025 4.00195C21.6066 4.05331 22 4.47941 22 4.99707V7.99707H2V4.99707C2 4.44479 2.44772 3.99707 3 3.99707H6V1.99609H8V3.99707Z" style="fill: currentColor"/></g></g></svg>`;
var lineContent = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="icon_calendar--line"><path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M8 4H16V2H18V4H21L21.1025 4.00488C21.6067 4.05621 22 4.48232 22 5V19C22 19.5177 21.6067 19.9438 21.1025 19.9951L21 20H3C2.44772 20 2 19.5523 2 19V5C2 4.44772 2.44772 4 3 4H6V2H8V4ZM4 18H20V10H4V18ZM4 8H20V6H4V8Z" style="fill: currentColor"/></g></svg>`;
var Calendar = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(BaseIcon, { ...props, solidContent, lineContent });

// src/components/date-time/Clock.tsx
var import_jsx_runtime3 = require("react/jsx-runtime");
var solidContent2 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="icon_clock--solid"><path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M12 2.00049C17.5139 2.00049 22 6.48655 22 12.0005C22 17.5226 17.5221 22.0005 12 22.0005C6.48654 22.0005 2 17.5144 2 12.0005C2 6.47789 6.4774 2.00049 12 2.00049ZM11 6.00049V13.0005H16V11.0005H13V6.00049H11Z" style="fill: currentColor"/></g></svg>`;
var lineContent2 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="icon_clock--line"><g id="Union"><path d="M13 11H16V13H11V6H13V11Z" style="fill: currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C17.5139 2 22 6.48606 22 12C22 17.5221 17.5221 22 12 22C6.48654 22 2 17.5139 2 12C2 6.4774 6.4774 2 12 2ZM12 4C7.58197 4 4 7.58197 4 12C4 16.4093 7.59105 20 12 20C16.4175 20 20 16.4175 20 12C20 7.59063 16.4094 4 12 4Z" style="fill: currentColor"/></g></g></svg>`;
var Clock = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BaseIcon, { ...props, solidContent: solidContent2, lineContent: lineContent2 });
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  BaseIcon,
  Calendar,
  Clock
});
//# sourceMappingURL=date-time.js.map