@bbl-digital/snorre 2.2.53 → 2.2.54

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.
Files changed (33) hide show
  1. package/dist/bundle.js +55 -26
  2. package/esm/core/Button/index.js +2 -1
  3. package/esm/core/Button/styles.js +26 -17
  4. package/esm/core/CommentsTimeline/CommentLine/index.js +3 -2
  5. package/esm/core/Editor/config.js +14 -0
  6. package/esm/core/Editor/index.js +7 -3
  7. package/esm/core/NoticeCard/styles.js +4 -4
  8. package/lib/core/Box/styles.d.ts +1 -0
  9. package/lib/core/Box/styles.d.ts.map +1 -1
  10. package/lib/core/BoxedTable/TableRow/styles.d.ts +2 -0
  11. package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
  12. package/lib/core/Button/index.d.ts +2 -0
  13. package/lib/core/Button/index.d.ts.map +1 -1
  14. package/lib/core/Button/index.js +2 -1
  15. package/lib/core/Button/styles.d.ts +1 -0
  16. package/lib/core/Button/styles.d.ts.map +1 -1
  17. package/lib/core/Button/styles.js +26 -17
  18. package/lib/core/CollapseList/styles.d.ts +1 -0
  19. package/lib/core/CollapseList/styles.d.ts.map +1 -1
  20. package/lib/core/CommentsTimeline/CommentLine/index.d.ts +2 -0
  21. package/lib/core/CommentsTimeline/CommentLine/index.d.ts.map +1 -1
  22. package/lib/core/CommentsTimeline/CommentLine/index.js +3 -2
  23. package/lib/core/Editor/config.d.ts +3 -0
  24. package/lib/core/Editor/config.d.ts.map +1 -1
  25. package/lib/core/Editor/config.js +14 -0
  26. package/lib/core/Editor/index.d.ts.map +1 -1
  27. package/lib/core/Editor/index.js +7 -3
  28. package/lib/core/FileInput/styles.d.ts +1 -0
  29. package/lib/core/FileInput/styles.d.ts.map +1 -1
  30. package/lib/core/InfoButton/styles.d.ts +1 -0
  31. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  32. package/lib/core/NoticeCard/styles.js +4 -4
  33. package/package.json +1 -1
@@ -23,6 +23,7 @@ const Button = props => {
23
23
  back,
24
24
  small,
25
25
  transparentBg,
26
+ focusable,
26
27
  ...restProps
27
28
  } = props;
28
29
  const theme = useTheme();
@@ -36,7 +37,7 @@ const Button = props => {
36
37
  return _jsx(ButtonOrLink, {
37
38
  disabled: disabled,
38
39
  loading: loading,
39
- css: theme => [styles.default(theme), outline && styles.outline(theme), danger && styles.danger(theme), success && styles.success(theme), highlight && styles.highlighted, disabled && styles.disabled(theme), (beforeIcon || afterIcon) && styles.icon(theme), beforeIcon && styles.beforeIcon, afterIcon && styles.afterIcon, border && styles.border(border), nostyle && styles.nostyle, loading && styles.loading(theme), back && styles.back(theme), css && css, small && styles.small, danger && outline && styles.dangerOutline(theme), transparentBg && styles.transparentBg],
40
+ css: theme => [styles.default(theme), outline && styles.outline(theme), danger && styles.danger(theme), success && styles.success(theme), highlight && styles.highlighted, disabled && styles.disabled(theme), (beforeIcon || afterIcon) && styles.icon(theme), beforeIcon && styles.beforeIcon, afterIcon && styles.afterIcon, border && styles.border(border), nostyle && styles.nostyle, loading && styles.loading(theme), back && styles.back(theme), css && css, small && styles.small, danger && outline && styles.dangerOutline(theme), transparentBg && styles.transparentBg, focusable && styles.focusable],
40
41
  afterIcon: afterIcon,
41
42
  beforeIcon: back ? _jsx(IconChevronLeft, {
42
43
  size: '12px'