Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into benelan/bump-deps
Browse files Browse the repository at this point in the history
* origin/main: (22 commits)
  fix: ensure ui-icons are copied from correct path (#8761)
  build(changelog): fix synced version group name (#8762)
  chore: release main (#8706)
  fix(stepper): no longer adds default `min-width` for items when `layout='horizontal'` (#8758)
  build(deps): update dependency @floating-ui/dom to v1.6.3 (#8759)
  chore: release next
  feat(table): Improve accessibility of interaction-mode: static Table (#8754)
  chore: release next
  fix: fix dragging items on a mobile device (#8751)
  build(deps): update dependency @esri/calcite-ui-icons to v3.26.4 (#8752)
  chore: release next
  fix: prevent interaction when component is disabled after initialization (Firefox) (#8746)
  fix: fix styling when dragging items on a mobile device (#8750)
  chore: release next
  feat(stepper): add horizontal-single layout (#8742)
  revert: fix(panel, flow-item): remove overflow rule (#8711)
  refactor(input): tidy up input spec test (#8733)
  chore: improve doc for createBreakpointStories helper (#8739)
  chore: release next
  feat(table): Add `interactionMode` property to control focus behavior (#8686)
  ...
  • Loading branch information
benelan committed Feb 15, 2024
2 parents ce620d3 + 3015a46 commit 6e14643
Show file tree
Hide file tree
Showing 53 changed files with 1,551 additions and 410 deletions.
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages/calcite-components": "2.4.0",
"packages/calcite-components-react": "2.4.0",
"packages/calcite-components": "2.5.0",
"packages/calcite-components-react": "2.5.0",
"packages/calcite-design-tokens": "2.1.1",
"packages/eslint-plugin-calcite-components": "1.1.0",
"packages/calcite-components-angular/projects/component-library": "2.4.0"
"packages/calcite-components-angular/projects/component-library": "2.5.0"
}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"packages/calcite-components-angular/projects/component-library"
],
"scripts": {
"postinstall": "patch-package",
"build": "turbo run build --log-order=stream",
"clean": "turbo run clean --log-order=stream && rimraf node_modules",
"lint": "concurrently \"npm:lint:*\" \"turbo run lint --log-order=stream\"",
Expand All @@ -19,6 +20,7 @@
"version:next": "npm run util:is-in-sync-with-origin-main && npm run util:is-working-tree-clean && lerna version --conventional-prerelease --preid next --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- next",
"version:rc": "npm run util:is-in-sync-with-origin-rc && npm run util:is-working-tree-clean && lerna version --conventional-prerelease --preid rc --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- rc",
"version:latest": "npm run util:is-in-sync-with-origin-main && npm run util:is-working-tree-clean && lerna version --conventional-commits --create-release github --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- latest",
"util:patch:calcite-components": "patch-package",
"prepare": "husky install",
"start": "turbo run start --log-order=stream",
"test": "turbo run test --log-order=stream",
Expand Down Expand Up @@ -122,5 +124,8 @@
"packageManager": "[email protected]",
"volta": {
"node": "20.10.0"
},
"dependencies": {
"patch-package": "8.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.0-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].1-next.1...@esri/[email protected]-next.0) (2024-02-09)
## [2.5.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].0...@esri/[email protected]) (2024-02-15)

**Note:** Version bump only for package @esri/calcite-components-angular

## [2.4.1-next.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-09)
### Miscellaneous Chores

**Note:** Version bump only for package @esri/calcite-components-angular
- **@esri/calcite-components-angular:** Synchronize undefined versions

## [2.4.1-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-07)
### Dependencies

**Note:** Version bump only for package @esri/calcite-components-angular
- The following workspace dependencies were updated
- dependencies
- @esri/calcite-components bumped from ^2.5.0-next.6 to ^2.5.0

## [2.4.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-01-30)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/calcite-components-angular",
"version": "2.5.0-next.0",
"version": "2.5.0",
"sideEffects": false,
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"description": "A set of Angular components that wrap Esri's Calcite Components.",
Expand All @@ -20,7 +20,7 @@
"@angular/core": ">=16.0.0"
},
"dependencies": {
"@esri/calcite-components": "^2.5.0-next.0",
"@esri/calcite-components": "^2.5.0",
"tslib": "2.6.2"
},
"lerna": {
Expand Down
14 changes: 7 additions & 7 deletions packages/calcite-components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.0-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].1-next.1...@esri/[email protected]-next.0) (2024-02-09)
## [2.5.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].0...@esri/[email protected]) (2024-02-15)

**Note:** Version bump only for package @esri/calcite-components-react

## [2.4.1-next.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-09)
### Miscellaneous Chores

**Note:** Version bump only for package @esri/calcite-components-react
- **@esri/calcite-components-react:** Synchronize undefined versions

## [2.4.1-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-07)
### Dependencies

**Note:** Version bump only for package @esri/calcite-components-react
- The following workspace dependencies were updated
- dependencies
- @esri/calcite-components bumped from ^2.5.0-next.6 to ^2.5.0

## [2.4.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-01-30)

Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@esri/calcite-components-react",
"sideEffects": false,
"version": "2.5.0-next.0",
"version": "2.5.0",
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"description": "A set of React components that wrap calcite components",
"license": "SEE LICENSE.md",
Expand All @@ -23,7 +23,7 @@
"dist/"
],
"dependencies": {
"@esri/calcite-components": "^2.5.0-next.0"
"@esri/calcite-components": "^2.5.0"
},
"peerDependencies": {
"react": ">=16.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/calcite-components/.storybook/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const filterComponentAttributes = (
/**
* This helper creates a story that captures all breakpoints across all scales for testing.
*
* @param singleStoryHtml – HTML story template with placeholders for `scale` attributes (e.g., `{scale}`).
* @param singleStoryHtml – HTML story template with placeholders for `scale` attributes (e.g., `{scale}`). You can additionally use `.breakpoint-stories-container` and `.breakpoint-story-container` to style breakpoint story containers.
* @param [focused] – when specified, creates a single story for the provided breakpoint and scale.
* This should only be used if multiple stories cannot be displayed side-by-side.
*/
Expand Down
31 changes: 18 additions & 13 deletions packages/calcite-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,32 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.5.0-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].1-next.1...@esri/[email protected]-next.0) (2024-02-09)
## [2.5.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected].0...@esri/[email protected]) (2024-02-15)

### Features

- **tile:** add responsive layout features ([#8691](https://github.com/Esri/calcite-design-system/issues/8691)) ([f4f872e](https://github.com/Esri/calcite-design-system/commit/f4f872eeba08f1063457b97889f823d5c09d8974)), closes [#6690](https://github.com/Esri/calcite-design-system/issues/6690) [#6662](https://github.com/Esri/calcite-design-system/issues/6662)

## [2.4.1-next.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-09)
- **stepper:** Add horizontal-single layout ([#8742](https://github.com/Esri/calcite-design-system/issues/8742)) ([c34bc4f](https://github.com/Esri/calcite-design-system/commit/c34bc4fff02f3709bcd502e5a2e33545a864507e))
- **table:** Add `interactionMode` property to control focus behavior ([#8686](https://github.com/Esri/calcite-design-system/issues/8686)) ([0cb78c0](https://github.com/Esri/calcite-design-system/commit/0cb78c0e25b262ab23ad1833556bd36379fa4e8a))
- **table:** Improve accessibility of interaction-mode: static Table ([#8754](https://github.com/Esri/calcite-design-system/issues/8754)) ([eead1b5](https://github.com/Esri/calcite-design-system/commit/eead1b519b0cfe7430fc625415c0baabe5dabde5))
- **tile:** Add responsive layout features ([#8691](https://github.com/Esri/calcite-design-system/issues/8691)) ([f4f872e](https://github.com/Esri/calcite-design-system/commit/f4f872eeba08f1063457b97889f823d5c09d8974))

### Bug Fixes

- **color-picker:** alpha-channel slider scope updates to reflect current opacity ([#8700](https://github.com/Esri/calcite-design-system/issues/8700)) ([cd0b532](https://github.com/Esri/calcite-design-system/commit/cd0b5328a902ae2a909ecb8ec2648bb7541b95d2)), closes [#7761](https://github.com/Esri/calcite-design-system/issues/7761)
- **combobox:** avoid inline-start padding on combobox label when icon is displayed ([#8672](https://github.com/Esri/calcite-design-system/issues/8672)) ([9eb680a](https://github.com/Esri/calcite-design-system/commit/9eb680a5045e142d6db4c1d971c69961a73a44ee)), closes [#8396](https://github.com/Esri/calcite-design-system/issues/8396)
- **list-item:** Fix slotted list border styling. ([#8712](https://github.com/Esri/calcite-design-system/issues/8712)) ([855f98d](https://github.com/Esri/calcite-design-system/commit/855f98d897e2158e58bb56d6e694d9bd08e4dbac)), closes [#8684](https://github.com/Esri/calcite-design-system/issues/8684)
- **loader:** optimize animation performance ([#8714](https://github.com/Esri/calcite-design-system/issues/8714)) ([1ed8a01](https://github.com/Esri/calcite-design-system/commit/1ed8a01cb4d187afe374044b03b7fe5851c9a135)), closes [#8709](https://github.com/Esri/calcite-design-system/issues/8709)
- **preset:** add back legacy token for calcite-ui-focus-color ([#8694](https://github.com/Esri/calcite-design-system/issues/8694)) ([1d1b933](https://github.com/Esri/calcite-design-system/commit/1d1b933eafb8e9c3b8058aa1acaa9c0c990bd84b)), closes [#8548](https://github.com/Esri/calcite-design-system/issues/8548)

## [2.4.1-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-02-07)
- **color-picker:** Alpha-channel slider scope updates to reflect current opacity ([#8700](https://github.com/Esri/calcite-design-system/issues/8700)) ([cd0b532](https://github.com/Esri/calcite-design-system/commit/cd0b5328a902ae2a909ecb8ec2648bb7541b95d2))
- **combobox:** Avoid inline-start padding on combobox label when icon is displayed ([#8672](https://github.com/Esri/calcite-design-system/issues/8672)) ([9eb680a](https://github.com/Esri/calcite-design-system/commit/9eb680a5045e142d6db4c1d971c69961a73a44ee))
- Don't override existing validationMessage when displaying after form submission ([#8690](https://github.com/Esri/calcite-design-system/issues/8690)) ([3076220](https://github.com/Esri/calcite-design-system/commit/3076220bf9d463bafe5c00cd14e7246a7995ab66))
- Fix dragging items on a mobile device ([#8751](https://github.com/Esri/calcite-design-system/issues/8751)) ([dc11612](https://github.com/Esri/calcite-design-system/commit/dc11612e36c042fcb4638c1c68401e5b88bb8e14))
- Fix styling when dragging items on a mobile device ([#8750](https://github.com/Esri/calcite-design-system/issues/8750)) ([7c01e6e](https://github.com/Esri/calcite-design-system/commit/7c01e6eb56d203d8811072141f9399fd844b64b2))
- **input, input-number, input-text, text-area:** Ensure all applicable props are considered in form validation ([#8655](https://github.com/Esri/calcite-design-system/issues/8655)) ([6de8534](https://github.com/Esri/calcite-design-system/commit/6de8534c5d36bfc90548a4bace1fa8ab81515bf9))
- **list-item:** Fix slotted list border styling. ([#8712](https://github.com/Esri/calcite-design-system/issues/8712)) ([855f98d](https://github.com/Esri/calcite-design-system/commit/855f98d897e2158e58bb56d6e694d9bd08e4dbac))
- **loader:** Optimize animation performance ([#8714](https://github.com/Esri/calcite-design-system/issues/8714)) ([1ed8a01](https://github.com/Esri/calcite-design-system/commit/1ed8a01cb4d187afe374044b03b7fe5851c9a135))
- **preset:** Add back legacy token for calcite-ui-focus-color ([#8694](https://github.com/Esri/calcite-design-system/issues/8694)) ([1d1b933](https://github.com/Esri/calcite-design-system/commit/1d1b933eafb8e9c3b8058aa1acaa9c0c990bd84b))
- Prevent interaction when component is disabled after initialization (Firefox) ([#8746](https://github.com/Esri/calcite-design-system/issues/8746)) ([aa84182](https://github.com/Esri/calcite-design-system/commit/aa841828ffae393d76549239b0a7b2d279b0494d))
- **stepper:** No longer adds default `min-width` for items when `layout='horizontal'` ([#8758](https://github.com/Esri/calcite-design-system/issues/8758)) ([23a7439](https://github.com/Esri/calcite-design-system/commit/23a7439c265f18b640f9280ba477df739248996a))

### Bug Fixes
### Reverts

- don't override existing validationMessage when displaying after form submission ([#8690](https://github.com/Esri/calcite-design-system/issues/8690)) ([3076220](https://github.com/Esri/calcite-design-system/commit/3076220bf9d463bafe5c00cd14e7246a7995ab66)), closes [#8000](https://github.com/Esri/calcite-design-system/issues/8000) [/github.com/Esri/calcite-design-system/pull/8574#discussion_r1453899164](https://github.com/Esri//github.com/Esri/calcite-design-system/pull/8574/issues/discussion_r1453899164)
- Fix(panel, flow-item): remove overflow rule ([#8711](https://github.com/Esri/calcite-design-system/issues/8711)) ([21226ce](https://github.com/Esri/calcite-design-system/commit/21226cefb26b0f271851dfb6f4a6b2f333536775))

## [2.4.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-01-30)

Expand Down
7 changes: 4 additions & 3 deletions packages/calcite-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/calcite-components",
"version": "2.5.0-next.0",
"version": "2.5.0",
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"description": "Web Components for Esri's Calcite Design System.",
"main": "dist/index.cjs.js",
Expand Down Expand Up @@ -33,6 +33,7 @@
"lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore",
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
"postinstall": "cd ../ && npm run util:patch:calcite-components",
"posttest": "npm run test:prerender",
"release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
"start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"",
Expand Down Expand Up @@ -61,7 +62,7 @@
"directory": "packages/calcite-components"
},
"dependencies": {
"@floating-ui/dom": "1.6.1",
"@floating-ui/dom": "1.6.3",
"@stencil/core": "4.9.0",
"@types/color": "3.0.6",
"color": "4.2.3",
Expand All @@ -74,7 +75,7 @@
},
"devDependencies": {
"@esri/calcite-design-tokens": "^2.1.2-next.0",
"@esri/calcite-ui-icons": "3.26.2",
"@esri/calcite-ui-icons": "3.26.4",
"@esri/eslint-plugin-calcite-components": "^1.1.1-next.0",
"@stencil-community/eslint-plugin": "0.7.1",
"@stencil-community/postcss": "2.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ The most common approach for loading Calcite Components is to use the version ho
```html
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.4.0/dist/calcite/calcite.esm.js"
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.5.0/dist/calcite/calcite.esm.js"
></script>
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.4.0/dist/calcite/calcite.css"
href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.5.0/dist/calcite/calcite.css"
/>
```

Expand Down
4 changes: 3 additions & 1 deletion packages/calcite-components/src/assets/styles/_sortable.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@mixin sortable-helper-classes() {
.calcite-sortable--chosen,
.calcite-sortable--ghost,
.calcite-sortable--drag {
.calcite-sortable--drag,
.calcite-sortable--fallback {
position: relative;
overflow: hidden;
}

Expand Down
Loading

0 comments on commit 6e14643

Please sign in to comment.