@vitral/themes 0.1.0 → 0.2.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/README.md +9 -2
- package/dist/css/avalonia.css +285 -39
- package/dist/css/ink.css +285 -39
- package/dist/css/prism.css +285 -39
- package/dist/css/simple.css +285 -39
- package/dist/engine/compile.d.ts +4 -0
- package/dist/engine/compile.js +29 -3
- package/dist/engine/compile.js.map +1 -1
- package/dist/engine/manager.d.ts +9 -1
- package/dist/engine/manager.js +12 -3
- package/dist/engine/manager.js.map +1 -1
- package/dist/engine/scheme.d.ts +6 -0
- package/dist/engine/scheme.js +13 -1
- package/dist/engine/scheme.js.map +1 -1
- package/dist/engine/types.d.ts +21 -0
- package/dist/engine/types.js +2 -1
- package/dist/engine/types.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/presets/astra.js +13 -1
- package/dist/presets/astra.js.map +1 -1
- package/dist/presets/avalonia.js +20 -0
- package/dist/presets/avalonia.js.map +1 -1
- package/dist/presets/base/components/chart.d.ts +24 -0
- package/dist/presets/base/components/chart.js +20 -2
- package/dist/presets/base/components/chart.js.map +1 -1
- package/dist/presets/base/components/chat.d.ts +82 -0
- package/dist/presets/base/components/chat.js +68 -0
- package/dist/presets/base/components/chat.js.map +1 -0
- package/dist/presets/base/components/colorpicker.d.ts +3 -0
- package/dist/presets/base/components/colorpicker.js +1 -0
- package/dist/presets/base/components/colorpicker.js.map +1 -1
- package/dist/presets/base/components/cropper.d.ts +20 -0
- package/dist/presets/base/components/cropper.js +22 -0
- package/dist/presets/base/components/cropper.js.map +1 -0
- package/dist/presets/base/components/datagrid.d.ts +121 -0
- package/dist/presets/base/components/datagrid.js +111 -0
- package/dist/presets/base/components/datagrid.js.map +1 -0
- package/dist/presets/base/components/datatable.d.ts +3 -46
- package/dist/presets/base/components/datatable.js +5 -38
- package/dist/presets/base/components/datatable.js.map +1 -1
- package/dist/presets/base/components/daterange.d.ts +41 -0
- package/dist/presets/base/components/daterange.js +37 -0
- package/dist/presets/base/components/daterange.js.map +1 -0
- package/dist/presets/base/components/editor.d.ts +5 -0
- package/dist/presets/base/components/editor.js +5 -0
- package/dist/presets/base/components/editor.js.map +1 -1
- package/dist/presets/base/components/floatlabel.d.ts +3 -0
- package/dist/presets/base/components/floatlabel.js +4 -1
- package/dist/presets/base/components/floatlabel.js.map +1 -1
- package/dist/presets/base/components/index.d.ts +444 -24
- package/dist/presets/base/components/index.js +16 -2
- package/dist/presets/base/components/index.js.map +1 -1
- package/dist/presets/base/components/{password.js → inputpassword.js} +4 -4
- package/dist/presets/base/components/inputpassword.js.map +1 -0
- package/dist/presets/base/components/inputtag.d.ts +28 -0
- package/dist/presets/base/components/inputtag.js +28 -0
- package/dist/presets/base/components/inputtag.js.map +1 -0
- package/dist/presets/base/components/spreadsheet.d.ts +134 -0
- package/dist/presets/base/components/spreadsheet.js +138 -0
- package/dist/presets/base/components/spreadsheet.js.map +1 -0
- package/dist/presets/base/components/timepicker.d.ts +9 -0
- package/dist/presets/base/components/timepicker.js +9 -0
- package/dist/presets/base/components/timepicker.js.map +1 -0
- package/dist/presets/base/components/treetable.js.map +1 -1
- package/dist/presets/base/index.js +3 -1
- package/dist/presets/base/index.js.map +1 -1
- package/dist/presets/base/semantic.js +1 -0
- package/dist/presets/base/semantic.js.map +1 -1
- package/dist/presets/base/strong-borders.d.ts +18 -0
- package/dist/presets/base/strong-borders.js +44 -0
- package/dist/presets/base/strong-borders.js.map +1 -0
- package/dist/presets/ink.js +13 -0
- package/dist/presets/ink.js.map +1 -1
- package/dist/presets/simple.js +12 -0
- package/dist/presets/simple.js.map +1 -1
- package/package.json +2 -2
- package/dist/presets/base/components/password.js.map +0 -1
- /package/dist/presets/base/components/{password.d.ts → inputpassword.d.ts} +0 -0
|
@@ -41,6 +41,11 @@ var editor_default = {
|
|
|
41
41
|
activeBackground: "{highlight.background}",
|
|
42
42
|
disabledOpacity: "{disabledOpacity}"
|
|
43
43
|
},
|
|
44
|
+
blockHandle: {
|
|
45
|
+
size: "1.5rem",
|
|
46
|
+
inset: "0.25rem",
|
|
47
|
+
gutter: "2rem"
|
|
48
|
+
},
|
|
44
49
|
content: {
|
|
45
50
|
minHeight: "9rem",
|
|
46
51
|
maxHeight: "32rem",
|
|
@@ -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 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;CAAC;CAAO;CAAU;CAAU;CAAS;CAAQ;CAAQ;CAAU;AAAM;AAElF,IAAA,iBAAe;CACX,MAAM,EACF,oBAAoB,iCACxB;CACA,SAAS;EACL,SAAS;EACT,KAAK;EACL,UAAU;EACV,aAAa;EACb,gBAAgB;EAChB,aAAa;GACT,OAAO,EAAE,YAAY,eAAe;GACpC,MAAM,EAAE,YAAY,gBAAgB;EACxC;CACJ;CACA,QAAQ;EACJ,MAAM;EACN,SAAS;EACT,cAAc;EACd,OAAO;EACP,YAAY;EACZ,iBAAiB;EACjB,aAAa;EACb,kBAAkB;EAClB,iBAAiB;CACrB;CACA,SAAS;EACL,WAAW;EACX,WAAW;EACX,SAAS;EACT,YAAY;EACZ,UAAU;EACV,kBAAkB;EAClB,iBAAiB;CACrB;CACA,SAAS;EACL,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,WAAW;CACf;CACA,MAAM;EACF,OAAO;EACP,YAAY;CAChB;CACA,MAAM;EACF,QAAQ;EACR,SAAS;EACT,eAAe;CACnB;CACA,YAAY;EACR,aAAa;EACb,aAAa;EACb,OAAO;EACP,SAAS;CACb;CACA,MAAM;EACF,YAAY;EACZ,UAAU;EACV,SAAS;EACT,cAAc;EACd,aAAa;GACT,OAAO;IAAE,YAAY;IAAiB,OAAO;GAAa;GAC1D,MAAM;IAAE,YAAY;IAAiB,OAAO;GAAa;EAC7D;CACJ;CACA,WAAW;EACP,SAAS;EACT,cAAc;EACd,aAAa;GACT,OAAO;IAAE,YAAY;IAAiB,OAAO;IAAgB,YAAY;GAAgB;GACzF,MAAM;IAAE,YAAY;IAAiB,OAAO;IAAiB,YAAY;GAAgB;EAC7F;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"}
|
|
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;AAC9H,IAAM,OAAO;CAAC;CAAO;CAAU;CAAU;CAAS;CAAQ;CAAQ;CAAU;AAAM;AAElF,IAAA,iBAAe;CACX,MAAM,EACF,oBAAoB,iCACxB;CACA,SAAS;EACL,SAAS;EACT,KAAK;EACL,UAAU;EACV,aAAa;EACb,gBAAgB;EAChB,aAAa;GACT,OAAO,EAAE,YAAY,eAAe;GACpC,MAAM,EAAE,YAAY,gBAAgB;EACxC;CACJ;CACA,QAAQ;EACJ,MAAM;EACN,SAAS;EACT,cAAc;EACd,OAAO;EACP,YAAY;EACZ,iBAAiB;EACjB,aAAa;EACb,kBAAkB;EAClB,iBAAiB;CACrB;CAGA,aAAa;EACT,MAAM;EACN,OAAO;EACP,QAAQ;CACZ;CACA,SAAS;EACL,WAAW;EACX,WAAW;EACX,SAAS;EACT,YAAY;EACZ,UAAU;EACV,kBAAkB;EAClB,iBAAiB;CACrB;CACA,SAAS;EACL,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,WAAW;CACf;CACA,MAAM;EACF,OAAO;EACP,YAAY;CAChB;CACA,MAAM;EACF,QAAQ;EACR,SAAS;EACT,eAAe;CACnB;CACA,YAAY;EACR,aAAa;EACb,aAAa;EACb,OAAO;EACP,SAAS;CACb;CACA,MAAM;EACF,YAAY;EACZ,UAAU;EACV,SAAS;EACT,cAAc;EACd,aAAa;GACT,OAAO;IAAE,YAAY;IAAiB,OAAO;GAAa;GAC1D,MAAM;IAAE,YAAY;IAAiB,OAAO;GAAa;EAC7D;CACJ;CACA,WAAW;EACP,SAAS;EACT,cAAc;EACd,aAAa;GACT,OAAO;IAAE,YAAY;IAAiB,OAAO;IAAgB,YAAY;GAAgB;GACzF,MAAM;IAAE,YAAY;IAAiB,OAAO;IAAiB,YAAY;GAAgB;EAC7F;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"}
|
|
@@ -6,7 +6,10 @@ var floatlabel_default = { root: {
|
|
|
6
6
|
activeFontSize: "0.75rem",
|
|
7
7
|
transitionDuration: "{transitionDuration}",
|
|
8
8
|
positionX: "{formField.paddingX}",
|
|
9
|
-
activeBackground: "{formField.background}"
|
|
9
|
+
activeBackground: "{formField.background}",
|
|
10
|
+
inTop: "0.5rem",
|
|
11
|
+
inPaddingTop: "1.25rem",
|
|
12
|
+
inPaddingBottom: "0.375rem"
|
|
10
13
|
} };
|
|
11
14
|
//#endregion
|
|
12
15
|
export { floatlabel_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floatlabel.js","names":[],"sources":["../../../../src/presets/base/components/floatlabel.ts"],"sourcesContent":["// A label that starts inside the field and lifts out of it once the field has a\n// value or the focus. `in` keeps it inside, `on` parks it on the border.\nexport default {\n root: {\n color: '{formField.placeholderColor}',\n focusColor: '{primary.color}',\n invalidColor: '{formField.invalidPlaceholderColor}',\n activeFontSize: '0.75rem',\n transitionDuration: '{transitionDuration}',\n positionX: '{formField.paddingX}',\n activeBackground: '{formField.background}'\n }\n};\n"],"mappings":";AAEA,IAAA,qBAAe,EACX,MAAM;CACF,OAAO;CACP,YAAY;CACZ,cAAc;CACd,gBAAgB;CAChB,oBAAoB;CACpB,WAAW;CACX,kBAAkB;
|
|
1
|
+
{"version":3,"file":"floatlabel.js","names":[],"sources":["../../../../src/presets/base/components/floatlabel.ts"],"sourcesContent":["// A label that starts inside the field and lifts out of it once the field has a\n// value or the focus. `in` keeps it inside, `on` parks it on the border.\nexport default {\n root: {\n color: '{formField.placeholderColor}',\n focusColor: '{primary.color}',\n invalidColor: '{formField.invalidPlaceholderColor}',\n activeFontSize: '0.75rem',\n transitionDuration: '{transitionDuration}',\n positionX: '{formField.paddingX}',\n activeBackground: '{formField.background}',\n // The `in` variant keeps the lifted label inside the field, so the\n // field has to make room for it above what is typed.\n inTop: '0.5rem',\n inPaddingTop: '1.25rem',\n inPaddingBottom: '0.375rem'\n }\n};\n"],"mappings":";AAEA,IAAA,qBAAe,EACX,MAAM;CACF,OAAO;CACP,YAAY;CACZ,cAAc;CACd,gBAAgB;CAChB,oBAAoB;CACpB,WAAW;CACX,kBAAkB;CAGlB,OAAO;CACP,cAAc;CACd,iBAAiB;AACrB,EACJ"}
|
|
@@ -245,6 +245,7 @@ export declare const components: {
|
|
|
245
245
|
background: string;
|
|
246
246
|
transitionDuration: string;
|
|
247
247
|
animationDuration: string;
|
|
248
|
+
animationEasing: string;
|
|
248
249
|
};
|
|
249
250
|
title: {
|
|
250
251
|
fontSize: string;
|
|
@@ -269,6 +270,15 @@ export declare const components: {
|
|
|
269
270
|
lineColor: string;
|
|
270
271
|
lineWidth: string;
|
|
271
272
|
};
|
|
273
|
+
radial: {
|
|
274
|
+
trackColor: string;
|
|
275
|
+
};
|
|
276
|
+
band: {
|
|
277
|
+
color: string;
|
|
278
|
+
};
|
|
279
|
+
target: {
|
|
280
|
+
color: string;
|
|
281
|
+
};
|
|
272
282
|
crosshair: {
|
|
273
283
|
color: string;
|
|
274
284
|
width: string;
|
|
@@ -314,8 +324,22 @@ export declare const components: {
|
|
|
314
324
|
swatchRadius: string;
|
|
315
325
|
valueFontWeight: string;
|
|
316
326
|
offset: string;
|
|
327
|
+
row: {
|
|
328
|
+
radius: string;
|
|
329
|
+
mutedOpacity: string;
|
|
330
|
+
activeBackground: string;
|
|
331
|
+
activeInset: string;
|
|
332
|
+
};
|
|
317
333
|
};
|
|
318
334
|
legend: {
|
|
335
|
+
value: {
|
|
336
|
+
gap: string;
|
|
337
|
+
padding: string;
|
|
338
|
+
radius: string;
|
|
339
|
+
background: string;
|
|
340
|
+
color: string;
|
|
341
|
+
fontWeight: string;
|
|
342
|
+
};
|
|
319
343
|
gap: string;
|
|
320
344
|
fontSize: string;
|
|
321
345
|
color: string;
|
|
@@ -380,6 +404,87 @@ export declare const components: {
|
|
|
380
404
|
dimOpacity: string;
|
|
381
405
|
};
|
|
382
406
|
};
|
|
407
|
+
chat: {
|
|
408
|
+
root: {
|
|
409
|
+
background: string;
|
|
410
|
+
color: string;
|
|
411
|
+
borderColor: string;
|
|
412
|
+
borderRadius: string;
|
|
413
|
+
mutedColor: string;
|
|
414
|
+
hoverBackground: string;
|
|
415
|
+
metaFontSize: string;
|
|
416
|
+
codeFontFamily: string;
|
|
417
|
+
};
|
|
418
|
+
header: {
|
|
419
|
+
padding: string;
|
|
420
|
+
};
|
|
421
|
+
log: {
|
|
422
|
+
padding: string;
|
|
423
|
+
};
|
|
424
|
+
group: {
|
|
425
|
+
gap: string;
|
|
426
|
+
};
|
|
427
|
+
message: {
|
|
428
|
+
gap: string;
|
|
429
|
+
maxWidth: string;
|
|
430
|
+
};
|
|
431
|
+
bubble: {
|
|
432
|
+
padding: string;
|
|
433
|
+
radius: string;
|
|
434
|
+
};
|
|
435
|
+
own: {
|
|
436
|
+
background: string;
|
|
437
|
+
color: string;
|
|
438
|
+
};
|
|
439
|
+
other: {
|
|
440
|
+
background: string;
|
|
441
|
+
color: string;
|
|
442
|
+
};
|
|
443
|
+
error: {
|
|
444
|
+
background: string;
|
|
445
|
+
color: string;
|
|
446
|
+
};
|
|
447
|
+
avatar: {
|
|
448
|
+
size: string;
|
|
449
|
+
gap: string;
|
|
450
|
+
background: string;
|
|
451
|
+
color: string;
|
|
452
|
+
fontSize: string;
|
|
453
|
+
};
|
|
454
|
+
tool: {
|
|
455
|
+
background: string;
|
|
456
|
+
};
|
|
457
|
+
caption: {
|
|
458
|
+
authorColor: string;
|
|
459
|
+
};
|
|
460
|
+
composer: {
|
|
461
|
+
padding: string;
|
|
462
|
+
};
|
|
463
|
+
input: {
|
|
464
|
+
padding: string;
|
|
465
|
+
radius: string;
|
|
466
|
+
background: string;
|
|
467
|
+
borderColor: string;
|
|
468
|
+
};
|
|
469
|
+
action: {
|
|
470
|
+
size: string;
|
|
471
|
+
};
|
|
472
|
+
send: {
|
|
473
|
+
background: string;
|
|
474
|
+
color: string;
|
|
475
|
+
hoverBackground: string;
|
|
476
|
+
};
|
|
477
|
+
jump: {
|
|
478
|
+
offset: string;
|
|
479
|
+
};
|
|
480
|
+
launcher: {
|
|
481
|
+
size: string;
|
|
482
|
+
};
|
|
483
|
+
panel: {
|
|
484
|
+
width: string;
|
|
485
|
+
shadow: string;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
383
488
|
checkbox: {
|
|
384
489
|
root: {
|
|
385
490
|
size: string;
|
|
@@ -457,6 +562,9 @@ export declare const components: {
|
|
|
457
562
|
height: string;
|
|
458
563
|
borderRadius: string;
|
|
459
564
|
};
|
|
565
|
+
chequer: {
|
|
566
|
+
color: string;
|
|
567
|
+
};
|
|
460
568
|
handle: {
|
|
461
569
|
size: string;
|
|
462
570
|
borderColor: string;
|
|
@@ -568,7 +676,26 @@ export declare const components: {
|
|
|
568
676
|
margin: string;
|
|
569
677
|
};
|
|
570
678
|
};
|
|
571
|
-
|
|
679
|
+
cropper: {
|
|
680
|
+
root: {
|
|
681
|
+
gap: string;
|
|
682
|
+
borderRadius: string;
|
|
683
|
+
};
|
|
684
|
+
stage: {
|
|
685
|
+
background: string;
|
|
686
|
+
};
|
|
687
|
+
area: {
|
|
688
|
+
veil: string;
|
|
689
|
+
outlineColor: string;
|
|
690
|
+
gridColor: string;
|
|
691
|
+
};
|
|
692
|
+
handle: {
|
|
693
|
+
size: string;
|
|
694
|
+
background: string;
|
|
695
|
+
borderColor: string;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
datagrid: {
|
|
572
699
|
root: {
|
|
573
700
|
background: string;
|
|
574
701
|
color: string;
|
|
@@ -596,6 +723,34 @@ export declare const components: {
|
|
|
596
723
|
filterCell: {
|
|
597
724
|
padding: string;
|
|
598
725
|
};
|
|
726
|
+
resizer: {
|
|
727
|
+
width: string;
|
|
728
|
+
inset: string;
|
|
729
|
+
color: string;
|
|
730
|
+
};
|
|
731
|
+
pinned: {
|
|
732
|
+
shadowLeft: string;
|
|
733
|
+
shadowRight: string;
|
|
734
|
+
};
|
|
735
|
+
drop: {
|
|
736
|
+
width: string;
|
|
737
|
+
color: string;
|
|
738
|
+
};
|
|
739
|
+
chooserButton: {
|
|
740
|
+
padding: string;
|
|
741
|
+
fontSize: string;
|
|
742
|
+
};
|
|
743
|
+
group: {
|
|
744
|
+
background: string;
|
|
745
|
+
color: string;
|
|
746
|
+
iconColor: string;
|
|
747
|
+
padding: string;
|
|
748
|
+
fontWeight: string;
|
|
749
|
+
count: {
|
|
750
|
+
background: string;
|
|
751
|
+
color: string;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
599
754
|
row: {
|
|
600
755
|
background: string;
|
|
601
756
|
hoverBackground: string;
|
|
@@ -660,6 +815,55 @@ export declare const components: {
|
|
|
660
815
|
};
|
|
661
816
|
};
|
|
662
817
|
};
|
|
818
|
+
datatable: {
|
|
819
|
+
root: {
|
|
820
|
+
background: string;
|
|
821
|
+
color: string;
|
|
822
|
+
borderColor: string;
|
|
823
|
+
borderRadius: string;
|
|
824
|
+
transitionDuration: string;
|
|
825
|
+
};
|
|
826
|
+
header: {
|
|
827
|
+
padding: string;
|
|
828
|
+
borderColor: string;
|
|
829
|
+
};
|
|
830
|
+
headerCell: {
|
|
831
|
+
background: string;
|
|
832
|
+
stickyBackground: string;
|
|
833
|
+
hoverBackground: string;
|
|
834
|
+
color: string;
|
|
835
|
+
hoverColor: string;
|
|
836
|
+
sortedColor: string;
|
|
837
|
+
borderColor: string;
|
|
838
|
+
padding: string;
|
|
839
|
+
gap: string;
|
|
840
|
+
fontWeight: string;
|
|
841
|
+
};
|
|
842
|
+
row: {
|
|
843
|
+
background: string;
|
|
844
|
+
color: string;
|
|
845
|
+
hoverBackground: string;
|
|
846
|
+
stripedBackground: string;
|
|
847
|
+
};
|
|
848
|
+
bodyCell: {
|
|
849
|
+
padding: string;
|
|
850
|
+
borderColor: string;
|
|
851
|
+
sm: {
|
|
852
|
+
padding: string;
|
|
853
|
+
};
|
|
854
|
+
lg: {
|
|
855
|
+
padding: string;
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
sortIcon: {
|
|
859
|
+
color: string;
|
|
860
|
+
activeColor: string;
|
|
861
|
+
};
|
|
862
|
+
empty: {
|
|
863
|
+
padding: string;
|
|
864
|
+
color: string;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
663
867
|
dataview: {
|
|
664
868
|
root: {
|
|
665
869
|
background: string;
|
|
@@ -727,6 +931,46 @@ export declare const components: {
|
|
|
727
931
|
borderColor: string;
|
|
728
932
|
};
|
|
729
933
|
};
|
|
934
|
+
daterange: {
|
|
935
|
+
root: {
|
|
936
|
+
padding: string;
|
|
937
|
+
borderRadius: string;
|
|
938
|
+
background: string;
|
|
939
|
+
monthGap: string;
|
|
940
|
+
};
|
|
941
|
+
title: {
|
|
942
|
+
fontSize: string;
|
|
943
|
+
fontWeight: string;
|
|
944
|
+
};
|
|
945
|
+
weekday: {
|
|
946
|
+
fontSize: string;
|
|
947
|
+
fontWeight: string;
|
|
948
|
+
color: string;
|
|
949
|
+
};
|
|
950
|
+
day: {
|
|
951
|
+
size: string;
|
|
952
|
+
fontSize: string;
|
|
953
|
+
borderRadius: string;
|
|
954
|
+
color: string;
|
|
955
|
+
hoverBackground: string;
|
|
956
|
+
};
|
|
957
|
+
band: {
|
|
958
|
+
background: string;
|
|
959
|
+
};
|
|
960
|
+
preview: {
|
|
961
|
+
background: string;
|
|
962
|
+
};
|
|
963
|
+
end: {
|
|
964
|
+
background: string;
|
|
965
|
+
color: string;
|
|
966
|
+
};
|
|
967
|
+
today: {
|
|
968
|
+
borderColor: string;
|
|
969
|
+
};
|
|
970
|
+
otherMonth: {
|
|
971
|
+
color: string;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
730
974
|
dialog: {
|
|
731
975
|
root: {
|
|
732
976
|
background: string;
|
|
@@ -867,6 +1111,11 @@ export declare const components: {
|
|
|
867
1111
|
activeBackground: string;
|
|
868
1112
|
disabledOpacity: string;
|
|
869
1113
|
};
|
|
1114
|
+
blockHandle: {
|
|
1115
|
+
size: string;
|
|
1116
|
+
inset: string;
|
|
1117
|
+
gutter: string;
|
|
1118
|
+
};
|
|
870
1119
|
content: {
|
|
871
1120
|
minHeight: string;
|
|
872
1121
|
maxHeight: string;
|
|
@@ -1060,6 +1309,9 @@ export declare const components: {
|
|
|
1060
1309
|
transitionDuration: string;
|
|
1061
1310
|
positionX: string;
|
|
1062
1311
|
activeBackground: string;
|
|
1312
|
+
inTop: string;
|
|
1313
|
+
inPaddingTop: string;
|
|
1314
|
+
inPaddingBottom: string;
|
|
1063
1315
|
};
|
|
1064
1316
|
};
|
|
1065
1317
|
form: {
|
|
@@ -1278,6 +1530,56 @@ export declare const components: {
|
|
|
1278
1530
|
fontWeight: string;
|
|
1279
1531
|
};
|
|
1280
1532
|
};
|
|
1533
|
+
inputpassword: {
|
|
1534
|
+
root: {
|
|
1535
|
+
gap: string;
|
|
1536
|
+
revealColor: string;
|
|
1537
|
+
revealHoverColor: string;
|
|
1538
|
+
};
|
|
1539
|
+
overlay: {
|
|
1540
|
+
padding: string;
|
|
1541
|
+
gap: string;
|
|
1542
|
+
minWidth: string;
|
|
1543
|
+
};
|
|
1544
|
+
meter: {
|
|
1545
|
+
height: string;
|
|
1546
|
+
borderRadius: string;
|
|
1547
|
+
background: string;
|
|
1548
|
+
};
|
|
1549
|
+
strength: {
|
|
1550
|
+
weakBackground: string;
|
|
1551
|
+
mediumBackground: string;
|
|
1552
|
+
strongBackground: string;
|
|
1553
|
+
transitionDuration: string;
|
|
1554
|
+
};
|
|
1555
|
+
};
|
|
1556
|
+
inputtag: {
|
|
1557
|
+
root: {
|
|
1558
|
+
gap: string;
|
|
1559
|
+
paddingY: string;
|
|
1560
|
+
};
|
|
1561
|
+
tag: {
|
|
1562
|
+
gap: string;
|
|
1563
|
+
paddingX: string;
|
|
1564
|
+
paddingY: string;
|
|
1565
|
+
fontSize: string;
|
|
1566
|
+
borderRadius: string;
|
|
1567
|
+
background: string;
|
|
1568
|
+
color: string;
|
|
1569
|
+
};
|
|
1570
|
+
remove: {
|
|
1571
|
+
size: string;
|
|
1572
|
+
iconSize: string;
|
|
1573
|
+
borderRadius: string;
|
|
1574
|
+
hoverBackground: string;
|
|
1575
|
+
};
|
|
1576
|
+
input: {
|
|
1577
|
+
minWidth: string;
|
|
1578
|
+
};
|
|
1579
|
+
full: {
|
|
1580
|
+
inputOpacity: string;
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1281
1583
|
inputtext: {
|
|
1282
1584
|
root: {
|
|
1283
1585
|
gap: string;
|
|
@@ -1661,29 +1963,6 @@ export declare const components: {
|
|
|
1661
1963
|
};
|
|
1662
1964
|
transitionDuration: string;
|
|
1663
1965
|
};
|
|
1664
|
-
password: {
|
|
1665
|
-
root: {
|
|
1666
|
-
gap: string;
|
|
1667
|
-
revealColor: string;
|
|
1668
|
-
revealHoverColor: string;
|
|
1669
|
-
};
|
|
1670
|
-
overlay: {
|
|
1671
|
-
padding: string;
|
|
1672
|
-
gap: string;
|
|
1673
|
-
minWidth: string;
|
|
1674
|
-
};
|
|
1675
|
-
meter: {
|
|
1676
|
-
height: string;
|
|
1677
|
-
borderRadius: string;
|
|
1678
|
-
background: string;
|
|
1679
|
-
};
|
|
1680
|
-
strength: {
|
|
1681
|
-
weakBackground: string;
|
|
1682
|
-
mediumBackground: string;
|
|
1683
|
-
strongBackground: string;
|
|
1684
|
-
transitionDuration: string;
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
1966
|
picklist: {
|
|
1688
1967
|
root: {
|
|
1689
1968
|
gap: string;
|
|
@@ -2162,6 +2441,139 @@ export declare const components: {
|
|
|
2162
2441
|
color: string;
|
|
2163
2442
|
};
|
|
2164
2443
|
};
|
|
2444
|
+
spreadsheet: {
|
|
2445
|
+
root: {
|
|
2446
|
+
borderRadius: string;
|
|
2447
|
+
borderWidth: string;
|
|
2448
|
+
fontSize: string;
|
|
2449
|
+
transitionDuration: string;
|
|
2450
|
+
};
|
|
2451
|
+
header: {
|
|
2452
|
+
columnHeight: string;
|
|
2453
|
+
rowWidth: string;
|
|
2454
|
+
fontSize: string;
|
|
2455
|
+
fontWeight: string;
|
|
2456
|
+
color: string;
|
|
2457
|
+
activeFontWeight: string;
|
|
2458
|
+
activeColor: string;
|
|
2459
|
+
};
|
|
2460
|
+
cell: {
|
|
2461
|
+
width: string;
|
|
2462
|
+
height: string;
|
|
2463
|
+
padding: string;
|
|
2464
|
+
color: string;
|
|
2465
|
+
errorColor: string;
|
|
2466
|
+
};
|
|
2467
|
+
selection: {
|
|
2468
|
+
borderWidth: string;
|
|
2469
|
+
borderColor: string;
|
|
2470
|
+
rangeOpacity: string;
|
|
2471
|
+
};
|
|
2472
|
+
formula: {
|
|
2473
|
+
padding: string;
|
|
2474
|
+
borderColor: string;
|
|
2475
|
+
borderRadius: string;
|
|
2476
|
+
lineHeight: string;
|
|
2477
|
+
};
|
|
2478
|
+
reference: {
|
|
2479
|
+
borderWidth: string;
|
|
2480
|
+
fillOpacity: string;
|
|
2481
|
+
1: string;
|
|
2482
|
+
2: string;
|
|
2483
|
+
3: string;
|
|
2484
|
+
4: string;
|
|
2485
|
+
5: string;
|
|
2486
|
+
};
|
|
2487
|
+
handle: {
|
|
2488
|
+
size: string;
|
|
2489
|
+
background: string;
|
|
2490
|
+
borderWidth: string;
|
|
2491
|
+
};
|
|
2492
|
+
editor: {
|
|
2493
|
+
padding: string;
|
|
2494
|
+
borderWidth: string;
|
|
2495
|
+
borderColor: string;
|
|
2496
|
+
shadow: string;
|
|
2497
|
+
};
|
|
2498
|
+
toolbar: {
|
|
2499
|
+
padding: string;
|
|
2500
|
+
gap: string;
|
|
2501
|
+
groupGap: string;
|
|
2502
|
+
};
|
|
2503
|
+
button: {
|
|
2504
|
+
size: string;
|
|
2505
|
+
iconSize: string;
|
|
2506
|
+
borderRadius: string;
|
|
2507
|
+
color: string;
|
|
2508
|
+
hoverColor: string;
|
|
2509
|
+
activeColor: string;
|
|
2510
|
+
};
|
|
2511
|
+
bar: {
|
|
2512
|
+
gap: string;
|
|
2513
|
+
padding: string;
|
|
2514
|
+
addressWidth: string;
|
|
2515
|
+
};
|
|
2516
|
+
resizer: {
|
|
2517
|
+
size: string;
|
|
2518
|
+
color: string;
|
|
2519
|
+
};
|
|
2520
|
+
colorScheme: {
|
|
2521
|
+
light: {
|
|
2522
|
+
root: {
|
|
2523
|
+
background: string;
|
|
2524
|
+
borderColor: string;
|
|
2525
|
+
};
|
|
2526
|
+
header: {
|
|
2527
|
+
background: string;
|
|
2528
|
+
borderColor: string;
|
|
2529
|
+
activeBackground: string;
|
|
2530
|
+
};
|
|
2531
|
+
toolbar: {
|
|
2532
|
+
background: string;
|
|
2533
|
+
separatorColor: string;
|
|
2534
|
+
};
|
|
2535
|
+
button: {
|
|
2536
|
+
hoverBackground: string;
|
|
2537
|
+
activeBackground: string;
|
|
2538
|
+
};
|
|
2539
|
+
cell: {
|
|
2540
|
+
borderColor: string;
|
|
2541
|
+
background: string;
|
|
2542
|
+
};
|
|
2543
|
+
bar: {
|
|
2544
|
+
background: string;
|
|
2545
|
+
borderColor: string;
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
dark: {
|
|
2549
|
+
root: {
|
|
2550
|
+
background: string;
|
|
2551
|
+
borderColor: string;
|
|
2552
|
+
};
|
|
2553
|
+
header: {
|
|
2554
|
+
background: string;
|
|
2555
|
+
borderColor: string;
|
|
2556
|
+
activeBackground: string;
|
|
2557
|
+
};
|
|
2558
|
+
toolbar: {
|
|
2559
|
+
background: string;
|
|
2560
|
+
separatorColor: string;
|
|
2561
|
+
};
|
|
2562
|
+
button: {
|
|
2563
|
+
hoverBackground: string;
|
|
2564
|
+
activeBackground: string;
|
|
2565
|
+
};
|
|
2566
|
+
cell: {
|
|
2567
|
+
borderColor: string;
|
|
2568
|
+
background: string;
|
|
2569
|
+
};
|
|
2570
|
+
bar: {
|
|
2571
|
+
background: string;
|
|
2572
|
+
borderColor: string;
|
|
2573
|
+
};
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
};
|
|
2165
2577
|
stackpanel: {
|
|
2166
2578
|
root: {
|
|
2167
2579
|
spacing: string;
|
|
@@ -2446,6 +2858,14 @@ export declare const components: {
|
|
|
2446
2858
|
size: string;
|
|
2447
2859
|
};
|
|
2448
2860
|
};
|
|
2861
|
+
timepicker: {
|
|
2862
|
+
panel: {
|
|
2863
|
+
minWidth: string;
|
|
2864
|
+
};
|
|
2865
|
+
list: {
|
|
2866
|
+
height: string;
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2449
2869
|
toast: {
|
|
2450
2870
|
root: {
|
|
2451
2871
|
width: string;
|