@orfium/ictinus 5.41.3 → 5.42.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.
Files changed (41) hide show
  1. package/.turbo/turbo-build.log +904 -898
  2. package/CHANGELOG.md +17 -0
  3. package/dist/components/Link/Link.js +18 -18
  4. package/dist/components/Link/Link.style.js +6 -6
  5. package/dist/index.js +248 -242
  6. package/dist/layers/layers.css.js +9 -0
  7. package/dist/layers/layers.css.ts.vanilla.css +1 -0
  8. package/dist/sprinkles/properties.css.js +9 -0
  9. package/dist/sprinkles/properties.css.ts.vanilla.css +1 -0
  10. package/dist/sprinkles/sprinkles.js +8 -0
  11. package/dist/src/index.d.ts +2 -0
  12. package/dist/src/sprinkles/properties.css.d.ts +648 -542
  13. package/dist/src/sprinkles/sprinkles.d.ts +1394 -999
  14. package/dist/src/vanilla/Box/Box.d.ts +101 -56
  15. package/dist/src/vanilla/Box/extractBoxProps.d.ts +2 -2
  16. package/dist/src/vanilla/Table/Table.d.ts +101 -56
  17. package/dist/src/vanilla/Table/TableBody.d.ts +101 -56
  18. package/dist/src/vanilla/Table/TableCell.d.ts +101 -56
  19. package/dist/src/vanilla/Table/TableFooter.d.ts +101 -56
  20. package/dist/src/vanilla/Table/TableHeader.d.ts +101 -56
  21. package/dist/src/vanilla/Table/TableHeaderCell.d.ts +101 -56
  22. package/dist/src/vanilla/Table/TableRow.d.ts +101 -56
  23. package/dist/src/vanilla/Text/Text.d.ts +101 -56
  24. package/dist/src/vanilla/Tooltip/Tooltip.d.ts +11 -3
  25. package/dist/vanilla/Table/Table-css.js +3 -3
  26. package/dist/vanilla/Table/TableCell-css.js +3 -3
  27. package/dist/vanilla/Table/TableHeaderCell-css.js +3 -3
  28. package/dist/vanilla/Table/TableRow-css.js +1 -1
  29. package/dist/vanilla/Tooltip/Tooltip-css.js +2 -2
  30. package/dist/vanilla/Tooltip/Tooltip.js +20 -25
  31. package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-Ckyezauv.css → properties.css.ts.vanilla-X1_krF6y.css} +1478 -1319
  32. package/dist/vanilla/index.d.ts +2342 -1886
  33. package/dist/vanilla/package.json.js +1 -1
  34. package/dist/vanilla/src/sprinkles/properties-css.js +4 -4
  35. package/dist/vanilla-extract/global.css.ts.vanilla.css +1 -0
  36. package/package.json +2 -2
  37. package/src/components/Link/Link.style.ts +2 -3
  38. package/src/components/Link/Link.tsx +3 -3
  39. package/src/index.ts +3 -0
  40. package/src/sprinkles/properties.css.ts +13 -19
  41. package/src/vanilla/Tooltip/Tooltip.tsx +36 -33
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @orfium/ictinus
2
2
 
3
+ ## 5.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5d46cd5: allow custom app styles
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [5d46cd5]
12
+ - @orfium/tokens@5.1.3
13
+
14
+ ## 5.41.4
15
+
16
+ ### Patch Changes
17
+
18
+ - cc639ea: extend box props in tooltip content
19
+
3
20
  ## 5.41.3
4
21
 
5
22
  ### Patch Changes
@@ -1,33 +1,33 @@
1
- import { jsxs as x, jsx as m } from "@emotion/react/jsx-runtime";
1
+ import { jsxs as u, jsx as x } from "@emotion/react/jsx-runtime";
2
2
  import h from "../../hooks/useTheme.js";
3
3
  import v from "react";
4
- import { iconSize as _ } from "./constants.js";
5
- import { linkContainer as z } from "./Link.style.js";
6
- import { useSlotProps as C } from "../utils/Slots.js";
4
+ import { useSlotProps as _ } from "../utils/Slots.js";
5
+ import { iconSize as z } from "./constants.js";
6
+ import { linkContainer as C } from "./Link.style.js";
7
7
  import I from "../Icon/Icon.js";
8
- const g = v.forwardRef((e, a) => {
9
- e = C(e, "link");
8
+ const g = v.forwardRef((e, m) => {
9
+ e = _(e, "link");
10
10
  const {
11
11
  type: t = "primary",
12
- placement: c = "block",
12
+ placement: a = "block",
13
13
  size: o = 1,
14
14
  iconName: i,
15
- isDisabled: d,
15
+ isDisabled: c,
16
16
  component: n,
17
17
  dataTestPrefixId: r = "",
18
- children: l,
19
- ...f
20
- } = e, s = h(), p = n ?? "a", k = n ? {
18
+ children: d,
19
+ ...l
20
+ } = e, s = h(), f = n ?? "a", p = n ? {
21
21
  to: e.href
22
- } : {}, u = t === "inverted";
23
- return /* @__PURE__ */ x(p, { css: z({
24
- placement: c,
22
+ } : {}, k = t === "inverted";
23
+ return /* @__PURE__ */ u(f, { css: C({
24
+ placement: a,
25
25
  type: t,
26
26
  size: o,
27
- isDisabled: d
28
- }), ref: a, "data-testid": `${r}_link`, ...k, ...f, children: [
29
- /* @__PURE__ */ m("span", { children: l }),
30
- i && /* @__PURE__ */ m(I, { name: i, color: s.tokens.colors.get(u ? "textColor.inverted.active" : "textColor.default.active"), size: s.dimension.sizing.get(_[o]), dataTestId: `${r}_link_icon` })
27
+ isDisabled: c
28
+ }), ref: m, "data-testid": `${r}_link`, ...p, ...l, children: [
29
+ d,
30
+ i && /* @__PURE__ */ x(I, { name: i, color: s.tokens.colors.get(k ? "textColor.inverted.active" : "textColor.default.active"), size: s.dimension.sizing.get(z[o]), dataTestId: `${r}_link_icon` })
31
31
  ] });
32
32
  });
33
33
  g.displayName = "Link";
@@ -1,15 +1,15 @@
1
1
  import { css as s } from "@emotion/react";
2
- import { getLinkTokens as d } from "./Link.tokens.js";
3
2
  import { generateStylesFromTokens as a } from "../Typography/utils.js";
4
- const v = ({
3
+ import { getLinkTokens as d } from "./Link.tokens.js";
4
+ const x = ({
5
5
  placement: r,
6
6
  type: i,
7
7
  size: n,
8
8
  isDisabled: e
9
- }) => (t) => {
10
- const l = d(t), o = i === "inverted";
11
- return /* @__PURE__ */ s("display:", r === "inline" ? "inline-flex" : "flex", ";gap:", t.dimension.spacing.get("xs"), ";color:", t.tokens.colors.get(o ? "textColor.inverted.active" : "textColor.default.active"), ";text-decoration:none;position:relative;&:hover,&[aria-expanded='true']{color:", t.tokens.colors.get(o ? "textColor.inverted.primary" : "textColor.default.primary"), ";path{fill:", t.tokens.colors.get(o ? "textColor.inverted.primary" : "textColor.default.primary"), "!important;}}&:visited{color:", t.tokens.colors.get(o ? "textColor.inverted.visited" : "textColor.default.visited"), ";path{fill:", t.tokens.colors.get(o ? "textColor.inverted.visited" : "textColor.default.visited"), "!important;}}&:focus-visible:after{content:'';position:absolute;inset:-3px -6px;border-radius:", t.globals.borderRadius.get("2"), ";border:", t.dimension.borderWidth.get("focused"), " solid ", t.tokens.colors.get("borderColor.interactive.upsell"), ";}opacity:", e ? t.tokens.disabledState.get("default") : 1, ";width:fit-content;align-items:center;cursor:", e ? "default" : "pointer", ";pointer-events:", e ? "none" : "default", ";", a(l(`${r}.${n}`)), ";", "");
9
+ }) => (o) => {
10
+ const l = d(o), t = i === "inverted";
11
+ return /* @__PURE__ */ s("display:", r === "inline" ? "inline-flex" : "flex", ";gap:", o.dimension.spacing.get("xs"), ";color:", o.tokens.colors.get(t ? "textColor.inverted.active" : "textColor.default.active"), ";text-decoration:none;position:relative;&:hover,&[aria-expanded='true']{color:", o.tokens.colors.get(t ? "textColor.inverted.primary" : "textColor.default.primary"), ";path{fill:", o.tokens.colors.get(t ? "textColor.inverted.primary" : "textColor.default.primary"), "!important;}}&:visited{color:", o.tokens.colors.get(t ? "textColor.inverted.visited" : "textColor.default.visited"), ";path{fill:", o.tokens.colors.get(t ? "textColor.inverted.visited" : "textColor.default.visited"), "!important;}}&:focus-visible:after{content:'';position:absolute;inset:-3px -6px;border-radius:", o.globals.borderRadius.get("2"), ";border:", o.dimension.borderWidth.get("focused"), " solid ", o.tokens.colors.get("borderColor.interactive.upsell"), ";}opacity:", e ? o.tokens.disabledState.get("default") : 1, ";align-items:center;cursor:", e ? "default" : "pointer", ";pointer-events:", e ? "none" : "auto", ";", a(l(`${r}.${n}`)), ";", "");
12
12
  };
13
13
  export {
14
- v as linkContainer
14
+ x as linkContainer
15
15
  };