@vitral/themes 0.2.5 → 0.2.7

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 (36) hide show
  1. package/dist/css/avalonia.css +72 -5
  2. package/dist/css/ink.css +72 -5
  3. package/dist/css/prism.css +72 -5
  4. package/dist/css/simple.css +72 -5
  5. package/dist/presets/base/components/chart.js +2 -2
  6. package/dist/presets/base/components/chart.js.map +1 -1
  7. package/dist/presets/base/components/countdown.d.ts +24 -0
  8. package/dist/presets/base/components/countdown.js +24 -0
  9. package/dist/presets/base/components/countdown.js.map +1 -0
  10. package/dist/presets/base/components/editor.d.ts +20 -0
  11. package/dist/presets/base/components/editor.js +20 -0
  12. package/dist/presets/base/components/editor.js.map +1 -1
  13. package/dist/presets/base/components/index.d.ts +115 -0
  14. package/dist/presets/base/components/index.js +10 -0
  15. package/dist/presets/base/components/index.js.map +1 -1
  16. package/dist/presets/base/components/masonry.d.ts +8 -0
  17. package/dist/presets/base/components/masonry.js +10 -0
  18. package/dist/presets/base/components/masonry.js.map +1 -0
  19. package/dist/presets/base/components/qrcode.d.ts +13 -0
  20. package/dist/presets/base/components/qrcode.js +17 -0
  21. package/dist/presets/base/components/qrcode.js.map +1 -0
  22. package/dist/presets/base/components/signaturepad.d.ts +28 -0
  23. package/dist/presets/base/components/signaturepad.js +32 -0
  24. package/dist/presets/base/components/signaturepad.js.map +1 -0
  25. package/dist/presets/base/components/spreadsheet.d.ts +4 -0
  26. package/dist/presets/base/components/spreadsheet.js +4 -0
  27. package/dist/presets/base/components/spreadsheet.js.map +1 -1
  28. package/dist/presets/base/components/tableofcontents.d.ts +23 -0
  29. package/dist/presets/base/components/tableofcontents.js +27 -0
  30. package/dist/presets/base/components/tableofcontents.js.map +1 -0
  31. package/dist/presets/base/components/tabs.js +2 -2
  32. package/dist/presets/base/components/tabs.js.map +1 -1
  33. package/dist/presets/base/components/textarea.d.ts +1 -1
  34. package/dist/presets/base/components/textarea.js +2 -2
  35. package/dist/presets/base/components/textarea.js.map +1 -1
  36. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"spreadsheet.js","names":[],"sources":["../../../../src/presets/base/components/spreadsheet.ts"],"sourcesContent":["// A spreadsheet: a grid of cells on the content surface, with the headers on a\n// tinted track. The selection is the accent — a ring around the active cell, a\n// wash over the rectangle it has been dragged over, and the headers it covers\n// lit up so a person can see where they are without counting.\nexport default {\n root: {\n borderRadius: '{borderRadius.md}',\n borderWidth: '1px',\n fontSize: '0.8125rem',\n transitionDuration: '{transitionDuration}'\n },\n header: {\n columnHeight: '1.75rem',\n rowWidth: '3rem',\n fontSize: '0.75rem',\n fontWeight: '500',\n color: '{text.mutedColor}',\n activeFontWeight: '600',\n activeColor: '{primary.color}'\n },\n cell: {\n width: '6.5rem',\n height: '1.75rem',\n padding: '0 0.375rem',\n color: '{text.color}',\n errorColor: '{danger.color}'\n },\n selection: {\n borderWidth: '2px',\n borderColor: '{primary.color}',\n rangeOpacity: '0.12'\n },\n // The outlines over what a formula being typed is reading. They are the\n // chart palette, picked apart for contrast rather than for a series: no two\n // next to each other read as the same colour at two pixels wide.\n // The box a formula is typed into, shared by the coloured copy behind it.\n formula: {\n padding: '0.125rem 0.375rem',\n borderColor: '{content.borderColor}',\n borderRadius: '{borderRadius.sm}',\n lineHeight: '1.5'\n },\n reference: {\n borderWidth: '2px',\n fillOpacity: '0.1',\n 1: '{chart.1}',\n 2: '{chart.6}',\n 3: '{chart.3}',\n 4: '{chart.7}',\n 5: '{chart.5}'\n },\n handle: {\n size: '0.5rem',\n background: '{primary.color}',\n borderWidth: '1px'\n },\n editor: {\n padding: '0 0.3125rem',\n borderWidth: '2px',\n borderColor: '{primary.color}',\n shadow: '{overlay.popover.shadow}'\n },\n toolbar: {\n padding: '0.25rem 0.375rem',\n gap: '0.125rem',\n groupGap: '0.375rem'\n },\n button: {\n size: '1.75rem',\n iconSize: '1rem',\n borderRadius: '{borderRadius.sm}',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{primary.color}'\n },\n bar: {\n gap: '0.5rem',\n padding: '0.25rem 0.375rem',\n addressWidth: '6rem'\n },\n resizer: {\n size: '5px',\n color: '{primary.color}'\n },\n colorScheme: {\n light: {\n root: { background: '{content.background}', borderColor: '{content.borderColor}' },\n header: { background: '{surface.100}', borderColor: '{surface.300}', activeBackground: '{surface.200}' },\n toolbar: { background: '{surface.50}', separatorColor: '{surface.300}' },\n button: { hoverBackground: '{surface.200}', activeBackground: '{primary.50}' },\n cell: { borderColor: '{surface.200}', background: '{surface.0}' },\n bar: { background: '{surface.50}', borderColor: '{content.borderColor}' }\n },\n dark: {\n root: { background: '{content.background}', borderColor: '{content.borderColor}' },\n header: { background: '{surface.900}', borderColor: '{surface.700}', activeBackground: '{surface.800}' },\n toolbar: { background: '{surface.900}', separatorColor: '{surface.700}' },\n button: { hoverBackground: '{surface.800}', activeBackground: 'color-mix(in srgb, {primary.400} 18%, {surface.900})' },\n cell: { borderColor: '{surface.800}', background: '{surface.950}' },\n bar: { background: '{surface.900}', borderColor: '{content.borderColor}' }\n }\n }\n};\n"],"mappings":";AAIA,IAAA,sBAAe;CACX,MAAM;EACF,cAAc;EACd,aAAa;EACb,UAAU;EACV,oBAAoB;CACxB;CACA,QAAQ;EACJ,cAAc;EACd,UAAU;EACV,UAAU;EACV,YAAY;EACZ,OAAO;EACP,kBAAkB;EAClB,aAAa;CACjB;CACA,MAAM;EACF,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,YAAY;CAChB;CACA,WAAW;EACP,aAAa;EACb,aAAa;EACb,cAAc;CAClB;CAKA,SAAS;EACL,SAAS;EACT,aAAa;EACb,cAAc;EACd,YAAY;CAChB;CACA,WAAW;EACP,aAAa;EACb,aAAa;EACb,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;CACP;CACA,QAAQ;EACJ,MAAM;EACN,YAAY;EACZ,aAAa;CACjB;CACA,QAAQ;EACJ,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ;CACZ;CACA,SAAS;EACL,SAAS;EACT,KAAK;EACL,UAAU;CACd;CACA,QAAQ;EACJ,MAAM;EACN,UAAU;EACV,cAAc;EACd,OAAO;EACP,YAAY;EACZ,aAAa;CACjB;CACA,KAAK;EACD,KAAK;EACL,SAAS;EACT,cAAc;CAClB;CACA,SAAS;EACL,MAAM;EACN,OAAO;CACX;CACA,aAAa;EACT,OAAO;GACH,MAAM;IAAE,YAAY;IAAwB,aAAa;GAAwB;GACjF,QAAQ;IAAE,YAAY;IAAiB,aAAa;IAAiB,kBAAkB;GAAgB;GACvG,SAAS;IAAE,YAAY;IAAgB,gBAAgB;GAAgB;GACvE,QAAQ;IAAE,iBAAiB;IAAiB,kBAAkB;GAAe;GAC7E,MAAM;IAAE,aAAa;IAAiB,YAAY;GAAc;GAChE,KAAK;IAAE,YAAY;IAAgB,aAAa;GAAwB;EAC5E;EACA,MAAM;GACF,MAAM;IAAE,YAAY;IAAwB,aAAa;GAAwB;GACjF,QAAQ;IAAE,YAAY;IAAiB,aAAa;IAAiB,kBAAkB;GAAgB;GACvG,SAAS;IAAE,YAAY;IAAiB,gBAAgB;GAAgB;GACxE,QAAQ;IAAE,iBAAiB;IAAiB,kBAAkB;GAAuD;GACrH,MAAM;IAAE,aAAa;IAAiB,YAAY;GAAgB;GAClE,KAAK;IAAE,YAAY;IAAiB,aAAa;GAAwB;EAC7E;CACJ;AACJ"}
1
+ {"version":3,"file":"spreadsheet.js","names":[],"sources":["../../../../src/presets/base/components/spreadsheet.ts"],"sourcesContent":["// A spreadsheet: a grid of cells on the content surface, with the headers on a\n// tinted track. The selection is the accent — a ring around the active cell, a\n// wash over the rectangle it has been dragged over, and the headers it covers\n// lit up so a person can see where they are without counting.\nexport default {\n root: {\n borderRadius: '{borderRadius.md}',\n borderWidth: '1px',\n fontSize: '0.8125rem',\n transitionDuration: '{transitionDuration}'\n },\n header: {\n columnHeight: '1.75rem',\n rowWidth: '3rem',\n fontSize: '0.75rem',\n fontWeight: '500',\n color: '{text.mutedColor}',\n activeFontWeight: '600',\n activeColor: '{primary.color}'\n },\n cell: {\n width: '6.5rem',\n height: '1.75rem',\n padding: '0 0.375rem',\n color: '{text.color}',\n errorColor: '{danger.color}'\n },\n // A data bar is the accent, faint enough to read the number over.\n dataBar: {\n color: '{primary.color}',\n opacity: '0.3'\n },\n selection: {\n borderWidth: '2px',\n borderColor: '{primary.color}',\n rangeOpacity: '0.12'\n },\n // The outlines over what a formula being typed is reading. They are the\n // chart palette, picked apart for contrast rather than for a series: no two\n // next to each other read as the same colour at two pixels wide.\n // The box a formula is typed into, shared by the coloured copy behind it.\n formula: {\n padding: '0.125rem 0.375rem',\n borderColor: '{content.borderColor}',\n borderRadius: '{borderRadius.sm}',\n lineHeight: '1.5'\n },\n reference: {\n borderWidth: '2px',\n fillOpacity: '0.1',\n 1: '{chart.1}',\n 2: '{chart.6}',\n 3: '{chart.3}',\n 4: '{chart.7}',\n 5: '{chart.5}'\n },\n handle: {\n size: '0.5rem',\n background: '{primary.color}',\n borderWidth: '1px'\n },\n editor: {\n padding: '0 0.3125rem',\n borderWidth: '2px',\n borderColor: '{primary.color}',\n shadow: '{overlay.popover.shadow}'\n },\n toolbar: {\n padding: '0.25rem 0.375rem',\n gap: '0.125rem',\n groupGap: '0.375rem'\n },\n button: {\n size: '1.75rem',\n iconSize: '1rem',\n borderRadius: '{borderRadius.sm}',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{primary.color}'\n },\n bar: {\n gap: '0.5rem',\n padding: '0.25rem 0.375rem',\n addressWidth: '6rem'\n },\n resizer: {\n size: '5px',\n color: '{primary.color}'\n },\n colorScheme: {\n light: {\n root: { background: '{content.background}', borderColor: '{content.borderColor}' },\n header: { background: '{surface.100}', borderColor: '{surface.300}', activeBackground: '{surface.200}' },\n toolbar: { background: '{surface.50}', separatorColor: '{surface.300}' },\n button: { hoverBackground: '{surface.200}', activeBackground: '{primary.50}' },\n cell: { borderColor: '{surface.200}', background: '{surface.0}' },\n bar: { background: '{surface.50}', borderColor: '{content.borderColor}' }\n },\n dark: {\n root: { background: '{content.background}', borderColor: '{content.borderColor}' },\n header: { background: '{surface.900}', borderColor: '{surface.700}', activeBackground: '{surface.800}' },\n toolbar: { background: '{surface.900}', separatorColor: '{surface.700}' },\n button: { hoverBackground: '{surface.800}', activeBackground: 'color-mix(in srgb, {primary.400} 18%, {surface.900})' },\n cell: { borderColor: '{surface.800}', background: '{surface.950}' },\n bar: { background: '{surface.900}', borderColor: '{content.borderColor}' }\n }\n }\n};\n"],"mappings":";AAIA,IAAA,sBAAe;CACX,MAAM;EACF,cAAc;EACd,aAAa;EACb,UAAU;EACV,oBAAoB;CACxB;CACA,QAAQ;EACJ,cAAc;EACd,UAAU;EACV,UAAU;EACV,YAAY;EACZ,OAAO;EACP,kBAAkB;EAClB,aAAa;CACjB;CACA,MAAM;EACF,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,YAAY;CAChB;CAEA,SAAS;EACL,OAAO;EACP,SAAS;CACb;CACA,WAAW;EACP,aAAa;EACb,aAAa;EACb,cAAc;CAClB;CAKA,SAAS;EACL,SAAS;EACT,aAAa;EACb,cAAc;EACd,YAAY;CAChB;CACA,WAAW;EACP,aAAa;EACb,aAAa;EACb,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;CACP;CACA,QAAQ;EACJ,MAAM;EACN,YAAY;EACZ,aAAa;CACjB;CACA,QAAQ;EACJ,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ;CACZ;CACA,SAAS;EACL,SAAS;EACT,KAAK;EACL,UAAU;CACd;CACA,QAAQ;EACJ,MAAM;EACN,UAAU;EACV,cAAc;EACd,OAAO;EACP,YAAY;EACZ,aAAa;CACjB;CACA,KAAK;EACD,KAAK;EACL,SAAS;EACT,cAAc;CAClB;CACA,SAAS;EACL,MAAM;EACN,OAAO;CACX;CACA,aAAa;EACT,OAAO;GACH,MAAM;IAAE,YAAY;IAAwB,aAAa;GAAwB;GACjF,QAAQ;IAAE,YAAY;IAAiB,aAAa;IAAiB,kBAAkB;GAAgB;GACvG,SAAS;IAAE,YAAY;IAAgB,gBAAgB;GAAgB;GACvE,QAAQ;IAAE,iBAAiB;IAAiB,kBAAkB;GAAe;GAC7E,MAAM;IAAE,aAAa;IAAiB,YAAY;GAAc;GAChE,KAAK;IAAE,YAAY;IAAgB,aAAa;GAAwB;EAC5E;EACA,MAAM;GACF,MAAM;IAAE,YAAY;IAAwB,aAAa;GAAwB;GACjF,QAAQ;IAAE,YAAY;IAAiB,aAAa;IAAiB,kBAAkB;GAAgB;GACvG,SAAS;IAAE,YAAY;IAAiB,gBAAgB;GAAgB;GACxE,QAAQ;IAAE,iBAAiB;IAAiB,kBAAkB;GAAuD;GACrH,MAAM;IAAE,aAAa;IAAiB,YAAY;GAAgB;GAClE,KAAK;IAAE,YAAY;IAAiB,aAAa;GAAwB;EAC7E;CACJ;AACJ"}
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ root: {
3
+ gap: string;
4
+ fontSize: string;
5
+ borderColor: string;
6
+ };
7
+ title: {
8
+ fontSize: string;
9
+ fontWeight: string;
10
+ color: string;
11
+ marginBottom: string;
12
+ };
13
+ link: {
14
+ padding: string;
15
+ indent: string;
16
+ color: string;
17
+ hoverColor: string;
18
+ activeColor: string;
19
+ activeBorderColor: string;
20
+ borderRadius: string;
21
+ };
22
+ };
23
+ export default _default;
@@ -0,0 +1,27 @@
1
+ //#region src/presets/base/components/tableofcontents.ts
2
+ var tableofcontents_default = {
3
+ root: {
4
+ gap: "0.125rem",
5
+ fontSize: "0.8125rem",
6
+ borderColor: "{content.borderColor}"
7
+ },
8
+ title: {
9
+ fontSize: "0.75rem",
10
+ fontWeight: "600",
11
+ color: "{text.hoverColor}",
12
+ marginBottom: "0.5rem"
13
+ },
14
+ link: {
15
+ padding: "0.25rem 0.75rem",
16
+ indent: "0.75rem",
17
+ color: "{text.mutedColor}",
18
+ hoverColor: "{text.color}",
19
+ activeColor: "{primary.color}",
20
+ activeBorderColor: "{primary.color}",
21
+ borderRadius: "{borderRadius.sm}"
22
+ }
23
+ };
24
+ //#endregion
25
+ export { tableofcontents_default as default };
26
+
27
+ //# sourceMappingURL=tableofcontents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableofcontents.js","names":[],"sources":["../../../../src/presets/base/components/tableofcontents.ts"],"sourcesContent":["// A page's outline down the side: quiet links, the one being read in the\n// accent, with a bar along the rule beside it.\nexport default {\n root: {\n gap: '0.125rem',\n fontSize: '0.8125rem',\n borderColor: '{content.borderColor}'\n },\n title: {\n fontSize: '0.75rem',\n fontWeight: '600',\n color: '{text.hoverColor}',\n marginBottom: '0.5rem'\n },\n link: {\n padding: '0.25rem 0.75rem',\n indent: '0.75rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{primary.color}',\n activeBorderColor: '{primary.color}',\n borderRadius: '{borderRadius.sm}'\n }\n};\n"],"mappings":";AAEA,IAAA,0BAAe;CACX,MAAM;EACF,KAAK;EACL,UAAU;EACV,aAAa;CACjB;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;EACP,cAAc;CAClB;CACA,MAAM;EACF,SAAS;EACT,QAAQ;EACR,OAAO;EACP,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,cAAc;CAClB;AACJ"}
@@ -11,10 +11,10 @@ var tabs_default = {
11
11
  fontWeight: "400",
12
12
  color: "{text.mutedColor}",
13
13
  hoverColor: "{text.color}",
14
- activeColor: "{text.hoverColor}",
14
+ activeColor: "{primary.color}",
15
15
  background: "transparent",
16
16
  hoverBackground: "{content.hoverBackground}",
17
- activeBackground: "transparent",
17
+ activeBackground: "color-mix(in srgb, {primary.color} 10%, transparent)",
18
18
  borderRadius: "{borderRadius.sm}"
19
19
  },
20
20
  navButton: {
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","names":[],"sources":["../../../../src/presets/base/components/tabs.ts"],"sourcesContent":["// The tab strip: quiet text items, a hover fill, and the selected one\n// marked by a short accent pill that slides to it. A preset that wants a\n// full-width underline sets `indicator.width` to `100%`.\nexport default {\n tablist: {\n gap: '0.25rem',\n padding: '0',\n borderWidth: '0',\n borderColor: '{content.borderColor}'\n },\n tab: {\n padding: '0.4375rem 0.75rem',\n fontWeight: '400',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{text.hoverColor}',\n background: 'transparent',\n hoverBackground: '{content.hoverBackground}',\n activeBackground: 'transparent',\n borderRadius: '{borderRadius.sm}'\n },\n // The buttons at the ends of a scrollable strip.\n navButton: {\n size: '2rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}',\n borderRadius: '{borderRadius.sm}'\n },\n navGroup: {\n gap: '0.125rem'\n },\n indicator: {\n color: '{primary.color}',\n width: '1rem',\n thickness: '3px',\n borderRadius: '{borderRadius.pill}',\n duration: '0.25s'\n },\n tabpanel: {\n padding: '1rem 0',\n verticalPadding: '0 1rem',\n color: '{content.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,eAAe;CACX,SAAS;EACL,KAAK;EACL,SAAS;EACT,aAAa;EACb,aAAa;CACjB;CACA,KAAK;EACD,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;CAClB;CAEA,WAAW;EACP,MAAM;EACN,OAAO;EACP,YAAY;EACZ,iBAAiB;EACjB,cAAc;CAClB;CACA,UAAU,EACN,KAAK,WACT;CACA,WAAW;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,UAAU;CACd;CACA,UAAU;EACN,SAAS;EACT,iBAAiB;EACjB,OAAO;CACX;AACJ"}
1
+ {"version":3,"file":"tabs.js","names":[],"sources":["../../../../src/presets/base/components/tabs.ts"],"sourcesContent":["// The tab strip: quiet text items, a hover fill, and the selected one on a\n// tint of the accent, with a short accent pill that slides to it. A preset\n// that wants the selection quieter sets `tab.activeBackground` to\n// `transparent`; one that wants a full-width underline sets `indicator.width`\n// to `100%`.\nexport default {\n tablist: {\n gap: '0.25rem',\n padding: '0',\n borderWidth: '0',\n borderColor: '{content.borderColor}'\n },\n tab: {\n padding: '0.4375rem 0.75rem',\n fontWeight: '400',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{primary.color}',\n background: 'transparent',\n hoverBackground: '{content.hoverBackground}',\n activeBackground: 'color-mix(in srgb, {primary.color} 10%, transparent)',\n borderRadius: '{borderRadius.sm}'\n },\n // The buttons at the ends of a scrollable strip.\n navButton: {\n size: '2rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}',\n borderRadius: '{borderRadius.sm}'\n },\n navGroup: {\n gap: '0.125rem'\n },\n indicator: {\n color: '{primary.color}',\n width: '1rem',\n thickness: '3px',\n borderRadius: '{borderRadius.pill}',\n duration: '0.25s'\n },\n tabpanel: {\n padding: '1rem 0',\n verticalPadding: '0 1rem',\n color: '{content.color}'\n }\n};\n"],"mappings":";AAKA,IAAA,eAAe;CACX,SAAS;EACL,KAAK;EACL,SAAS;EACT,aAAa;EACb,aAAa;CACjB;CACA,KAAK;EACD,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;CAClB;CAEA,WAAW;EACP,MAAM;EACN,OAAO;EACP,YAAY;EACZ,iBAAiB;EACjB,cAAc;CAClB;CACA,UAAU,EACN,KAAK,WACT;CACA,WAAW;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,UAAU;CACd;CACA,UAAU;EACN,SAAS;EACT,iBAAiB;EACjB,OAAO;CACX;AACJ"}
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  root: {
3
- /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */
3
+ /** Which way the grip resizes the box: `both` (diagonally), `vertical`, `horizontal` or `none`. A fluid box keeps to `vertical`; an auto-resizing one shows no grip. */
4
4
  resize: string;
5
5
  };
6
6
  resizer: {
@@ -1,8 +1,8 @@
1
1
  //#region src/presets/base/components/textarea.ts
2
2
  var textarea_default = {
3
3
  root: {
4
- /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */
5
- resize: "vertical" },
4
+ /** Which way the grip resizes the box: `both` (diagonally), `vertical`, `horizontal` or `none`. A fluid box keeps to `vertical`; an auto-resizing one shows no grip. */
5
+ resize: "both" },
6
6
  resizer: {
7
7
  size: "0.75rem",
8
8
  inset: "0.1875rem",
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","names":[],"sources":["../../../../src/presets/base/components/textarea.ts"],"sourcesContent":["// The field chrome (border, background, focus) comes from the semantic\n// `formField` tokens, as every text-like control's does; these are only what\n// is particular to a multi-line box.\nexport default {\n root: {\n /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */\n resize: 'vertical'\n },\n // The grip is the library's own, drawn in the corner, rather than the one\n // each browser draws its own way.\n resizer: {\n size: '0.75rem',\n inset: '0.1875rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,mBAAe;CACX,MAAM;;AAEF,QAAQ,WACZ;CAGA,SAAS;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,YAAY;CAChB;AACJ"}
1
+ {"version":3,"file":"textarea.js","names":[],"sources":["../../../../src/presets/base/components/textarea.ts"],"sourcesContent":["// The field chrome (border, background, focus) comes from the semantic\n// `formField` tokens, as every text-like control's does; these are only what\n// is particular to a multi-line box.\nexport default {\n root: {\n /** Which way the grip resizes the box: `both` (diagonally), `vertical`, `horizontal` or `none`. A fluid box keeps to `vertical`; an auto-resizing one shows no grip. */\n resize: 'both'\n },\n // The grip is the library's own, drawn in the corner, rather than the one\n // each browser draws its own way.\n resizer: {\n size: '0.75rem',\n inset: '0.1875rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,mBAAe;CACX,MAAM;;AAEF,QAAQ,OACZ;CAGA,SAAS;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,YAAY;CAChB;AACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitral/themes",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Design-token engine and presets (Prism, Ink, Avalonia, Simple) for Vitral.",
5
5
  "keywords": [
6
6
  "vitral",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@vitral/core": "0.2.5"
43
+ "@vitral/core": "0.2.7"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "vite build && tsc -p tsconfig.build.json && node ../../scripts/build-theme-css.mjs"