@cfx-dev/ui-components 2.1.12 → 2.1.13

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.
Files changed (33) hide show
  1. package/dist/assets/Badge.css +1 -1
  2. package/dist/assets/IconButton.css +1 -1
  3. package/dist/assets/Input.css +1 -1
  4. package/dist/assets/InputDropzone.css +1 -1
  5. package/dist/assets/ItemPreview.css +1 -1
  6. package/dist/assets/RichInput.css +1 -1
  7. package/dist/assets/Select.css +1 -1
  8. package/dist/assets/Table.css +1 -1
  9. package/dist/assets/Tabular.css +1 -1
  10. package/dist/assets/global.css +1 -1
  11. package/dist/components/Badge/Badge.d.ts +2 -0
  12. package/dist/components/Badge/Badge.js +23 -21
  13. package/dist/components/Badge/BadgeShowcase.js +44 -22
  14. package/dist/components/IconButton/IconButton.d.ts +2 -0
  15. package/dist/components/IconButton/IconButton.js +27 -24
  16. package/dist/components/Input/Input.d.ts +2 -0
  17. package/dist/components/Input/Input.js +94 -72
  18. package/dist/components/Input/InputShowcase.js +24 -10
  19. package/dist/components/Input/RichInput.js +28 -28
  20. package/dist/components/InputDropzone/InputDropzone.d.ts +9 -1
  21. package/dist/components/InputDropzone/InputDropzone.js +316 -300
  22. package/dist/components/InputDropzone/InputDropzoneShowcase.js +28 -18
  23. package/dist/components/InputDropzone/ItemPreview.d.ts +2 -1
  24. package/dist/components/InputDropzone/ItemPreview.js +20 -18
  25. package/dist/components/Modal/ModalShowcase.js +18 -14
  26. package/dist/components/Select/Select.js +53 -53
  27. package/dist/components/Table/Table.d.ts +2 -0
  28. package/dist/components/Table/Table.js +87 -82
  29. package/dist/components/Tabular/Tabular.js +46 -46
  30. package/dist/main.d.ts +1 -1
  31. package/dist/main.js +43 -42
  32. package/dist/styles-scss/tokens.scss +5 -0
  33. package/package.json +1 -1
@@ -1,85 +1,89 @@
1
- import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
- import l, { useState as C } from "react";
1
+ import { jsx as t, jsxs as C } from "react/jsx-runtime";
2
+ import s, { useState as p } from "react";
3
3
  import B from "../Checkbox/Checkbox.js";
4
- import $ from "../IconButton/IconButton.js";
5
- import { Text as T } from "../Text/Text.js";
6
- import { clsx as x } from "../../utils/clsx.js";
7
- import '../../assets/Table.css';const j = "_root_1v0yo_1", z = "_radio_1v0yo_14", A = "_pointer_1v0yo_21", E = "_selectedRow_1v0yo_24", O = "_headerContent_1v0yo_34", S = "_sortable_1v0yo_40", F = "_empty_1v0yo_40", H = "_sortButton_1v0yo_43", r = {
8
- root: j,
9
- radio: z,
10
- pointer: A,
11
- selectedRow: E,
12
- headerContent: O,
13
- sortable: S,
14
- empty: F,
15
- sortButton: H
4
+ import T from "../IconButton/IconButton.js";
5
+ import { Text as $ } from "../Text/Text.js";
6
+ import { clsx as k } from "../../utils/clsx.js";
7
+ import '../../assets/Table.css';const j = "_iconButton_1yv0x_1", z = "_root_1yv0x_21", A = "_radio_1yv0x_34", E = "_radioContent_1yv0x_37", O = "_pointer_1yv0x_44", S = "_selectedRow_1yv0x_47", F = "_headerContent_1yv0x_57", l = {
8
+ iconButton: j,
9
+ root: z,
10
+ radio: A,
11
+ radioContent: E,
12
+ pointer: O,
13
+ selectedRow: S,
14
+ headerContent: F
16
15
  };
17
- function V(h) {
16
+ function H(r) {
17
+ const {
18
+ className: e,
19
+ color: o = "inherit"
20
+ } = r, n = k(l.iconButton, e);
21
+ return /* @__PURE__ */ t(T, { ...r, className: n, color: o });
22
+ }
23
+ function I(r) {
18
24
  const {
19
25
  item: e,
20
26
  onSortClick: o
21
- } = h, s = l.useCallback(() => {
27
+ } = r, n = s.useCallback(() => {
22
28
  o && o(e.sortKey || e.text);
23
- }, [e.sortKey, e.text, o]), b = x(r.headerContent, {
24
- [r.sortable]: e.sortable,
25
- [r.empty]: !e.text
29
+ }, [e.sortKey, e.text, o]), _ = k(l.headerContent, {
30
+ [l.sortable]: e.sortable,
31
+ [l.empty]: !e.text
26
32
  });
27
33
  return /* @__PURE__ */ t(
28
34
  "th",
29
35
  {
30
- className: e.sortable ? r.pointer : void 0,
31
- onClick: e.sortable ? s : void 0,
32
- children: /* @__PURE__ */ y("div", { className: b, children: [
33
- /* @__PURE__ */ t(T, { color: "secondary", weight: "bold", uppercase: !0, size: "xxsmall", children: e.text }),
36
+ className: e.sortable ? l.pointer : void 0,
37
+ onClick: e.sortable ? n : void 0,
38
+ children: /* @__PURE__ */ C("div", { className: _, children: [
39
+ /* @__PURE__ */ t($, { color: "secondary", weight: "bold", uppercase: !0, size: "xxsmall", children: e.text }),
34
40
  !!e.sortable && /* @__PURE__ */ t(
35
- $,
41
+ H,
36
42
  {
37
- className: r.sortButton,
38
- color: "secondary",
39
43
  name: "Sort",
40
- onClick: s
44
+ onClick: n
41
45
  }
42
46
  )
43
47
  ] })
44
48
  }
45
49
  );
46
50
  }
47
- function q(h) {
51
+ function V(r) {
48
52
  const {
49
53
  index: e,
50
54
  includeRadio: o = !1,
51
- selectedRow: s,
52
- item: b,
53
- dataContainer: m,
54
- onSelectChange: a
55
- } = h, f = l.useCallback((n) => {
56
- a(
57
- n ? e : null
55
+ selectedRow: n,
56
+ item: _,
57
+ dataContainer: h,
58
+ onSelectChange: i
59
+ } = r, f = s.useCallback((a) => {
60
+ i(
61
+ a ? e : null
58
62
  );
59
- }, [a, e]), _ = l.useCallback(() => {
60
- a(e);
61
- }, [a, e]), p = x({
62
- [r.selectedRow]: s === e,
63
- [r.pointer]: o
63
+ }, [i, e]), u = s.useCallback(() => {
64
+ i(e);
65
+ }, [i, e]), b = k({
66
+ [l.selectedRow]: n === e,
67
+ [l.pointer]: o
64
68
  });
65
- return /* @__PURE__ */ y(
69
+ return /* @__PURE__ */ C(
66
70
  "tr",
67
71
  {
68
- className: p,
69
- onClick: o ? _ : void 0,
72
+ className: b,
73
+ onClick: o ? u : void 0,
70
74
  children: [
71
- o && /* @__PURE__ */ t("td", { className: r.radio, children: /* @__PURE__ */ t(
75
+ o && /* @__PURE__ */ t("td", { className: l.radio, children: /* @__PURE__ */ t("div", { className: l.radioContent, children: /* @__PURE__ */ t(
72
76
  B,
73
77
  {
74
78
  size: "small",
75
79
  onCheckedChange: f,
76
80
  "aria-label": `${e}`,
77
- checked: s === e
81
+ checked: n === e
78
82
  }
79
- ) }),
80
- b.map((n, u) => {
81
- let d;
82
- return l.isValidElement(n) ? d = n : m ? d = l.createElement(m, { item: n }) : d = String(n), /* @__PURE__ */ t("td", { children: d }, `item-${u}`);
83
+ ) }) }),
84
+ _.map((a, x) => {
85
+ let m;
86
+ return s.isValidElement(a) ? m = a : h ? m = s.createElement(h, { item: a }) : m = String(a), /* @__PURE__ */ t("td", { children: m }, `item-${x}`);
83
87
  })
84
88
  ]
85
89
  },
@@ -87,59 +91,60 @@ function q(h) {
87
91
  );
88
92
  }
89
93
  function M({
90
- headers: h = [],
94
+ headers: r = [],
91
95
  data: e = [],
92
96
  includeRadio: o = !1,
93
- onSelectChange: s,
94
- dataContainer: b,
95
- selectedRow: m = null,
96
- sortBy: a,
97
+ onSelectChange: n,
98
+ dataContainer: _,
99
+ selectedRow: h = null,
100
+ sortBy: i,
97
101
  sortOrder: f = "asc",
98
- onSortChange: _
102
+ onSortChange: u
99
103
  }) {
100
- const [p, n] = C(m), [u, d] = C(a), [k, v] = C(f), R = l.useCallback((c) => {
101
- const w = u === c && k === "asc" ? "desc" : "asc";
102
- d(c), v(w), _ == null || _(c, w);
103
- }, [_, u, k]), N = l.useCallback(
104
+ const [b, a] = p(h), [x, m] = p(i), [v, w] = p(f), N = s.useCallback((c) => {
105
+ const y = x === c && v === "asc" ? "desc" : "asc";
106
+ m(c), w(y), u == null || u(c, y);
107
+ }, [u, x, v]), R = s.useCallback(
104
108
  (c) => {
105
- const i = c === p ? null : c;
106
- n(i), s == null || s(i);
109
+ const d = c === b ? null : c;
110
+ a(d), n == null || n(d);
107
111
  },
108
- [s, p]
112
+ [n, b]
109
113
  );
110
- return l.useEffect(() => {
111
- n(m);
112
- }, [m]), l.useEffect(() => {
113
- d(a);
114
- }, [a]), l.useEffect(() => {
115
- v(f);
116
- }, [f]), /* @__PURE__ */ t("div", { className: r.root, children: /* @__PURE__ */ y("table", { children: [
117
- /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ y("tr", { children: [
114
+ return s.useEffect(() => {
115
+ a(h);
116
+ }, [h]), s.useEffect(() => {
117
+ m(i);
118
+ }, [i]), s.useEffect(() => {
119
+ w(f);
120
+ }, [f]), /* @__PURE__ */ t("div", { className: l.root, children: /* @__PURE__ */ C("table", { children: [
121
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ C("tr", { children: [
118
122
  o && /* @__PURE__ */ t("th", { "aria-label": "Select Row" }),
119
- h.map((c, i) => /* @__PURE__ */ t(
120
- V,
123
+ r.map((c, d) => /* @__PURE__ */ t(
124
+ I,
121
125
  {
122
126
  item: c,
123
- onSortClick: R
127
+ onSortClick: N
124
128
  },
125
- `header-${i}`
129
+ `header-${d}`
126
130
  ))
127
131
  ] }) }),
128
- /* @__PURE__ */ t("tbody", { children: e.map((c, i) => /* @__PURE__ */ t(
129
- q,
132
+ /* @__PURE__ */ t("tbody", { children: e.map((c, d) => /* @__PURE__ */ t(
133
+ V,
130
134
  {
131
- index: i,
135
+ index: d,
132
136
  item: c,
133
137
  includeRadio: o,
134
- selectedRow: p,
135
- onSelectChange: N,
136
- dataContainer: b
138
+ selectedRow: b,
139
+ onSelectChange: R,
140
+ dataContainer: _
137
141
  },
138
- `row-${i}`
142
+ `row-${d}`
139
143
  )) })
140
144
  ] }) });
141
145
  }
142
146
  export {
143
147
  M as Table,
144
- V as TableHeaderItem
148
+ I as TableHeaderItem,
149
+ H as TableIconButton
145
150
  };
@@ -1,12 +1,12 @@
1
- import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
- import f, { createElement as k } from "react";
1
+ import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
+ import h, { createElement as k } from "react";
3
3
  import { Dot as v } from "../Dot/Dot.js";
4
- import { clsx as h } from "../../utils/clsx.js";
5
- import '../../assets/Tabular.css';const C = "_reset_17apb_1", x = "_root_17apb_5", I = "_item_17apb_16", R = "_active_17apb_37", g = "_hasNotification_17apb_64", T = "_content_17apb_67", e = {
4
+ import { clsx as b } from "../../utils/clsx.js";
5
+ import '../../assets/Tabular.css';const C = "_reset_1xcn9_1", p = "_root_1xcn9_5", I = "_item_1xcn9_17", R = "_active_1xcn9_38", g = "_hasNotification_1xcn9_65", T = "_content_1xcn9_68", a = {
6
6
  reset: C,
7
- root: x,
8
- "theme-dark": "_theme-dark_17apb_10",
9
- "theme-light": "_theme-light_17apb_13",
7
+ root: p,
8
+ "theme-dark": "_theme-dark_1xcn9_11",
9
+ "theme-light": "_theme-light_1xcn9_14",
10
10
  item: I,
11
11
  active: R,
12
12
  hasNotification: g,
@@ -14,77 +14,77 @@ import '../../assets/Tabular.css';const C = "_reset_17apb_1", x = "_root_17apb_5
14
14
  };
15
15
  function m(_) {
16
16
  const {
17
- items: s,
17
+ items: i,
18
18
  activeItem: o,
19
- onActivate: a,
20
- itemClassName: i,
21
- ...c
22
- } = _, n = f.useCallback((t) => {
23
- a && a(t);
24
- }, [a]);
25
- return /* @__PURE__ */ r(m.Root, { ...c, children: s.map((t) => /* @__PURE__ */ k(
19
+ onActivate: e,
20
+ itemClassName: c,
21
+ ...n
22
+ } = _, s = h.useCallback((t) => {
23
+ e && e(t);
24
+ }, [e]);
25
+ return /* @__PURE__ */ r(m.Root, { ...n, children: i.map((t) => /* @__PURE__ */ k(
26
26
  m.Item,
27
27
  {
28
28
  ...t,
29
- className: i,
29
+ className: c,
30
30
  key: t.id,
31
31
  active: t.id === o,
32
- onClick: n
32
+ onClick: s
33
33
  }
34
34
  )) });
35
35
  }
36
- m.Root = function(s) {
36
+ m.Root = function(i) {
37
37
  const {
38
38
  children: o,
39
- className: a,
40
- ariaLabel: i,
41
- tabIndex: c,
42
- theme: n = "dark",
39
+ className: e,
40
+ ariaLabel: c,
41
+ tabIndex: n,
42
+ theme: s = "dark",
43
43
  role: t = "tablist"
44
- } = s, l = h(e.root, e[`theme-${n}`], a);
44
+ } = i, l = b(a.root, a[`theme-${s}`], e);
45
45
  return /* @__PURE__ */ r(
46
46
  "div",
47
47
  {
48
48
  role: t,
49
- "aria-label": i,
50
- tabIndex: c,
49
+ "aria-label": c,
50
+ tabIndex: n,
51
51
  className: l,
52
52
  children: o
53
53
  }
54
54
  );
55
55
  };
56
- m.Item = function(s) {
56
+ m.Item = function(i) {
57
57
  const {
58
58
  id: o,
59
- label: a,
60
- onClick: i,
61
- ariaLabel: c,
62
- ariaControls: n,
59
+ label: e,
60
+ onClick: c,
61
+ ariaLabel: n,
62
+ ariaControls: s,
63
63
  className: t,
64
64
  active: l = !1,
65
- disabled: b = !1,
66
- hasNotification: d = !1
67
- } = s, p = f.useCallback(() => {
68
- b || i(o);
69
- }, [b, i, o]), N = h(e.reset, e.item, t, {
70
- [e.active]: l,
71
- [e.hasNotification]: d
65
+ disabled: d = !1,
66
+ hasNotification: f = !1
67
+ } = i, N = h.useCallback(() => {
68
+ d || c(o);
69
+ }, [d, c, o]), u = b(a.reset, a.item, t, {
70
+ [a.active]: l,
71
+ [a.hasNotification]: f
72
72
  });
73
73
  return /* @__PURE__ */ r(
74
74
  "button",
75
75
  {
76
- disabled: b,
76
+ disabled: d,
77
77
  type: "button",
78
78
  role: "tab",
79
- className: N,
80
- onClick: p,
81
- "aria-label": c,
82
- "aria-controls": n,
83
- "data-text": a,
79
+ className: u,
80
+ onClick: N,
81
+ "aria-label": n,
82
+ "aria-controls": s,
83
+ "data-text": e,
84
84
  "aria-selected": l,
85
- children: /* @__PURE__ */ u("span", { className: e.content, children: [
86
- a,
87
- d && /* @__PURE__ */ r(v, { color: "green", className: e.notification })
85
+ children: /* @__PURE__ */ x("span", { className: a.content, children: [
86
+ e,
87
+ f && /* @__PURE__ */ r(v, { color: "green", className: a.notification })
88
88
  ] })
89
89
  }
90
90
  );
package/dist/main.d.ts CHANGED
@@ -60,7 +60,7 @@ export { Style, useContextualStyle } from './components/Style/Style';
60
60
  export { Switch } from './components/Switch';
61
61
  export { ToggleGroup } from './components/ToggleGroup/ToggleGroup';
62
62
  export { Tabular } from './components/Tabular';
63
- export { Table } from './components/Table/Table';
63
+ export { Table, TableIconButton, } from './components/Table/Table';
64
64
  export { Text, TextBlock, getTextOpacity, } from './components/Text';
65
65
  export { Textarea } from './components/Textarea/Textarea';
66
66
  export { Title, TITLE_OUTLET_ID } from './components/Title/Title';
package/dist/main.js CHANGED
@@ -3,13 +3,13 @@ import { clsx as f } from "./utils/clsx.js";
3
3
  import { getValue as m } from "./utils/getValue.js";
4
4
  import { usePopoverController as l } from "./utils/hooks/usePopoverController.js";
5
5
  import { useInstance as i } from "./utils/hooks/useInstance.js";
6
- import { useDynamicRef as c } from "./utils/hooks/useDynamicRef.js";
6
+ import { useDynamicRef as s } from "./utils/hooks/useDynamicRef.js";
7
7
  import { useGlobalKeyboardEvent as d } from "./utils/hooks/useGlobalKeyboardEvent.js";
8
8
  import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
9
- import { useWindowResize as L } from "./utils/hooks/useWindowResize.js";
9
+ import { useWindowResize as B } from "./utils/hooks/useWindowResize.js";
10
10
  import { useOutlet as y } from "./utils/hooks/useOutlet.js";
11
- import { identity as S, invoke as C, noop as A, returnFalse as k, returnTrue as O } from "./utils/functional.js";
12
- import { Linkify as b, defaultLinkReplacer as E, defaultLinkReplacerx as D, isExternalUrl as _, linkify as h, linkifyx as v, matchLinkNodes as F, matchLinks as U } from "./utils/links.js";
11
+ import { identity as S, invoke as C, noop as A, returnFalse as b, returnTrue as k } from "./utils/functional.js";
12
+ import { Linkify as P, defaultLinkReplacer as E, defaultLinkReplacerx as D, isExternalUrl as _, linkify as h, linkifyx as v, matchLinkNodes as F, matchLinks as U } from "./utils/links.js";
13
13
  import { clamp as K, clamp01 as N } from "./utils/math.js";
14
14
  import { isFalseString as w, isTrueString as G, normalizeSlashes as Y, replaceRange as H, splitByIndices as M, unicodeCharAt as W } from "./utils/string.js";
15
15
  import { debounce as q, throttle as J } from "./utils/execution.js";
@@ -18,14 +18,14 @@ import { default as $ } from "./components/IconButton/IconButton.js";
18
18
  import { Accordion as ro, AccordionContent as eo, AccordionHeader as to, AccordionItem as po, AccordionTrigger as fo } from "./components/Accordion/Accordion.js";
19
19
  import { CLIPBOARD_TITLE_APPEARANCE as mo, default as ao } from "./components/ClipboardButton/ClipboardButton.js";
20
20
  import { default as no } from "./components/Checkbox/Checkbox.js";
21
- import { Button as so } from "./components/Button/Button.js";
21
+ import { Button as co } from "./components/Button/Button.js";
22
22
  import { LinkButton as uo } from "./components/Button/LinkButton.js";
23
23
  import { ButtonBar as To } from "./components/Button/ButtonBar.js";
24
- import { Avatar as Lo } from "./components/Avatar/Avatar.js";
24
+ import { Avatar as Bo } from "./components/Avatar/Avatar.js";
25
25
  import { BACKDROP_OUTLET_ID as yo, BackdropPortal as Ro } from "./components/BackdropPortal/BackdropPortal.js";
26
26
  import { Badge as Co } from "./components/Badge/Badge.js";
27
- import { ControlBox as ko } from "./components/ControlBox/ControlBox.js";
28
- import { CountryFlag as Po } from "./components/CountryFlag/CountryFlag.js";
27
+ import { ControlBox as bo } from "./components/ControlBox/ControlBox.js";
28
+ import { CountryFlag as Oo } from "./components/CountryFlag/CountryFlag.js";
29
29
  import { Decorate as Eo } from "./components/Decorate/Decorate.js";
30
30
  import { Dot as _o } from "./components/Dot/Dot.js";
31
31
  import { FLYOUT_OUTLET_ID as vo, Flyout as Fo } from "./components/Flyout/Flyout.js";
@@ -44,15 +44,15 @@ import { Box as fr } from "./components/Layout/Box/Box.js";
44
44
  import { Center as mr } from "./components/Layout/Center/Center.js";
45
45
  import { Flex as lr } from "./components/Layout/Flex/Flex.js";
46
46
  import { FlexRestricter as ir } from "./components/Layout/Flex/FlexRestricter.js";
47
- import { Pad as cr } from "./components/Layout/Pad/Pad.js";
47
+ import { Pad as sr } from "./components/Layout/Pad/Pad.js";
48
48
  import { Page as dr } from "./components/Layout/Page/Page.js";
49
49
  import { R as Tr } from "./Rail-nVRissv6.js";
50
- import { Scrollable as Lr } from "./components/Layout/Scrollable/Scrollable.js";
50
+ import { Scrollable as Br } from "./components/Layout/Scrollable/Scrollable.js";
51
51
  import { VirtualScrollable as yr } from "./components/Layout/Scrollable/VirtualScrollable.js";
52
52
  import { Loaf as Sr } from "./components/Loaf/Loaf.js";
53
53
  import { Modal as Ar } from "./components/Modal/Modal.js";
54
- import { NavList as Or } from "./components/NavList/NavList.js";
55
- import { OVERLAY_OUTLET_ID as br, Overlay as Er } from "./components/Overlay/Overlay.js";
54
+ import { NavList as kr } from "./components/NavList/NavList.js";
55
+ import { OVERLAY_OUTLET_ID as Pr, Overlay as Er } from "./components/Overlay/Overlay.js";
56
56
  import { Popover as _r } from "./components/Popover/Popover.js";
57
57
  import { PremiumBadge as vr } from "./components/PremiumBadge/PremiumBadge.js";
58
58
  import { Prose as Ur } from "./components/Prose/Prose.js";
@@ -65,34 +65,34 @@ import { Style as qr, useContextualStyle as Jr } from "./components/Style/Style.
65
65
  import { default as Xr } from "./components/Switch/Switch.js";
66
66
  import { ToggleGroup as $r } from "./components/ToggleGroup/ToggleGroup.js";
67
67
  import { Tabular as re } from "./components/Tabular/Tabular.js";
68
- import { Table as te } from "./components/Table/Table.js";
69
- import { Text as fe, TextBlock as xe, getTextOpacity as me } from "./components/Text/Text.js";
70
- import { Textarea as le } from "./components/Textarea/Textarea.js";
71
- import { TITLE_OUTLET_ID as ie, Title as se } from "./components/Title/Title.js";
72
- import { default as ue } from "./components/InputDropzone/InputDropzone.js";
68
+ import { Table as te, TableIconButton as pe } from "./components/Table/Table.js";
69
+ import { Text as xe, TextBlock as me, getTextOpacity as ae } from "./components/Text/Text.js";
70
+ import { Textarea as ne } from "./components/Textarea/Textarea.js";
71
+ import { TITLE_OUTLET_ID as ce, Title as se } from "./components/Title/Title.js";
72
+ import { default as de } from "./components/InputDropzone/InputDropzone.js";
73
73
  import "./components/InputDropzone/ItemPreview.js";
74
- import { OnScreenSensor as Ie } from "./components/OnScreenSensor.js";
75
- import { ui as ge } from "./components/ui.js";
76
- import { Symbols as Be } from "./components/Symbols.js";
74
+ import { OnScreenSensor as Te } from "./components/OnScreenSensor.js";
75
+ import { ui as Be } from "./components/ui.js";
76
+ import { Symbols as ye } from "./components/Symbols.js";
77
77
  export {
78
78
  ro as Accordion,
79
79
  eo as AccordionContent,
80
80
  to as AccordionHeader,
81
81
  po as AccordionItem,
82
82
  fo as AccordionTrigger,
83
- Lo as Avatar,
83
+ Bo as Avatar,
84
84
  yo as BACKDROP_OUTLET_ID,
85
85
  Ro as BackdropPortal,
86
86
  Co as Badge,
87
87
  fr as Box,
88
- so as Button,
88
+ co as Button,
89
89
  To as ButtonBar,
90
90
  mo as CLIPBOARD_TITLE_APPEARANCE,
91
91
  mr as Center,
92
92
  no as Checkbox,
93
93
  ao as ClipboardButton,
94
- ko as ControlBox,
95
- Po as CountryFlag,
94
+ bo as ControlBox,
95
+ Oo as CountryFlag,
96
96
  Eo as Decorate,
97
97
  _o as Dot,
98
98
  vo as FLYOUT_OUTLET_ID,
@@ -107,19 +107,19 @@ export {
107
107
  jo as Indicator,
108
108
  Jo as InfoPanel,
109
109
  Xo as Input,
110
- ue as InputDropzone,
110
+ de as InputDropzone,
111
111
  rr as Interactive,
112
112
  tr as Island,
113
113
  uo as LinkButton,
114
- b as Linkify,
114
+ P as Linkify,
115
115
  Sr as Loaf,
116
116
  zo as Logos,
117
117
  Ar as Modal,
118
- Or as NavList,
119
- br as OVERLAY_OUTLET_ID,
120
- Ie as OnScreenSensor,
118
+ kr as NavList,
119
+ Pr as OVERLAY_OUTLET_ID,
120
+ Te as OnScreenSensor,
121
121
  Er as Overlay,
122
- cr as Pad,
122
+ sr as Pad,
123
123
  dr as Page,
124
124
  _r as Popover,
125
125
  vr as PremiumBadge,
@@ -127,20 +127,21 @@ export {
127
127
  Kr as Radio,
128
128
  Tr as Rail,
129
129
  $o as RichInput,
130
- Lr as Scrollable,
130
+ Br as Scrollable,
131
131
  Vr as Select,
132
132
  Gr as Separator,
133
133
  Hr as Shroud,
134
134
  Wr as Spacer,
135
135
  qr as Style,
136
136
  Xr as Switch,
137
- Be as Symbols,
138
- ie as TITLE_OUTLET_ID,
137
+ ye as Symbols,
138
+ ce as TITLE_OUTLET_ID,
139
139
  te as Table,
140
+ pe as TableIconButton,
140
141
  re as Tabular,
141
- fe as Text,
142
- xe as TextBlock,
143
- le as Textarea,
142
+ xe as Text,
143
+ me as TextBlock,
144
+ ne as Textarea,
144
145
  se as Title,
145
146
  $r as ToggleGroup,
146
147
  yr as VirtualScrollable,
@@ -151,7 +152,7 @@ export {
151
152
  E as defaultLinkReplacer,
152
153
  D as defaultLinkReplacerx,
153
154
  X as getColor,
154
- me as getTextOpacity,
155
+ ae as getTextOpacity,
155
156
  m as getValue,
156
157
  S as identity,
157
158
  C as invoke,
@@ -166,18 +167,18 @@ export {
166
167
  A as noop,
167
168
  Y as normalizeSlashes,
168
169
  H as replaceRange,
169
- k as returnFalse,
170
- O as returnTrue,
170
+ b as returnFalse,
171
+ k as returnTrue,
171
172
  M as splitByIndices,
172
173
  J as throttle,
173
- ge as ui,
174
+ Be as ui,
174
175
  W as unicodeCharAt,
175
176
  Jr as useContextualStyle,
176
- c as useDynamicRef,
177
+ s as useDynamicRef,
177
178
  d as useGlobalKeyboardEvent,
178
179
  i as useInstance,
179
180
  T as useKeyboardClose,
180
181
  y as useOutlet,
181
182
  l as usePopoverController,
182
- L as useWindowResize
183
+ B as useWindowResize
183
184
  };
@@ -127,6 +127,11 @@ $control-heights: (
127
127
  @include ui.define-color-token('input-hover-border', ui.color('primary', $alpha: .1));
128
128
  @include ui.define-color-token('input-focus-border', ui.color('bg-dark'));
129
129
  @include ui.define-color-token('input-disabled-border', ui.color('bg-light'));
130
+
131
+ @include ui.define-color-token('input-onlight-border', ui.color('primary', $alpha: .1));
132
+ @include ui.define-color-token('input-onlight-hover-border', ui.color('primary', $alpha: .2));
133
+ @include ui.define-color-token('input-onlight-focus-border', ui.color('primary', $alpha: .2));
134
+ @include ui.define-color-token('input-onlight-disabled-border', ui.color('primary', $alpha: .1));
130
135
  }
131
136
 
132
137
  @mixin accordion-tokens() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "2.1.12",
4
+ "version": "2.1.13",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",