I'm trying to use the @blueprintjs/core library in my project. However, when I compile my code, I'm getting many errors like this:
node_modules/@blueprintjs/core/dist/common/classes.d.ts(4,30):
error TS1039: Initializers are not allowed in ambient…
Right now what blueprint's main css file has some classes like pt-intent-primary, pt-intent-success, pt-intent-warning; etc. i want to change the default colors of some of these classes. Should i import its source .scss file in my code(if Yes How?)…
I'm trying to implement a context menu using BlueprintJs Popover component; that uses Popper.js to position the popover, under the hood.
The problemis that: I have fixed elements and absolutely positioned elements (with transform css property set to…
I am trying to develop a blueprintjs custom theme.
In my main.scss, import blueprintjs scss files like:
@import "~@blueprintjs/core/lib/scss/variables.scss";
$pt-intent-primary: #110630;
@import "~@blueprintjs/core/src/blueprint.scss";
Then…
I'm just trying to output text to the console when I click on a MenuItem in the dropdown menu. Can anyone spot what I'm doing wrong? There isn't much help on this topic besides the example component in the docs.
itemRenderer(item) {
return (
…
I am writing an application in react and need a way to switch between dark mode and light mode. I could not find any document within blueprintjs docs which mentions how to change theme of all child components with some parent prop configuration.
The official way to filter items is the itemListPredicate event handler. It is documented here:
https://blueprintjs.com/docs/#select/select-component.querying
The problem is that itemListPredicate has this signature:
export declare type…
I have made a select control using the documentation as an example. However, the button changes its width depending on the width of the text for the selected item. This makes the control jump around and is not a good UI design.
Is there a way to…
I am using jest and enzyme to test my react component. I am also using blueprint icons as one of the dependency in my react component. As part of my webpack config, following is added:
config.resolve.alias = {
blueprintIcons:…
I'm new to react and I build my applications with :
create-react-app applicationame --scripts-version=react-scripts-ts
I don't use webpack because create-react-app does all for me, and I think it's just fine !
Of course I need a toolbox for smart…
So I'm using the BlueprintJS datetime package in a React project to render a birthday picker and I want to set the months names of the select to the Spanish version. In their documentation says they use react-day-picker in order to render the…
I'm trying to bind my data to a blueprint.js Table , however the docs are unclear on how to do this. How do I create a custom render function for a blueprint.js Table to render the key from a list of objects?
In the example rowIndex is passed by…
I´m trying to capture onClick events on cells in Blueprints JS-table. My goal is to trigger a method in a sibbling component that will show info about the selected (clicked) row in the table.
When googling the subject I found this pull request where…
I'm attempting to display a json array of data within a blueprintjs table. The table should be dynamic in it's rendering (number of rows and columns), so to display whatever is in the json array. In production, the json array will come from an API…