@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.js
CHANGED
|
@@ -31219,7 +31219,7 @@ function Dropdown({
|
|
|
31219
31219
|
label,
|
|
31220
31220
|
icon,
|
|
31221
31221
|
size = 'medium',
|
|
31222
|
-
variant =
|
|
31222
|
+
variant = 'outline',
|
|
31223
31223
|
title,
|
|
31224
31224
|
isDisabled = false,
|
|
31225
31225
|
isArrowHidden = false,
|
|
@@ -31280,13 +31280,19 @@ function Dropdown({
|
|
|
31280
31280
|
children: /*#__PURE__*/jsxs("div", {
|
|
31281
31281
|
ref: targetRef,
|
|
31282
31282
|
className: wrapperClasses,
|
|
31283
|
-
children: [target ? /*#__PURE__*/
|
|
31283
|
+
children: [target ? /*#__PURE__*/jsxs("button", {
|
|
31284
31284
|
type: "button",
|
|
31285
31285
|
title: title,
|
|
31286
31286
|
className: childrenButtonClasses,
|
|
31287
31287
|
onClick: handleToggle,
|
|
31288
31288
|
disabled: isDisabled,
|
|
31289
|
-
children: target
|
|
31289
|
+
children: [target, !isArrowHidden && /*#__PURE__*/jsx("div", {
|
|
31290
|
+
className: "ml-2 flex items-center fill-icon-icon01",
|
|
31291
|
+
children: /*#__PURE__*/jsx(Icon, {
|
|
31292
|
+
name: isVisible ? 'angle-small-up' : 'angle-small-down',
|
|
31293
|
+
size: size === 'large' ? 'medium' : 'small'
|
|
31294
|
+
})
|
|
31295
|
+
})]
|
|
31290
31296
|
}) : /*#__PURE__*/jsxs("button", {
|
|
31291
31297
|
type: "button",
|
|
31292
31298
|
title: title,
|
|
@@ -31543,7 +31549,7 @@ function Modal({
|
|
|
31543
31549
|
children: /*#__PURE__*/jsx("div", {
|
|
31544
31550
|
className: "fixed left-0 top-0 z-overlay flex h-full w-full items-center justify-center bg-background-backgroundOverlayBlack",
|
|
31545
31551
|
children: /*#__PURE__*/jsx("div", {
|
|
31546
|
-
className: "
|
|
31552
|
+
className: "grid grid-rows-[max-content_1fr_max-content] flex-col rounded-lg bg-background-uiBackground01 shadow-modalShadow",
|
|
31547
31553
|
style: {
|
|
31548
31554
|
width: renderWidth,
|
|
31549
31555
|
height: renderHeight
|