@bekk-basen/neutral-ui-do-not-use 0.0.0-dev.09f4177 → 0.0.0-dev.ce52b60

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 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form/checkbox/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,KAAK,aAAa,GAAG,IAAI,CACvB,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAC5B,UAAU,GAAG,eAAe,CAC7B,GAAG;IACF,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CA0B9D;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA;AACnB,YAAY,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form/checkbox/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGvE,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAO3C,KAAK,aAAa,GAAG,IAAI,CACvB,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAC5B,UAAU,GAAG,eAAe,CAC7B,GAAG;IACF,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAwC9D;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA;AACnB,YAAY,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * True when rendered inside our `Field`. Base UI's `Field.Item` / `Field.Label`
3
+ * throw without a `Field.Root` ancestor, so controls that want to use them must
4
+ * check first and fall back to plain markup.
5
+ */
6
+ declare const InsideFieldContext: import('react').Context<boolean>;
7
+ export { InsideFieldContext };
8
+ //# sourceMappingURL=field-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-context.d.ts","sourceRoot":"","sources":["../../../../src/components/form/field/field-context.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,kCAAuB,CAAA;AAE/C,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { Field as FieldPrimitive } from '@base-ui/react/field';
2
+ type FieldProps = FieldPrimitive.Root.Props;
3
+ declare function Field({ className, ...props }: FieldProps): import("react/jsx-runtime").JSX.Element;
4
+ type FieldLabelProps = Omit<FieldPrimitive.Label.Props, "render">;
5
+ declare function FieldLabel({ children, nativeLabel, ...props }: FieldLabelProps): import("react/jsx-runtime").JSX.Element;
6
+ type FieldDescriptionProps = Omit<FieldPrimitive.Description.Props, "render">;
7
+ declare function FieldDescription({ children, ...props }: FieldDescriptionProps): import("react/jsx-runtime").JSX.Element;
8
+ type FieldErrorProps = Omit<FieldPrimitive.Error.Props, "render">;
9
+ declare function FieldError({ children, className, ...props }: FieldErrorProps): import("react/jsx-runtime").JSX.Element;
10
+ export { Field, FieldLabel, FieldDescription, FieldError };
11
+ export type { FieldProps, FieldLabelProps, FieldDescriptionProps, FieldErrorProps, };
12
+ //# sourceMappingURL=field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/components/form/field/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAO9D,KAAK,UAAU,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,CAAA;AAE3C,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAUjD;AAED,KAAK,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;AAEjE,iBAAS,UAAU,CAAC,EAClB,QAAQ,EACR,WAAkB,EAClB,GAAG,KAAK,EACT,EAAE,eAAe,2CAajB;AAED,KAAK,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;AAE7E,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAYtE;AAED,KAAK,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;AAEjE,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAkBrE;AAED,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAA;AAC1D,YAAY,EACV,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,eAAe,GAChB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { Form as FormPrimitive } from '@base-ui/react/form';
2
+ type FormProps = FormPrimitive.Props;
3
+ declare function Form({ className, ...props }: FormProps): import("react/jsx-runtime").JSX.Element;
4
+ export { Form };
5
+ export type { FormProps };
6
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/form/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAK3D,KAAK,SAAS,GAAG,aAAa,CAAC,KAAK,CAAA;AAEpC,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQ/C;AAED,OAAO,EAAE,IAAI,EAAE,CAAA;AACf,YAAY,EAAE,SAAS,EAAE,CAAA"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,10 @@ export { Checkbox } from './components/form/checkbox/checkbox';
4
4
  export type { CheckboxProps } from './components/form/checkbox/checkbox';
5
5
  export { CheckboxGroup } from './components/form/checkbox-group/checkbox-group';
6
6
  export type { CheckboxGroupProps } from './components/form/checkbox-group/checkbox-group';
7
+ export { Field, FieldLabel, FieldDescription, FieldError, } from './components/form/field/field';
8
+ export type { FieldProps, FieldLabelProps, FieldDescriptionProps, FieldErrorProps, } from './components/form/field/field';
9
+ export { Form } from './components/form/form/form';
10
+ export type { FormProps } from './components/form/form/form';
7
11
  export { IconsToggle } from './components/form/icons-toggle/icons-toggle';
8
12
  export type { IconsToggleProps } from './components/form/icons-toggle/icons-toggle';
9
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAA;AAC9D,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AAExE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAA;AAC/E,YAAY,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAA;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAA;AACzE,YAAY,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings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