musae 1.2.0 → 1.3.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 (40) hide show
  1. package/dist/components/card/actions.cjs +31 -0
  2. package/dist/components/card/actions.d.ts +31 -0
  3. package/dist/components/card/actions.mjs +27 -0
  4. package/dist/components/card/body.cjs +30 -0
  5. package/dist/components/card/body.d.ts +18 -0
  6. package/dist/components/card/body.mjs +26 -0
  7. package/dist/components/card/card.cjs +76 -140
  8. package/dist/components/card/card.d.ts +23 -150
  9. package/dist/components/card/card.mjs +67 -135
  10. package/dist/components/card/content.cjs +33 -0
  11. package/dist/components/card/content.d.ts +33 -0
  12. package/dist/components/card/content.mjs +29 -0
  13. package/dist/components/card/context.cjs +14 -1
  14. package/dist/components/card/context.d.ts +15 -1
  15. package/dist/components/card/context.mjs +13 -2
  16. package/dist/components/card/header.cjs +79 -0
  17. package/dist/components/card/header.d.ts +58 -0
  18. package/dist/components/card/header.mjs +75 -0
  19. package/dist/components/card/headline.cjs +30 -0
  20. package/dist/components/card/headline.d.ts +18 -0
  21. package/dist/components/card/headline.mjs +26 -0
  22. package/dist/components/card/index.d.ts +1 -1
  23. package/dist/components/card/media.cjs +50 -0
  24. package/dist/components/card/media.d.ts +42 -0
  25. package/dist/components/card/media.mjs +46 -0
  26. package/dist/components/card/styles.cjs +133 -14
  27. package/dist/components/card/styles.d.ts +88 -28
  28. package/dist/components/card/styles.mjs +133 -14
  29. package/dist/components/card/subhead.cjs +30 -0
  30. package/dist/components/card/subhead.d.ts +18 -0
  31. package/dist/components/card/subhead.mjs +26 -0
  32. package/dist/components/card/title.cjs +30 -0
  33. package/dist/components/card/title.d.ts +18 -0
  34. package/dist/components/card/title.mjs +26 -0
  35. package/dist/components/theme/tokens.stylex.cjs +4 -1
  36. package/dist/components/theme/tokens.stylex.d.ts +9 -1
  37. package/dist/components/theme/tokens.stylex.mjs +4 -1
  38. package/dist/styles.css +68 -23
  39. package/dist/types/card.d.ts +39 -2
  40. package/package.json +1 -3
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
6
+ var React = require('react');
7
+ var className = require('@aiszlab/relax/class-name');
8
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
9
+ var useClassNames = require('../../hooks/use-class-names.cjs');
10
+ var context = require('./context.cjs');
11
+ var styles = require('./styles.cjs');
12
+
13
+ /**
14
+ * @zh Title + Subhead 的 4px 紧凑分组。
15
+ * @en 4px-gap group for Title + Subhead.
16
+ */
17
+ var CardHeadline = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
18
+ var className$1 = _ref.className,
19
+ style = _ref.style,
20
+ children = _ref.children;
21
+ var classNames = useClassNames.useClassNames(context.CLASS_NAMES);
22
+ var headlineStyled = stylex.props(styles.default.headline["default"]);
23
+ return /*#__PURE__*/React.createElement("div", {
24
+ ref: ref,
25
+ className: className.stringify(classNames.headline, className$1, headlineStyled.className),
26
+ style: _objectSpread(_objectSpread({}, headlineStyled.style), style)
27
+ }, children);
28
+ });
29
+
30
+ exports.default = CardHeadline;
@@ -0,0 +1,18 @@
1
+ import type { ReactNode, CSSProperties } from "react";
2
+ import React from "react";
3
+ /**
4
+ * @zh Title + Subhead 的紧凑分组(4px gap)
5
+ * @en Compact group for Title + Subhead (4px gap)
6
+ */
7
+ interface CardHeadlineProps {
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ children?: ReactNode;
11
+ }
12
+ /**
13
+ * @zh Title + Subhead 的 4px 紧凑分组。
14
+ * @en 4px-gap group for Title + Subhead.
15
+ */
16
+ declare const CardHeadline: React.ForwardRefExoticComponent<CardHeadlineProps & React.RefAttributes<HTMLDivElement>>;
17
+ export default CardHeadline;
18
+ export type { CardHeadlineProps };
@@ -0,0 +1,26 @@
1
+ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
+ import React, { forwardRef } from 'react';
3
+ import { stringify } from '@aiszlab/relax/class-name';
4
+ import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
5
+ import { useClassNames } from '../../hooks/use-class-names.mjs';
6
+ import { CLASS_NAMES } from './context.mjs';
7
+ import styles from './styles.mjs';
8
+
9
+ /**
10
+ * @zh Title + Subhead 的 4px 紧凑分组。
11
+ * @en 4px-gap group for Title + Subhead.
12
+ */
13
+ var CardHeadline = /*#__PURE__*/forwardRef(function (_ref, ref) {
14
+ var className = _ref.className,
15
+ style = _ref.style,
16
+ children = _ref.children;
17
+ var classNames = useClassNames(CLASS_NAMES);
18
+ var headlineStyled = props(styles.headline["default"]);
19
+ return /*#__PURE__*/React.createElement("div", {
20
+ ref: ref,
21
+ className: stringify(classNames.headline, className, headlineStyled.className),
22
+ style: _objectSpread(_objectSpread({}, headlineStyled.style), style)
23
+ }, children);
24
+ });
25
+
26
+ export { CardHeadline as default };
@@ -1,3 +1,3 @@
1
1
  import Card from "./card";
2
2
  export { Card };
3
- export type { CardProps, CardVariant } from "../../types/card";
3
+ export type { CardProps, CardVariant, CardLayout } from "../../types/card";
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
6
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
7
+ var React = require('react');
8
+ var className = require('@aiszlab/relax/class-name');
9
+ var stylex = require('../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.cjs');
10
+ var useClassNames = require('../../hooks/use-class-names.cjs');
11
+ var context = require('./context.cjs');
12
+ var styles = require('./styles.cjs');
13
+
14
+ var _excluded = ["className", "style", "src", "alt", "children"];
15
+ /**
16
+ * @zh 卡片媒体区,用于展示图片或自定义内容。Horizontal 布局下宽度固定 80px 并带三边 border。
17
+ *
18
+ * @en Card media area for displaying images or custom content. In horizontal
19
+ * layout, it is fixed 80px wide with a 3-side border.
20
+ */
21
+ var CardMedia = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22
+ var className$1 = _ref.className,
23
+ style = _ref.style,
24
+ src = _ref.src,
25
+ alt = _ref.alt,
26
+ children = _ref.children,
27
+ imgProps = _objectWithoutProperties(_ref, _excluded);
28
+ var classNames = useClassNames.useClassNames(context.CLASS_NAMES);
29
+ var _useCardContext = context.useCardContext(),
30
+ layout = _useCardContext.layout;
31
+ var mediaStyled = stylex.props(styles.default.media["default"], styles.default.media[layout]);
32
+ return /*#__PURE__*/React.createElement("div", {
33
+ ref: ref,
34
+ className: className.stringify(classNames.media, className$1, mediaStyled.className),
35
+ style: _objectSpread(_objectSpread({}, mediaStyled.style), style)
36
+ }, children || src && (/*#__PURE__*/React.createElement("img", _objectSpread(_objectSpread({
37
+ alt: alt,
38
+ src: src
39
+ }, imgProps), {}, {
40
+ style: {
41
+ position: "absolute",
42
+ inset: 0,
43
+ width: "100%",
44
+ height: "100%",
45
+ objectFit: "cover"
46
+ }
47
+ }))));
48
+ });
49
+
50
+ exports.default = CardMedia;
@@ -0,0 +1,42 @@
1
+ import type { CSSProperties, ImgHTMLAttributes, ReactNode } from "react";
2
+ import React from "react";
3
+ /**
4
+ * @zh 卡片媒体区属性
5
+ * @en Card media props
6
+ */
7
+ interface CardMediaProps extends ImgHTMLAttributes<HTMLImageElement> {
8
+ /**
9
+ * @zh 自定义类名
10
+ * @en Custom class name
11
+ */
12
+ className?: string;
13
+ /**
14
+ * @zh 自定义样式
15
+ * @en Custom style
16
+ */
17
+ style?: CSSProperties;
18
+ /**
19
+ * @zh 图片地址
20
+ * @en Image source
21
+ */
22
+ src?: string;
23
+ /**
24
+ * @zh 图片替代文本
25
+ * @en Image alt text
26
+ */
27
+ alt?: string;
28
+ /**
29
+ * @zh 自定义内容(覆盖默认图片渲染)
30
+ * @en Custom content (overrides default image)
31
+ */
32
+ children?: ReactNode;
33
+ }
34
+ /**
35
+ * @zh 卡片媒体区,用于展示图片或自定义内容。Horizontal 布局下宽度固定 80px 并带三边 border。
36
+ *
37
+ * @en Card media area for displaying images or custom content. In horizontal
38
+ * layout, it is fixed 80px wide with a 3-side border.
39
+ */
40
+ declare const CardMedia: React.ForwardRefExoticComponent<CardMediaProps & React.RefAttributes<HTMLDivElement>>;
41
+ export default CardMedia;
42
+ export type { CardMediaProps };
@@ -0,0 +1,46 @@
1
+ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
+ import React, { forwardRef } from 'react';
4
+ import { stringify } from '@aiszlab/relax/class-name';
5
+ import { props } from '../../node_modules/.pnpm/@stylexjs_stylex@0.19.0/node_modules/@stylexjs/stylex/lib/es/stylex.mjs';
6
+ import { useClassNames } from '../../hooks/use-class-names.mjs';
7
+ import { CLASS_NAMES, useCardContext } from './context.mjs';
8
+ import styles from './styles.mjs';
9
+
10
+ var _excluded = ["className", "style", "src", "alt", "children"];
11
+ /**
12
+ * @zh 卡片媒体区,用于展示图片或自定义内容。Horizontal 布局下宽度固定 80px 并带三边 border。
13
+ *
14
+ * @en Card media area for displaying images or custom content. In horizontal
15
+ * layout, it is fixed 80px wide with a 3-side border.
16
+ */
17
+ var CardMedia = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
+ var className = _ref.className,
19
+ style = _ref.style,
20
+ src = _ref.src,
21
+ alt = _ref.alt,
22
+ children = _ref.children,
23
+ imgProps = _objectWithoutProperties(_ref, _excluded);
24
+ var classNames = useClassNames(CLASS_NAMES);
25
+ var _useCardContext = useCardContext(),
26
+ layout = _useCardContext.layout;
27
+ var mediaStyled = props(styles.media["default"], styles.media[layout]);
28
+ return /*#__PURE__*/React.createElement("div", {
29
+ ref: ref,
30
+ className: stringify(classNames.media, className, mediaStyled.className),
31
+ style: _objectSpread(_objectSpread({}, mediaStyled.style), style)
32
+ }, children || src && (/*#__PURE__*/React.createElement("img", _objectSpread(_objectSpread({
33
+ alt: alt,
34
+ src: src
35
+ }, imgProps), {}, {
36
+ style: {
37
+ position: "absolute",
38
+ inset: 0,
39
+ width: "100%",
40
+ height: "100%",
41
+ objectFit: "cover"
42
+ }
43
+ }))));
44
+ });
45
+
46
+ export { CardMedia as default };
@@ -2,6 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ /**
6
+ * @zh Card 组件样式定义,每个 namespace 独立 $create 调用
7
+ */
5
8
  var styles = {
6
9
  card: {
7
10
  "default": {
@@ -9,7 +12,7 @@ var styles = {
9
12
  kVQacm: "musaex-b3r6kr",
10
13
  kaIpWk: "musaex-1k532am",
11
14
  kB7OPa: "musaex-9f619",
12
- k1ekBW: "musaex-1ijdko7",
15
+ k1ekBW: "musaex-f1bglv",
13
16
  kIyJzY: "musaex-1dg6om",
14
17
  k5JduY: "musaex-100rkj9",
15
18
  kwXMNM: "musaex-1j6awrg",
@@ -17,31 +20,68 @@ var styles = {
17
20
  kloYau: "musaex-2q1x1w",
18
21
  kRicXK: "musaex-1ywzrc5",
19
22
  kPNhGg: "musaex-l3kudx",
23
+ ks3ayO: "musaex-86grr",
24
+ $$css: true
25
+ },
26
+ stacked: {
27
+ k1xSpc: "musaex-78zum5",
28
+ kXwgrk: "musaex-dt5ytf",
29
+ $$css: true
30
+ },
31
+ horizontal: {
32
+ k1xSpc: "musaex-78zum5",
33
+ kXwgrk: "musaex-1q0g3np",
34
+ kGNEyG: "musaex-1qjc9v5",
20
35
  $$css: true
21
36
  },
22
37
  interactive: {
23
38
  kkrTdU: "musaex-1ypdohk",
24
39
  $$css: true
25
40
  },
41
+ disabled: {
42
+ kkrTdU: "musaex-1h6gzvc",
43
+ $$css: true
44
+ },
26
45
  outlined: {
27
46
  kWkggS: "musaex-k7eln3",
28
47
  kMzoRj: "musaex-1iyq3db",
29
48
  ksu8eU: "musaex-1y0btm7",
30
49
  kVAM5u: "musaex-axmpxa",
31
- ks3ayO: "musaex-yhc2n1",
50
+ kGVxlE: "musaex-1gnnqk1",
32
51
  $$css: true
33
52
  },
34
53
  elevated: {
35
54
  kWkggS: "musaex-1eai1fy",
36
- kMzoRj: "musaex-k59kd",
37
- kGVxlE: "musaex-bapks6",
38
- ks3ayO: "musaex-yhc2n1",
55
+ kMzoRj: "musaex-c342km",
56
+ kGVxlE: "musaex-1tw10uf",
39
57
  $$css: true
40
58
  },
41
59
  filled: {
42
60
  kWkggS: "musaex-1mu49yl",
43
- kMzoRj: "musaex-k59kd",
44
- ks3ayO: "musaex-yhc2n1",
61
+ kMzoRj: "musaex-c342km",
62
+ kGVxlE: "musaex-1gnnqk1",
63
+ $$css: true
64
+ }
65
+ },
66
+ elevationState: {
67
+ outlinedHover: {
68
+ kGVxlE: "musaex-1tw10uf",
69
+ $$css: true
70
+ },
71
+ outlinedDragged: {
72
+ kGVxlE: "musaex-15krw24",
73
+ $$css: true
74
+ },
75
+ elevatedHover: {
76
+ kGVxlE: "musaex-vkh6yx",
77
+ $$css: true
78
+ },
79
+ elevatedDragged: {
80
+ kGVxlE: "musaex-1ltemje",
81
+ $$css: true
82
+ },
83
+ filledDragged: {
84
+ kGVxlE: "musaex-15krw24",
45
85
  $$css: true
46
86
  }
47
87
  },
@@ -54,7 +94,7 @@ var styles = {
54
94
  kUltx: "musaex-177puvd",
55
95
  $$css: true
56
96
  },
57
- active: {
97
+ press: {
58
98
  kAcZsS: "musaex-6g40nx",
59
99
  $$css: true
60
100
  }
@@ -63,12 +103,21 @@ var styles = {
63
103
  "default": {
64
104
  k1xSpc: "musaex-78zum5",
65
105
  kGNEyG: "musaex-6s0dn4",
66
- kg3NbH: "musaex-1v4gb6w",
67
- k8WAf4: "musaex-s7sbuz",
68
- kpe85a: "musaex-15ebt9c",
69
106
  kB7OPa: "musaex-9f619",
70
107
  kzqmXN: "musaex-92755x",
71
- kAzted: "musaex-1qafhyn",
108
+ kmuXW: "musaex-2lah0s",
109
+ kZCmMZ: "musaex-1ox7qdy",
110
+ kwRFfy: "musaex-epcfto",
111
+ k8WAf4: "musaex-s7sbuz",
112
+ kOIVth: "musaex-g4b44g",
113
+ $$css: true
114
+ },
115
+ stacked: {
116
+ $$css: true
117
+ },
118
+ horizontal: {
119
+ kmVPX3: "musaex-1atb43h",
120
+ kUk6DE: "musaex-5mp9sv",
72
121
  $$css: true
73
122
  }
74
123
  },
@@ -115,15 +164,46 @@ var styles = {
115
164
  $$css: true
116
165
  }
117
166
  },
167
+ headerAction: {
168
+ "default": {
169
+ k1xSpc: "musaex-78zum5",
170
+ kGNEyG: "musaex-6s0dn4",
171
+ kjj79g: "musaex-l56j7k",
172
+ kzqmXN: "musaex-1useyqa",
173
+ kZKoxP: "musaex-sdox4t",
174
+ kmuXW: "musaex-2lah0s",
175
+ kSGwAc: "musaex-kh2ocl",
176
+ $$css: true
177
+ }
178
+ },
118
179
  media: {
119
180
  "default": {
120
181
  kVAEAm: "musaex-1n2onr6",
182
+ kVQacm: "musaex-b3r6kr",
183
+ $$css: true
184
+ },
185
+ stacked: {
121
186
  kzqmXN: "musaex-92755x",
122
187
  kUk6DE: "musaex-5mp9sv",
123
188
  kAzted: "musaex-2lwn1j",
124
- kVQacm: "musaex-b3r6kr",
125
189
  $$css: true
126
- }},
190
+ },
191
+ horizontal: {
192
+ kzqmXN: "musaex-1dmp6jm",
193
+ kZKoxP: "musaex-qg7gut",
194
+ kUk6DE: "musaex-3psx0u",
195
+ kEafiO: "musaex-uvson1",
196
+ kWqL5O: "musaex-a640vs",
197
+ kt9PQ7: "musaex-d1xpcx",
198
+ kPef9Z: "musaex-13fuv20",
199
+ kSWEuD: "musaex-32b0ac",
200
+ kfdmCh: "musaex-1q0q8m5",
201
+ kLZC3w: "musaex-6ogecl",
202
+ k26BEO: "musaex-imfbgf",
203
+ kL6WhQ: "musaex-quqrak",
204
+ $$css: true
205
+ }
206
+ },
127
207
  content: {
128
208
  "default": {
129
209
  k1xSpc: "musaex-78zum5",
@@ -135,6 +215,45 @@ var styles = {
135
215
  $$css: true
136
216
  }
137
217
  },
218
+ headline: {
219
+ "default": {
220
+ k1xSpc: "musaex-78zum5",
221
+ kXwgrk: "musaex-dt5ytf",
222
+ kOIVth: "musaex-15wobh7",
223
+ kzqmXN: "musaex-92755x",
224
+ $$css: true
225
+ }
226
+ },
227
+ title: {
228
+ "default": {
229
+ kGuDYH: "musaex-1j61zf2",
230
+ k63SB2: "musaex-o1l8bm",
231
+ kLWn49: "musaex-1o2sk6j",
232
+ kb6lSQ: "musaex-bac8wx",
233
+ kMwMTN: "musaex-1j14bxn",
234
+ $$css: true
235
+ }
236
+ },
237
+ subhead: {
238
+ "default": {
239
+ kGuDYH: "musaex-if65rj",
240
+ k63SB2: "musaex-o1l8bm",
241
+ kLWn49: "musaex-1fc57z9",
242
+ kb6lSQ: "musaex-f4yft",
243
+ kMwMTN: "musaex-bq1wot",
244
+ $$css: true
245
+ }
246
+ },
247
+ body: {
248
+ "default": {
249
+ kGuDYH: "musaex-if65rj",
250
+ k63SB2: "musaex-o1l8bm",
251
+ kLWn49: "musaex-1fc57z9",
252
+ kb6lSQ: "musaex-f4yft",
253
+ kMwMTN: "musaex-bq1wot",
254
+ $$css: true
255
+ }
256
+ },
138
257
  actions: {
139
258
  "default": {
140
259
  k1xSpc: "musaex-78zum5",
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @zh Card 组件样式定义,每个 namespace 独立 $create 调用
3
+ */
1
4
  declare const styles: {
2
5
  card: Readonly<{
3
6
  readonly default: Readonly<{
@@ -5,7 +8,7 @@ declare const styles: {
5
8
  readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
6
9
  readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
7
10
  readonly boxSizing: import("@stylexjs/stylex").StyleXClassNameFor<"boxSizing", "border-box">;
8
- readonly transitionProperty: import("@stylexjs/stylex").StyleXClassNameFor<"transitionProperty", "background-color, box-shadow, border-color">;
11
+ readonly transitionProperty: import("@stylexjs/stylex").StyleXClassNameFor<"transitionProperty", "box-shadow, background-color, border-color">;
9
12
  readonly transitionDuration: import("@stylexjs/stylex").StyleXClassNameFor<"transitionDuration", string>;
10
13
  readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
11
14
  readonly content: "''";
@@ -14,34 +17,57 @@ declare const styles: {
14
17
  readonly pointerEvents: "none";
15
18
  readonly transitionProperty: "background-color";
16
19
  readonly transitionDuration: import("@stylexjs/stylex").StyleXVar<string>;
20
+ readonly backgroundColor: "var(--card-state-layer, transparent)";
17
21
  }>;
18
22
  }>;
23
+ readonly stacked: Readonly<{
24
+ readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
25
+ readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
26
+ }>;
27
+ readonly horizontal: Readonly<{
28
+ readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
29
+ readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "row">;
30
+ readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "stretch">;
31
+ }>;
19
32
  readonly interactive: Readonly<{
20
33
  readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "pointer">;
21
34
  }>;
35
+ readonly disabled: Readonly<{
36
+ readonly cursor: import("@stylexjs/stylex").StyleXClassNameFor<"cursor", "not-allowed">;
37
+ }>;
22
38
  readonly outlined: Readonly<{
23
39
  readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface)">;
24
40
  readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", string>;
25
41
  readonly borderStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderStyle", "solid">;
26
42
  readonly borderColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderColor", "var(--color-outline-variant)">;
27
- readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
28
- readonly backgroundColor: "transparent";
29
- }>;
43
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", "none">;
30
44
  }>;
31
45
  readonly elevated: Readonly<{
32
46
  readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface-container-low)">;
33
- readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", string>;
47
+ readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", 0>;
34
48
  readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
35
- readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
36
- readonly backgroundColor: "transparent";
37
- }>;
38
49
  }>;
39
50
  readonly filled: Readonly<{
40
51
  readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-surface-container-highest)">;
41
- readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", string>;
42
- readonly "::after": import("@stylexjs/stylex").StyleXClassNameFor<"::after", {
43
- readonly backgroundColor: "transparent";
44
- }>;
52
+ readonly borderWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderWidth", 0>;
53
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", "none">;
54
+ }>;
55
+ }>;
56
+ elevationState: Readonly<{
57
+ readonly outlinedHover: Readonly<{
58
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
59
+ }>;
60
+ readonly outlinedDragged: Readonly<{
61
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
62
+ }>;
63
+ readonly elevatedHover: Readonly<{
64
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
65
+ }>;
66
+ readonly elevatedDragged: Readonly<{
67
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
68
+ }>;
69
+ readonly filledDragged: Readonly<{
70
+ readonly boxShadow: import("@stylexjs/stylex").StyleXClassNameFor<"boxShadow", string>;
45
71
  }>;
46
72
  }>;
47
73
  stateLayer: Readonly<{
@@ -57,7 +83,7 @@ declare const styles: {
57
83
  readonly backgroundColor: "var(--color-state-layer-focus)";
58
84
  }>;
59
85
  }>;
60
- readonly active: Readonly<{
86
+ readonly press: Readonly<{
61
87
  readonly ":active::after": import("@stylexjs/stylex").StyleXClassNameFor<":active::after", {
62
88
  readonly backgroundColor: "var(--color-state-layer-press)";
63
89
  }>;
@@ -67,12 +93,18 @@ declare const styles: {
67
93
  readonly default: Readonly<{
68
94
  readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
69
95
  readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
70
- readonly paddingInline: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInline", string>;
71
- readonly paddingBlock: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBlock", string>;
72
- readonly paddingRight: import("@stylexjs/stylex").StyleXClassNameFor<"paddingRight", string>;
73
96
  readonly boxSizing: import("@stylexjs/stylex").StyleXClassNameFor<"boxSizing", "border-box">;
74
97
  readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
75
- readonly minHeight: import("@stylexjs/stylex").StyleXClassNameFor<"minHeight", "72px">;
98
+ readonly flexShrink: import("@stylexjs/stylex").StyleXClassNameFor<"flexShrink", 0>;
99
+ readonly paddingInlineStart: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInlineStart", string>;
100
+ readonly paddingInlineEnd: import("@stylexjs/stylex").StyleXClassNameFor<"paddingInlineEnd", string>;
101
+ readonly paddingBlock: import("@stylexjs/stylex").StyleXClassNameFor<"paddingBlock", string>;
102
+ readonly gap: import("@stylexjs/stylex").StyleXClassNameFor<"gap", string>;
103
+ }>;
104
+ readonly stacked: Readonly<{}>;
105
+ readonly horizontal: Readonly<{
106
+ readonly padding: import("@stylexjs/stylex").StyleXClassNameFor<"padding", string>;
107
+ readonly flex: import("@stylexjs/stylex").StyleXClassNameFor<"flex", "1 0 0">;
76
108
  }>;
77
109
  }>;
78
110
  headerContent: Readonly<{
@@ -93,8 +125,8 @@ declare const styles: {
93
125
  readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
94
126
  readonly minWidth: import("@stylexjs/stylex").StyleXClassNameFor<"minWidth", string>;
95
127
  readonly borderRadius: import("@stylexjs/stylex").StyleXClassNameFor<"borderRadius", string>;
96
- readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-primary)">;
97
- readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-primary)">;
128
+ readonly backgroundColor: import("@stylexjs/stylex").StyleXClassNameFor<"backgroundColor", "var(--color-primary-container)">;
129
+ readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-primary-container)">;
98
130
  readonly fontSize: import("@stylexjs/stylex").StyleXClassNameFor<"fontSize", "16px">;
99
131
  readonly fontWeight: import("@stylexjs/stylex").StyleXClassNameFor<"fontWeight", 500>;
100
132
  readonly lineHeight: import("@stylexjs/stylex").StyleXClassNameFor<"lineHeight", "24px">;
@@ -133,20 +165,40 @@ declare const styles: {
133
165
  readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-surface-variant)">;
134
166
  }>;
135
167
  }>;
168
+ headerAction: Readonly<{
169
+ readonly default: Readonly<{
170
+ readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
171
+ readonly alignItems: import("@stylexjs/stylex").StyleXClassNameFor<"alignItems", "center">;
172
+ readonly justifyContent: import("@stylexjs/stylex").StyleXClassNameFor<"justifyContent", "center">;
173
+ readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", "48px">;
174
+ readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", "48px">;
175
+ readonly flexShrink: import("@stylexjs/stylex").StyleXClassNameFor<"flexShrink", 0>;
176
+ readonly alignSelf: import("@stylexjs/stylex").StyleXClassNameFor<"alignSelf", "stretch">;
177
+ }>;
178
+ }>;
136
179
  media: Readonly<{
137
180
  readonly default: Readonly<{
138
181
  readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "relative">;
182
+ readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
183
+ }>;
184
+ readonly stacked: Readonly<{
139
185
  readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
140
186
  readonly flex: import("@stylexjs/stylex").StyleXClassNameFor<"flex", "1 0 0">;
141
187
  readonly minHeight: import("@stylexjs/stylex").StyleXClassNameFor<"minHeight", 0>;
142
- readonly overflow: import("@stylexjs/stylex").StyleXClassNameFor<"overflow", "hidden">;
143
188
  }>;
144
- readonly image: Readonly<{
145
- readonly position: import("@stylexjs/stylex").StyleXClassNameFor<"position", "absolute">;
146
- readonly inset: import("@stylexjs/stylex").StyleXClassNameFor<"inset", 0>;
147
- readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
189
+ readonly horizontal: Readonly<{
190
+ readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", "80px">;
148
191
  readonly height: import("@stylexjs/stylex").StyleXClassNameFor<"height", string>;
149
- readonly objectFit: import("@stylexjs/stylex").StyleXClassNameFor<"objectFit", "cover">;
192
+ readonly flex: import("@stylexjs/stylex").StyleXClassNameFor<"flex", "0 0 auto">;
193
+ readonly borderTopWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopWidth", string>;
194
+ readonly borderRightWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderRightWidth", string>;
195
+ readonly borderBottomWidth: import("@stylexjs/stylex").StyleXClassNameFor<"borderBottomWidth", string>;
196
+ readonly borderTopStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopStyle", "solid">;
197
+ readonly borderRightStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderRightStyle", "solid">;
198
+ readonly borderBottomStyle: import("@stylexjs/stylex").StyleXClassNameFor<"borderBottomStyle", "solid">;
199
+ readonly borderTopColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderTopColor", "var(--color-outline-variant)">;
200
+ readonly borderRightColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderRightColor", "var(--color-outline-variant)">;
201
+ readonly borderBottomColor: import("@stylexjs/stylex").StyleXClassNameFor<"borderBottomColor", "var(--color-outline-variant)">;
150
202
  }>;
151
203
  }>;
152
204
  content: Readonly<{
@@ -159,7 +211,15 @@ declare const styles: {
159
211
  readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
160
212
  }>;
161
213
  }>;
162
- contentTitle: Readonly<{
214
+ headline: Readonly<{
215
+ readonly default: Readonly<{
216
+ readonly display: import("@stylexjs/stylex").StyleXClassNameFor<"display", "flex">;
217
+ readonly flexDirection: import("@stylexjs/stylex").StyleXClassNameFor<"flexDirection", "column">;
218
+ readonly gap: import("@stylexjs/stylex").StyleXClassNameFor<"gap", string>;
219
+ readonly width: import("@stylexjs/stylex").StyleXClassNameFor<"width", string>;
220
+ }>;
221
+ }>;
222
+ title: Readonly<{
163
223
  readonly default: Readonly<{
164
224
  readonly fontSize: import("@stylexjs/stylex").StyleXClassNameFor<"fontSize", "16px">;
165
225
  readonly fontWeight: import("@stylexjs/stylex").StyleXClassNameFor<"fontWeight", 400>;
@@ -168,7 +228,7 @@ declare const styles: {
168
228
  readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-surface)">;
169
229
  }>;
170
230
  }>;
171
- contentSubhead: Readonly<{
231
+ subhead: Readonly<{
172
232
  readonly default: Readonly<{
173
233
  readonly fontSize: import("@stylexjs/stylex").StyleXClassNameFor<"fontSize", "14px">;
174
234
  readonly fontWeight: import("@stylexjs/stylex").StyleXClassNameFor<"fontWeight", 400>;
@@ -177,7 +237,7 @@ declare const styles: {
177
237
  readonly color: import("@stylexjs/stylex").StyleXClassNameFor<"color", "var(--color-on-surface-variant)">;
178
238
  }>;
179
239
  }>;
180
- contentBody: Readonly<{
240
+ body: Readonly<{
181
241
  readonly default: Readonly<{
182
242
  readonly fontSize: import("@stylexjs/stylex").StyleXClassNameFor<"fontSize", "14px">;
183
243
  readonly fontWeight: import("@stylexjs/stylex").StyleXClassNameFor<"fontWeight", 400>;