code_before
stringlengths 16
1.81M
| edits
stringlengths 4
328k
| next_edit
stringlengths 0
76.5k
| code_after
stringlengths 3
49.9M
| label_window
sequencelengths 4
1.81k
| instruction
stringlengths 20
51.9k
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|---|---|---|---|
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("<Select2>", () => {
const FilmSelect = Select2.ofType<IFilm>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
| </s> remove const FilmSuggest = Suggest2.ofType<IFilm>();
</s> add const FilmSuggest = Suggest2.ofType<Film>(); </s> remove const FilmSelect = Select.ofType<IFilm>();
</s> add </s> remove const FilmMultiSelect = MultiSelect2.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect2.ofType<Film>(); </s> remove const FilmSuggest = Suggest.ofType<IFilm>();
</s> add const FilmSuggest = Suggest.ofType<Film>(); </s> remove const FilmMultiSelect = MultiSelect.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect.ofType<Film>(); | import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("<Select2>", () => {
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
}; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
|
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => {
| </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
}
testsContainerElement?.remove();
});
selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} />, { attachTo: testsContainerElement }),
| </s> remove selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectPopoverTestSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectComponentSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => </s> remove selectComponentSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
</s> add selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => </s> remove selectComponentSuite<IMultiSelectProps<IFilm>, IMultiSelectState>(props =>
</s> add selectComponentSuite<IMultiSelectProps<Film>, IMultiSelectState>(props => | selectComponentSuite<Select2Props<Film>, Select2State>(props => | }
testsContainerElement?.remove();
});
selectComponentSuite<Select2Props<Film>, Select2State>(props =>
mount(<Select2 {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} />, { attachTo: testsContainerElement }), | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} />, { attachTo: testsContainerElement }),
);
it("renders a Popover2 around children that contains InputGroup and items", () => {
const wrapper = select();
| </s> remove selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectComponentSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => </s> remove selectPopoverTestSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
</s> add selectPopoverTestSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => </s> remove selectComponentSuite<IMultiSelectProps<IFilm>, IMultiSelectState>(props =>
</s> add selectComponentSuite<IMultiSelectProps<Film>, IMultiSelectState>(props => </s> remove selectPopoverTestSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectPopoverTestSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => | selectPopoverTestSuite<Select2Props<Film>, Select2State>(props => | selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
mount(<Select2 {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
selectPopoverTestSuite<Select2Props<Film>, Select2State>(props =>
mount(<Select2 {...props} />, { attachTo: testsContainerElement }),
);
it("renders a Popover2 around children that contains InputGroup and items", () => {
const wrapper = select(); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
wrapper.find(Popover2).find(MenuItem).first().simulate("click");
assert.isTrue(handlers.onItemSelect.calledOnce);
});
function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
);
| </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select>, | function select(props: Partial<Select2Props<Film>> = {}, query?: string) { | wrapper.find(Popover2).find(MenuItem).first().simulate("click");
assert.isTrue(handlers.onItemSelect.calledOnce);
});
function select(props: Partial<Select2Props<Film>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
});
function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
);
if (query !== undefined) {
wrapper.setState({ query });
| </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove </FilmSelect>,
</s> add </Select>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> </s> remove function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<Select2Props<Film>> = {}, query?: string) { </s> remove function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { | <Select2<Film> {...defaultProps} {...handlers} {...props}> | });
function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
const wrapper = mount(
<Select2<Film> {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
);
if (query !== undefined) {
wrapper.setState({ query }); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper;
| </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> </s> remove function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<Select2Props<Film>> = {}, query?: string) { </s> remove function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { | </Select2>, | function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</Select2>,
);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
return wrapper;
}
});
function filterByYear(query: string, film: IFilm) {
return query === "" || film.year.toString() === query;
}
| </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { | function filterByYear(query: string, film: Film) { | return wrapper;
}
});
function filterByYear(query: string, film: Film) {
return query === "" || film.year.toString() === query;
} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/select2Tests.tsx |
import { Classes, HTMLInputProps, Keys } from "@blueprintjs/core";
import {
areFilmsEqual,
createFilm,
createFilms,
Film,
filterFilm,
| </s> remove IFilm,
</s> add </s> remove IFilm,
</s> add </s> remove IFilm,
</s> add | import { ListItemsProps } from "../src"; | import { Classes, HTMLInputProps, Keys } from "@blueprintjs/core";
import { ListItemsProps } from "../src";
import {
areFilmsEqual,
createFilm,
createFilms,
Film,
filterFilm, | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
areFilmsEqual,
createFilm,
createFilms,
filterFilm,
renderFilm,
TOP_100_FILMS,
} from "../src/__examples__";
| </s> remove IFilm,
</s> add </s> remove IFilm,
</s> add </s> remove IFilm,
</s> add | Film, | areFilmsEqual,
createFilm,
createFilms,
Film,
filterFilm,
renderFilm,
TOP_100_FILMS,
} from "../src/__examples__"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
areFilmsEqual,
createFilm,
createFilms,
filterFilm,
IFilm,
renderFilm,
TOP_100_FILMS,
} from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
| </s> remove IFilm,
</s> add </s> remove } from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
</s> add } from "../src/__examples__"; </s> remove IFilm,
</s> add | areFilmsEqual,
createFilm,
createFilms,
filterFilm,
renderFilm,
TOP_100_FILMS,
} from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
|
filterFilm,
IFilm,
renderFilm,
TOP_100_FILMS,
} from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
export function selectComponentSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm>) => ReactWrapper<P, S>,
findInput: (wrapper: ReactWrapper<P, S>) => ReactWrapper<HTMLInputProps> = wrapper =>
wrapper.find("input") as ReactWrapper<HTMLInputProps>,
| </s> remove export function selectComponentSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm>) => ReactWrapper<P, S>,
</s> add export function selectComponentSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film>) => ReactWrapper<P, S>, </s> remove export function selectPopoverTestSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm> & SelectPopoverProps) => ReactWrapper<P, S>,
</s> add export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>, </s> remove IFilm,
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | } from "../src/__examples__"; | filterFilm,
IFilm,
renderFilm,
TOP_100_FILMS,
} from "../src/__examples__";
} from "../src/__examples__";
export function selectComponentSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm>) => ReactWrapper<P, S>,
findInput: (wrapper: ReactWrapper<P, S>) => ReactWrapper<HTMLInputProps> = wrapper =>
wrapper.find("input") as ReactWrapper<HTMLInputProps>, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
TOP_100_FILMS,
} from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
export function selectComponentSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm>) => ReactWrapper<P, S>,
findInput: (wrapper: ReactWrapper<P, S>) => ReactWrapper<HTMLInputProps> = wrapper =>
wrapper.find("input") as ReactWrapper<HTMLInputProps>,
findItems: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper => wrapper.find("a"),
) {
const testProps = {
| </s> remove } from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
</s> add } from "../src/__examples__"; </s> remove export function selectPopoverTestSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm> & SelectPopoverProps) => ReactWrapper<P, S>,
</s> add export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>, </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove const FilmMultiSelect = MultiSelect.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect.ofType<Film>(); | export function selectComponentSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film>) => ReactWrapper<P, S>, | TOP_100_FILMS,
} from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
export function selectComponentSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film>) => ReactWrapper<P, S>,
export function selectComponentSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film>) => ReactWrapper<P, S>,
findInput: (wrapper: ReactWrapper<P, S>) => ReactWrapper<HTMLInputProps> = wrapper =>
wrapper.find("input") as ReactWrapper<HTMLInputProps>,
findItems: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper => wrapper.find("a"),
) {
const testProps = { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
resetOnQuery: false,
resetOnSelect: true,
});
findItems(wrapper).at(3).simulate("click");
const ranks = testProps.onActiveItemChange.args.map(args => (args[0] as IFilm).rank);
// clicking changes to 5, then resets to 1
assert.deepEqual(ranks, [5, 1]);
assert.strictEqual(testProps.onQueryChange.lastCall.args[0], "");
});
| </s> remove export class SuggestExample extends React.PureComponent<ExampleProps, ISuggestExampleState> {
public state: ISuggestExampleState = {
</s> add export class SuggestExample extends React.PureComponent<ExampleProps, SuggestExampleState> {
public state: SuggestExampleState = { </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { | const ranks = testProps.onActiveItemChange.args.map(args => (args[0] as Film).rank); | resetOnQuery: false,
resetOnSelect: true,
});
findItems(wrapper).at(3).simulate("click");
const ranks = testProps.onActiveItemChange.args.map(args => (args[0] as Film).rank);
// clicking changes to 5, then resets to 1
assert.deepEqual(ranks, [5, 1]);
assert.strictEqual(testProps.onQueryChange.lastCall.args[0], "");
});
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
const wrapper = render(testProps);
findInput(wrapper)
.simulate("keydown", { keyCode: Keys.ARROW_DOWN })
.simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 3);
});
it("arrow up invokes onActiveItemChange with previous filtered item", () => {
const wrapper = render(testProps);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
| </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 20);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove (testCreateProps.onItemSelect.args[0][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[0][0] as Film).title, </s> remove const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<IFilm>;
</s> add const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<Film>; | assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3); | const wrapper = render(testProps);
findInput(wrapper)
.simulate("keydown", { keyCode: Keys.ARROW_DOWN })
.simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3);
});
it("arrow up invokes onActiveItemChange with previous filtered item", () => {
const wrapper = render(testProps);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP }); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
it("arrow up invokes onActiveItemChange with previous filtered item", () => {
const wrapper = render(testProps);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 20);
});
it("arrow up/down does not invokes onActiveItemChange, when all items are disabled", () => {
const wrapper = render({ ...testProps, itemDisabled: () => true });
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN });
| </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 3);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<IFilm>;
</s> add const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<Film>; </s> remove (testCreateProps.onItemSelect.args[0][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[0][0] as Film).title, | assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20); |
it("arrow up invokes onActiveItemChange with previous filtered item", () => {
const wrapper = render(testProps);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20);
});
it("arrow up/down does not invokes onActiveItemChange, when all items are disabled", () => {
const wrapper = render({ ...testProps, itemDisabled: () => true });
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN }); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
findInput(wrapper).simulate("keydown", { keyCode: Keys.ENTER });
findInput(wrapper).simulate("keyup", { keyCode: Keys.ENTER });
assert.equal(testCreateProps.onItemSelect.calledTwice, true, "should invoke onItemSelect twice");
assert.equal(
(testCreateProps.onItemSelect.args[0][0] as IFilm).title,
"non-existent film name",
"should create and select first item",
);
assert.equal(
(testCreateProps.onItemSelect.args[1][0] as IFilm).title,
| </s> remove (testCreateProps.onItemSelect.args[1][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[1][0] as Film).title, </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 3);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 20);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20); | (testCreateProps.onItemSelect.args[0][0] as Film).title, | findInput(wrapper).simulate("keydown", { keyCode: Keys.ENTER });
findInput(wrapper).simulate("keyup", { keyCode: Keys.ENTER });
assert.equal(testCreateProps.onItemSelect.calledTwice, true, "should invoke onItemSelect twice");
assert.equal(
(testCreateProps.onItemSelect.args[0][0] as Film).title,
"non-existent film name",
"should create and select first item",
);
assert.equal(
(testCreateProps.onItemSelect.args[1][0] as IFilm).title, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
"non-existent film name",
"should create and select first item",
);
assert.equal(
(testCreateProps.onItemSelect.args[1][0] as IFilm).title,
"second film name",
"should create and select second item",
);
});
| </s> remove (testCreateProps.onItemSelect.args[0][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[0][0] as Film).title, </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectPopoverTestSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => | (testCreateProps.onItemSelect.args[1][0] as Film).title, | "non-existent film name",
"should create and select first item",
);
assert.equal(
(testCreateProps.onItemSelect.args[1][0] as Film).title,
"second film name",
"should create and select second item",
);
});
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal(testProps.onActiveItemChange.lastCall.args[0], null);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], true);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], false);
});
it("when create item is rendered, arrow up invokes onActiveItemChange with an `CreateNewItem`", () => {
const wrapper = render({
| </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 3);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 20);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20); </s> remove (testCreateProps.onItemSelect.args[0][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[0][0] as Film).title, </s> remove const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<IFilm>;
</s> add const { filteredItems } = testProps.renderer.args[0][0] as QueryListRendererProps<Film>; | assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); | findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal(testProps.onActiveItemChange.lastCall.args[0], null);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], true);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_DOWN });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], false);
});
it("when create item is rendered, arrow up invokes onActiveItemChange with an `CreateNewItem`", () => {
const wrapper = render({ | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal(testProps.onActiveItemChange.lastCall.args[0], null);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], true);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], false);
});
it("when create item is rendered, updating the query to exactly match one of the items hides the create item", () => {
const wrapper = render({
| </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, TOP_100_FILMS[0].rank);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 20);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 20); </s> remove assert.equal((testProps.onActiveItemChange.lastCall.args[0] as IFilm).rank, 3);
</s> add assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, 3); </s> remove (testCreateProps.onItemSelect.args[0][0] as IFilm).title,
</s> add (testCreateProps.onItemSelect.args[0][0] as Film).title, </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { | assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank); | findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal(testProps.onActiveItemChange.lastCall.args[0], null);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], true);
findInput(wrapper).simulate("keydown", { keyCode: Keys.ARROW_UP });
assert.equal((testProps.onActiveItemChange.lastCall.args[0] as Film).rank, TOP_100_FILMS[0].rank);
assert.equal(testProps.onActiveItemChange.lastCall.args[1], false);
});
it("when create item is rendered, updating the query to exactly match one of the items hides the create item", () => {
const wrapper = render({ | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectComponentSuite.tsx |
import * as sinon from "sinon";
import { Classes as Popover2Classes } from "@blueprintjs/popover2";
import { areFilmsEqual, filterFilm, IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
import { ListItemsProps, SelectPopoverProps } from "../src";
/**
* Common tests for popover functionality in select components which use Popover2.
*
| </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove
import { IFilm, TOP_100_FILMS } from "../../common/films";
import FilmSelect from "../../common/filmSelect";
</s> add import { Film, FilmSelect, TOP_100_FILMS } from "@blueprintjs/select/examples"; | import * as sinon from "sinon";
import { Classes as Popover2Classes } from "@blueprintjs/popover2";
import { ListItemsProps, SelectPopoverProps } from "../src";
/**
* Common tests for popover functionality in select components which use Popover2.
* | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectPopoverTestSuite.tsx |
|
import { Classes as Popover2Classes } from "@blueprintjs/popover2";
import { ListItemsProps, SelectPopoverProps } from "../src";
/**
* Common tests for popover functionality in select components which use Popover2.
*
* render() should ensure the component is attached to a DOM node so that we can get accurate DOM measurements.
*/
| </s> remove import { areFilmsEqual, filterFilm, IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove export function selectPopoverTestSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm> & SelectPopoverProps) => ReactWrapper<P, S>,
</s> add export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>, </s> remove (queryList.instance() as QueryList<IFilm>).setQuery("some query");
</s> add (queryList.instance() as QueryList<Film>).setQuery("some query"); </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | import { areFilmsEqual, Film, filterFilm, renderFilm, TOP_100_FILMS } from "../src/__examples__"; | import { Classes as Popover2Classes } from "@blueprintjs/popover2";
import { ListItemsProps, SelectPopoverProps } from "../src";
import { areFilmsEqual, Film, filterFilm, renderFilm, TOP_100_FILMS } from "../src/__examples__";
/**
* Common tests for popover functionality in select components which use Popover2.
*
* render() should ensure the component is attached to a DOM node so that we can get accurate DOM measurements.
*/ | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectPopoverTestSuite.tsx |
* Common tests for popover functionality in select components which use Popover2.
*
* render() should ensure the component is attached to a DOM node so that we can get accurate DOM measurements.
*/
export function selectPopoverTestSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm> & SelectPopoverProps) => ReactWrapper<P, S>,
findPopover: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper =>
wrapper.find(`.${Popover2Classes.POPOVER2}`),
findTarget: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper =>
wrapper.find(`.${Popover2Classes.POPOVER2_TARGET}`),
) {
| </s> remove export function selectComponentSuite<P extends ListItemsProps<IFilm>, S>(
render: (props: ListItemsProps<IFilm>) => ReactWrapper<P, S>,
</s> add export function selectComponentSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film>) => ReactWrapper<P, S>, </s> remove } from "../../docs-app/src/common/films";
import { ListItemsProps } from "../src";
</s> add } from "../src/__examples__"; </s> remove import { areFilmsEqual, filterFilm, IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove (queryList.instance() as QueryList<IFilm>).setQuery("some query");
</s> add (queryList.instance() as QueryList<Film>).setQuery("some query"); | export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>, | * Common tests for popover functionality in select components which use Popover2.
*
* render() should ensure the component is attached to a DOM node so that we can get accurate DOM measurements.
*/
export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>,
export function selectPopoverTestSuite<P extends ListItemsProps<Film>, S>(
render: (props: ListItemsProps<Film> & SelectPopoverProps) => ReactWrapper<P, S>,
findPopover: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper =>
wrapper.find(`.${Popover2Classes.POPOVER2}`),
findTarget: (wrapper: ReactWrapper<P, S>) => ReactWrapper = wrapper =>
wrapper.find(`.${Popover2Classes.POPOVER2_TARGET}`),
) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectPopoverTestSuite.tsx |
import * as sinon from "sinon";
import { Classes, InputGroup, Keys, Popover } from "@blueprintjs/core";
import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const FilmSelect = Select.ofType<IFilm>();
| </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove const FilmSelect = Select.ofType<IFilm>();
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | import * as sinon from "sinon";
import { Classes, InputGroup, Keys, Popover } from "@blueprintjs/core";
import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const FilmSelect = Select.ofType<IFilm>(); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
|
import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
| </s> remove const FilmSelect = Select.ofType<IFilm>();
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove const FilmMultiSelect = MultiSelect.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect.ofType<Film>(); </s> remove const FilmSelect = Select2.ofType<IFilm>();
</s> add </s> remove const FilmSuggest = Suggest2.ofType<IFilm>();
</s> add const FilmSuggest = Suggest2.ofType<Film>(); | import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__"; |
import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false }, | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const FilmSelect = Select.ofType<IFilm>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
| </s> remove const FilmSelect = Select2.ofType<IFilm>();
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove const FilmSuggest = Suggest2.ofType<IFilm>();
</s> add const FilmSuggest = Suggest2.ofType<Film>(); </s> remove const FilmMultiSelect = MultiSelect.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect.ofType<Film>(); | import { ISelectProps, ISelectState, ItemRendererProps, Select } from "../src";
import { selectComponentSuite } from "./selectComponentSuite";
describe("<Select>", () => {
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
}; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
|
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => {
| </s> | itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
afterEach(() => {
testsContainerElement?.remove();
});
selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
mount(<Select {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
it("renders a Popover around children that contains InputGroup and items", () => {
const wrapper = select();
| </s> remove selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectPopoverTestSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectComponentSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => </s> remove selectComponentSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
</s> add selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => </s> remove selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectComponentSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<IMultiSelectProps<IFilm>, IMultiSelectState>(props =>
</s> add selectComponentSuite<IMultiSelectProps<Film>, IMultiSelectState>(props => | selectComponentSuite<ISelectProps<Film>, ISelectState>(props => | afterEach(() => {
testsContainerElement?.remove();
});
selectComponentSuite<ISelectProps<Film>, ISelectState>(props =>
mount(<Select {...props} popoverProps={{ isOpen: true, usePortal: false }} />),
);
it("renders a Popover around children that contains InputGroup and items", () => {
const wrapper = select(); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
done();
});
});
function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
{ attachTo: testsContainerElement },
| </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select>, </s> remove function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<Select2Props<Film>> = {}, query?: string) { </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select2>, | function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { | done();
});
});
function select(props: Partial<ISelectProps<Film>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
{ attachTo: testsContainerElement }, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
});
function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
{ attachTo: testsContainerElement },
);
if (query !== undefined) {
| </s> remove </FilmSelect>,
</s> add </Select>, </s> remove function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<Select2Props<Film>> = {}, query?: string) { | <Select<Film> {...defaultProps} {...handlers} {...props}> | });
function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
const wrapper = mount(
<Select<Film> {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
{ attachTo: testsContainerElement },
);
if (query !== undefined) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</FilmSelect>,
{ attachTo: testsContainerElement },
);
if (query !== undefined) {
wrapper.setState({ query });
}
| </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<ISelectProps<Film>> = {}, query?: string) { </s> remove function select(props: Partial<Select2Props<IFilm>> = {}, query?: string) {
</s> add function select(props: Partial<Select2Props<Film>> = {}, query?: string) { | </Select>, | function select(props: Partial<ISelectProps<IFilm>> = {}, query?: string) {
const wrapper = mount(
<FilmSelect {...defaultProps} {...handlers} {...props}>
<button data-testid="target-button">Target</button>
</Select>,
{ attachTo: testsContainerElement },
);
if (query !== undefined) {
wrapper.setState({ query });
} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
return wrapper;
}
});
function filterByYear(query: string, film: IFilm) {
return query === "" || film.year.toString() === query;
}
| </s> | function filterByYear(query: string, film: Film) { | return wrapper;
}
});
function filterByYear(query: string, film: Film) {
return query === "" || film.year.toString() === query;
} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/selectTests.tsx |
import { InputGroup, Keys, MenuItem } from "@blueprintjs/core";
import { Popover2, Popover2Props } from "@blueprintjs/popover2";
import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
import { ItemRendererProps, QueryList } from "../src";
import { Suggest2, Suggest2Props, Suggest2State } from "../src/components/suggest/suggest2";
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
| </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add |
import { InputGroup, Keys, MenuItem } from "@blueprintjs/core";
import { Popover2, Popover2Props } from "@blueprintjs/popover2";
import { ItemRendererProps, QueryList } from "../src";
import { Suggest2, Suggest2Props, Suggest2State } from "../src/components/suggest/suggest2";
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
|
import { ItemRendererProps, QueryList } from "../src";
import { Suggest2, Suggest2Props, Suggest2State } from "../src/components/suggest/suggest2";
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("Suggest2", () => {
const FilmSuggest = Suggest2.ofType<Film>();
| </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove const FilmSuggest = Suggest2.ofType<IFilm>();
</s> add const FilmSuggest = Suggest2.ofType<Film>(); </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__"; |
import { ItemRendererProps, QueryList } from "../src";
import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__";
import { Suggest2, Suggest2Props, Suggest2State } from "../src/components/suggest/suggest2";
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("Suggest2", () => {
const FilmSuggest = Suggest2.ofType<Film>(); | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("Suggest2", () => {
const FilmSuggest = Suggest2.ofType<IFilm>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
| </s> remove const FilmSelect = Select2.ofType<IFilm>();
</s> add </s> remove const FilmSuggest = Suggest.ofType<IFilm>();
</s> add const FilmSuggest = Suggest.ofType<Film>(); </s> remove const FilmMultiSelect = MultiSelect2.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect2.ofType<Film>(); </s> remove const FilmSelect = Select.ofType<IFilm>();
</s> add </s> remove const FilmMultiSelect = MultiSelect.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect.ofType<Film>(); | const FilmSuggest = Suggest2.ofType<Film>(); | import { selectComponentSuite } from "./selectComponentSuite";
import { selectPopoverTestSuite } from "./selectPopoverTestSuite";
describe("Suggest2", () => {
const FilmSuggest = Suggest2.ofType<Film>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
}; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => {
| </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
let testsContainerElement: HTMLElement | undefined;
beforeEach(() => { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
afterEach(() => {
testsContainerElement?.remove();
});
selectComponentSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
mount(
<Suggest2
{...props}
inputValueRenderer={inputValueRenderer}
popoverProps={{ isOpen: true, usePortal: false }}
| </s> remove selectComponentSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectComponentSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => </s> remove selectComponentSuite<ISuggestProps<IFilm>, ISuggestState<IFilm>>(props =>
</s> add selectComponentSuite<ISuggestProps<Film>, ISuggestState<Film>>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => </s> remove selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectComponentSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<IMultiSelectProps<IFilm>, IMultiSelectState>(props =>
</s> add selectComponentSuite<IMultiSelectProps<Film>, IMultiSelectState>(props => | selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => | afterEach(() => {
testsContainerElement?.remove();
});
selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props =>
mount(
<Suggest2
{...props}
inputValueRenderer={inputValueRenderer}
popoverProps={{ isOpen: true, usePortal: false }} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
/>,
),
);
selectPopoverTestSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
mount(<Suggest2 {...props} inputValueRenderer={inputValueRenderer} />, { attachTo: testsContainerElement }),
);
describe("Basic behavior", () => {
it("renders an input that triggers a popover containing items", () => {
| </s> remove selectPopoverTestSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectPopoverTestSuite<Select2Props<Film>, Select2State>(props => </s> remove selectPopoverTestSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectPopoverTestSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => </s> remove selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectComponentSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => </s> remove selectComponentSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
</s> add selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => | selectPopoverTestSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => | />,
),
);
selectPopoverTestSuite<Suggest2Props<Film>, Suggest2State<Film>>(props =>
mount(<Suggest2 {...props} inputValueRenderer={inputValueRenderer} />, { attachTo: testsContainerElement }),
);
describe("Basic behavior", () => {
it("renders an input that triggers a popover containing items", () => { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
});
it("scrolls active item into view when popover opens", () => {
const wrapper = suggest();
const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList; // private ref
const scrollActiveItemIntoViewSpy = sinon.spy(queryList, "scrollActiveItemIntoView");
wrapper.setState({ isOpen: false });
assert.isFalse(scrollActiveItemIntoViewSpy.called);
wrapper.setState({ isOpen: true });
assert.strictEqual(scrollActiveItemIntoViewSpy.callCount, 1, "should call scrollActiveItemIntoView");
| </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList; // private ref </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove private handleItemSelect = (film: IFilm) => {
</s> add private handleItemSelect = (film: Film) => { | const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList; // private ref | });
it("scrolls active item into view when popover opens", () => {
const wrapper = suggest();
const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList; // private ref
const scrollActiveItemIntoViewSpy = sinon.spy(queryList, "scrollActiveItemIntoView");
wrapper.setState({ isOpen: false });
assert.isFalse(scrollActiveItemIntoViewSpy.called);
wrapper.setState({ isOpen: true });
assert.strictEqual(scrollActiveItemIntoViewSpy.callCount, 1, "should call scrollActiveItemIntoView"); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
const wrapper = suggest({
popoverProps: { transitionDuration: 5 },
selectedItem: TOP_100_FILMS[10],
});
const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList as QueryList<IFilm>; // private ref
assert.deepEqual(
queryList.state.activeItem,
wrapper.state().selectedItem,
"QueryList activeItem should be set to the controlled selectedItem if prop is provided",
| </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList; // private ref </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList; // private ref </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { | const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref | const wrapper = suggest({
popoverProps: { transitionDuration: 5 },
selectedItem: TOP_100_FILMS[10],
});
const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref
assert.deepEqual(
queryList.state.activeItem,
wrapper.state().selectedItem,
"QueryList activeItem should be set to the controlled selectedItem if prop is provided", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
assert.strictEqual(wrapper.state().selectedItem, selectedItem, "the selectedItem should be updated");
});
});
function suggest(props: Partial<Suggest2Props<IFilm>> = {}, query?: string) {
const wrapper = mount<typeof FilmSuggest>(<FilmSuggest {...defaultProps} {...handlers} {...props} />);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper;
| </s> remove function suggest(props: Partial<ISuggestProps<IFilm>> = {}, query?: string) {
</s> add function suggest(props: Partial<ISuggestProps<Film>> = {}, query?: string) { </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> | function suggest(props: Partial<Suggest2Props<Film>> = {}, query?: string) { | assert.strictEqual(wrapper.state().selectedItem, selectedItem, "the selectedItem should be updated");
});
});
function suggest(props: Partial<Suggest2Props<Film>> = {}, query?: string) {
const wrapper = mount<typeof FilmSuggest>(<FilmSuggest {...defaultProps} {...handlers} {...props} />);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
return wrapper;
}
});
function filterByYear(query: string, film: IFilm) {
return query === "" || film.year.toString() === query;
}
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
| </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { | function filterByYear(query: string, film: Film) { | return wrapper;
}
});
function filterByYear(query: string, film: Film) {
return query === "" || film.year.toString() === query;
}
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click"); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
}
function inputValueRenderer(item: IFilm) {
return item.title;
}
function simulateChange(wrapper: ReactWrapper<any, any>, value: string) {
wrapper.find("input").simulate("change", { target: { value } });
| </s> remove function inputValueRenderer(item: IFilm) {
</s> add function inputValueRenderer(item: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function filterByYear(query: string, film: IFilm) {
</s> add function filterByYear(query: string, film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { </s> remove function renderTag(film: IFilm) {
</s> add function renderTag(film: Film) { | function inputValueRenderer(item: Film) { | function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
}
function inputValueRenderer(item: Film) {
return item.title;
}
function simulateChange(wrapper: ReactWrapper<any, any>, value: string) {
wrapper.find("input").simulate("change", { target: { value } }); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggest2Tests.tsx |
import * as sinon from "sinon";
import { InputGroup, IPopoverProps, Keys, MenuItem, Popover } from "@blueprintjs/core";
import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
import { ItemRendererProps, QueryList } from "../src";
import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => {
| </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | import * as sinon from "sinon";
import { InputGroup, IPopoverProps, Keys, MenuItem, Popover } from "@blueprintjs/core";
import { ItemRendererProps, QueryList } from "../src";
import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
|
import { ItemRendererProps, QueryList } from "../src";
import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => {
const FilmSuggest = Suggest.ofType<Film>();
const defaultProps = {
| </s> remove const FilmSuggest = Suggest.ofType<IFilm>();
</s> add const FilmSuggest = Suggest.ofType<Film>(); </s> remove import { IFilm, renderFilm, TOP_100_FILMS } from "../../docs-app/src/common/films";
</s> add | import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__"; |
import { ItemRendererProps, QueryList } from "../src";
import { Film, renderFilm, TOP_100_FILMS } from "../src/__examples__";
import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => {
const FilmSuggest = Suggest.ofType<Film>();
const defaultProps = { | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => {
const FilmSuggest = Suggest.ofType<IFilm>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
| </s> remove const FilmSuggest = Suggest2.ofType<IFilm>();
</s> add const FilmSuggest = Suggest2.ofType<Film>(); </s> remove const FilmSelect = Select2.ofType<IFilm>();
</s> add </s> remove const FilmSelect = Select.ofType<IFilm>();
</s> add </s> remove const FilmMultiSelect = MultiSelect2.ofType<IFilm>();
</s> add const FilmMultiSelect = MultiSelect2.ofType<Film>(); | const FilmSuggest = Suggest.ofType<Film>(); | import { ISuggestProps, ISuggestState, Suggest } from "../src/components/suggest/suggest";
import { selectComponentSuite } from "./selectComponentSuite";
describe("Suggest", () => {
const FilmSuggest = Suggest.ofType<Film>();
const defaultProps = {
items: TOP_100_FILMS,
popoverProps: { isOpen: true, usePortal: false },
query: "",
}; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
beforeEach(() => {
handlers = {
| </s> remove inputValueRenderer: sinon.SinonSpy<[IFilm], string>;
itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; </s> remove itemPredicate: sinon.SinonSpy<[string, IFilm], boolean>;
itemRenderer: sinon.SinonSpy<[IFilm, ItemRendererProps], JSX.Element | null>;
</s> add itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>; | popoverProps: { isOpen: true, usePortal: false },
query: "",
};
let handlers: {
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
inputValueRenderer: sinon.SinonSpy<[Film], string>;
itemPredicate: sinon.SinonSpy<[string, Film], boolean>;
itemRenderer: sinon.SinonSpy<[Film, ItemRendererProps], JSX.Element | null>;
onItemSelect: sinon.SinonSpy;
};
beforeEach(() => {
handlers = { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
onItemSelect: sinon.spy(),
};
});
selectComponentSuite<ISuggestProps<IFilm>, ISuggestState<IFilm>>(props =>
mount(
<Suggest
{...props}
inputValueRenderer={inputValueRenderer}
popoverProps={{ isOpen: true, usePortal: false }}
| </s> remove selectComponentSuite<Suggest2Props<IFilm>, Suggest2State<IFilm>>(props =>
</s> add selectComponentSuite<Suggest2Props<Film>, Suggest2State<Film>>(props => </s> remove selectComponentSuite<IMultiSelectProps<IFilm>, IMultiSelectState>(props =>
</s> add selectComponentSuite<IMultiSelectProps<Film>, IMultiSelectState>(props => </s> remove selectComponentSuite<MultiSelect2Props<IFilm>, MultiSelect2State>(props =>
</s> add selectComponentSuite<MultiSelect2Props<Film>, MultiSelect2State>(props => </s> remove selectComponentSuite<Select2Props<IFilm>, Select2State>(props =>
</s> add selectComponentSuite<Select2Props<Film>, Select2State>(props => </s> remove selectComponentSuite<ISelectProps<IFilm>, ISelectState>(props =>
</s> add selectComponentSuite<ISelectProps<Film>, ISelectState>(props => | selectComponentSuite<ISuggestProps<Film>, ISuggestState<Film>>(props => | onItemSelect: sinon.spy(),
};
});
selectComponentSuite<ISuggestProps<Film>, ISuggestState<Film>>(props =>
mount(
<Suggest
{...props}
inputValueRenderer={inputValueRenderer}
popoverProps={{ isOpen: true, usePortal: false }} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
});
it("scrolls active item into view when popover opens", () => {
const wrapper = suggest();
const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList; // private ref
const scrollActiveItemIntoViewSpy = sinon.spy(queryList, "scrollActiveItemIntoView");
wrapper.setState({ isOpen: false });
assert.isFalse(scrollActiveItemIntoViewSpy.called);
wrapper.setState({ isOpen: true });
assert.strictEqual(scrollActiveItemIntoViewSpy.callCount, 1, "should call scrollActiveItemIntoView");
| </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList; // private ref </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove private handleItemSelect = (film: IFilm) => {
</s> add private handleItemSelect = (film: Film) => { | const queryList = (wrapper.instance() as Suggest<Film> as any).queryList; // private ref | });
it("scrolls active item into view when popover opens", () => {
const wrapper = suggest();
const queryList = (wrapper.instance() as Suggest<Film> as any).queryList; // private ref
const scrollActiveItemIntoViewSpy = sinon.spy(queryList, "scrollActiveItemIntoView");
wrapper.setState({ isOpen: false });
assert.isFalse(scrollActiveItemIntoViewSpy.called);
wrapper.setState({ isOpen: true });
assert.strictEqual(scrollActiveItemIntoViewSpy.callCount, 1, "should call scrollActiveItemIntoView"); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
const wrapper = suggest({
popoverProps: { transitionDuration: 5 },
selectedItem: TOP_100_FILMS[10],
});
const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList as QueryList<IFilm>; // private ref
assert.deepEqual(
queryList.state.activeItem,
wrapper.state().selectedItem,
"QueryList activeItem should be set to the controlled selectedItem if prop is provided",
| </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList as QueryList<IFilm>; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList as QueryList<Film>; // private ref </s> remove const queryList = (wrapper.instance() as Suggest<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest<Film> as any).queryList; // private ref </s> remove const queryList = (wrapper.instance() as Suggest2<IFilm> as any).queryList; // private ref
</s> add const queryList = (wrapper.instance() as Suggest2<Film> as any).queryList; // private ref </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { </s> remove const props: QueryListProps<IFilm> = {
</s> add const props: QueryListProps<Film> = { | const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref | const wrapper = suggest({
popoverProps: { transitionDuration: 5 },
selectedItem: TOP_100_FILMS[10],
});
const queryList = (wrapper.instance() as Suggest<Film> as any).queryList as QueryList<Film>; // private ref
assert.deepEqual(
queryList.state.activeItem,
wrapper.state().selectedItem,
"QueryList activeItem should be set to the controlled selectedItem if prop is provided", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
assert.strictEqual(wrapper.state().selectedItem, selectedItem, "the selectedItem should be updated");
});
});
function suggest(props: Partial<ISuggestProps<IFilm>> = {}, query?: string) {
const wrapper = mount<typeof FilmSuggest>(<FilmSuggest {...defaultProps} {...handlers} {...props} />);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper;
| </s> remove function suggest(props: Partial<Suggest2Props<IFilm>> = {}, query?: string) {
</s> add function suggest(props: Partial<Suggest2Props<Film>> = {}, query?: string) { </s> remove </FilmSelect>,
</s> add </Select2>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select2<Film> {...defaultProps} {...handlers} {...props}> </s> remove </FilmSelect>,
</s> add </Select>, </s> remove <FilmSelect {...defaultProps} {...handlers} {...props}>
</s> add <Select<Film> {...defaultProps} {...handlers} {...props}> | function suggest(props: Partial<ISuggestProps<Film>> = {}, query?: string) { | assert.strictEqual(wrapper.state().selectedItem, selectedItem, "the selectedItem should be updated");
});
});
function suggest(props: Partial<ISuggestProps<Film>> = {}, query?: string) {
const wrapper = mount<typeof FilmSuggest>(<FilmSuggest {...defaultProps} {...handlers} {...props} />);
if (query !== undefined) {
wrapper.setState({ query });
}
return wrapper; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
return wrapper;
}
});
function filterByYear(query: string, film: IFilm) {
return query === "" || film.year.toString() === query;
}
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
| </s> | function filterByYear(query: string, film: Film) { | return wrapper;
}
});
function filterByYear(query: string, film: Film) {
return query === "" || film.year.toString() === query;
}
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click"); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
}
function inputValueRenderer(item: IFilm) {
return item.title;
}
function simulateChange(wrapper: ReactWrapper<any, any>, value: string) {
wrapper.find("input").simulate("change", { target: { value } });
| </s> | function inputValueRenderer(item: Film) { | function selectItem(wrapper: ReactWrapper<any, any>, index: number) {
wrapper.find("a").at(index).simulate("click");
}
function inputValueRenderer(item: Film) {
return item.title;
}
function simulateChange(wrapper: ReactWrapper<any, any>, value: string) {
wrapper.find("input").simulate("change", { target: { value } }); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | chore: refactor FilmSelect into new private dev package (#5632) | https://github.com/palantir/blueprint/commit/b0d500511217db6590e86ccb9627385b4fd153a5 | packages/select/test/suggestTests.tsx |
{
"name": "@blueprintjs/datetime2",
"version": "0.9.26",
"description": "Components for interacting with dates and times with timezones",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "4.5.32",
</s> add "version": "4.5.33", </s> remove "version": "1.14.0",
</s> add "version": "1.14.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.9.13",
</s> add "version": "4.9.14", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "0.9.27", | {
"name": "@blueprintjs/datetime2",
"version": "0.9.27",
"description": "Components for interacting with dates and times with timezones",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/datetime2/package.json |
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"classnames": "^2.3.1",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.7",
"lodash": "^4.17.21",
"tslib": "~2.5.0"
| </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/datetime2": "^0.9.26",
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", | "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", | },
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"classnames": "^2.3.1",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.7",
"lodash": "^4.17.21",
"tslib": "~2.5.0" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/datetime2/package.json |
{
"name": "@blueprintjs/demo-app",
"version": "4.18.0",
"description": "Blueprint Demo App",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*",
| </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "4.18.1", | {
"name": "@blueprintjs/demo-app",
"version": "4.18.1",
"description": "Blueprint Demo App",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/demo-app/package.json |
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
"classnames": "^2.3.1",
"core-js": "^3.29.1",
"dom4": "^2.1.5",
"lodash": "^4.17.21",
"moment": "^2.29.1",
| </s> remove "@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/datetime2": "^0.9.26",
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", | "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", | "dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33",
"classnames": "^2.3.1",
"core-js": "^3.29.1",
"dom4": "^2.1.5",
"lodash": "^4.17.21",
"moment": "^2.29.1", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/demo-app/package.json |
{
"name": "@blueprintjs/docs-app",
"version": "4.18.0",
"description": "Blueprint Documentation Site",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*",
| </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "4.18.1", | {
"name": "@blueprintjs/docs-app",
"version": "4.18.1",
"description": "Blueprint Documentation Site",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-app/package.json |
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/datetime2": "^0.9.26",
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/monaco-editor-theme": "^0.2.0",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
| </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", | "@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16", | },
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/datetime": "^4.4.28",
"@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16",
"@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16",
"@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/monaco-editor-theme": "^0.2.0",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-app/package.json |
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/monaco-editor-theme": "^0.2.0",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/test-commons": "^1.1.16",
"@blueprintjs/timezone": "^4.5.32",
"@documentalist/client": "^4.0.0",
"chroma-js": "^2.4.2",
"classnames": "^2.3.1",
| </s> remove "@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/datetime2": "^0.9.26",
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", | "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1", | "@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
"@blueprintjs/icons": "^4.15.0",
"@blueprintjs/monaco-editor-theme": "^0.2.0",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/test-commons": "^1.1.16",
"@blueprintjs/timezone": "^4.5.32",
"@documentalist/client": "^4.0.0",
"chroma-js": "^2.4.2",
"classnames": "^2.3.1", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-app/package.json |
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/test-commons": "^1.1.16",
"@blueprintjs/timezone": "^4.5.32",
"@documentalist/client": "^4.0.0",
"chroma-js": "^2.4.2",
"classnames": "^2.3.1",
"core-js": "^3.29.1",
"date-fns": "^2.28.0",
| </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", | "@blueprintjs/timezone": "^4.5.33", | "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/test-commons": "^1.1.16",
"@blueprintjs/timezone": "^4.5.33",
"@documentalist/client": "^4.0.0",
"chroma-js": "^2.4.2",
"classnames": "^2.3.1",
"core-js": "^3.29.1",
"date-fns": "^2.28.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-app/package.json |
{
"name": "@blueprintjs/docs-data",
"version": "4.18.0",
"main": "src/index.js",
"types": "src/index.d.ts",
"private": true,
"scripts": {
"clean": "rm -rf src/generated/*",
| </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "4.18.1", | {
"name": "@blueprintjs/docs-data",
"version": "4.18.1",
"main": "src/index.js",
"types": "src/index.d.ts",
"private": true,
"scripts": {
"clean": "rm -rf src/generated/*", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-data/package.json |
"test": "exit 0"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
"@documentalist/compiler": "^4.0.0",
"escape-html": "^1.0.3",
"glob": "^8.1.0",
"marked": "^4.2.5",
"semver": "^7.3.8"
| </s> remove "@blueprintjs/datetime2": "^0.9.26",
"@blueprintjs/docs-data": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.15",
</s> add "@blueprintjs/datetime2": "^0.9.27",
"@blueprintjs/docs-data": "^4.18.1",
"@blueprintjs/docs-theme": "^4.5.16", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", | "@blueprintjs/docs-theme": "^4.5.16", | "test": "exit 0"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/docs-theme": "^4.5.16",
"@documentalist/compiler": "^4.0.0",
"escape-html": "^1.0.3",
"glob": "^8.1.0",
"marked": "^4.2.5",
"semver": "^7.3.8" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-data/package.json |
{
"name": "@blueprintjs/docs-theme",
"version": "4.5.15",
"description": "Blueprint theme for documentalist",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "0.9.26",
</s> add "version": "0.9.27", </s> remove "version": "1.14.0",
</s> add "version": "1.14.1", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.5.32",
</s> add "version": "4.5.33", </s> remove "version": "4.9.13",
</s> add "version": "4.9.14", | "version": "4.5.16", | {
"name": "@blueprintjs/docs-theme",
"version": "4.5.16",
"description": "Blueprint theme for documentalist",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-theme/package.json |
},
"dependencies": {
"@blueprintjs/colors": "^4.1.22",
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/select": "^4.9.13",
"@documentalist/client": "^4.0.0",
"classnames": "^2.3.1",
"fuzzaldrin-plus": "^0.6.0",
"tslib": "~2.5.0"
},
| </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", | "@blueprintjs/select": "^4.9.14", | },
"dependencies": {
"@blueprintjs/colors": "^4.1.22",
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/select": "^4.9.14",
"@documentalist/client": "^4.0.0",
"classnames": "^2.3.1",
"fuzzaldrin-plus": "^0.6.0",
"tslib": "~2.5.0"
}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/docs-theme/package.json |
{
"name": "@blueprintjs/popover2",
"version": "1.14.0",
"description": "Popover2 and dependent components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "4.5.32",
</s> add "version": "4.5.33", </s> remove "version": "0.9.26",
</s> add "version": "0.9.27", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.9.13",
</s> add "version": "4.9.14", | "version": "1.14.1", | {
"name": "@blueprintjs/popover2",
"version": "1.14.1",
"description": "Popover2 and dependent components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/popover2/package.json |
{
"name": "@blueprintjs/select",
"version": "4.9.13",
"description": "Components related to selecting items from a list",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "4.5.32",
</s> add "version": "4.5.33", </s> remove "version": "0.9.26",
</s> add "version": "0.9.27", </s> remove "version": "1.14.0",
</s> add "version": "1.14.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "4.9.14", | {
"name": "@blueprintjs/select",
"version": "4.9.14",
"description": "Components related to selecting items from a list",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/select/package.json |
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.0",
"classnames": "^2.3.1",
"tslib": "~2.5.0"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18",
| </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", | "@blueprintjs/popover2": "^1.14.1", | "verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.1",
"classnames": "^2.3.1",
"tslib": "~2.5.0"
},
"peerDependencies": {
"@types/react": "^16.14.32 || 17 || 18", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/select/package.json |
{
"name": "@blueprintjs/table-dev-app",
"version": "4.10.0",
"description": "Dev application for @blueprintjs/table",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*",
| </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.18.0",
</s> add "version": "4.18.1", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", | "version": "4.10.1", | {
"name": "@blueprintjs/table-dev-app",
"version": "4.10.1",
"description": "Dev application for @blueprintjs/table",
"private": true,
"scripts": {
"bundle": "webpack",
"clean": "rm -rf dist/*", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/table-dev-app/package.json |
"verify": "npm-run-all -p dist lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
"classnames": "^2.3.1",
"dom4": "^2.1.5",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"react": "^16.14.0",
| </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
"@blueprintjs/table": "^4.10.0",
"@blueprintjs/timezone": "^4.5.32",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/timezone": "^4.5.33", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", | "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", | "verify": "npm-run-all -p dist lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1",
"@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1",
"classnames": "^2.3.1",
"dom4": "^2.1.5",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"react": "^16.14.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/table-dev-app/package.json |
{
"name": "@blueprintjs/table",
"version": "4.10.0",
"description": "Scalable interactive table component",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "1.14.0",
</s> add "version": "1.14.1", </s> remove "version": "4.5.32",
</s> add "version": "4.5.33", </s> remove "version": "4.9.13",
</s> add "version": "4.9.14", </s> remove "version": "0.9.26",
</s> add "version": "0.9.27", | "version": "4.10.1", | {
"name": "@blueprintjs/table",
"version": "4.10.1",
"description": "Scalable interactive table component",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/table/package.json |
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2",
"react-innertext": "^1.1.5",
"tslib": "~2.5.0"
},
| </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", | "@blueprintjs/popover2": "^1.14.1", | "verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/popover2": "^1.14.1",
"classnames": "^2.3.1",
"prop-types": "^15.7.2",
"react-innertext": "^1.1.5",
"tslib": "~2.5.0"
}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/table/package.json |
{
"name": "@blueprintjs/timezone",
"version": "4.5.32",
"description": "Components related to timezone selection and UI",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts",
| </s> remove "version": "4.9.13",
</s> add "version": "4.9.14", </s> remove "version": "0.9.26",
</s> add "version": "0.9.27", </s> remove "version": "1.14.0",
</s> add "version": "1.14.1", </s> remove "version": "4.5.15",
</s> add "version": "4.5.16", </s> remove "version": "4.10.0",
</s> add "version": "4.10.1", | "version": "4.5.33", | {
"name": "@blueprintjs/timezone",
"version": "4.5.33",
"description": "Components related to timezone selection and UI",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"esnext": "lib/esnext/index.js",
"typings": "lib/esm/index.d.ts", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/timezone/package.json |
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/select": "^4.9.13",
"classnames": "^2.3.1",
"moment": "^2.29.0",
"moment-timezone": "^0.5.31",
"tslib": "~2.5.0"
},
| </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
</s> add "@blueprintjs/popover2": "^1.14.1", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/table": "^4.10.0",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/table": "^4.10.1", </s> remove "@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/select": "^4.9.14", </s> remove "@blueprintjs/popover2": "^1.14.0",
"@blueprintjs/select": "^4.9.13",
</s> add "@blueprintjs/popover2": "^1.14.1",
"@blueprintjs/select": "^4.9.14", | "@blueprintjs/select": "^4.9.14", | "verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^4.18.0",
"@blueprintjs/select": "^4.9.14",
"classnames": "^2.3.1",
"moment": "^2.29.0",
"moment-timezone": "^0.5.31",
"tslib": "~2.5.0"
}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b0f1aff2b5a70433778e3b6661db90bdf755bfa2 | packages/timezone/package.json |
export const DISABLED = "pt-disabled";
export const SMALL = "pt-small";
export const LARGE = "pt-large";
export const INTERACTIVE = "pt-interactive";
export const ALIGN_LEFT = "pt-align-left";
export const ALIGN_RIGHT = "pt-align-right";
export const INLINE = "pt-inline";
| </s> remove const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
</s> add const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. | export const LOADING = "pt-loading"; | export const DISABLED = "pt-disabled";
export const SMALL = "pt-small";
export const LARGE = "pt-large";
export const LOADING = "pt-loading";
export const INTERACTIVE = "pt-interactive";
export const ALIGN_LEFT = "pt-align-left";
export const ALIGN_RIGHT = "pt-align-right";
export const INLINE = "pt-inline"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/core/src/common/classes.ts |
export const SELECT = "pt-select";
export const SLIDER = "pt-slider";
export const SLIDER_HANDLE = `${SLIDER}-handle`;
export const SLIDER_LABEL = `${SLIDER}-label`;
export const RANGE_SLIDER = "pt-range-slider";
export const SPINNER = "pt-spinner";
| </s> remove const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
</s> add const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. | export const SKELETON = "pt-skeleton";
|
export const SELECT = "pt-select";
export const SKELETON = "pt-skeleton";
export const SLIDER = "pt-slider";
export const SLIDER_HANDLE = `${SLIDER}-handle`;
export const SLIDER_LABEL = `${SLIDER}-label`;
export const RANGE_SLIDER = "pt-range-slider";
export const SPINNER = "pt-spinner"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/core/src/common/classes.ts |
Styleguide components.progress.skeleton.css
*/
@import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
@keyframes glow {
0%,
100% {
border-color: $skeleton-color-start;
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; | @import "./common"; |
Styleguide components.progress.skeleton.css
*/
@import "./common";
@import "./common";
@import "./common";
@import "./common";
@import "./common";
@keyframes glow {
0%,
100% {
border-color: $skeleton-color-start; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/core/src/components/skeleton/_skeleton.scss |
cursor: default;
// Transparent text will occupy space but be invisible to the user
color: transparent !important;
animation: $skeleton-animation-duration linear infinite glow;
pointer-events: none;
user-select: none;
}
/* stylelint-enable declaration-no-important */
| </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; | animation: $skeleton-animation; | cursor: default;
// Transparent text will occupy space but be invisible to the user
color: transparent !important;
animation: $skeleton-animation;
pointer-events: none;
user-select: none;
}
/* stylelint-enable declaration-no-important */
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/core/src/components/skeleton/_skeleton.scss |
}
}
#{section-id("components.table-js")} {
.kss-example {
height: $pt-grid-size * 30;
}
}
// static markup examples for js components
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; | .bp-table-container,
.docs-react-example {
width: 100%; | }
}
#{section-id("components.table-js")} {
.bp-table-container,
.docs-react-example {
width: 100%;
height: $pt-grid-size * 30;
}
}
// static markup examples for js components | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/docs/src/styles/_sections.scss |
* and https://github.com/palantir/blueprint/blob/master/PATENTS
*/
export * from "./tableDollarExample";
export * from "./tableEditableExample";
export * from "./tableSortableExample";
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. </s> remove @import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
</s> add @import "./common"; | export * from "./cellLoadingExample"; | * and https://github.com/palantir/blueprint/blob/master/PATENTS
*/
export * from "./cellLoadingExample";
export * from "./tableDollarExample";
export * from "./tableEditableExample";
export * from "./tableSortableExample"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/examples/index.ts |
// Copyright 2016 Palantir Technologies, Inc. All rights reserved.
@import "../common/variables";
@import "./common";
.bp-table-cell {
| </s> remove @import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
</s> add @import "./common"; </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; </s> remove animation: $skeleton-animation-duration linear infinite glow;
</s> add animation: $skeleton-animation; </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; | @import "../common/loading"; | // Copyright 2016 Palantir Technologies, Inc. All rights reserved.
@import "../common/loading";
@import "../common/variables";
@import "./common";
.bp-table-cell { | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/_cell.scss |
$dark-cell-background-color: $dark-gray3 !default;
$dark-cell-border-color: $pt-dark-divider-black !default;
$dark-cell-text-color: $pt-dark-text-color !default;
@mixin cell() {
display: inline-block;
height: $cell-height;
padding: $cell-padding;
| </s> remove @import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
</s> add @import "./common"; </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; | $cell-transition-duration: $pt-transition-duration * 3;
| $dark-cell-background-color: $dark-gray3 !default;
$dark-cell-border-color: $pt-dark-divider-black !default;
$dark-cell-text-color: $pt-dark-text-color !default;
$cell-transition-duration: $pt-transition-duration * 3;
@mixin cell() {
display: inline-block;
height: $cell-height;
padding: $cell-padding; | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/_common.scss |
height: $cell-height;
padding: $cell-padding;
line-height: $cell-height;
font-size: $pt-font-size-small;
.pt-dark & {
&:not([class*="pt-intent-"]) {
color: $dark-cell-text-color;
}
}
| </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
</s> add const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); | transition: color $cell-transition-duration; | height: $cell-height;
padding: $cell-padding;
line-height: $cell-height;
font-size: $pt-font-size-small;
transition: color $cell-transition-duration;
.pt-dark & {
&:not([class*="pt-intent-"]) {
color: $dark-cell-text-color;
}
} | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/_common.scss |
import { Classes, IIntentProps, IProps } from "@blueprintjs/core";
export interface ICellProps extends IIntentProps, IProps {
key?: string;
style?: React.CSSProperties;
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. | import { LoadableContent } from "../common/loadableContent";
|
import { Classes, IIntentProps, IProps } from "@blueprintjs/core";
import { LoadableContent } from "../common/loadableContent";
export interface ICellProps extends IIntentProps, IProps {
key?: string;
style?: React.CSSProperties; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/cell.tsx |
style?: React.CSSProperties;
/**
* An optional native tooltip that is displayed on hover
*/
tooltip?: string;
}
export type ICellRenderer = (rowIndex: number, columnIndex: number) => React.ReactElement<ICellProps>;
| </s> | * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. |
style?: React.CSSProperties;
/**
* If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover.
*/
tooltip?: string;
}
export type ICellRenderer = (rowIndex: number, columnIndex: number) => React.ReactElement<ICellProps>; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/cell.tsx |
export type ICellRenderer = (rowIndex: number, columnIndex: number) => React.ReactElement<ICellProps>;
export const emptyCellRenderer = (_rowIndex: number, _columnIndex: number) => <Cell />;
@PureRender
export class Cell extends React.Component<ICellProps, {}> {
public render() {
const { style, loading, tooltip, className } = this.props;
| </s> remove const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
</s> add const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); </s> remove * An optional native tooltip that is displayed on hover
</s> add * If true, content will be replaced with a fixed-height skeleton.
* @default false
*/
loading?: boolean;
/**
* An optional native tooltip that is displayed on hover. | export const CELL_CLASSNAME = "bp-table-cell";
| export type ICellRenderer = (rowIndex: number, columnIndex: number) => React.ReactElement<ICellProps>;
export const emptyCellRenderer = (_rowIndex: number, _columnIndex: number) => <Cell />;
export const CELL_CLASSNAME = "bp-table-cell";
@PureRender
export class Cell extends React.Component<ICellProps, {}> {
public render() {
const { style, loading, tooltip, className } = this.props;
| [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/cell.tsx |
@PureRender
export class Cell extends React.Component<ICellProps, {}> {
public render() {
const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
}
}
| </s> | const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); |
@PureRender
export class Cell extends React.Component<ICellProps, {}> {
public render() {
const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
);
const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
);
const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
);
const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
);
}
} | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/cell/cell.tsx |
// of the license at https://github.com/palantir/blueprint/blob/master/LICENSE
// and https://github.com/palantir/blueprint/blob/master/PATENTS
@import "./common/variables";
@import "./cell/cell";
@import "./cell/formats/formats";
@import "./cell/borders";
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove @import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
</s> add @import "./common"; </s> remove animation: $skeleton-animation-duration linear infinite glow;
</s> add animation: $skeleton-animation; | @import "./common/loading"; | // of the license at https://github.com/palantir/blueprint/blob/master/LICENSE
// and https://github.com/palantir/blueprint/blob/master/PATENTS
@import "./common/loading";
@import "./common/variables";
@import "./cell/cell";
@import "./cell/formats/formats";
@import "./cell/borders"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/src/table.scss |
* of the license at https://github.com/palantir/blueprint/blob/master/LICENSE
* and https://github.com/palantir/blueprint/blob/master/PATENTS
*/
import { Intent } from "@blueprintjs/core";
import { expect } from "chai";
import * as React from "react";
import { Cell } from "../src/cell/cell";
import { ReactHarness } from "./harness";
| </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; | import { Classes, Intent } from "@blueprintjs/core"; | * of the license at https://github.com/palantir/blueprint/blob/master/LICENSE
* and https://github.com/palantir/blueprint/blob/master/PATENTS
*/
import { Classes, Intent } from "@blueprintjs/core";
import { expect } from "chai";
import * as React from "react";
import { Cell } from "../src/cell/cell";
import { ReactHarness } from "./harness"; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/test/cellTests.tsx |
});
it("uses intents for styling", () => {
const cell0 = harness.mount(<Cell intent={Intent.PRIMARY}>Dangerous</Cell>);
expect(cell0.find(".bp-table-cell.pt-intent-primary").element).to.exist;
const cell1 = harness.mount(<Cell intent={Intent.SUCCESS}>Dangerous</Cell>);
| </s> remove const { style, tooltip, className } = this.props;
const content = (<div className="bp-table-truncated-text">{this.props.children}</div>);
const classes = classNames("bp-table-cell", className, Classes.intentClass(this.props.intent));
return (<div className={classes} style={style} title={tooltip}>{content}</div>);
</s> add const { style, loading, tooltip, className } = this.props;
const classes = classNames(
CELL_CLASSNAME,
Classes.intentClass(this.props.intent),
{ [Classes.LOADING]: loading },
className,
);
return (
<div className={classes} style={style} title={tooltip}>
<LoadableContent loading={loading} variableLength={true}>
<div className="bp-table-truncated-text">{this.props.children}</div>
</LoadableContent>
</div>
); </s> remove .kss-example {
</s> add .bp-table-container,
.docs-react-example {
width: 100%; | it("renders loading state", () => {
const cellHarness = harness.mount(<Cell loading={true} />);
const cellElement = cellHarness.element.children[0];
expect(cellElement.classList.contains(Classes.LOADING)).to.be.true;
});
| });
it("renders loading state", () => {
const cellHarness = harness.mount(<Cell loading={true} />);
const cellElement = cellHarness.element.children[0];
expect(cellElement.classList.contains(Classes.LOADING)).to.be.true;
});
it("uses intents for styling", () => {
const cell0 = harness.mount(<Cell intent={Intent.PRIMARY}>Dangerous</Cell>);
expect(cell0.find(".bp-table-cell.pt-intent-primary").element).to.exist;
const cell1 = harness.mount(<Cell intent={Intent.SUCCESS}>Dangerous</Cell>); | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/test/cellTests.tsx |
import "./formatsTests.tsx";
import "./gridTests.ts";
import "./guidesTests.tsx";
import "./locatorTests.tsx";
import "./menusTests.tsx";
import "./rectTests.ts";
import "./regionsTests.ts";
| </s> remove import { Intent } from "@blueprintjs/core";
</s> add import { Classes, Intent } from "@blueprintjs/core"; </s> remove @import "../../common/variables";
$skeleton-animation-duration: $pt-transition-duration * 20 !default;
$skeleton-color-start: rgba($gray4, 0.2) !default;
$skeleton-color-end: rgba($gray1, 0.2) !default;
</s> add @import "./common"; | import "./loadableContentTests.tsx"; | import "./formatsTests.tsx";
import "./gridTests.ts";
import "./guidesTests.tsx";
import "./loadableContentTests.tsx";
import "./locatorTests.tsx";
import "./menusTests.tsx";
import "./rectTests.ts";
import "./regionsTests.ts"; | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | Add support for cell loading state (#435)
* Add cell loading example and tests
* New Skeleton _common.scss file
* Newly scrolled cells' animation can be out of sync but it kinda looks cool | https://github.com/palantir/blueprint/commit/b1b5e771150df0abdf5d5c3abbd5bd44c3df5480 | packages/table/test/index.ts |
{
"name": "@blueprintjs/core",
"version": "3.0.0-beta.1",
"description": "Core styles & components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint.css",
| </s> remove "version": "3.0.0-beta.1",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "0.16.0",
</s> add "version": "0.16.1", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", | "version": "3.0.0-rc.0", | {
"name": "@blueprintjs/core",
"version": "3.0.0-rc.0",
"description": "Core styles & components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint.css", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/core/package.json |
"test:karma:debug": "karma start --single-run=false --reporters=mocha --debug",
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/icons": "^3.0.0-beta.0",
"@types/dom4": "^2.0.0",
"classnames": "^2.2",
"dom4": "^2.0.1",
"normalize.css": "^8.0.0",
"popper.js": "^1.14.1",
| </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
"@blueprintjs/timezone": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/timezone": "^3.0.0-rc.0", | "@blueprintjs/icons": "^3.0.0-rc.0", | "test:karma:debug": "karma start --single-run=false --reporters=mocha --debug",
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/icons": "^3.0.0-rc.0",
"@types/dom4": "^2.0.0",
"classnames": "^2.2",
"dom4": "^2.0.1",
"normalize.css": "^8.0.0",
"popper.js": "^1.14.1", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/core/package.json |
"react": "^15.3.0 || 16",
"react-dom": "^15.3.0 || 16"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
| </s> remove "@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
</s> add "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", | "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", | "react": "^15.3.0 || 16",
"react-dom": "^15.3.0 || 16"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/core/package.json |
{
"name": "@blueprintjs/datetime",
"version": "3.0.0-beta.0",
"description": "Components for interacting with dates and times",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-datetime.css",
| </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "0.16.0",
</s> add "version": "0.16.1", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", | "version": "3.0.0-rc.0", | {
"name": "@blueprintjs/datetime",
"version": "3.0.0-rc.0",
"description": "Components for interacting with dates and times",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/esm/index.d.ts",
"style": "lib/css/blueprint-datetime.css", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/datetime/package.json |
"test:karma:debug": "karma start --single-run=false --reporters=mocha --debug",
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^3.0.0-beta.0",
"classnames": "^2.2",
"react-day-picker": "^7.0.7",
"tslib": "^1.9.0"
},
"devDependencies": {
| </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
"@blueprintjs/timezone": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/timezone": "^3.0.0-rc.0", </s> remove "@blueprintjs/icons": "^3.0.0-beta.0",
</s> add "@blueprintjs/icons": "^3.0.0-rc.0", | "@blueprintjs/core": "^3.0.0-rc.0", | "test:karma:debug": "karma start --single-run=false --reporters=mocha --debug",
"verify": "npm-run-all compile -p dist test lint"
},
"dependencies": {
"@blueprintjs/core": "^3.0.0-rc.0",
"classnames": "^2.2",
"react-day-picker": "^7.0.7",
"tslib": "^1.9.0"
},
"devDependencies": { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/datetime/package.json |
"react-day-picker": "^7.0.7",
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
| </s> remove "@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
</s> add "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2", </s> remove "@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", | "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", | "react-day-picker": "^7.0.7",
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/datetime/package.json |
{
"name": "@blueprintjs/docs-app",
"version": "3.0.0-beta.0",
"description": "Blueprint Documentation Site",
"private": true,
"scripts": {
"bundle": "webpack --config ./webpack.config.js",
"clean": "rm -rf dist/*",
| </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "3.0.0-beta.0",
</s> add "version": "3.0.0-rc.0", </s> remove "version": "1.0.1",
</s> add "version": "1.0.2", </s> remove "version": "3.0.0-beta.1",
</s> add "version": "3.0.0-rc.0", | "version": "3.0.0-rc.0", | {
"name": "@blueprintjs/docs-app",
"version": "3.0.0-rc.0",
"description": "Blueprint Documentation Site",
"private": true,
"scripts": {
"bundle": "webpack --config ./webpack.config.js",
"clean": "rm -rf dist/*", | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/docs-app/package.json |
"test": "exit 0",
"verify": "run-p dist lint"
},
"dependencies": {
"@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/datetime": "^3.0.0-beta.0",
"@blueprintjs/docs-data": "^3.0.0-beta.0",
"@blueprintjs/docs-theme": "^3.0.0-beta.0",
"@blueprintjs/icons": "^3.0.0-beta.0",
"@blueprintjs/labs": "^0.16.0",
"@blueprintjs/select": "^3.0.0-beta.0",
"@blueprintjs/table": "^3.0.0-beta.0",
"@blueprintjs/test-commons": "^0.6.0",
"@blueprintjs/timezone": "^3.0.0-beta.0",
"chroma-js": "^1.3.4",
"classnames": "^2.2.5",
"dom4": "^2.0.1",
"moment": "^2.18.1",
"normalize.css": "^8.0.0",
| </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/table": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0", </s> remove "@blueprintjs/icons": "^3.0.0-beta.0",
</s> add "@blueprintjs/icons": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
"@blueprintjs/timezone": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/timezone": "^3.0.0-rc.0", </s> remove "@blueprintjs/core": "^3.0.0-beta.0",
"@blueprintjs/select": "^3.0.0-beta.0",
</s> add "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/select": "^3.0.0-rc.0", | "@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0", | "test": "exit 0",
"verify": "run-p dist lint"
},
"dependencies": {
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"@blueprintjs/core": "^3.0.0-rc.0",
"@blueprintjs/datetime": "^3.0.0-rc.0",
"@blueprintjs/docs-data": "^3.0.0-rc.0",
"@blueprintjs/docs-theme": "^3.0.0-rc.0",
"@blueprintjs/icons": "^3.0.0-rc.0",
"@blueprintjs/labs": "^0.16.1",
"@blueprintjs/select": "^3.0.0-rc.0",
"@blueprintjs/table": "^3.0.0-rc.0",
"@blueprintjs/test-commons": "^0.7.0",
"@blueprintjs/timezone": "^3.0.0-rc.0",
"chroma-js": "^1.3.4",
"classnames": "^2.2.5",
"dom4": "^2.0.1",
"moment": "^2.18.1",
"normalize.css": "^8.0.0", | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/docs-app/package.json |
"react-transition-group": "^2.2.1",
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/webpack-build-scripts": "^0.5.2",
"@types/chroma-js": "^1.3.3",
"npm-run-all": "^4.1.2",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
},
| </s> remove "@blueprintjs/webpack-build-scripts": "^0.5.2",
</s> add "@blueprintjs/webpack-build-scripts": "^0.5.3", </s> remove "@blueprintjs/webpack-build-scripts": "^0.5.2",
</s> add "@blueprintjs/webpack-build-scripts": "^0.5.3", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2", </s> remove "@blueprintjs/karma-build-scripts": "^0.6.1",
"@blueprintjs/node-build-scripts": "^0.6.1",
</s> add "@blueprintjs/karma-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "^0.6.2", </s> remove "@blueprintjs/node-build-scripts": "^0.6.1",
"@blueprintjs/test-commons": "^0.6.0",
</s> add "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/test-commons": "^0.7.0", | "@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/webpack-build-scripts": "^0.5.3", | "react-transition-group": "^2.2.1",
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/webpack-build-scripts": "^0.5.3",
"@blueprintjs/node-build-scripts": "^0.6.2",
"@blueprintjs/webpack-build-scripts": "^0.5.3",
"@types/chroma-js": "^1.3.3",
"npm-run-all": "^4.1.2",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | Publish (#2619)
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- [email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]
- @blueprintjs/[email protected] | https://github.com/palantir/blueprint/commit/b1d44c0919e9994338205ad91e73f1a2ad79a79e | packages/docs-app/package.json |