@dotss/tictoccroc 0.4.0 → 0.4.1

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,8 +1,8 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { Badge as x, Typography as c, Icon as k, Collapse as v, Box as w } from "@dotss/ui";
3
- import H from "@dotss/ui/core/useTheme";
2
+ import { Badge as S, Typography as c, Icon as k, Collapse as v, Box as H } from "@dotss/ui";
3
+ import j from "@dotss/ui/core/useTheme";
4
4
  import n from "@dotss/ui/Flexbox";
5
- import { useCheckHoverPossible as j } from "@dotss/ui/hooks";
5
+ import { useCheckHoverPossible as w } from "@dotss/ui/hooks";
6
6
  import z from "dayjs";
7
7
  function M({
8
8
  id: s,
@@ -17,7 +17,7 @@ function M({
17
17
  onClick: u,
18
18
  collapseDuration: l = 400
19
19
  }) {
20
- const { palette: o, spacing: b, typography: t } = H(), { isHoverPossible: C } = j(), y = (S) => u(S, s, !r);
20
+ const { palette: o, spacing: b, typography: t } = j(), { isHoverPossible: C } = w(), x = (y) => u(y, s, !r);
21
21
  return /* @__PURE__ */ i(n, { flexDirection: "column", inlineCSS: { width: "100%" }, ...h, children: [
22
22
  /* @__PURE__ */ i(
23
23
  n,
@@ -36,13 +36,13 @@ function M({
36
36
  }
37
37
  } : {}
38
38
  },
39
- onClick: y,
39
+ onClick: x,
40
40
  "aria-expanded": !r,
41
41
  ...f,
42
42
  children: [
43
43
  /* @__PURE__ */ i(n, { gap: 2, children: [
44
44
  p && /* @__PURE__ */ e(
45
- x,
45
+ S,
46
46
  {
47
47
  size: "large",
48
48
  color: "pink",
@@ -82,7 +82,7 @@ function M({
82
82
  role: "region",
83
83
  ...d,
84
84
  children: /* @__PURE__ */ e(
85
- w,
85
+ H,
86
86
  {
87
87
  p: 4,
88
88
  inlineCSS: {
@@ -92,7 +92,7 @@ function M({
92
92
  lineHeight: t.b3R.lineHeight,
93
93
  letterSpacing: t.b3R.letterSpacing
94
94
  },
95
- "& img": { width: "100% !important" }
95
+ "& img": { maxWidth: "100% !important" }
96
96
  },
97
97
  dangerouslySetInnerHTML: { __html: m }
98
98
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dotss/tictoccroc",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "Tictoccroc shared components, hooks, utils, and APIs for Dotss",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",
@@ -98,6 +98,22 @@
98
98
  "./parent/b2b/utils/*": {
99
99
  "import": "./dist/parent/b2b/utils/*/index.mjs",
100
100
  "types": "./dist/parent/b2b/utils/*/index.d.ts"
101
+ },
102
+ "./parent/notification/components": {
103
+ "import": "./dist/parent/notification/components/index.mjs",
104
+ "types": "./dist/parent/notification/components/index.d.ts"
105
+ },
106
+ "./parent/notification/components/*": {
107
+ "import": "./dist/parent/notification/components/*/index.mjs",
108
+ "types": "./dist/parent/notification/components/*/index.d.ts"
109
+ },
110
+ "./parent/notification/utils": {
111
+ "import": "./dist/parent/notification/utils/index.mjs",
112
+ "types": "./dist/parent/notification/utils/index.d.ts"
113
+ },
114
+ "./parent/notification/utils/*": {
115
+ "import": "./dist/parent/notification/utils/*/index.mjs",
116
+ "types": "./dist/parent/notification/utils/*/index.d.ts"
101
117
  }
102
118
  },
103
119
  "devDependencies": {