@obosbbl/grunnmuren-react 2.0.0-canary.21 → 2.0.0-canary.22

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.
package/dist/index.d.mts CHANGED
@@ -573,8 +573,6 @@ declare const _Breadcrumbs: react.ForwardRefExoticComponent<{
573
573
  type BacklinkProps = {
574
574
  /** Additional CSS className for the element. */
575
575
  className?: string;
576
- /** Additional style properties for the element. */
577
- style?: React.CSSProperties;
578
576
  /** The URL to navigate to when clicking the backlink. */
579
577
  href?: string;
580
578
  /** The content of the link */
@@ -583,12 +581,10 @@ type BacklinkProps = {
583
581
  * @default false
584
582
  */
585
583
  withUnderline?: boolean;
586
- } & Omit<LinkProps, 'className' | 'style'>;
584
+ } & LinkProps;
587
585
  declare const _Backlink: react.ForwardRefExoticComponent<{
588
586
  /** Additional CSS className for the element. */
589
587
  className?: string | undefined;
590
- /** Additional style properties for the element. */
591
- style?: react.CSSProperties | undefined;
592
588
  /** The URL to navigate to when clicking the backlink. */
593
589
  href?: string | undefined;
594
590
  /** The content of the link */
@@ -597,6 +593,6 @@ declare const _Backlink: react.ForwardRefExoticComponent<{
597
593
  * @default false
598
594
  */
599
595
  withUnderline?: boolean | undefined;
600
- } & Omit<LinkProps, "className" | "style"> & react.RefAttributes<HTMLAnchorElement>>;
596
+ } & LinkProps & react.RefAttributes<HTMLAnchorElement>>;
601
597
 
602
598
  export { _Accordion as Accordion, _AccordionItem as AccordionItem, type AccordionItemProps, type AccordionProps, Alertbox, type Props as AlertboxProps, _Backlink as Backlink, type BacklinkProps, _Breadcrumb as Breadcrumb, type BreadcrumbProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsProps, _Button as Button, type ButtonProps, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, _Combobox as Combobox, ListBoxItem as ComboboxItem, type ComboboxProps, Content, ContentContext, type ContentProps, Footer, type FooterProps, GrunnmurenProvider, type GrunnmurenProviderProps, Heading, HeadingContext, type HeadingProps, _NumberField as NumberField, type NumberFieldProps, _Radio as Radio, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, _Select as Select, ListBoxItem as SelectItem, type SelectProps, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps };
package/dist/index.mjs CHANGED
@@ -929,7 +929,7 @@ const _Breadcrumb = /*#__PURE__*/ forwardRef(Breadcrumb);
929
929
  function Backlink(props, ref) {
930
930
  const { className, children, href, withUnderline, ...restProps } = props;
931
931
  return /*#__PURE__*/ jsxs(Link, {
932
- className: cx(className, 'group flex max-w-fit items-center gap-3 rounded-md p-2.5 no-underline focus:outline-none focus-visible:ring focus-visible:ring-black'),
932
+ className: cx(className, 'group flex max-w-fit items-center gap-3 rounded-md p-2.5 no-underline focus:outline-none data-[focus-visible]:ring data-[focus-visible]:ring-black'),
933
933
  ...restProps,
934
934
  ref: ref,
935
935
  href: href,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "2.0.0-canary.21",
3
+ "version": "2.0.0-canary.22",
4
4
  "description": "Grunnmuren components in React",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"