@highlight-ui/action-bar
Advanced tools
Comparing version 3.0.16 to 4.0.0-alpha.0
@@ -41,3 +41,3 @@ 'use strict'; | ||
var styles = {"actionBar":"ActionBar-module__1wXtMQfF__v3-0-16","inline":"ActionBar-module__3eilF_hV__v3-0-16","fullWidth":"ActionBar-module__2knBO8uo__v3-0-16","centerAlignedFlex":"ActionBar-module__2Dt3Bcsh__v3-0-16","primaryAction":"ActionBar-module__36cMrIYr__v3-0-16"}; | ||
var styles = {"actionBar":"ActionBar-module__1wXtMQfF__v4-0-0-alpha-0","inline":"ActionBar-module__3eilF_hV__v4-0-0-alpha-0","fullWidth":"ActionBar-module__2knBO8uo__v4-0-0-alpha-0","centerAlignedFlex":"ActionBar-module__2Dt3Bcsh__v4-0-0-alpha-0","primaryAction":"ActionBar-module__36cMrIYr__v4-0-0-alpha-0"}; | ||
@@ -50,4 +50,4 @@ var ActionBar = function (_a) { | ||
React__default["default"].createElement("div", { className: styles.centerAlignedFlex }, | ||
secondaryAction && secondaryAction.label && (React__default["default"].createElement(button.Button, __assign({ theme: "default", onClick: secondaryAction.onClick, buttonState: secondaryAction.buttonState }, utilsCommons.parseMetadata(secondaryAction.metadata)), secondaryAction.label)), | ||
React__default["default"].createElement(button.Button, __assign({ className: styles.primaryAction, theme: "primary", onClick: primaryAction.onClick, buttonState: primaryAction.buttonState }, utilsCommons.parseMetadata(primaryAction.metadata)), primaryAction.label)))); | ||
secondaryAction && secondaryAction.label && (React__default["default"].createElement(button.Button, __assign({ variant: "default", onClick: secondaryAction.onClick, buttonState: secondaryAction.buttonState }, utilsCommons.parseMetadata(secondaryAction.metadata)), secondaryAction.label)), | ||
React__default["default"].createElement(button.Button, __assign({ className: styles.primaryAction, variant: "primary", onClick: primaryAction.onClick, buttonState: primaryAction.buttonState }, utilsCommons.parseMetadata(primaryAction.metadata)), primaryAction.label)))); | ||
}; | ||
@@ -54,0 +54,0 @@ |
@@ -32,3 +32,3 @@ import React from 'react'; | ||
var styles = {"actionBar":"ActionBar-module__1wXtMQfF__v3-0-16","inline":"ActionBar-module__3eilF_hV__v3-0-16","fullWidth":"ActionBar-module__2knBO8uo__v3-0-16","centerAlignedFlex":"ActionBar-module__2Dt3Bcsh__v3-0-16","primaryAction":"ActionBar-module__36cMrIYr__v3-0-16"}; | ||
var styles = {"actionBar":"ActionBar-module__1wXtMQfF__v4-0-0-alpha-0","inline":"ActionBar-module__3eilF_hV__v4-0-0-alpha-0","fullWidth":"ActionBar-module__2knBO8uo__v4-0-0-alpha-0","centerAlignedFlex":"ActionBar-module__2Dt3Bcsh__v4-0-0-alpha-0","primaryAction":"ActionBar-module__36cMrIYr__v4-0-0-alpha-0"}; | ||
@@ -41,4 +41,4 @@ var ActionBar = function (_a) { | ||
React.createElement("div", { className: styles.centerAlignedFlex }, | ||
secondaryAction && secondaryAction.label && (React.createElement(Button, __assign({ theme: "default", onClick: secondaryAction.onClick, buttonState: secondaryAction.buttonState }, parseMetadata(secondaryAction.metadata)), secondaryAction.label)), | ||
React.createElement(Button, __assign({ className: styles.primaryAction, theme: "primary", onClick: primaryAction.onClick, buttonState: primaryAction.buttonState }, parseMetadata(primaryAction.metadata)), primaryAction.label)))); | ||
secondaryAction && secondaryAction.label && (React.createElement(Button, __assign({ variant: "default", onClick: secondaryAction.onClick, buttonState: secondaryAction.buttonState }, parseMetadata(secondaryAction.metadata)), secondaryAction.label)), | ||
React.createElement(Button, __assign({ className: styles.primaryAction, variant: "primary", onClick: primaryAction.onClick, buttonState: primaryAction.buttonState }, parseMetadata(primaryAction.metadata)), primaryAction.label)))); | ||
}; | ||
@@ -45,0 +45,0 @@ |
{ | ||
"name": "@highlight-ui/action-bar", | ||
"version": "3.0.16", | ||
"version": "4.0.0-alpha.0", | ||
"author": "Personio GmbH", | ||
@@ -26,7 +26,8 @@ "main": "dist/cjs/index.js", | ||
"devDependencies": { | ||
"@highlight-ui/configs-base-jest": "^2.0.5", | ||
"@highlight-ui/configs-base-tsconfig": "^2.0.1", | ||
"@highlight-ui/configs-base-jest": "^2.0.6-alpha.0", | ||
"@highlight-ui/configs-base-tsconfig": "^2.1.0-alpha.0", | ||
"@highlight-ui/configs-scripts": "^2.0.2", | ||
"@highlight-ui/theme": "^8.0.4", | ||
"@highlight-ui/typography": "^3.0.30", | ||
"@highlight-ui/tokens": "^0.8.0-alpha.0", | ||
"@highlight-ui/typography": "^4.0.0-alpha.0", | ||
"@storybook/react": "^6.4.19", | ||
@@ -41,4 +42,4 @@ "@testing-library/react": "^12.1.1", | ||
"dependencies": { | ||
"@highlight-ui/button": "^10.0.4", | ||
"@highlight-ui/utils-commons": "^1.3.14" | ||
"@highlight-ui/button": "^11.0.0-alpha.0", | ||
"@highlight-ui/utils-commons": "^2.0.0-alpha.0" | ||
}, | ||
@@ -49,3 +50,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "2b72a3dec3eec32b4695c50b5035239993c74d56" | ||
"gitHead": "3c3d92c48ebf625faf853a08bdc3fe8f0a98dc0e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
46505
189
13
2
+ Added@floating-ui/core@1.6.9(transitive)
+ Added@floating-ui/dom@1.6.13(transitive)
+ Added@floating-ui/react-dom@1.3.0(transitive)
+ Added@floating-ui/react-dom-interactions@0.11.0(transitive)
+ Added@floating-ui/utils@0.2.9(transitive)
+ Added@highlight-ui/button@11.5.18(transitive)
+ Added@highlight-ui/icon@4.1.9(transitive)
+ Added@highlight-ui/tokens@3.1.04.3.9(transitive)
+ Added@highlight-ui/typography@6.3.8(transitive)
+ Added@highlight-ui/utils-commons@2.7.1(transitive)
+ Added@highlight-ui/utils-hooks@3.5.1(transitive)
+ Added@popperjs/core@2.9.3(transitive)
+ Added@use-it/event-listener@0.1.7(transitive)
+ Addedaria-hidden@1.2.4(transitive)
+ Addedclassnames@2.3.3(transitive)
+ Addeddot-case@3.0.4(transitive)
+ Addedlodash.debounce@4.0.8(transitive)
+ Addedlower-case@2.0.2(transitive)
+ Addedno-case@3.0.4(transitive)
+ Addedparam-case@3.0.4(transitive)
+ Addedreact@18.3.119.0.0(transitive)
+ Addedreact-dom@18.3.119.0.0(transitive)
+ Addedreact-fast-compare@3.2.2(transitive)
+ Addedreact-popper@2.3.0(transitive)
+ Addedreact-resize-detector@9.1.1(transitive)
+ Addedscheduler@0.23.20.25.0(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedwarning@4.0.3(transitive)
- Removed@highlight-ui/button@10.0.4(transitive)
- Removed@highlight-ui/icon@3.0.30(transitive)
- Removed@highlight-ui/utils-commons@1.3.14(transitive)