@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.
- package/.turbo/turbo-build.log +904 -898
- package/CHANGELOG.md +17 -0
- package/dist/components/Link/Link.js +18 -18
- package/dist/components/Link/Link.style.js +6 -6
- package/dist/index.js +248 -242
- package/dist/layers/layers.css.js +9 -0
- package/dist/layers/layers.css.ts.vanilla.css +1 -0
- package/dist/sprinkles/properties.css.js +9 -0
- package/dist/sprinkles/properties.css.ts.vanilla.css +1 -0
- package/dist/sprinkles/sprinkles.js +8 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/sprinkles/properties.css.d.ts +648 -542
- package/dist/src/sprinkles/sprinkles.d.ts +1394 -999
- package/dist/src/vanilla/Box/Box.d.ts +101 -56
- package/dist/src/vanilla/Box/extractBoxProps.d.ts +2 -2
- package/dist/src/vanilla/Table/Table.d.ts +101 -56
- package/dist/src/vanilla/Table/TableBody.d.ts +101 -56
- package/dist/src/vanilla/Table/TableCell.d.ts +101 -56
- package/dist/src/vanilla/Table/TableFooter.d.ts +101 -56
- package/dist/src/vanilla/Table/TableHeader.d.ts +101 -56
- package/dist/src/vanilla/Table/TableHeaderCell.d.ts +101 -56
- package/dist/src/vanilla/Table/TableRow.d.ts +101 -56
- package/dist/src/vanilla/Text/Text.d.ts +101 -56
- package/dist/src/vanilla/Tooltip/Tooltip.d.ts +11 -3
- package/dist/vanilla/Table/Table-css.js +3 -3
- package/dist/vanilla/Table/TableCell-css.js +3 -3
- package/dist/vanilla/Table/TableHeaderCell-css.js +3 -3
- package/dist/vanilla/Table/TableRow-css.js +1 -1
- package/dist/vanilla/Tooltip/Tooltip-css.js +2 -2
- package/dist/vanilla/Tooltip/Tooltip.js +20 -25
- package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-Ckyezauv.css → properties.css.ts.vanilla-X1_krF6y.css} +1478 -1319
- package/dist/vanilla/index.d.ts +2342 -1886
- package/dist/vanilla/package.json.js +1 -1
- package/dist/vanilla/src/sprinkles/properties-css.js +4 -4
- package/dist/vanilla-extract/global.css.ts.vanilla.css +1 -0
- package/package.json +2 -2
- package/src/components/Link/Link.style.ts +2 -3
- package/src/components/Link/Link.tsx +3 -3
- package/src/index.ts +3 -0
- package/src/sprinkles/properties.css.ts +13 -19
- 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
|
|
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 {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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,
|
|
9
|
-
e =
|
|
8
|
+
const g = v.forwardRef((e, m) => {
|
|
9
|
+
e = _(e, "link");
|
|
10
10
|
const {
|
|
11
11
|
type: t = "primary",
|
|
12
|
-
placement:
|
|
12
|
+
placement: a = "block",
|
|
13
13
|
size: o = 1,
|
|
14
14
|
iconName: i,
|
|
15
|
-
isDisabled:
|
|
15
|
+
isDisabled: c,
|
|
16
16
|
component: n,
|
|
17
17
|
dataTestPrefixId: r = "",
|
|
18
|
-
children:
|
|
19
|
-
...
|
|
20
|
-
} = e, s = h(),
|
|
18
|
+
children: d,
|
|
19
|
+
...l
|
|
20
|
+
} = e, s = h(), f = n ?? "a", p = n ? {
|
|
21
21
|
to: e.href
|
|
22
|
-
} : {},
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
-
placement:
|
|
22
|
+
} : {}, k = t === "inverted";
|
|
23
|
+
return /* @__PURE__ */ u(f, { css: C({
|
|
24
|
+
placement: a,
|
|
25
25
|
type: t,
|
|
26
26
|
size: o,
|
|
27
|
-
isDisabled:
|
|
28
|
-
}), ref:
|
|
29
|
-
|
|
30
|
-
i && /* @__PURE__ */
|
|
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
|
-
|
|
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
|
-
}) => (
|
|
10
|
-
const l = d(
|
|
11
|
-
return /* @__PURE__ */ s("display:", r === "inline" ? "inline-flex" : "flex", ";gap:",
|
|
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
|
-
|
|
14
|
+
x as linkContainer
|
|
15
15
|
};
|