@arkitektbedriftene/fe-lib 0.3.13 → 0.3.14

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.
@@ -678,7 +678,7 @@ const Ze = () => (Rt--, Rt), { styled: re, css: qt, keyframes: Ie, globalCss: ni
678
678
  primary: {
679
679
  background: "$$solid",
680
680
  color: "white",
681
- "&:hover:enabled": {
681
+ "&:hover:not(:disabled)": {
682
682
  backgroundColor: "$$solidHover"
683
683
  },
684
684
  "&:disabled": {
@@ -688,7 +688,7 @@ const Ze = () => (Rt--, Rt), { styled: re, css: qt, keyframes: Ie, globalCss: ni
688
688
  outline: {
689
689
  boxShadow: "inset 0 0 0 1px $$outline",
690
690
  color: "$$outlineText",
691
- "&:hover:enabled": {
691
+ "&:hover:not(:disabled)": {
692
692
  backgroundColor: "$$outlineHover"
693
693
  },
694
694
  "&:disabled": {
@@ -699,7 +699,7 @@ const Ze = () => (Rt--, Rt), { styled: re, css: qt, keyframes: Ie, globalCss: ni
699
699
  transparent: {
700
700
  backgroundColor: "transparent",
701
701
  color: "$$outlineText",
702
- "&:hover:enabled": {
702
+ "&:hover:not(:disabled)": {
703
703
  backgroundColor: "$$outlineHover"
704
704
  },
705
705
  "&:disabled": {
@@ -740,6 +740,7 @@ const Ze = () => (Rt--, Rt), { styled: re, css: qt, keyframes: Ie, globalCss: ni
740
740
  {
741
741
  ref: s,
742
742
  type: "button",
743
+ role: "button",
743
744
  disabled: t || n,
744
745
  variant: r,
745
746
  color: o,
@@ -8,7 +8,7 @@ import { HeadingNode as R, QuoteNode as H } from "@lexical/rich-text";
8
8
  import { TableNode as k, TableRowNode as P, TableCellNode as I } from "@lexical/table";
9
9
  import { j as c } from "./jsx-runtime-d0aa4c5b.js";
10
10
  import { createContext as M, useState as B, useRef as f, useCallback as h, useContext as q, useMemo as z } from "react";
11
- import { c as d, s as A, B as x, S as D } from "./Badge-3f33be41.js";
11
+ import { c as d, s as A, B as x, S as D } from "./Badge-5eab3787.js";
12
12
  import { LexicalComposer as V } from "@lexical/react/LexicalComposer.js";
13
13
  import { RichTextPlugin as W } from "@lexical/react/LexicalRichTextPlugin.js";
14
14
  import J from "@lexical/react/LexicalErrorBoundary.js";
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ export type { CSS } from "@stitches/react";
2
3
  export declare const styled: <Type extends import("react").ComponentType<any> | keyof JSX.IntrinsicElements | import("@stitches/react/types/util").Function, Composers extends (string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function | {
3
4
  [name: string]: unknown;
4
5
  })[], CSS = import("@stitches/react/types/css-util").CSS<{
package/dist/ui.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { P as t, a as n, b as p } from "./Badge-3f33be41.js";
2
- import { A as v, e as j, B as u, d as C, O as P, S as b, c as h, g as y, k as B, s as O } from "./Badge-3f33be41.js";
1
+ import { P as t, a as n, b as p } from "./Badge-5eab3787.js";
2
+ import { A as v, e as j, B as u, d as C, O as P, S as b, c as h, g as y, k as B, s as O } from "./Badge-5eab3787.js";
3
3
  import { j as o } from "./jsx-runtime-d0aa4c5b.js";
4
4
  import { useState as i } from "react";
5
5
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.es.js",