Skip to content

Commit

Permalink
Merge branch 'master' into docs/yossi/Align-all-TS-stories--allow-Liv…
Browse files Browse the repository at this point in the history
…eEdit-6494680289
  • Loading branch information
YossiSaadi authored Apr 30, 2024
2 parents 227facf + 5485d6e commit 3c73ab8
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 55 deletions.
29 changes: 29 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.105.1](https://github.com/mondaycom/vibe/compare/[email protected]@2.105.1) (2024-04-24)


### Bug Fixes

* export Search from next ([#2088](https://github.com/mondaycom/vibe/issues/2088)) ([a0d56d3](https://github.com/mondaycom/vibe/commit/a0d56d3704d2eeaa704a6b4e0743111cdd9e4537))





# [2.105.0](https://github.com/mondaycom/vibe/compare/[email protected]@2.105.0) (2024-04-24)


### Bug Fixes

* **Dialog:** prevent default for contextmenu event ([#2087](https://github.com/mondaycom/vibe/issues/2087)) ([483c47f](https://github.com/mondaycom/vibe/commit/483c47fe26363ba54fa4fd4a1953c7cbcbac00a2))
* increase specificity ([#2074](https://github.com/mondaycom/vibe/issues/2074)) ([f8e18cc](https://github.com/mondaycom/vibe/commit/f8e18cccbe95cb91c6616363074719ce82b6d5e6))


### Features

* **withLiveEdit:** apply decorators from within self CSF module of a story ([#2077](https://github.com/mondaycom/vibe/issues/2077)) ([6b1e520](https://github.com/mondaycom/vibe/commit/6b1e5200bd6e2cf8587aec80be78a2f76d2a3808))
* **withLiveEdit:** parse render attribute with ast instead of with regex for variety of cases ([#2078](https://github.com/mondaycom/vibe/issues/2078)) ([57ad30d](https://github.com/mondaycom/vibe/commit/57ad30d631f97ca055d2397edb12df21ae981ac0))





# [2.104.0](https://github.com/mondaycom/monday-ui-react-core/compare/[email protected]@2.104.0) (2024-04-18)


Expand Down
7 changes: 3 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monday-ui-react-core",
"version": "2.104.0",
"version": "2.105.1",
"description": "Official monday.com UI resources for application development in React.js",
"main": "./dist/main.js",
"types": "./dist/types.d.ts",
Expand Down Expand Up @@ -78,7 +78,6 @@
"chromatic:local": "chromatic -t $CHROMATIC_PROJECT_TOKEN",
"link-local": "npm link && npm start",
"plop": "plop",
"add-ref-to-icons": "node ./scripts/add-forward-ref-icons.js",
"lint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "yarn lint -- --fix",
"stylelint": "stylelint \"**/*.scss\"",
Expand Down Expand Up @@ -109,7 +108,7 @@
"classnames": "^2.3.2",
"framer-motion": "^6.5.1",
"lodash-es": "^4.17.21",
"monday-ui-style": "0.5.0",
"monday-ui-style": "0.5.1",
"prop-types": "^15.8.1",
"react-dates": "21.8.0",
"react-inlinesvg": "^3.0.1",
Expand All @@ -121,7 +120,7 @@
"react-window": "^1.8.7",
"react-windowed-select": "^2.0.4",
"style-inject": "^0.3.0",
"vibe-storybook-components": "0.18.1"
"vibe-storybook-components": "0.18.2"
},
"devDependencies": {
"@babel/core": "^7.23.2",
Expand Down
44 changes: 0 additions & 44 deletions packages/core/scripts/add-forward-ref-icons.js

This file was deleted.

7 changes: 7 additions & 0 deletions packages/core/src/components/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,13 @@ export default class Dialog extends PureComponent<DialogProps, DialogState> {
}

onContextMenu(e: React.MouseEvent) {
const isShown = this.isShown();
if (
(this.isShowTrigger(HideShowEvent.CONTEXT_MENU) && !isShown) ||
(this.isHideTrigger(HideShowEvent.CONTEXT_MENU) && isShown)
) {
e.preventDefault();
}
this.handleEvent(HideShowEvent.CONTEXT_MENU, e.target, e);
}

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/next/next.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as Heading } from "../components/Heading/Heading";
export { default as EditableHeading } from "../components/EditableHeading/EditableHeading";
export { default as Search } from "../components/Search/Search";
8 changes: 8 additions & 0 deletions packages/storybook-blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.2](https://github.com/mondaycom/vibe/compare/[email protected]@0.18.2) (2024-04-24)

**Note:** Version bump only for package vibe-storybook-components





## [0.18.1](https://github.com/mondaycom/monday-ui-react-core/compare/[email protected]@0.18.1) (2024-04-10)

**Note:** Version bump only for package vibe-storybook-components
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook-blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vibe-storybook-components",
"version": "0.18.1",
"version": "0.18.2",
"description": "Collection of Vibe's Storybook components",
"license": "MIT",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { useCallback, useMemo, useState } from 'react';
import { action } from '@storybook/addon-actions';
import { AllowedIcons, Decorator, IconMetaData, StoryMetaSettingsArgs, StoryMetaSettingsResult } from './types';
import { AllowedIcons, IconMetaData, StoryMetaSettingsArgs, StoryMetaSettingsResult } from './types';
import { ArgTypes } from '@storybook/types';
import { Decorator } from '@storybook/react';

function parseStringForEnums(componentName: string, enumName: string, enumObj: { [key: string]: unknown }) {
let returnValue;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ArgTypes, PartialStoryFn, StoryContext } from '@storybook/types';
import { ArgTypes } from '@storybook/types';
import { Decorator } from '@storybook/react';

export type EnumPropNames = {
propName: string;
Expand All @@ -20,9 +21,6 @@ export type AllowedIcons = {
mapping: { [key: string]: unknown };
};

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type Decorator = (story: PartialStoryFn<any>, context: StoryContext<any>) => { storyResult: any };

export type StoryMetaSettingsArgs = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
component: any;
Expand Down
8 changes: 8 additions & 0 deletions packages/style/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.5.1](https://github.com/mondaycom/vibe/compare/[email protected]@0.5.1) (2024-04-24)

**Note:** Version bump only for package monday-ui-style





# [0.5.0](https://github.com/mondaycom/monday-ui-react-core/compare/[email protected]@0.5.0) (2024-04-18)


Expand Down
2 changes: 1 addition & 1 deletion packages/style/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monday-ui-style",
"version": "0.5.0",
"version": "0.5.1",
"description": "Monday UI CSS Foundations",
"main": "dist/index.css",
"scripts": {
Expand Down

0 comments on commit 3c73ab8

Please sign in to comment.