@rte-ds/core 1.2.1 → 1.3.2

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,4 +1,4 @@
1
- import { IconSize } from "@design-system-rte/core/components/icon/icon.constants";
1
+ import { IconSize } from "../icon/icon.constants";
2
2
 
3
3
  import { BadgeContent, BadgeSize } from "./badge.interface";
4
4
 
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .sbdocs {
4
4
  .badge.option-wrapper {
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .sbdocs {
4
4
 
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .sbdocs {
4
4
  .subtitle {
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/primitives/_colors.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/primitives/_colors.scss' as *;
2
2
  @use '../../design-tokens/tokens/public/spacing' as *;
3
3
  @use '../../design-tokens/abstract/mixins/typography' as *;
4
4
 
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .sbdocs {
4
4
 
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .rte-overview-options-subsections {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- @use '@design-system-rte/core/design-tokens/main-internal.scss' as *;
1
+ @use '@rte-ds/core/design-tokens/main-internal.scss' as *;
2
2
 
3
3
  .sbdocs {
4
4
  .subtitle {
@@ -1,4 +1,4 @@
1
- import { IconSize } from "@design-system-rte/core/components/icon/icon.constants";
1
+ import { IconSize } from "../../icon/icon.constants";
2
2
 
3
3
  export function getNavItemLabelIconSize(isNested = false, collapsed = false): number {
4
4
  if (isNested) {
@@ -1,4 +1,4 @@
1
- import { TOOLTIP_GAP, TOOLTIP_GAP_ARROW } from "@design-system-rte/core/components/tooltip/tooltip.constants";
1
+ import { TOOLTIP_GAP, TOOLTIP_GAP_ARROW } from "./tooltip.constants";
2
2
 
3
3
  export function getTooltipGap(arrow: boolean, customGap: number = TOOLTIP_GAP): number {
4
4
  return arrow ? TOOLTIP_GAP_ARROW + customGap : customGap;
package/css/rte-fonts.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:300;src:url("@design-system-rte/core/assets/fonts/nunito-light-300.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:400;src:url("@design-system-rte/core/assets/fonts/nunito-regular-400.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:600;src:url("@design-system-rte/core/assets/fonts/nunito-semi-bold-600.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:700;src:url("@design-system-rte/core/assets/fonts/nunito-bold-700.woff2") format("woff2")}
1
+ @font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:300;src:url("@rte-ds/core/assets/fonts/nunito-light-300.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:400;src:url("@rte-ds/core/assets/fonts/nunito-regular-400.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:600;src:url("@rte-ds/core/assets/fonts/nunito-semi-bold-600.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:700;src:url("@rte-ds/core/assets/fonts/nunito-bold-700.woff2") format("woff2")}
@@ -15,7 +15,7 @@ const fontFile = `
15
15
  font-family: 'Nunito';
16
16
  font-style: normal;
17
17
  font-weight: 300;
18
- src: url('@design-system-rte/core/assets/fonts/nunito-light-300.woff2') format('woff2');
18
+ src: url('@rte-ds/core/assets/fonts/nunito-light-300.woff2') format('woff2');
19
19
  }
20
20
 
21
21
  @font-face {
@@ -23,7 +23,7 @@ const fontFile = `
23
23
  font-family: 'Nunito';
24
24
  font-style: normal;
25
25
  font-weight: 400;
26
- src: url('@design-system-rte/core/assets/fonts/nunito-regular-400.woff2') format('woff2');
26
+ src: url('@rte-ds/core/assets/fonts/nunito-regular-400.woff2') format('woff2');
27
27
  }
28
28
 
29
29
  @font-face {
@@ -31,7 +31,7 @@ const fontFile = `
31
31
  font-family: 'Nunito';
32
32
  font-style: normal;
33
33
  font-weight: 600;
34
- src: url('@design-system-rte/core/assets/fonts/nunito-semi-bold-600.woff2') format('woff2');
34
+ src: url('@rte-ds/core/assets/fonts/nunito-semi-bold-600.woff2') format('woff2');
35
35
  }
36
36
 
37
37
  @font-face {
@@ -39,7 +39,7 @@ const fontFile = `
39
39
  font-family: 'Nunito';
40
40
  font-style: normal;
41
41
  font-weight: 700;
42
- src: url('@design-system-rte/core/assets/fonts/nunito-bold-700.woff2') format('woff2');
42
+ src: url('@rte-ds/core/assets/fonts/nunito-bold-700.woff2') format('woff2');
43
43
  }
44
44
  `;
45
45
 
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@rte-ds/core",
3
- "version": "1.2.1",
3
+ "version": "1.3.2",
4
4
  "main": "index.js",
5
+ "exports": {
6
+ ".": "./index.js",
7
+ "./css/*": "./css/*",
8
+ "./assets/fonts/*": "./assets/fonts/*",
9
+ "./components/*": "./components/*"
10
+ },
5
11
  "scripts": {
6
12
  "lint": "eslint .",
7
13
  "lint:fix": "eslint . --fix",