@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.
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { D as a } from "../../DropdownContent-DCqFWnzj.js";
2
+ import { D as a } from "../../DropdownContent-Cxs3Wve5.js";
3
3
  import "react";
4
4
  import "../../utils/clsx.js";
5
5
  import "../../utils/ui/ui.js";
@@ -1,4 +1,4 @@
1
- import { D as r } from "../../DropdownContent-DCqFWnzj.js";
1
+ import { D as r } from "../../DropdownContent-Cxs3Wve5.js";
2
2
  export {
3
3
  r as DropdownContent
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import { R as m, T as c, D as f } from "../../DropdownContent-DCqFWnzj.js";
2
+ import { R as m, T as c, D as f } from "../../DropdownContent-Cxs3Wve5.js";
3
3
  import p from "react";
4
4
  function u(t) {
5
5
  const {
@@ -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-DCqFWnzj.js";
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: "RightArrow",
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: "LeftArrow",
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 || {}), g = /* @__PURE__ */ ((l) => (l.zero = "zero", l.first = "first", l.second = "second", l.max = "max", l))(g || {}), e = /* @__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))(e || {}), p = /* @__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))(p || {}), t = /* @__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))(t || {}), 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 d = {
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
- d as MediaQueryValuesMap,
17
- e as OffsetEnum,
18
- p as SpacerEnum,
19
- t as SpacingEnum,
16
+ v as MediaQueryValuesMap,
17
+ g as OffsetEnum,
18
+ t as SpacerEnum,
19
+ p as SpacingEnum,
20
20
  x as TextSizeEnum,
21
- g as ZIndexEnum
21
+ e as ZIndexEnum
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
- "version": "5.0.33",
3
+ "version": "5.0.35",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "dist/main.js",