@bbl-digital/snorre 2.2.51 → 2.2.55

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 (43) hide show
  1. package/dist/bundle.js +62 -33
  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/Editor/styles.js +6 -6
  8. package/esm/core/NoticeCard/index.js +1 -1
  9. package/esm/core/NoticeCard/styles.js +4 -4
  10. package/esm/utils/dates.js +5 -1
  11. package/lib/core/Box/styles.d.ts +1 -0
  12. package/lib/core/Box/styles.d.ts.map +1 -1
  13. package/lib/core/BoxedTable/TableRow/styles.d.ts +2 -0
  14. package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
  15. package/lib/core/Button/index.d.ts +2 -0
  16. package/lib/core/Button/index.d.ts.map +1 -1
  17. package/lib/core/Button/index.js +2 -1
  18. package/lib/core/Button/styles.d.ts +1 -0
  19. package/lib/core/Button/styles.d.ts.map +1 -1
  20. package/lib/core/Button/styles.js +26 -17
  21. package/lib/core/CollapseList/styles.d.ts +1 -0
  22. package/lib/core/CollapseList/styles.d.ts.map +1 -1
  23. package/lib/core/CommentsTimeline/CommentLine/index.d.ts +2 -0
  24. package/lib/core/CommentsTimeline/CommentLine/index.d.ts.map +1 -1
  25. package/lib/core/CommentsTimeline/CommentLine/index.js +3 -2
  26. package/lib/core/Editor/config.d.ts +3 -0
  27. package/lib/core/Editor/config.d.ts.map +1 -1
  28. package/lib/core/Editor/config.js +14 -0
  29. package/lib/core/Editor/index.d.ts.map +1 -1
  30. package/lib/core/Editor/index.js +7 -3
  31. package/lib/core/Editor/styles.d.ts.map +1 -1
  32. package/lib/core/Editor/styles.js +6 -6
  33. package/lib/core/FileInput/styles.d.ts +1 -0
  34. package/lib/core/FileInput/styles.d.ts.map +1 -1
  35. package/lib/core/InfoButton/styles.d.ts +1 -0
  36. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  37. package/lib/core/NoticeCard/index.js +1 -1
  38. package/lib/core/NoticeCard/styles.d.ts.map +1 -1
  39. package/lib/core/NoticeCard/styles.js +4 -4
  40. package/lib/utils/dates.d.ts +2 -1
  41. package/lib/utils/dates.d.ts.map +1 -1
  42. package/lib/utils/dates.js +5 -1
  43. 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'