@vitral/themes 0.2.4 → 0.2.6

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/css/avalonia.css +170 -3
  2. package/dist/css/ink.css +170 -3
  3. package/dist/css/prism.css +170 -3
  4. package/dist/css/simple.css +170 -3
  5. package/dist/presets/base/components/copybutton.d.ts +6 -0
  6. package/dist/presets/base/components/copybutton.js +6 -0
  7. package/dist/presets/base/components/copybutton.js.map +1 -0
  8. package/dist/presets/base/components/datagrid.d.ts +3 -0
  9. package/dist/presets/base/components/datagrid.js +9 -2
  10. package/dist/presets/base/components/datagrid.js.map +1 -1
  11. package/dist/presets/base/components/descriptionlist.d.ts +34 -0
  12. package/dist/presets/base/components/descriptionlist.js +32 -0
  13. package/dist/presets/base/components/descriptionlist.js.map +1 -0
  14. package/dist/presets/base/components/editor.d.ts +12 -0
  15. package/dist/presets/base/components/editor.js +12 -0
  16. package/dist/presets/base/components/editor.js.map +1 -1
  17. package/dist/presets/base/components/emptystate.d.ts +39 -0
  18. package/dist/presets/base/components/emptystate.js +41 -0
  19. package/dist/presets/base/components/emptystate.js.map +1 -0
  20. package/dist/presets/base/components/index.d.ts +284 -0
  21. package/dist/presets/base/components/index.js +12 -0
  22. package/dist/presets/base/components/index.js.map +1 -1
  23. package/dist/presets/base/components/kbd.d.ts +43 -0
  24. package/dist/presets/base/components/kbd.js +47 -0
  25. package/dist/presets/base/components/kbd.js.map +1 -0
  26. package/dist/presets/base/components/stat.d.ts +51 -0
  27. package/dist/presets/base/components/stat.js +47 -0
  28. package/dist/presets/base/components/stat.js.map +1 -0
  29. package/dist/presets/base/components/tabs.d.ts +10 -0
  30. package/dist/presets/base/components/tabs.js +10 -2
  31. package/dist/presets/base/components/tabs.js.map +1 -1
  32. package/dist/presets/base/components/textarea.d.ts +7 -1
  33. package/dist/presets/base/components/textarea.js +11 -3
  34. package/dist/presets/base/components/textarea.js.map +1 -1
  35. package/dist/presets/base/components/tour.d.ts +87 -0
  36. package/dist/presets/base/components/tour.js +87 -0
  37. package/dist/presets/base/components/tour.js.map +1 -0
  38. package/dist/presets/base/semantic.js +3 -1
  39. package/dist/presets/base/semantic.js.map +1 -1
  40. package/package.json +2 -2
@@ -0,0 +1,32 @@
1
+ //#region src/presets/base/components/descriptionlist.ts
2
+ var descriptionlist_default = {
3
+ root: { gap: "0.75rem" },
4
+ header: { gap: "0.5rem" },
5
+ title: {
6
+ fontSize: "1rem",
7
+ fontWeight: "600",
8
+ color: "{text.hoverColor}"
9
+ },
10
+ list: {
11
+ columnGap: "1.5rem",
12
+ rowGap: "0.875rem"
13
+ },
14
+ item: {
15
+ gap: "0.25rem",
16
+ padding: "0.75rem 1rem",
17
+ borderColor: "{content.borderColor}",
18
+ borderRadius: "{content.borderRadius}",
19
+ stripedBackground: "{content.hoverBackground}"
20
+ },
21
+ label: {
22
+ fontSize: "0.8125rem",
23
+ fontWeight: "500",
24
+ color: "{text.mutedColor}",
25
+ width: "10rem"
26
+ },
27
+ value: { color: "{text.color}" }
28
+ };
29
+ //#endregion
30
+ export { descriptionlist_default as default };
31
+
32
+ //# sourceMappingURL=descriptionlist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptionlist.js","names":[],"sources":["../../../../src/presets/base/components/descriptionlist.ts"],"sourcesContent":["// Facts about one thing, as label and value: an order's details, a profile.\nexport default {\n root: {\n gap: '0.75rem'\n },\n header: {\n gap: '0.5rem'\n },\n title: {\n fontSize: '1rem',\n fontWeight: '600',\n color: '{text.hoverColor}'\n },\n list: {\n columnGap: '1.5rem',\n rowGap: '0.875rem'\n },\n item: {\n gap: '0.25rem',\n padding: '0.75rem 1rem',\n borderColor: '{content.borderColor}',\n borderRadius: '{content.borderRadius}',\n stripedBackground: '{content.hoverBackground}'\n },\n label: {\n fontSize: '0.8125rem',\n fontWeight: '500',\n color: '{text.mutedColor}',\n width: '10rem'\n },\n value: {\n color: '{text.color}'\n }\n};\n"],"mappings":";AACA,IAAA,0BAAe;CACX,MAAM,EACF,KAAK,UACT;CACA,QAAQ,EACJ,KAAK,SACT;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;CACX;CACA,MAAM;EACF,WAAW;EACX,QAAQ;CACZ;CACA,MAAM;EACF,KAAK;EACL,SAAS;EACT,aAAa;EACb,cAAc;EACd,mBAAmB;CACvB;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;EACP,OAAO;CACX;CACA,OAAO,EACH,OAAO,eACX;AACJ"}
@@ -2,6 +2,18 @@ declare const _default: {
2
2
  root: {
3
3
  transitionDuration: string;
4
4
  };
5
+ chip: {
6
+ padding: string;
7
+ borderRadius: string;
8
+ fontWeight: string;
9
+ background: string;
10
+ color: string;
11
+ tagBackground: string;
12
+ tagColor: string;
13
+ variableBackground: string;
14
+ variableColor: string;
15
+ variableFontFamily: string;
16
+ };
5
17
  toolbar: {
6
18
  padding: string;
7
19
  gap: string;
@@ -19,6 +19,18 @@ var hues = [
19
19
  ];
20
20
  var editor_default = {
21
21
  root: { transitionDuration: "{formField.transitionDuration}" },
22
+ chip: {
23
+ padding: "0 0.375rem",
24
+ borderRadius: "{borderRadius.sm}",
25
+ fontWeight: "500",
26
+ background: "{primary.subtleBackground}",
27
+ color: "{primary.subtleColor}",
28
+ tagBackground: "{secondary.subtleBackground}",
29
+ tagColor: "{secondary.subtleColor}",
30
+ variableBackground: "{warn.subtleBackground}",
31
+ variableColor: "{warn.subtleColor}",
32
+ variableFontFamily: "{fontFamilyMono}"
33
+ },
22
34
  toolbar: {
23
35
  padding: "0.375rem",
24
36
  gap: "0.125rem",
@@ -1 +1 @@
1
- {"version":3,"file":"editor.js","names":[],"sources":["../../../../src/presets/base/components/editor.ts"],"sourcesContent":["// The rich-text editor: the `formField` chrome around a toolbar, the text and a\n// footer, and the typography of the content, so a theme restyles what people\n// write as well as the frame around it. The palette is what the colour and\n// highlight pickers offer; content refers to it by name, so a colour follows\n// the scheme.\n\nconst tint = (name: string) => ({ color: `{${name}.600}`, highlight: `{${name}.200}` });\nconst darkTint = (name: string) => ({ color: `{${name}.400}`, highlight: `color-mix(in srgb, {${name}.500} 38%, transparent)` });\nconst hues = ['red', 'orange', 'yellow', 'green', 'teal', 'blue', 'purple', 'pink'];\n\nexport default {\n root: {\n transitionDuration: '{formField.transitionDuration}'\n },\n toolbar: {\n padding: '0.375rem',\n gap: '0.125rem',\n groupGap: '0.375rem',\n borderColor: '{formField.borderColor}',\n separatorColor: '{content.borderColor}',\n colorScheme: {\n light: { background: '{surface.50}' },\n dark: { background: '{surface.900}' }\n }\n },\n button: {\n size: '2rem',\n padding: '0 0.375rem',\n borderRadius: '{borderRadius.sm}',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}',\n activeColor: '{highlight.color}',\n activeBackground: '{highlight.background}',\n disabledOpacity: '{disabledOpacity}'\n },\n // The handle beside a block sits in a gutter down the leading edge: the\n // gutter is as wide as the handle plus the padding the text would have had.\n blockHandle: {\n size: '1.5rem',\n inset: '0.25rem',\n gutter: '2rem'\n },\n content: {\n minHeight: '9rem',\n maxHeight: '32rem',\n padding: '0.75rem 1rem',\n lineHeight: '1.6',\n blockGap: '0.75em',\n placeholderColor: '{formField.placeholderColor}',\n selectedOutline: '{primary.color}'\n },\n heading: {\n fontWeight: '650',\n lineHeight: '1.25',\n h1FontSize: '1.75em',\n h2FontSize: '1.375em',\n h3FontSize: '1.125em',\n marginTop: '1.25em'\n },\n link: {\n color: '{primary.color}',\n hoverColor: '{primary.hoverColor}'\n },\n list: {\n indent: '1.5em',\n itemGap: '0.25em',\n checkboxColor: '{primary.color}'\n },\n blockquote: {\n borderWidth: '3px',\n borderColor: '{content.borderColor}',\n color: '{text.mutedColor}',\n padding: '0 0 0 1em'\n },\n code: {\n fontFamily: '{fontFamilyMono}',\n fontSize: '0.875em',\n padding: '0.125em 0.375em',\n borderRadius: '{borderRadius.sm}',\n colorScheme: {\n light: { background: '{surface.100}', color: '{pink.700}' },\n dark: { background: '{surface.800}', color: '{pink.300}' }\n }\n },\n codeBlock: {\n padding: '0.75em 1em',\n borderRadius: '{borderRadius.md}',\n colorScheme: {\n light: { background: '{surface.900}', color: '{surface.50}', labelColor: '{surface.400}' },\n dark: { background: '{surface.950}', color: '{surface.100}', labelColor: '{surface.500}' }\n }\n },\n rule: {\n color: '{content.borderColor}',\n width: '1px'\n },\n image: {\n borderRadius: '{borderRadius.md}'\n },\n table: {\n borderColor: '{content.borderColor}',\n cellPadding: '0.375em 0.625em',\n headerFontWeight: '600',\n colorScheme: {\n light: { headerBackground: '{surface.50}' },\n dark: { headerBackground: '{surface.800}' }\n }\n },\n footer: {\n padding: '0.375rem 0.75rem',\n fontSize: '0.75rem',\n color: '{text.mutedColor}',\n limitColor: '{danger.color}',\n borderColor: '{content.borderColor}'\n },\n bubble: {\n padding: '0.25rem',\n gap: '0.125rem',\n background: '{overlay.popover.background}',\n borderColor: '{overlay.popover.borderColor}',\n borderRadius: '{overlay.popover.borderRadius}',\n shadow: '{overlay.popover.shadow}'\n },\n panel: {\n padding: '0.75rem',\n gap: '0.625rem',\n width: '18rem'\n },\n swatch: {\n size: '1.625rem',\n gap: '0.375rem',\n borderRadius: '{borderRadius.sm}',\n borderColor: '{content.borderColor}',\n selectedRing: '{primary.color}'\n },\n palette: {\n colorScheme: {\n light: {\n gray: { color: '{zinc.600}', highlight: '{zinc.200}' },\n ...Object.fromEntries(hues.map((h) => [h, tint(h)]))\n },\n dark: {\n gray: { color: '{zinc.400}', highlight: 'color-mix(in srgb, {zinc.400} 30%, transparent)' },\n ...Object.fromEntries(hues.map((h) => [h, darkTint(h)]))\n }\n }\n }\n};\n"],"mappings":";AAMA,IAAM,QAAQ,UAAkB;CAAE,OAAO,IAAI,KAAK;CAAQ,WAAW,IAAI,KAAK;AAAO;AACrF,IAAM,YAAY,UAAkB;CAAE,OAAO,IAAI,KAAK;CAAQ,WAAW,uBAAuB,KAAK;AAAyB;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,kBAAkB;EAClB,aAAa;GACT,OAAO,EAAE,kBAAkB,eAAe;GAC1C,MAAM,EAAE,kBAAkB,gBAAgB;EAC9C;CACJ;CACA,QAAQ;EACJ,SAAS;EACT,UAAU;EACV,OAAO;EACP,YAAY;EACZ,aAAa;CACjB;CACA,QAAQ;EACJ,SAAS;EACT,KAAK;EACL,YAAY;EACZ,aAAa;EACb,cAAc;EACd,QAAQ;CACZ;CACA,OAAO;EACH,SAAS;EACT,KAAK;EACL,OAAO;CACX;CACA,QAAQ;EACJ,MAAM;EACN,KAAK;EACL,cAAc;EACd,aAAa;EACb,cAAc;CAClB;CACA,SAAS,EACL,aAAa;EACT,OAAO;GACH,MAAM;IAAE,OAAO;IAAc,WAAW;GAAa;GACrD,GAAG,OAAO,YAAY,KAAK,KAAK,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;EACvD;EACA,MAAM;GACF,MAAM;IAAE,OAAO;IAAc,WAAW;GAAkD;GAC1F,GAAG,OAAO,YAAY,KAAK,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;EAC3D;CACJ,EACJ;AACJ"}
1
+ {"version":3,"file":"editor.js","names":[],"sources":["../../../../src/presets/base/components/editor.ts"],"sourcesContent":["// The rich-text editor: the `formField` chrome around a toolbar, the text and a\n// footer, and the typography of the content, so a theme restyles what people\n// write as well as the frame around it. The palette is what the colour and\n// highlight pickers offer; content refers to it by name, so a colour follows\n// the scheme.\n\nconst tint = (name: string) => ({ color: `{${name}.600}`, highlight: `{${name}.200}` });\nconst darkTint = (name: string) => ({ color: `{${name}.400}`, highlight: `color-mix(in srgb, {${name}.500} 38%, transparent)` });\nconst hues = ['red', 'orange', 'yellow', 'green', 'teal', 'blue', 'purple', 'pink'];\n\nexport default {\n root: {\n transitionDuration: '{formField.transitionDuration}'\n },\n // An inline chip: a mention, a tag, a variable. It reads as one thing in\n // the line, in the accent's quiet tint; a tag and a variable take their own.\n chip: {\n padding: '0 0.375rem',\n borderRadius: '{borderRadius.sm}',\n fontWeight: '500',\n background: '{primary.subtleBackground}',\n color: '{primary.subtleColor}',\n tagBackground: '{secondary.subtleBackground}',\n tagColor: '{secondary.subtleColor}',\n variableBackground: '{warn.subtleBackground}',\n variableColor: '{warn.subtleColor}',\n variableFontFamily: '{fontFamilyMono}'\n },\n toolbar: {\n padding: '0.375rem',\n gap: '0.125rem',\n groupGap: '0.375rem',\n borderColor: '{formField.borderColor}',\n separatorColor: '{content.borderColor}',\n colorScheme: {\n light: { background: '{surface.50}' },\n dark: { background: '{surface.900}' }\n }\n },\n button: {\n size: '2rem',\n padding: '0 0.375rem',\n borderRadius: '{borderRadius.sm}',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}',\n activeColor: '{highlight.color}',\n activeBackground: '{highlight.background}',\n disabledOpacity: '{disabledOpacity}'\n },\n // The handle beside a block sits in a gutter down the leading edge: the\n // gutter is as wide as the handle plus the padding the text would have had.\n blockHandle: {\n size: '1.5rem',\n inset: '0.25rem',\n gutter: '2rem'\n },\n content: {\n minHeight: '9rem',\n maxHeight: '32rem',\n padding: '0.75rem 1rem',\n lineHeight: '1.6',\n blockGap: '0.75em',\n placeholderColor: '{formField.placeholderColor}',\n selectedOutline: '{primary.color}'\n },\n heading: {\n fontWeight: '650',\n lineHeight: '1.25',\n h1FontSize: '1.75em',\n h2FontSize: '1.375em',\n h3FontSize: '1.125em',\n marginTop: '1.25em'\n },\n link: {\n color: '{primary.color}',\n hoverColor: '{primary.hoverColor}'\n },\n list: {\n indent: '1.5em',\n itemGap: '0.25em',\n checkboxColor: '{primary.color}'\n },\n blockquote: {\n borderWidth: '3px',\n borderColor: '{content.borderColor}',\n color: '{text.mutedColor}',\n padding: '0 0 0 1em'\n },\n code: {\n fontFamily: '{fontFamilyMono}',\n fontSize: '0.875em',\n padding: '0.125em 0.375em',\n borderRadius: '{borderRadius.sm}',\n colorScheme: {\n light: { background: '{surface.100}', color: '{pink.700}' },\n dark: { background: '{surface.800}', color: '{pink.300}' }\n }\n },\n codeBlock: {\n padding: '0.75em 1em',\n borderRadius: '{borderRadius.md}',\n colorScheme: {\n light: { background: '{surface.900}', color: '{surface.50}', labelColor: '{surface.400}' },\n dark: { background: '{surface.950}', color: '{surface.100}', labelColor: '{surface.500}' }\n }\n },\n rule: {\n color: '{content.borderColor}',\n width: '1px'\n },\n image: {\n borderRadius: '{borderRadius.md}'\n },\n table: {\n borderColor: '{content.borderColor}',\n cellPadding: '0.375em 0.625em',\n headerFontWeight: '600',\n colorScheme: {\n light: { headerBackground: '{surface.50}' },\n dark: { headerBackground: '{surface.800}' }\n }\n },\n footer: {\n padding: '0.375rem 0.75rem',\n fontSize: '0.75rem',\n color: '{text.mutedColor}',\n limitColor: '{danger.color}',\n borderColor: '{content.borderColor}'\n },\n bubble: {\n padding: '0.25rem',\n gap: '0.125rem',\n background: '{overlay.popover.background}',\n borderColor: '{overlay.popover.borderColor}',\n borderRadius: '{overlay.popover.borderRadius}',\n shadow: '{overlay.popover.shadow}'\n },\n panel: {\n padding: '0.75rem',\n gap: '0.625rem',\n width: '18rem'\n },\n swatch: {\n size: '1.625rem',\n gap: '0.375rem',\n borderRadius: '{borderRadius.sm}',\n borderColor: '{content.borderColor}',\n selectedRing: '{primary.color}'\n },\n palette: {\n colorScheme: {\n light: {\n gray: { color: '{zinc.600}', highlight: '{zinc.200}' },\n ...Object.fromEntries(hues.map((h) => [h, tint(h)]))\n },\n dark: {\n gray: { color: '{zinc.400}', highlight: 'color-mix(in srgb, {zinc.400} 30%, transparent)' },\n ...Object.fromEntries(hues.map((h) => [h, darkTint(h)]))\n }\n }\n }\n};\n"],"mappings":";AAMA,IAAM,QAAQ,UAAkB;CAAE,OAAO,IAAI,KAAK;CAAQ,WAAW,IAAI,KAAK;AAAO;AACrF,IAAM,YAAY,UAAkB;CAAE,OAAO,IAAI,KAAK;CAAQ,WAAW,uBAAuB,KAAK;AAAyB;AAC9H,IAAM,OAAO;C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AC7F;CACJ;CACA,MAAM;EACF,OAAO;EACP,OAAO;CACX;CACA,OAAO,EACH,cAAc,oBAClB;CACA,OAAO;EACH,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,aAAa;GACT,OAAO,EAAE,kBAAkB,eAAe;GAC1C,MAAM,EAAE,kBAAkB,gBAAgB;EAC9C;CACJ;CACA,QAAQ;EACJ,SAAS;EACT,UAAU;EACV,OAAO;EACP,YAAY;EACZ,aAAa;CACjB;CACA,QAAQ;EACJ,SAAS;EACT,KAAK;EACL,YAAY;EACZ,aAAa;EACb,cAAc;EACd,QAAQ;CACZ;CACA,OAAO;EACH,SAAS;EACT,KAAK;EACL,OAAO;CACX;CACA,QAAQ;EACJ,MAAM;EACN,KAAK;EACL,cAAc;EACd,aAAa;EACb,cAAc;CAClB;CACA,SAAS,EACL,aAAa;EACT,OAAO;GACH,MAAM;IAAE,OAAO;IAAc,WAAW;GAAa;GACrD,GAAG,OAAO,YAAY,KAAK,KAAK,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;EACvD;EACA,MAAM;GACF,MAAM;IAAE,OAAO;IAAc,WAAW;GAAkD;GAC1F,GAAG,OAAO,YAAY,KAAK,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;EAC3D;CACJ,EACJ;AACJ"}
@@ -0,0 +1,39 @@
1
+ declare const _default: {
2
+ root: {
3
+ padding: string;
4
+ gap: string;
5
+ textMaxWidth: string;
6
+ };
7
+ icon: {
8
+ size: string;
9
+ boxSize: string;
10
+ borderRadius: string;
11
+ background: string;
12
+ color: string;
13
+ };
14
+ title: {
15
+ fontSize: string;
16
+ fontWeight: string;
17
+ color: string;
18
+ };
19
+ description: {
20
+ color: string;
21
+ };
22
+ actions: {
23
+ gap: string;
24
+ marginTop: string;
25
+ };
26
+ sm: {
27
+ padding: string;
28
+ iconSize: string;
29
+ iconBoxSize: string;
30
+ titleFontSize: string;
31
+ };
32
+ lg: {
33
+ padding: string;
34
+ iconSize: string;
35
+ iconBoxSize: string;
36
+ titleFontSize: string;
37
+ };
38
+ };
39
+ export default _default;
@@ -0,0 +1,41 @@
1
+ //#region src/presets/base/components/emptystate.ts
2
+ var emptystate_default = {
3
+ root: {
4
+ padding: "2rem 1rem",
5
+ gap: "0.75rem",
6
+ textMaxWidth: "28rem"
7
+ },
8
+ icon: {
9
+ size: "1.5rem",
10
+ boxSize: "3.5rem",
11
+ borderRadius: "50%",
12
+ background: "{content.hoverBackground}",
13
+ color: "{text.mutedColor}"
14
+ },
15
+ title: {
16
+ fontSize: "1rem",
17
+ fontWeight: "600",
18
+ color: "{text.hoverColor}"
19
+ },
20
+ description: { color: "{text.mutedColor}" },
21
+ actions: {
22
+ gap: "0.5rem",
23
+ marginTop: "0.25rem"
24
+ },
25
+ sm: {
26
+ padding: "1rem 0.75rem",
27
+ iconSize: "1.125rem",
28
+ iconBoxSize: "2.5rem",
29
+ titleFontSize: "0.875rem"
30
+ },
31
+ lg: {
32
+ padding: "3rem 1.5rem",
33
+ iconSize: "2rem",
34
+ iconBoxSize: "4.5rem",
35
+ titleFontSize: "1.25rem"
36
+ }
37
+ };
38
+ //#endregion
39
+ export { emptystate_default as default };
40
+
41
+ //# sourceMappingURL=emptystate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emptystate.js","names":[],"sources":["../../../../src/presets/base/components/emptystate.ts"],"sourcesContent":["// Nothing here yet, said kindly: an icon in a soft disc, a line saying what\n// is missing, and what to do about it.\nexport default {\n root: {\n padding: '2rem 1rem',\n gap: '0.75rem',\n textMaxWidth: '28rem'\n },\n icon: {\n size: '1.5rem',\n boxSize: '3.5rem',\n borderRadius: '50%',\n background: '{content.hoverBackground}',\n color: '{text.mutedColor}'\n },\n title: {\n fontSize: '1rem',\n fontWeight: '600',\n color: '{text.hoverColor}'\n },\n description: {\n color: '{text.mutedColor}'\n },\n actions: {\n gap: '0.5rem',\n marginTop: '0.25rem'\n },\n sm: {\n padding: '1rem 0.75rem',\n iconSize: '1.125rem',\n iconBoxSize: '2.5rem',\n titleFontSize: '0.875rem'\n },\n lg: {\n padding: '3rem 1.5rem',\n iconSize: '2rem',\n iconBoxSize: '4.5rem',\n titleFontSize: '1.25rem'\n }\n};\n"],"mappings":";AAEA,IAAA,qBAAe;CACX,MAAM;EACF,SAAS;EACT,KAAK;EACL,cAAc;CAClB;CACA,MAAM;EACF,MAAM;EACN,SAAS;EACT,cAAc;EACd,YAAY;EACZ,OAAO;CACX;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;CACX;CACA,aAAa,EACT,OAAO,oBACX;CACA,SAAS;EACL,KAAK;EACL,WAAW;CACf;CACA,IAAI;EACA,SAAS;EACT,UAAU;EACV,aAAa;EACb,eAAe;CACnB;CACA,IAAI;EACA,SAAS;EACT,UAAU;EACV,aAAa;EACb,eAAe;CACnB;AACJ"}
@@ -676,6 +676,11 @@ export declare const components: {
676
676
  margin: string;
677
677
  };
678
678
  };
679
+ copybutton: {
680
+ root: {
681
+ copiedColor: string;
682
+ };
683
+ };
679
684
  cropper: {
680
685
  root: {
681
686
  gap: string;
@@ -765,9 +770,11 @@ export declare const components: {
765
770
  borderColor: string;
766
771
  sm: {
767
772
  padding: string;
773
+ fontSize: string;
768
774
  };
769
775
  lg: {
770
776
  padding: string;
777
+ fontSize: string;
771
778
  };
772
779
  };
773
780
  footerCell: {
@@ -971,6 +978,39 @@ export declare const components: {
971
978
  color: string;
972
979
  };
973
980
  };
981
+ descriptionlist: {
982
+ root: {
983
+ gap: string;
984
+ };
985
+ header: {
986
+ gap: string;
987
+ };
988
+ title: {
989
+ fontSize: string;
990
+ fontWeight: string;
991
+ color: string;
992
+ };
993
+ list: {
994
+ columnGap: string;
995
+ rowGap: string;
996
+ };
997
+ item: {
998
+ gap: string;
999
+ padding: string;
1000
+ borderColor: string;
1001
+ borderRadius: string;
1002
+ stripedBackground: string;
1003
+ };
1004
+ label: {
1005
+ fontSize: string;
1006
+ fontWeight: string;
1007
+ color: string;
1008
+ width: string;
1009
+ };
1010
+ value: {
1011
+ color: string;
1012
+ };
1013
+ };
974
1014
  dialog: {
975
1015
  root: {
976
1016
  background: string;
@@ -1085,6 +1125,18 @@ export declare const components: {
1085
1125
  root: {
1086
1126
  transitionDuration: string;
1087
1127
  };
1128
+ chip: {
1129
+ padding: string;
1130
+ borderRadius: string;
1131
+ fontWeight: string;
1132
+ background: string;
1133
+ color: string;
1134
+ tagBackground: string;
1135
+ tagColor: string;
1136
+ variableBackground: string;
1137
+ variableColor: string;
1138
+ variableFontFamily: string;
1139
+ };
1088
1140
  toolbar: {
1089
1141
  padding: string;
1090
1142
  gap: string;
@@ -1244,6 +1296,44 @@ export declare const components: {
1244
1296
  };
1245
1297
  };
1246
1298
  };
1299
+ emptystate: {
1300
+ root: {
1301
+ padding: string;
1302
+ gap: string;
1303
+ textMaxWidth: string;
1304
+ };
1305
+ icon: {
1306
+ size: string;
1307
+ boxSize: string;
1308
+ borderRadius: string;
1309
+ background: string;
1310
+ color: string;
1311
+ };
1312
+ title: {
1313
+ fontSize: string;
1314
+ fontWeight: string;
1315
+ color: string;
1316
+ };
1317
+ description: {
1318
+ color: string;
1319
+ };
1320
+ actions: {
1321
+ gap: string;
1322
+ marginTop: string;
1323
+ };
1324
+ sm: {
1325
+ padding: string;
1326
+ iconSize: string;
1327
+ iconBoxSize: string;
1328
+ titleFontSize: string;
1329
+ };
1330
+ lg: {
1331
+ padding: string;
1332
+ iconSize: string;
1333
+ iconBoxSize: string;
1334
+ titleFontSize: string;
1335
+ };
1336
+ };
1247
1337
  fieldset: {
1248
1338
  root: {
1249
1339
  background: string;
@@ -1587,6 +1677,48 @@ export declare const components: {
1587
1677
  clearIconHoverColor: string;
1588
1678
  };
1589
1679
  };
1680
+ kbd: {
1681
+ root: {
1682
+ gap: string;
1683
+ separatorColor: string;
1684
+ };
1685
+ key: {
1686
+ fontFamily: string;
1687
+ fontSize: string;
1688
+ fontWeight: string;
1689
+ lineHeight: string;
1690
+ minWidth: string;
1691
+ height: string;
1692
+ paddingX: string;
1693
+ borderWidth: string;
1694
+ bottomWidth: string;
1695
+ borderRadius: string;
1696
+ colorScheme: {
1697
+ light: {
1698
+ background: string;
1699
+ borderColor: string;
1700
+ color: string;
1701
+ };
1702
+ dark: {
1703
+ background: string;
1704
+ borderColor: string;
1705
+ color: string;
1706
+ };
1707
+ };
1708
+ };
1709
+ sm: {
1710
+ fontSize: string;
1711
+ minWidth: string;
1712
+ height: string;
1713
+ paddingX: string;
1714
+ };
1715
+ lg: {
1716
+ fontSize: string;
1717
+ minWidth: string;
1718
+ height: string;
1719
+ paddingX: string;
1720
+ };
1721
+ };
1590
1722
  knob: {
1591
1723
  root: {
1592
1724
  transitionDuration: string;
@@ -2579,6 +2711,56 @@ export declare const components: {
2579
2711
  spacing: string;
2580
2712
  };
2581
2713
  };
2714
+ stat: {
2715
+ root: {
2716
+ gap: string;
2717
+ };
2718
+ header: {
2719
+ gap: string;
2720
+ };
2721
+ label: {
2722
+ fontSize: string;
2723
+ fontWeight: string;
2724
+ color: string;
2725
+ };
2726
+ icon: {
2727
+ size: string;
2728
+ boxSize: string;
2729
+ borderRadius: string;
2730
+ background: string;
2731
+ color: string;
2732
+ };
2733
+ value: {
2734
+ fontSize: string;
2735
+ fontWeight: string;
2736
+ lineHeight: string;
2737
+ color: string;
2738
+ gap: string;
2739
+ };
2740
+ affix: {
2741
+ fontSize: string;
2742
+ fontWeight: string;
2743
+ color: string;
2744
+ };
2745
+ delta: {
2746
+ fontSize: string;
2747
+ fontWeight: string;
2748
+ gap: string;
2749
+ padding: string;
2750
+ borderRadius: string;
2751
+ iconSize: string;
2752
+ };
2753
+ caption: {
2754
+ fontSize: string;
2755
+ color: string;
2756
+ };
2757
+ sm: {
2758
+ valueFontSize: string;
2759
+ };
2760
+ lg: {
2761
+ valueFontSize: string;
2762
+ };
2763
+ };
2582
2764
  stepper: {
2583
2765
  root: {
2584
2766
  gap: string;
@@ -2633,6 +2815,16 @@ export declare const components: {
2633
2815
  activeBackground: string;
2634
2816
  borderRadius: string;
2635
2817
  };
2818
+ navButton: {
2819
+ size: string;
2820
+ color: string;
2821
+ hoverColor: string;
2822
+ hoverBackground: string;
2823
+ borderRadius: string;
2824
+ };
2825
+ navGroup: {
2826
+ gap: string;
2827
+ };
2636
2828
  indicator: {
2637
2829
  color: string;
2638
2830
  width: string;
@@ -2804,6 +2996,12 @@ export declare const components: {
2804
2996
  root: {
2805
2997
  resize: string;
2806
2998
  };
2999
+ resizer: {
3000
+ size: string;
3001
+ inset: string;
3002
+ color: string;
3003
+ hoverColor: string;
3004
+ };
2807
3005
  };
2808
3006
  tieredmenu: {
2809
3007
  root: {
@@ -2983,6 +3181,92 @@ export declare const components: {
2983
3181
  transitionDuration: string;
2984
3182
  };
2985
3183
  };
3184
+ tour: {
3185
+ root: {
3186
+ transitionDuration: string;
3187
+ colorScheme: {
3188
+ light: {
3189
+ overlayColor: string;
3190
+ overlayOpacity: string;
3191
+ };
3192
+ dark: {
3193
+ overlayColor: string;
3194
+ overlayOpacity: string;
3195
+ };
3196
+ };
3197
+ };
3198
+ popover: {
3199
+ background: string;
3200
+ color: string;
3201
+ borderColor: string;
3202
+ borderRadius: string;
3203
+ shadow: string;
3204
+ padding: string;
3205
+ gap: string;
3206
+ width: string;
3207
+ };
3208
+ arrow: {
3209
+ size: string;
3210
+ };
3211
+ image: {
3212
+ borderRadius: string;
3213
+ };
3214
+ title: {
3215
+ fontSize: string;
3216
+ fontWeight: string;
3217
+ color: string;
3218
+ };
3219
+ description: {
3220
+ color: string;
3221
+ lineHeight: string;
3222
+ };
3223
+ footer: {
3224
+ gap: string;
3225
+ marginTop: string;
3226
+ };
3227
+ progress: {
3228
+ fontSize: string;
3229
+ color: string;
3230
+ };
3231
+ dot: {
3232
+ size: string;
3233
+ gap: string;
3234
+ background: string;
3235
+ activeBackground: string;
3236
+ };
3237
+ bar: {
3238
+ height: string;
3239
+ borderRadius: string;
3240
+ background: string;
3241
+ fillBackground: string;
3242
+ };
3243
+ button: {
3244
+ padding: string;
3245
+ borderRadius: string;
3246
+ fontSize: string;
3247
+ fontWeight: string;
3248
+ borderWidth: string;
3249
+ };
3250
+ nextButton: {
3251
+ background: string;
3252
+ hoverBackground: string;
3253
+ color: string;
3254
+ borderColor: string;
3255
+ };
3256
+ previousButton: {
3257
+ background: string;
3258
+ hoverBackground: string;
3259
+ color: string;
3260
+ borderColor: string;
3261
+ };
3262
+ closeButton: {
3263
+ size: string;
3264
+ borderRadius: string;
3265
+ color: string;
3266
+ hoverColor: string;
3267
+ hoverBackground: string;
3268
+ };
3269
+ };
2986
3270
  tree: {
2987
3271
  root: {
2988
3272
  padding: string;
@@ -20,12 +20,14 @@ import command_default from "./command.js";
20
20
  import confirmdialog_default from "./confirmdialog.js";
21
21
  import confirmpopup_default from "./confirmpopup.js";
22
22
  import contextmenu_default from "./contextmenu.js";
23
+ import copybutton_default from "./copybutton.js";
23
24
  import cropper_default from "./cropper.js";
24
25
  import datagrid_default from "./datagrid.js";
25
26
  import datatable_default from "./datatable.js";
26
27
  import dataview_default from "./dataview.js";
27
28
  import datepicker_default from "./datepicker.js";
28
29
  import daterange_default from "./daterange.js";
30
+ import descriptionlist_default from "./descriptionlist.js";
29
31
  import dialog_default from "./dialog.js";
30
32
  import divider_default from "./divider.js";
31
33
  import dock_default from "./dock.js";
@@ -33,6 +35,7 @@ import dockpanel_default from "./dockpanel.js";
33
35
  import drawer_default from "./drawer.js";
34
36
  import dynamicdialog_default from "./dynamicdialog.js";
35
37
  import editor_default from "./editor.js";
38
+ import emptystate_default from "./emptystate.js";
36
39
  import fieldset_default from "./fieldset.js";
37
40
  import fileupload_default from "./fileupload.js";
38
41
  import floatlabel_default from "./floatlabel.js";
@@ -52,6 +55,7 @@ import inputotp_default from "./inputotp.js";
52
55
  import inputpassword_default from "./inputpassword.js";
53
56
  import inputtag_default from "./inputtag.js";
54
57
  import inputtext_default from "./inputtext.js";
58
+ import kbd_default from "./kbd.js";
55
59
  import knob_default from "./knob.js";
56
60
  import label_default from "./label.js";
57
61
  import listbox_default from "./listbox.js";
@@ -88,6 +92,7 @@ import splitter_default from "./splitter.js";
88
92
  import splitview_default from "./splitview.js";
89
93
  import spreadsheet_default from "./spreadsheet.js";
90
94
  import stackpanel_default from "./stackpanel.js";
95
+ import stat_default from "./stat.js";
91
96
  import stepper_default from "./stepper.js";
92
97
  import tabs_default from "./tabs.js";
93
98
  import tag_default from "./tag.js";
@@ -102,6 +107,7 @@ import togglebutton_default from "./togglebutton.js";
102
107
  import toggleswitch_default from "./toggleswitch.js";
103
108
  import toolbar_default from "./toolbar.js";
104
109
  import tooltip_default from "./tooltip.js";
110
+ import tour_default from "./tour.js";
105
111
  import tree_default from "./tree.js";
106
112
  import treeselect_default from "./treeselect.js";
107
113
  import treetable_default from "./treetable.js";
@@ -132,12 +138,14 @@ var components = {
132
138
  confirmdialog: confirmdialog_default,
133
139
  confirmpopup: confirmpopup_default,
134
140
  contextmenu: contextmenu_default,
141
+ copybutton: copybutton_default,
135
142
  cropper: cropper_default,
136
143
  datagrid: datagrid_default,
137
144
  datatable: datatable_default,
138
145
  dataview: dataview_default,
139
146
  datepicker: datepicker_default,
140
147
  daterange: daterange_default,
148
+ descriptionlist: descriptionlist_default,
141
149
  dialog: dialog_default,
142
150
  divider: divider_default,
143
151
  dock: dock_default,
@@ -145,6 +153,7 @@ var components = {
145
153
  drawer: drawer_default,
146
154
  dynamicdialog: dynamicdialog_default,
147
155
  editor: editor_default,
156
+ emptystate: emptystate_default,
148
157
  fieldset: fieldset_default,
149
158
  fileupload: fileupload_default,
150
159
  floatlabel: floatlabel_default,
@@ -164,6 +173,7 @@ var components = {
164
173
  inputpassword: inputpassword_default,
165
174
  inputtag: inputtag_default,
166
175
  inputtext: inputtext_default,
176
+ kbd: kbd_default,
167
177
  knob: knob_default,
168
178
  label: label_default,
169
179
  listbox: listbox_default,
@@ -200,6 +210,7 @@ var components = {
200
210
  splitview: splitview_default,
201
211
  spreadsheet: spreadsheet_default,
202
212
  stackpanel: stackpanel_default,
213
+ stat: stat_default,
203
214
  stepper: stepper_default,
204
215
  tabs: tabs_default,
205
216
  tag: tag_default,
@@ -214,6 +225,7 @@ var components = {
214
225
  toggleswitch: toggleswitch_default,
215
226
  toolbar: toolbar_default,
216
227
  tooltip: tooltip_default,
228
+ tour: tour_default,
217
229
  tree: tree_default,
218
230
  treeselect: treeselect_default,
219
231
  treetable: treetable_default,