Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
sikhote committed Nov 11, 2024
2 parents 458509a + 8f7f625 commit f4c953a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ src/**/styles/themes/*
src/**/package-lock\.json
unmigrated/

## Dev output for hosting
pages
13 changes: 6 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei/cedar",
"version": "15.2.0",
"version": "15.2.1",
"description": "REI Cedar Component Library",
"homepage": "https://rei.github.io/rei-cedar/",
"license": "MIT",
Expand All @@ -13,12 +13,12 @@
},
"author": "REI Software Engineering",
"main": "./dist/cedar.umd.js",
"module": "./dist/src/lib.mjs",
"module": "./dist/lib.mjs",
"types": "./dist/lib.d.ts",
"exports": {
".": {
"types": "./dist/lib.d.ts",
"import": "./dist/src/lib.mjs",
"import": "./dist/lib.mjs",
"require": "./dist/cedar.umd.js"
},
"./dist/": "./dist/"
Expand Down Expand Up @@ -59,7 +59,6 @@
"devDependencies": {
"@babel/preset-env": "^7.18.2",
"@emotion/is-prop-valid": "^1.2.1",
"@rei/cdr-tokens": "^12.4.0",
"@rei/cedar-icons": "^2.6.1",
"@rollup/plugin-babel": "^6.0.3",
"@types/tabbable": "^3.1.2",
Expand Down Expand Up @@ -128,6 +127,7 @@
}
},
"dependencies": {
"@rei/cdr-tokens": "^12.4.2",
"tabbable": "^4.0.0"
},
"peerDependencies": {
Expand Down
7 changes: 4 additions & 3 deletions rollupOptions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import browserTargets from './browserTargets.mjs';

export default {
// Externalize peerDependencies
external: (id) => ['vue', 'core-js', 'tabbable'].some(
(dep) => dep === id || id.startsWith(`${dep}/`),
),
external: (id) =>
['vue', 'core-js', '@rei/cdr-tokens', 'tabbable'].some(
(dep) => dep === id || id.startsWith(`${dep}/`),
),
output: {
globals: {
vue: 'Vue',
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/CdrModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
CdrBreakpointSm,
CdrSpaceOneX,
CdrSpaceTwoX,
} from '@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs';
} from '@rei/cdr-tokens';
import onTransitionEnd from './onTransitionEnd';
import CdrButton from '../button/CdrButton.vue';
import IconXLg from '../icon/comps/x-lg.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/CdrTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { ComponentInternalInstance } from 'vue';
import { debounce } from '../../utils/debounce'
import {
CdrColorBackgroundPrimary, CdrSpaceOneX, CdrSpaceHalfX,
} from '@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs';
} from '@rei/cdr-tokens';
import mapClasses from '../../utils/mapClasses';
import { modifyClassName } from '../../utils/buildClass';
import { selectedTabKey } from '../../types/symbols';
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/breakpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
CdrBreakpointSm,
CdrBreakpointMd,
CdrBreakpointLg,
} from '@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs';
} from '@rei/cdr-tokens';

export default function getCurrentBreakpoint() {
const screenWidth = (window && window.innerWidth) || 0;
Expand Down

0 comments on commit f4c953a

Please sign in to comment.