@cfx-dev/ui-components 5.0.33 → 5.0.35
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/{DropdownContent-DCqFWnzj.js → DropdownContent-Cxs3Wve5.js} +1 -1
- package/dist/assets/css/DropdownSelect.css +1 -1
- package/dist/assets/css/RichInput.css +1 -1
- package/dist/assets/css/Select.css +1 -1
- package/dist/assets/css/StyledInput.css +1 -1
- package/dist/assets/css/Title.css +1 -1
- package/dist/assets/general/global.css +1 -1
- package/dist/components/DropdownContent/DropdownContent.js +1 -1
- package/dist/components/DropdownContent/index.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/components/Pagination/Pagination.js +2 -2
- package/dist/styles-scss/_ui.scss +4 -0
- package/dist/utils/ui/ui.types.d.ts +3 -1
- package/dist/utils/ui/ui.types.js +7 -7
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as f, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { R as D, T as W, D as C } from "../../DropdownContent-
|
|
2
|
+
import { R as D, T as W, D as C } from "../../DropdownContent-Cxs3Wve5.js";
|
|
3
3
|
import a, { useRef as R, useState as v, useEffect as b } from "react";
|
|
4
4
|
import N from "../Flex/Flex.js";
|
|
5
5
|
import { clsx as T } from "../../utils/clsx.js";
|
|
@@ -60,7 +60,7 @@ function v(u) {
|
|
|
60
60
|
d,
|
|
61
61
|
{
|
|
62
62
|
theme: "secondary",
|
|
63
|
-
icon: "
|
|
63
|
+
icon: "LeftArrow",
|
|
64
64
|
disabled: i,
|
|
65
65
|
onClick: P,
|
|
66
66
|
className: m(a.button, a.buttonBack)
|
|
@@ -103,7 +103,7 @@ function v(u) {
|
|
|
103
103
|
d,
|
|
104
104
|
{
|
|
105
105
|
theme: "secondary",
|
|
106
|
-
icon: "
|
|
106
|
+
icon: "RightArrow",
|
|
107
107
|
disabled: i,
|
|
108
108
|
onClick: C,
|
|
109
109
|
className: m(a.button, a.buttonForward)
|
|
@@ -443,6 +443,10 @@ $zindexMap: (
|
|
|
443
443
|
'second': 2,
|
|
444
444
|
'flyout': 1000,
|
|
445
445
|
'max': 9000,
|
|
446
|
+
// Select's content should be above everything except Title
|
|
447
|
+
'select': 9099,
|
|
448
|
+
// Titles must be above everything
|
|
449
|
+
'title': 9100,
|
|
446
450
|
);
|
|
447
451
|
|
|
448
452
|
@function zindex($index) {
|
|
@@ -51,7 +51,9 @@ export declare enum ZIndexEnum {
|
|
|
51
51
|
zero = "zero",
|
|
52
52
|
first = "first",
|
|
53
53
|
second = "second",
|
|
54
|
-
max = "max"
|
|
54
|
+
max = "max",
|
|
55
|
+
select = "select",
|
|
56
|
+
title = "title"
|
|
55
57
|
}
|
|
56
58
|
export type ZIndexType = keyof typeof ZIndexEnum;
|
|
57
59
|
export type ResponsiveValueType<T = string | number> = T | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var a = /* @__PURE__ */ ((l) => (l.accent = "accent", l.primary = "primary", l.secondary = "secondary", l.tertiary = "tertiary", l.green = "green", l.yellow = "yellow", l.red = "red", l.argentum = "argentum", l.aurum = "aurum", l.platinum = "platinum", l.bg = "bg", l["bg-light"] = "bg-light", l["bg-dark"] = "bg-dark", l["bg-dark-grey"] = "bg-dark-grey", l["bg-black"] = "bg-black", l))(a || {}), x = /* @__PURE__ */ ((l) => (l.xxxsmall = "xxxsmall", l.xxsmall = "xxsmall", l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.xxlarge = "xxlarge", l.xxxlarge = "xxxlarge", l.xxxxlarge = "xxxxlarge", l))(x || {}), s = /* @__PURE__ */ ((l) => (l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l))(s || {}), r = /* @__PURE__ */ ((l) => (l.none = "none", l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.pill = "pill", l))(r || {}),
|
|
2
|
-
const
|
|
1
|
+
var a = /* @__PURE__ */ ((l) => (l.accent = "accent", l.primary = "primary", l.secondary = "secondary", l.tertiary = "tertiary", l.green = "green", l.yellow = "yellow", l.red = "red", l.argentum = "argentum", l.aurum = "aurum", l.platinum = "platinum", l.bg = "bg", l["bg-light"] = "bg-light", l["bg-dark"] = "bg-dark", l["bg-dark-grey"] = "bg-dark-grey", l["bg-black"] = "bg-black", l))(a || {}), x = /* @__PURE__ */ ((l) => (l.xxxsmall = "xxxsmall", l.xxsmall = "xxsmall", l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.xxlarge = "xxlarge", l.xxxlarge = "xxxlarge", l.xxxxlarge = "xxxxlarge", l))(x || {}), s = /* @__PURE__ */ ((l) => (l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l))(s || {}), r = /* @__PURE__ */ ((l) => (l.none = "none", l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.pill = "pill", l))(r || {}), e = /* @__PURE__ */ ((l) => (l.zero = "zero", l.first = "first", l.second = "second", l.max = "max", l.select = "select", l.title = "title", l))(e || {}), g = /* @__PURE__ */ ((l) => (l.none = "none", l.hairthin = "hairthin", l.thin = "thin", l.xxsmall = "xxsmall", l.xsmall = "xsmall", l.small = "small", l.normal = "normal", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.safezone = "safezone", l))(g || {}), t = /* @__PURE__ */ ((l) => (l.xxsmall = "xxsmall", l.xsmall = "xsmall", l.small = "small", l.medium = "medium", l.large = "large", l.xlarge = "xlarge", l.xxlarge = "xxlarge", l.xxxlarge = "xxxlarge", l.xxxxlarge = "xxxxlarge", l.xxxxxlarge = "xxxxxlarge", l))(t || {}), p = /* @__PURE__ */ ((l) => (l.sp25 = "sp25", l.sp100 = "sp100", l.sp110 = "sp110", l.sp150 = "sp150", l.sp175 = "sp175", l.sp200 = "sp200", l.sp250 = "sp250", l.sp300 = "sp300", l.sp400 = "sp400", l.sp450 = "sp450", l.sp600 = "sp600", l.sp700 = "sp700", l.sp800 = "sp800", l.sp900 = "sp900", l.sp1000 = "sp1000", l.sp1200 = "sp1200", l.sp1600 = "sp1600", l.sp2400 = "sp2400", l))(p || {}), b = /* @__PURE__ */ ((l) => (l.initial = "initial", l.small = "small", l["small-medium"] = "small-medium", l.medium = "medium", l["medium-large"] = "medium-large", l.large = "large", l.xlarge = "xlarge", l))(b || {});
|
|
2
|
+
const v = {
|
|
3
3
|
initial: 0,
|
|
4
4
|
small: 360,
|
|
5
5
|
"small-medium": 640,
|
|
@@ -13,10 +13,10 @@ export {
|
|
|
13
13
|
a as ColorEnum,
|
|
14
14
|
s as IconSizeEnum,
|
|
15
15
|
b as MediaQueryEnum,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
v as MediaQueryValuesMap,
|
|
17
|
+
g as OffsetEnum,
|
|
18
|
+
t as SpacerEnum,
|
|
19
|
+
p as SpacingEnum,
|
|
20
20
|
x as TextSizeEnum,
|
|
21
|
-
|
|
21
|
+
e as ZIndexEnum
|
|
22
22
|
};
|