@zenkigen-inc/component-ui 1.6.4 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +10 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -31210,7 +31210,7 @@ function Dropdown(_ref) {
|
|
|
31210
31210
|
_ref$size = _ref.size,
|
|
31211
31211
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
31212
31212
|
_ref$variant = _ref.variant,
|
|
31213
|
-
variant = _ref$variant === void 0 ?
|
|
31213
|
+
variant = _ref$variant === void 0 ? 'outline' : _ref$variant,
|
|
31214
31214
|
title = _ref.title,
|
|
31215
31215
|
_ref$isDisabled = _ref.isDisabled,
|
|
31216
31216
|
isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
|
|
@@ -31278,13 +31278,19 @@ function Dropdown(_ref) {
|
|
|
31278
31278
|
children: /*#__PURE__*/jsxs("div", {
|
|
31279
31279
|
ref: targetRef,
|
|
31280
31280
|
className: wrapperClasses,
|
|
31281
|
-
children: [target ? /*#__PURE__*/
|
|
31281
|
+
children: [target ? /*#__PURE__*/jsxs("button", {
|
|
31282
31282
|
type: "button",
|
|
31283
31283
|
title: title,
|
|
31284
31284
|
className: childrenButtonClasses,
|
|
31285
31285
|
onClick: handleToggle,
|
|
31286
31286
|
disabled: isDisabled,
|
|
31287
|
-
children: target
|
|
31287
|
+
children: [target, !isArrowHidden && /*#__PURE__*/jsx("div", {
|
|
31288
|
+
className: "ml-2 flex items-center fill-icon-icon01",
|
|
31289
|
+
children: /*#__PURE__*/jsx(Icon, {
|
|
31290
|
+
name: isVisible ? 'angle-small-up' : 'angle-small-down',
|
|
31291
|
+
size: size === 'large' ? 'medium' : 'small'
|
|
31292
|
+
})
|
|
31293
|
+
})]
|
|
31288
31294
|
}) : /*#__PURE__*/jsxs("button", {
|
|
31289
31295
|
type: "button",
|
|
31290
31296
|
title: title,
|
|
@@ -31551,7 +31557,7 @@ function Modal(_ref) {
|
|
|
31551
31557
|
children: /*#__PURE__*/jsx("div", {
|
|
31552
31558
|
className: "fixed left-0 top-0 z-overlay flex h-full w-full items-center justify-center bg-background-backgroundOverlayBlack",
|
|
31553
31559
|
children: /*#__PURE__*/jsx("div", {
|
|
31554
|
-
className: "
|
|
31560
|
+
className: "grid grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-background-uiBackground01 shadow-modalShadow",
|
|
31555
31561
|
style: {
|
|
31556
31562
|
width: renderWidth,
|
|
31557
31563
|
height: renderHeight
|