![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@eccenca/gui-elements
Advanced tools
GUI elements based on other libraries, usable in React application, written in Typescript.
Collection of React elements based on Palantir BlueprintJS and IBM Carbon, used for eccenca Corporate Memory applications.
We provide a package via npmjs registry, install it by:
yarn add @eccenca/gui-elements
It could be also included as Git submodule to your projects and used via yarn link or yarn workspaces.
As long as IBM Carbon does not support TypeScript it is necessary to install @types/carbon-components-react
as development dependency:
yarn add --dev @types/carbon-components-react
@import "~@eccenca/gui-elements/index";
into your main SCSS file.@eccenca/gui-elements/extensions
and @eccenca/gui-elements/cmem
is necessary@import "~@eccenca/gui-elements/src/configuration/variables;
into your SCSS file.All configuration variables can be set before importing the full library or the default configuration but for the main changes you should need to change only a few parameters:
$eccgui-color-primary
: color for very important buttons and switches$eccgui-color-primary-contrast
: readable text color used on primary color areas$eccgui-color-accent
: color for most conformation buttons, links, etc$eccgui-color-accent-contrast
: readable text color used on accent color areas$eccgui-color-applicationheader-text
$eccgui-color-applicationheader-background
$eccgui-color-workspace-text
$eccgui-color-workspace-background
$eccgui-size-typo-base
: size including absolute unit, currently only px
is supported$eccgui-size-typo-base-lineheight
: only ratio to font size, no unit!$eccgui-size-type-levelratio
: ratio without unit! used to calculate different text sizes based on $eccgui-size-typo-base
$eccgui-size-block-whitespace
: white space between block level elements, currently only px
is supportedRun the Jest tests with yarn test
, for test coverage information run yarn test:coverage
.
You can check easily code for code errors by yarn compile
(JS/Typescript) and yarn compile-scss
(SASS).
If you run Jest tests in your app using our library you need to install @babel/plugin-transform-runtime
as development dependeny and add it to your Babel plugins configuration.
All story source files are kept in the respective components, extensions and cmem folders, using *.stories.tsx
file name pattern.
Run the storybook by
yarn install
yarn storybook
If you want to include Jest test results into the Storybook, run yarn test:generate-output
before yarn storybook
.
If the stories and the tests share exactly the compononent name in the file names, e.g. Button.stories.tsx
and Button.
, then tests are included automazically when the test output is available.
In case the file names cannot match by pattern then test file names need to be configured in the stories:
Default.parameters = {
jest: "MyTestFile.test.tsx",
};
If necessary you can use yalc to develop gui elements and your application side by side.
yalc publish --push
yalc link @eccenca/gui-elements
yarn build:all && yalc push
feature/*
and bugfix/*
branches are merged into develop
via pull requestrelease/*
branch is created from develop
via GitHub interface, there will be created a pull request automatically
main
need to be approved
Apache License, Version 2.0, January 2004
[23.1.0] - 2023-04-20
<Badge />
element
<Button />
and <IconButton />
now have a badge
property for simple attachment<ConfidenceValue/>
element
<Depiction />
element
<EdgeLabel />
(react flow) element
<Table />
, <TableExpandHeader />
, <TableRow />
, <TableExpandRow />
and <TableCell />
elements
<TestIcon />
: test icons without the need to define them via a canonical name before.<Card />
property
whitespaceAmount
: controls how much whitespace is displayed within the card subelements<CardContent />
(react flow) property
noFlexHeight
: changes the behaviour how the component uses the remaining space inside the Card element<Divider />
properties
width
: width of the horizontal rulealignment
: horizontal alignment of the horizontal rule<EdgeDefault />
(react flow) properties
strokeType
: overwrites the default style how the edge stroke is displayedintent
: visual feedback about the current state of the edgehighlightColor
: color(s) of used highlights to mark the edge<Markdown />
property
linkTargetName
: browser target name to open links from the Markdown content<MultiSelect />
property
requestDelay
: To delay requests on query changes and only fire the most recent request.<NodeContent />
(react flow) properties
leftElement
: any element that should be displayed before the node labellabelSubline
: displayed under the label in the headerfullWidth
: stretches the node to the full available width, e.g. when used outside React Flow contextenlargeHeader
: increase hight of headerborder
: property to overwrite default stylesintent
: visual feedback about the current state of the nodehighlightColor
: color(s) of used highlights to mark the node, together with intent
it replaces highlightedState
<Pagination />
property
hideBorders
: element is displayed without dividing borders<Tag />
property
intent
property<TextField />
and <TextArea />
property
invisibleCharacterWarning
: callback to warn of invisible, hard to spot characters in the input text.intent
: state of the text field<ReactFlow />
property
scrollOnDrag
: Support to scroll the pane when going beyond the pane borders on all drag and connection operations.<SilkActivityControl />
property
executePrioritized
that is executed when the 'start prioritized' button is clicked while an activity is waiting for execution.<WhiteSpaceContainer />
property
linebreakForced
: insert line breaks within an otherwise unbreakable string to prevent text from overflowing the container--outputCss
for yarn compile-scss
to get the transpiled CSS echoed outcarbon-components
to @carbon/styles
<GridRow />
property dontWrapColumns=true
only works for grids on medium sized and larger viewports<NodeContent />
animation is now displayed on the border, not by a pulsing shadow anymore<NodeDefault />
, <NodeContent />
and <HandleDefault />
support now React Flow 9 and 10<WorkspaceContent />
: do not prevent wrapping the columns of the included grid<SingleLineCodeEditor />
: Convert multi-line initial value to a single line value.<MenuItem />
: do not display empty icon wrapper.<MultiSelect />
: Requests e.g. on slow networks could get mixed up, resulting in not showing the most recent results.<Grid />
property fullWidth
is now deprecated as grids are always used for the full viewport width<NodeContent />
property highlightedState
is replaced by intent
and highlightColor
and should not be used anymore<CardHeader />
properties densityHigh
and hasSpacing
are now deprecated, use Card.whitespaceAmount
now<TextField />
properties hasStatePrimary
, hasStateSuccess
, hasStateWarning
and hasStateDanger
are now deprecated, use intent
nowFAQs
GUI elements based on other libraries, usable in React application, written in Typescript.
The npm package @eccenca/gui-elements receives a total of 14 weekly downloads. As such, @eccenca/gui-elements popularity was classified as not popular.
We found that @eccenca/gui-elements demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.