lawgic-dev-kit 0.11.6 → 0.11.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { __module as r } from "../../_virtual/index2.js";
1
+ import { __module as r } from "../../_virtual/index6.js";
2
2
  import { __require as s } from "./node_modules/react-is/index.js";
3
3
  import { __require as t } from "./factoryWithTypeCheckers.js";
4
4
  import { __require as p } from "./factoryWithThrowingShims.js";
@@ -1,4 +1,4 @@
1
- import { __module as e } from "../../_virtual/index6.js";
1
+ import { __module as e } from "../../_virtual/index5.js";
2
2
  import { __require as o } from "./cjs/scheduler.production.js";
3
3
  import { __require as u } from "./cjs/scheduler.development.js";
4
4
  var r;
@@ -1,6 +1,6 @@
1
- import { p as v } from "../../_virtual/index3.js";
2
- import { t as U } from "../../_virtual/index4.js";
3
- import oe from "../../_virtual/index5.js";
1
+ import { p as v } from "../../_virtual/index2.js";
2
+ import { t as U } from "../../_virtual/index3.js";
3
+ import oe from "../../_virtual/index4.js";
4
4
  const ce = Object.prototype.toString, he = Error.prototype.toString, fe = RegExp.prototype.toString, de = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", pe = /^Symbol\((.*)\)(.*)$/;
5
5
  function me(n) {
6
6
  return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ type ColorVariant = "blue" | "aqua" | "red" | "gray";
3
+ type Variant = "rounded" | "square";
4
+ interface CheckboxProps extends React.ComponentPropsWithoutRef<"div"> {
5
+ active?: boolean | string | number;
6
+ color?: ColorVariant;
7
+ variant?: Variant;
8
+ className?: string;
9
+ size?: number;
10
+ }
11
+ declare const Checkbox: React.FC<CheckboxProps>;
12
+ export default Checkbox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lawgic-dev-kit",
3
- "version": "0.11.6",
3
+ "version": "0.11.8",
4
4
  "description": "Componentes de UI para Lawgic",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,13 +0,0 @@
1
- import { IconProp } from "@fortawesome/fontawesome-svg-core";
2
- import { Color } from "../../../types/styleValues";
3
- interface SidebarButtonProps {
4
- active: boolean;
5
- icon: IconProp;
6
- label: string;
7
- onClick: () => void;
8
- expanded: boolean;
9
- disabled?: boolean;
10
- color?: Color;
11
- }
12
- declare const SidebarButton: React.FC<SidebarButtonProps>;
13
- export default SidebarButton;
@@ -1,9 +0,0 @@
1
- import { Color } from "../../../types/styleValues";
2
- interface SidebarButtonColorConfig {
3
- activeTextColor: string;
4
- activeBgColor: string;
5
- hoverBgColor: string;
6
- activeIconColor: string;
7
- }
8
- export declare const resolveSidebarButtonColors: (color: Color) => SidebarButtonColorConfig;
9
- export {};
@@ -1,11 +0,0 @@
1
- import { Color } from "../../../types/styleValues";
2
- interface StepperColorConfig {
3
- completedBgColor: string;
4
- focusBorderColor: string;
5
- pendingBorderColor: string;
6
- iconActiveColor: string;
7
- lineActiveColor: string;
8
- lineGradientFrom: string;
9
- }
10
- export declare const resolveStepperColors: (color: Color) => StepperColorConfig;
11
- export {};
@@ -1,9 +0,0 @@
1
- import { Color } from "../../../types/styleValues";
2
- export interface StepperProps {
3
- steps: {
4
- label: string;
5
- completed: boolean;
6
- }[];
7
- direction?: "horizontal" | "vertical";
8
- color?: Color;
9
- }