@vaadin/react-components 24.8.4 → 25.0.0-alpha10

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 (56) hide show
  1. package/ContextMenu.js +1 -1
  2. package/ContextMenu.js.map +2 -2
  3. package/LoginOverlay.js +1 -1
  4. package/LoginOverlay.js.map +2 -2
  5. package/MultiSelectComboBox.js +1 -1
  6. package/MultiSelectComboBox.js.map +2 -2
  7. package/TabSheet.js +1 -1
  8. package/TabSheet.js.map +2 -2
  9. package/TimePicker.d.ts +1 -1
  10. package/TimePicker.js +1 -1
  11. package/TimePicker.js.map +2 -2
  12. package/css/lumo/FontIcons.css +28 -26
  13. package/css/lumo/Style.css +0 -2
  14. package/css/lumo/mixins/MenuOverlay.css +0 -2
  15. package/css/lumo/mixins/RequiredField.css +0 -1
  16. package/css/lumo/utilities/Transition.module.css +3 -2
  17. package/generated/ContextMenu.d.ts +2 -0
  18. package/generated/ContextMenu.d.ts.map +1 -1
  19. package/generated/GridColumnGroup.d.ts +1 -1
  20. package/generated/LoginOverlay.d.ts +2 -0
  21. package/generated/LoginOverlay.d.ts.map +1 -1
  22. package/generated/MultiSelectComboBox.d.ts +2 -2
  23. package/generated/MultiSelectComboBox.d.ts.map +1 -1
  24. package/generated/TimePicker.d.ts +2 -2
  25. package/generated/TimePicker.d.ts.map +1 -1
  26. package/index.d.ts +0 -2
  27. package/index.js +0 -2
  28. package/package.json +61 -83
  29. package/utils/createComponent.js +1 -1
  30. package/utils/createComponent.js.map +2 -2
  31. package/ComboBoxLight.d.ts +0 -11
  32. package/ComboBoxLight.d.ts.map +0 -1
  33. package/ComboBoxLight.js +0 -2
  34. package/ComboBoxLight.js.map +0 -7
  35. package/DatePickerLight.d.ts +0 -2
  36. package/DatePickerLight.d.ts.map +0 -1
  37. package/DatePickerLight.js +0 -2
  38. package/DatePickerLight.js.map +0 -7
  39. package/css/Material.css +0 -13
  40. package/css/lumo/Globals.css +0 -85
  41. package/css/material/Color.css +0 -7
  42. package/css/material/ColorBase.css +0 -26
  43. package/css/material/ColorDark.css +0 -47
  44. package/css/material/ColorLight.css +0 -96
  45. package/css/material/Font.css +0 -22
  46. package/css/material/FontIcons.css +0 -28
  47. package/css/material/Shadow.css +0 -15
  48. package/css/material/Typography.css +0 -80
  49. package/css/material/UserColors.css +0 -22
  50. package/css/material/mixins/FieldButton.css +0 -34
  51. package/css/material/mixins/Overlay.css +0 -36
  52. package/css/material/mixins/RequiredField.css +0 -60
  53. package/generated/ComboBoxLight.d.ts +0 -19
  54. package/generated/ComboBoxLight.d.ts.map +0 -1
  55. package/generated/DatePickerLight.d.ts +0 -22
  56. package/generated/DatePickerLight.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/react-components",
3
- "version": "24.8.4",
3
+ "version": "25.0.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -27,67 +27,66 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@lit/react": "^1.0.7",
30
- "@vaadin/a11y-base": "24.8.4",
31
- "@vaadin/accordion": "24.8.4",
32
- "@vaadin/app-layout": "24.8.4",
33
- "@vaadin/avatar": "24.8.4",
34
- "@vaadin/avatar-group": "24.8.4",
35
- "@vaadin/button": "24.8.4",
36
- "@vaadin/card": "24.8.4",
37
- "@vaadin/checkbox": "24.8.4",
38
- "@vaadin/checkbox-group": "24.8.4",
39
- "@vaadin/combo-box": "24.8.4",
40
- "@vaadin/component-base": "24.8.4",
41
- "@vaadin/confirm-dialog": "24.8.4",
42
- "@vaadin/context-menu": "24.8.4",
43
- "@vaadin/custom-field": "24.8.4",
44
- "@vaadin/date-picker": "24.8.4",
45
- "@vaadin/date-time-picker": "24.8.4",
46
- "@vaadin/details": "24.8.4",
47
- "@vaadin/dialog": "24.8.4",
48
- "@vaadin/email-field": "24.8.4",
49
- "@vaadin/field-base": "24.8.4",
50
- "@vaadin/field-highlighter": "24.8.4",
51
- "@vaadin/form-layout": "24.8.4",
52
- "@vaadin/grid": "24.8.4",
53
- "@vaadin/horizontal-layout": "24.8.4",
54
- "@vaadin/icon": "24.8.4",
55
- "@vaadin/icons": "24.8.4",
56
- "@vaadin/input-container": "24.8.4",
57
- "@vaadin/integer-field": "24.8.4",
58
- "@vaadin/item": "24.8.4",
59
- "@vaadin/list-box": "24.8.4",
60
- "@vaadin/lit-renderer": "24.8.4",
61
- "@vaadin/login": "24.8.4",
62
- "@vaadin/markdown": "24.8.4",
63
- "@vaadin/master-detail-layout": "24.8.4",
64
- "@vaadin/menu-bar": "24.8.4",
65
- "@vaadin/message-input": "24.8.4",
66
- "@vaadin/message-list": "24.8.4",
67
- "@vaadin/multi-select-combo-box": "24.8.4",
68
- "@vaadin/notification": "24.8.4",
69
- "@vaadin/number-field": "24.8.4",
70
- "@vaadin/overlay": "24.8.4",
71
- "@vaadin/password-field": "24.8.4",
72
- "@vaadin/popover": "24.8.4",
73
- "@vaadin/progress-bar": "24.8.4",
74
- "@vaadin/radio-group": "24.8.4",
75
- "@vaadin/scroller": "24.8.4",
76
- "@vaadin/select": "24.8.4",
77
- "@vaadin/side-nav": "24.8.4",
78
- "@vaadin/split-layout": "24.8.4",
79
- "@vaadin/tabs": "24.8.4",
80
- "@vaadin/tabsheet": "24.8.4",
81
- "@vaadin/text-area": "24.8.4",
82
- "@vaadin/text-field": "24.8.4",
83
- "@vaadin/time-picker": "24.8.4",
84
- "@vaadin/tooltip": "24.8.4",
85
- "@vaadin/upload": "24.8.4",
86
- "@vaadin/vaadin-lumo-styles": "24.8.4",
87
- "@vaadin/vaadin-material-styles": "24.8.4",
88
- "@vaadin/vaadin-themable-mixin": "24.8.4",
89
- "@vaadin/vertical-layout": "24.8.4",
90
- "@vaadin/virtual-list": "24.8.4"
30
+ "@vaadin/a11y-base": "25.0.0-alpha10",
31
+ "@vaadin/accordion": "25.0.0-alpha10",
32
+ "@vaadin/app-layout": "25.0.0-alpha10",
33
+ "@vaadin/avatar": "25.0.0-alpha10",
34
+ "@vaadin/avatar-group": "25.0.0-alpha10",
35
+ "@vaadin/button": "25.0.0-alpha10",
36
+ "@vaadin/card": "25.0.0-alpha10",
37
+ "@vaadin/checkbox": "25.0.0-alpha10",
38
+ "@vaadin/checkbox-group": "25.0.0-alpha10",
39
+ "@vaadin/combo-box": "25.0.0-alpha10",
40
+ "@vaadin/component-base": "25.0.0-alpha10",
41
+ "@vaadin/confirm-dialog": "25.0.0-alpha10",
42
+ "@vaadin/context-menu": "25.0.0-alpha10",
43
+ "@vaadin/custom-field": "25.0.0-alpha10",
44
+ "@vaadin/date-picker": "25.0.0-alpha10",
45
+ "@vaadin/date-time-picker": "25.0.0-alpha10",
46
+ "@vaadin/details": "25.0.0-alpha10",
47
+ "@vaadin/dialog": "25.0.0-alpha10",
48
+ "@vaadin/email-field": "25.0.0-alpha10",
49
+ "@vaadin/field-base": "25.0.0-alpha10",
50
+ "@vaadin/field-highlighter": "25.0.0-alpha10",
51
+ "@vaadin/form-layout": "25.0.0-alpha10",
52
+ "@vaadin/grid": "25.0.0-alpha10",
53
+ "@vaadin/horizontal-layout": "25.0.0-alpha10",
54
+ "@vaadin/icon": "25.0.0-alpha10",
55
+ "@vaadin/icons": "25.0.0-alpha10",
56
+ "@vaadin/input-container": "25.0.0-alpha10",
57
+ "@vaadin/integer-field": "25.0.0-alpha10",
58
+ "@vaadin/item": "25.0.0-alpha10",
59
+ "@vaadin/list-box": "25.0.0-alpha10",
60
+ "@vaadin/lit-renderer": "25.0.0-alpha10",
61
+ "@vaadin/login": "25.0.0-alpha10",
62
+ "@vaadin/markdown": "25.0.0-alpha10",
63
+ "@vaadin/master-detail-layout": "25.0.0-alpha10",
64
+ "@vaadin/menu-bar": "25.0.0-alpha10",
65
+ "@vaadin/message-input": "25.0.0-alpha10",
66
+ "@vaadin/message-list": "25.0.0-alpha10",
67
+ "@vaadin/multi-select-combo-box": "25.0.0-alpha10",
68
+ "@vaadin/notification": "25.0.0-alpha10",
69
+ "@vaadin/number-field": "25.0.0-alpha10",
70
+ "@vaadin/overlay": "25.0.0-alpha10",
71
+ "@vaadin/password-field": "25.0.0-alpha10",
72
+ "@vaadin/popover": "25.0.0-alpha10",
73
+ "@vaadin/progress-bar": "25.0.0-alpha10",
74
+ "@vaadin/radio-group": "25.0.0-alpha10",
75
+ "@vaadin/scroller": "25.0.0-alpha10",
76
+ "@vaadin/select": "25.0.0-alpha10",
77
+ "@vaadin/side-nav": "25.0.0-alpha10",
78
+ "@vaadin/split-layout": "25.0.0-alpha10",
79
+ "@vaadin/tabs": "25.0.0-alpha10",
80
+ "@vaadin/tabsheet": "25.0.0-alpha10",
81
+ "@vaadin/text-area": "25.0.0-alpha10",
82
+ "@vaadin/text-field": "25.0.0-alpha10",
83
+ "@vaadin/time-picker": "25.0.0-alpha10",
84
+ "@vaadin/tooltip": "25.0.0-alpha10",
85
+ "@vaadin/upload": "25.0.0-alpha10",
86
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha10",
87
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha10",
88
+ "@vaadin/vertical-layout": "25.0.0-alpha10",
89
+ "@vaadin/virtual-list": "25.0.0-alpha10"
91
90
  },
92
91
  "author": "Vaadin Ltd.",
93
92
  "license": "Apache-2.0",
@@ -166,10 +165,6 @@
166
165
  "types": "./ComboBox.d.ts",
167
166
  "default": "./ComboBox.js"
168
167
  },
169
- "./ComboBoxLight.js": {
170
- "types": "./ComboBoxLight.d.ts",
171
- "default": "./ComboBoxLight.js"
172
- },
173
168
  "./ConfirmDialog.js": {
174
169
  "types": "./ConfirmDialog.d.ts",
175
170
  "default": "./ConfirmDialog.js"
@@ -186,10 +181,6 @@
186
181
  "types": "./DatePicker.d.ts",
187
182
  "default": "./DatePicker.js"
188
183
  },
189
- "./DatePickerLight.js": {
190
- "types": "./DatePickerLight.d.ts",
191
- "default": "./DatePickerLight.js"
192
- },
193
184
  "./DateTimePicker.js": {
194
185
  "types": "./DateTimePicker.d.ts",
195
186
  "default": "./DateTimePicker.js"
@@ -425,12 +416,10 @@
425
416
  "./Checkbox": "./Checkbox.js",
426
417
  "./CheckboxGroup": "./CheckboxGroup.js",
427
418
  "./ComboBox": "./ComboBox.js",
428
- "./ComboBoxLight": "./ComboBoxLight.js",
429
419
  "./ConfirmDialog": "./ConfirmDialog.js",
430
420
  "./ContextMenu": "./ContextMenu.js",
431
421
  "./CustomField": "./CustomField.js",
432
422
  "./DatePicker": "./DatePicker.js",
433
- "./DatePickerLight": "./DatePickerLight.js",
434
423
  "./DateTimePicker": "./DateTimePicker.js",
435
424
  "./Details": "./Details.js",
436
425
  "./DetailsSummary": "./DetailsSummary.js",
@@ -493,23 +482,12 @@
493
482
  "./css/lumo/ColorBase.css": "./css/lumo/ColorBase.css",
494
483
  "./css/lumo/Font.css": "./css/lumo/Font.css",
495
484
  "./css/lumo/FontIcons.css": "./css/lumo/FontIcons.css",
496
- "./css/lumo/Globals.css": "./css/lumo/Globals.css",
497
485
  "./css/lumo/Sizing.css": "./css/lumo/Sizing.css",
498
486
  "./css/lumo/Spacing.css": "./css/lumo/Spacing.css",
499
487
  "./css/lumo/Style.css": "./css/lumo/Style.css",
500
488
  "./css/lumo/Typography.css": "./css/lumo/Typography.css",
501
489
  "./css/lumo/UserColors.css": "./css/lumo/UserColors.css",
502
490
  "./css/lumo/Utility.module.css": "./css/lumo/Utility.module.css",
503
- "./css/Material.css": "./css/Material.css",
504
- "./css/material/Color.css": "./css/material/Color.css",
505
- "./css/material/ColorBase.css": "./css/material/ColorBase.css",
506
- "./css/material/ColorDark.css": "./css/material/ColorDark.css",
507
- "./css/material/ColorLight.css": "./css/material/ColorLight.css",
508
- "./css/material/Font.css": "./css/material/Font.css",
509
- "./css/material/FontIcons.css": "./css/material/FontIcons.css",
510
- "./css/material/Shadow.css": "./css/material/Shadow.css",
511
- "./css/material/Typography.css": "./css/material/Typography.css",
512
- "./css/material/UserColors.css": "./css/material/UserColors.css",
513
491
  "./utils/createComponent.d.ts": "./utils/createComponent.d.ts",
514
492
  "./utils/createComponent.d.ts.map": "./utils/createComponent.d.ts.map",
515
493
  "./utils/createComponent.js": "./utils/createComponent.js",
@@ -1,2 +1,2 @@
1
- import{createComponent as n}from"@lit/react";window.Vaadin??={},window.Vaadin.registrations??=[],window.Vaadin.registrations.push({is:"@vaadin/react-components",version:"24.8.4"});function s(e){const{elementClass:t}=e;return n("_properties"in t?{...e,elementClass:{name:t.name,prototype:{...t._properties,hidden:Boolean}}}:e)}export{s as createComponent};
1
+ import{createComponent as n}from"@lit/react";window.Vaadin??={},window.Vaadin.registrations??=[],window.Vaadin.registrations.push({is:"@vaadin/react-components",version:"25.0.0-alpha10"});function s(e){const{elementClass:t}=e;return n("_properties"in t?{...e,elementClass:{name:t.name,prototype:{...t._properties,hidden:Boolean}}}:e)}export{s as createComponent};
2
2
  //# sourceMappingURL=createComponent.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/utils/createComponent.ts"],
4
- "sourcesContent": ["import { createComponent as _createComponent, type EventName } from '@lit/react';\nimport type { ThemePropertyMixinClass } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';\nimport type React from 'react';\nimport type { RefAttributes } from 'react';\n\ndeclare const __VERSION__: string;\n\ndeclare global {\n interface VaadinRegistration {\n is: string;\n version: string;\n }\n\n interface Vaadin {\n registrations?: VaadinRegistration[];\n }\n\n interface Window {\n // @ts-expect-error: Different declaration from one of the dependencies.\n Vaadin?: Vaadin;\n }\n}\n\nwindow.Vaadin ??= {};\nwindow.Vaadin.registrations ??= [];\nwindow.Vaadin.registrations.push({\n is: '@vaadin/react-components',\n version: /* updated-by-script */ '24.8.4',\n});\n\n// TODO: Remove when types from @lit-labs/react are exported\nexport type EventNames = Record<string, EventName | string>;\ntype Constructor<T> = { new (): T; name: string };\ntype PolymerConstructor<T> = Constructor<T> & { _properties: Record<string, unknown> };\ntype Options<I extends HTMLElement, E extends EventNames = {}> = Readonly<{\n displayName?: string;\n elementClass: Constructor<I> | PolymerConstructor<I>;\n events?: E;\n react: typeof window.React;\n tagName: string;\n}>;\n\n// A map of expected event listener types based on EventNames.\ntype EventListeners<R extends EventNames> = {\n [K in keyof R]?: R[K] extends EventName ? (e: R[K]['__eventType']) => void : (e: Event) => void;\n};\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO: LoginOverlay has \"autofocus\" property, so we add it back manually.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>> & { autofocus?: boolean };\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n EventListeners<E> &\n ElementProps<I>;\n\nexport type ThemedWebComponentProps<\n I extends ThemePropertyMixinClass & HTMLElement,\n E extends EventNames = {},\n> = ComponentProps<I, E> & {\n /**\n * Attribute that can be used by the component to apply built-in style variants,\n * or to propagate its value to the sub-components in Shadow DOM.\n *\n * @see ThemePropertyMixinClass#_theme\n */\n theme?: string;\n};\n\ntype AllWebComponentProps<I extends HTMLElement, E extends EventNames = {}> = I extends ThemePropertyMixinClass\n ? ThemedWebComponentProps<I, E>\n : ComponentProps<I, E>;\n\nexport type WebComponentProps<I extends HTMLElement, E extends EventNames = {}> = Partial<AllWebComponentProps<I, E>>;\n\n// We need a separate declaration here; otherwise, the TypeScript fails into the\n// endless loop trying to resolve the typings.\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(\n options: Options<I, E>,\n): (props: WebComponentProps<I, E> & RefAttributes<I>) => React.ReactElement | null;\n\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(options: Options<I, E>): any {\n const { elementClass } = options;\n\n return _createComponent(\n '_properties' in elementClass\n ? {\n ...options,\n // TODO: improve or remove the Polymer workaround\n // 'createComponent' relies on key presence on the custom element class,\n // but Polymer defines properties on the prototype when the first element\n // is created. Workaround: pass a mock object with properties in\n // the prototype.\n elementClass: {\n // @ts-expect-error: it is a specific workaround for Polymer classes.\n name: elementClass.name,\n prototype: { ...elementClass._properties, hidden: Boolean },\n },\n }\n : options,\n );\n}\n"],
5
- "mappings": "AAAA,OAAS,mBAAmBA,MAAwC,aAuBpE,OAAO,SAAW,CAAC,EACnB,OAAO,OAAO,gBAAkB,CAAC,EACjC,OAAO,OAAO,cAAc,KAAK,CAC/B,GAAI,2BACJ,QAAiC,QACnC,CAAC,EA2DM,SAASC,EAAkEC,EAA6B,CAC7G,KAAM,CAAE,aAAAC,CAAa,EAAID,EAEzB,OAAOF,EACL,gBAAiBG,EACb,CACE,GAAGD,EAMH,aAAc,CAEZ,KAAMC,EAAa,KACnB,UAAW,CAAE,GAAGA,EAAa,YAAa,OAAQ,OAAQ,CAC5D,CACF,EACAD,CACN,CACF",
4
+ "sourcesContent": ["import { createComponent as _createComponent, type EventName } from '@lit/react';\nimport type { ThemePropertyMixinClass } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';\nimport type React from 'react';\nimport type { RefAttributes } from 'react';\n\ndeclare const __VERSION__: string;\n\ndeclare global {\n interface VaadinRegistration {\n is: string;\n version: string;\n }\n\n interface Vaadin {\n registrations?: VaadinRegistration[];\n }\n\n interface Window {\n // @ts-expect-error: Different declaration from one of the dependencies.\n Vaadin?: Vaadin;\n }\n}\n\nwindow.Vaadin ??= {};\nwindow.Vaadin.registrations ??= [];\nwindow.Vaadin.registrations.push({\n is: '@vaadin/react-components',\n version: /* updated-by-script */ '25.0.0-alpha10',\n});\n\n// TODO: Remove when types from @lit-labs/react are exported\nexport type EventNames = Record<string, EventName | string>;\ntype Constructor<T> = { new (): T; name: string };\ntype PolymerConstructor<T> = Constructor<T> & { _properties: Record<string, unknown> };\ntype Options<I extends HTMLElement, E extends EventNames = {}> = Readonly<{\n displayName?: string;\n elementClass: Constructor<I> | PolymerConstructor<I>;\n events?: E;\n react: typeof window.React;\n tagName: string;\n}>;\n\n// A map of expected event listener types based on EventNames.\ntype EventListeners<R extends EventNames> = {\n [K in keyof R]?: R[K] extends EventName ? (e: R[K]['__eventType']) => void : (e: Event) => void;\n};\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO: LoginOverlay has \"autofocus\" property, so we add it back manually.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>> & { autofocus?: boolean };\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n EventListeners<E> &\n ElementProps<I>;\n\nexport type ThemedWebComponentProps<\n I extends ThemePropertyMixinClass & HTMLElement,\n E extends EventNames = {},\n> = ComponentProps<I, E> & {\n /**\n * Attribute that can be used by the component to apply built-in style variants,\n * or to propagate its value to the sub-components in Shadow DOM.\n *\n * @see ThemePropertyMixinClass#_theme\n */\n theme?: string;\n};\n\ntype AllWebComponentProps<I extends HTMLElement, E extends EventNames = {}> = I extends ThemePropertyMixinClass\n ? ThemedWebComponentProps<I, E>\n : ComponentProps<I, E>;\n\nexport type WebComponentProps<I extends HTMLElement, E extends EventNames = {}> = Partial<AllWebComponentProps<I, E>>;\n\n// We need a separate declaration here; otherwise, the TypeScript fails into the\n// endless loop trying to resolve the typings.\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(\n options: Options<I, E>,\n): (props: WebComponentProps<I, E> & RefAttributes<I>) => React.ReactElement | null;\n\nexport function createComponent<I extends HTMLElement, E extends EventNames = {}>(options: Options<I, E>): any {\n const { elementClass } = options;\n\n return _createComponent(\n '_properties' in elementClass\n ? {\n ...options,\n // TODO: improve or remove the Polymer workaround\n // 'createComponent' relies on key presence on the custom element class,\n // but Polymer defines properties on the prototype when the first element\n // is created. Workaround: pass a mock object with properties in\n // the prototype.\n elementClass: {\n // @ts-expect-error: it is a specific workaround for Polymer classes.\n name: elementClass.name,\n prototype: { ...elementClass._properties, hidden: Boolean },\n },\n }\n : options,\n );\n}\n"],
5
+ "mappings": "AAAA,OAAS,mBAAmBA,MAAwC,aAuBpE,OAAO,SAAW,CAAC,EACnB,OAAO,OAAO,gBAAkB,CAAC,EACjC,OAAO,OAAO,cAAc,KAAK,CAC/B,GAAI,2BACJ,QAAiC,gBACnC,CAAC,EA2DM,SAASC,EAAkEC,EAA6B,CAC7G,KAAM,CAAE,aAAAC,CAAa,EAAID,EAEzB,OAAOF,EACL,gBAAiBG,EACb,CACE,GAAGD,EAMH,aAAc,CAEZ,KAAMC,EAAa,KACnB,UAAW,CAAE,GAAGA,EAAa,YAAa,OAAQ,OAAQ,CAC5D,CACF,EACAD,CACN,CACF",
6
6
  "names": ["_createComponent", "createComponent", "options", "elementClass"]
7
7
  }
@@ -1,11 +0,0 @@
1
- import type { ComboBoxDefaultItem } from '@vaadin/combo-box';
2
- import { type ComponentType, type ReactElement, type RefAttributes } from 'react';
3
- import { type ComboBoxLightElement, type ComboBoxLightProps as _ComboBoxLightProps } from './generated/ComboBoxLight.js';
4
- import type { ComboBoxReactRendererProps } from './renderers/combobox.js';
5
- export * from './generated/ComboBoxLight.js';
6
- export type ComboBoxLightProps<TItem> = Partial<Omit<_ComboBoxLightProps<TItem>, 'renderer'>> & Readonly<{
7
- renderer?: ComponentType<ComboBoxReactRendererProps<TItem>> | null;
8
- }>;
9
- declare const ForwardedComboBoxLight: <TItem = ComboBoxDefaultItem>(props: ComboBoxLightProps<TItem> & RefAttributes<ComboBoxLightElement<TItem>>) => ReactElement | null;
10
- export { ForwardedComboBoxLight as ComboBoxLight };
11
- //# sourceMappingURL=ComboBoxLight.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComboBoxLight.d.ts","sourceRoot":"","sources":["src/ComboBoxLight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,KAAK,aAAa,EAAc,KAAK,YAAY,EAAE,KAAK,aAAa,EAAqB,MAAM,OAAO,CAAC;AACjH,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,IAAI,mBAAmB,EAC/C,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAG1E,cAAc,8BAA8B,CAAC;AAE7C,MAAM,MAAM,kBAAkB,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC,GAC3F,QAAQ,CAAC;IACP,QAAQ,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;CACpE,CAAC,CAAC;AAgBL,QAAA,MAAM,sBAAsB,EAAgC,CAAC,KAAK,GAAG,mBAAmB,EACtF,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,KAC1E,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,sBAAsB,IAAI,aAAa,EAAE,CAAC"}
package/ComboBoxLight.js DELETED
@@ -1,2 +0,0 @@
1
- export*from"@vaadin/combo-box/vaadin-combo-box-light.js";import{forwardRef as d}from"react";import{ComboBoxLight as a}from"@vaadin/combo-box/vaadin-combo-box-light.js";import*as r from"react";import{createComponent as i}from"./utils/createComponent.js";var p={onValidated:"validated",onChange:"change",onCustomValueSet:"custom-value-set",onSelectedItemChanged:"selected-item-changed",onValueChanged:"value-changed",onInvalidChanged:"invalid-changed",onOpenedChanged:"opened-changed",onFilterChanged:"filter-changed"},o=i({elementClass:a,events:p,react:r,tagName:"vaadin-combo-box-light"});import{useModelRenderer as g}from"./renderers/useModelRenderer.js";import{jsxs as C}from"react/jsx-runtime";function h(e,t){let[n,m]=g(e.renderer);return C(o,{...e,ref:t,renderer:m,children:[e.children,n]})}var v=d(h);export{v as ComboBoxLight,a as ComboBoxLightElement};
2
- //# sourceMappingURL=ComboBoxLight.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["src/ComboBoxLight.tsx", "src/generated/ComboBoxLight.ts"],
4
- "sourcesContent": ["export * from \"@vaadin/combo-box/vaadin-combo-box-light.js\";\nimport type { ComboBoxDefaultItem } from '@vaadin/combo-box';\nimport { type ComponentType, forwardRef, type ReactElement, type RefAttributes, type ForwardedRef } from 'react';\nimport {\n ComboBoxLight as _ComboBoxLight,\n type ComboBoxLightElement,\n type ComboBoxLightProps as _ComboBoxLightProps,\n} from './generated/ComboBoxLight.js';\nimport type { ComboBoxReactRendererProps } from './renderers/combobox.js';\nimport { useModelRenderer } from './renderers/useModelRenderer.js';\n\nexport * from './generated/ComboBoxLight.js';\n\nexport type ComboBoxLightProps<TItem> = Partial<Omit<_ComboBoxLightProps<TItem>, 'renderer'>> &\n Readonly<{\n renderer?: ComponentType<ComboBoxReactRendererProps<TItem>> | null;\n }>;\n\nfunction ComboBoxLight<TItem = ComboBoxDefaultItem>(\n props: ComboBoxLightProps<TItem>,\n ref: ForwardedRef<ComboBoxLightElement<TItem>>,\n): ReactElement | null {\n const [portals, renderer] = useModelRenderer(props.renderer);\n\n return (\n <_ComboBoxLight<TItem> {...props} ref={ref} renderer={renderer}>\n {props.children}\n {portals}\n </_ComboBoxLight>\n );\n}\n\nconst ForwardedComboBoxLight = forwardRef(ComboBoxLight) as <TItem = ComboBoxDefaultItem>(\n props: ComboBoxLightProps<TItem> & RefAttributes<ComboBoxLightElement<TItem>>,\n) => ReactElement | null;\n\nexport { ForwardedComboBoxLight as ComboBoxLight };\n", "import type { EventName } from \"@lit/react\";\nimport { ComboBoxLight as ComboBoxLightElement, type ComboBoxLightEventMap as _ComboBoxLightEventMap, } from \"@vaadin/combo-box/vaadin-combo-box-light.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { ComboBoxLightElement, };\nexport type ComboBoxLightEventMap<T1> = Readonly<{\n onValidated: EventName<_ComboBoxLightEventMap<T1>[\"validated\"]>;\n onChange: EventName<_ComboBoxLightEventMap<T1>[\"change\"]>;\n onCustomValueSet: EventName<_ComboBoxLightEventMap<T1>[\"custom-value-set\"]>;\n onSelectedItemChanged: EventName<_ComboBoxLightEventMap<T1>[\"selected-item-changed\"]>;\n onValueChanged: EventName<_ComboBoxLightEventMap<T1>[\"value-changed\"]>;\n onInvalidChanged: EventName<_ComboBoxLightEventMap<T1>[\"invalid-changed\"]>;\n onOpenedChanged: EventName<_ComboBoxLightEventMap<T1>[\"opened-changed\"]>;\n onFilterChanged: EventName<_ComboBoxLightEventMap<T1>[\"filter-changed\"]>;\n}>;\nconst events = { onValidated: \"validated\", onChange: \"change\", onCustomValueSet: \"custom-value-set\", onSelectedItemChanged: \"selected-item-changed\", onValueChanged: \"value-changed\", onInvalidChanged: \"invalid-changed\", onOpenedChanged: \"opened-changed\", onFilterChanged: \"filter-changed\" } as ComboBoxLightEventMap<any>;\nexport type ComboBoxLightProps<T1> = WebComponentProps<ComboBoxLightElement<T1>, ComboBoxLightEventMap<T1>>;\nexport const ComboBoxLight = createComponent({\n elementClass: ComboBoxLightElement, events, react: React, tagName: \"vaadin-combo-box-light\"\n}) as <T1>(props: ComboBoxLightProps<T1> & React.RefAttributes<ComboBoxLightElement<T1>>) => React.ReactElement | null;\n"],
5
- "mappings": "AAAA,WAAc,8CAEd,OAA6B,cAAAA,MAA4E,QCDzG,OAAS,iBAAiBC,MAAmF,8CAC7G,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BAYxD,IAAMC,EAAS,CAAE,YAAa,YAAa,SAAU,SAAU,iBAAkB,mBAAoB,sBAAuB,wBAAyB,eAAgB,gBAAiB,iBAAkB,kBAAmB,gBAAiB,iBAAkB,gBAAiB,gBAAiB,EAEnRC,EAAgBC,EAAgB,CACzC,aAAcC,EAAsB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,wBACvE,CAAC,EDVD,OAAS,oBAAAC,MAAwB,kCAgB7B,eAAAC,MAAA,oBAPJ,SAASC,EACPC,EACAC,EACqB,CACrB,GAAM,CAACC,EAASC,CAAQ,EAAIN,EAAiBG,EAAM,QAAQ,EAE3D,OACEF,EAACC,EAAA,CAAuB,GAAGC,EAAO,IAAKC,EAAK,SAAUE,EACnD,UAAAH,EAAM,SACNE,GACH,CAEJ,CAEA,IAAME,EAAyBC,EAAWN,CAAa",
6
- "names": ["forwardRef", "ComboBoxLightElement", "React", "createComponent", "events", "ComboBoxLight", "createComponent", "ComboBoxLightElement", "React", "useModelRenderer", "jsxs", "ComboBoxLight", "props", "ref", "portals", "renderer", "ForwardedComboBoxLight", "forwardRef"]
7
- }
@@ -1,2 +0,0 @@
1
- export * from './generated/DatePickerLight.js';
2
- //# sourceMappingURL=DatePickerLight.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePickerLight.d.ts","sourceRoot":"","sources":["src/DatePickerLight.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -1,2 +0,0 @@
1
- export*from"@vaadin/date-picker/vaadin-date-picker-light.js";import{DatePickerLight as e}from"@vaadin/date-picker/vaadin-date-picker-light.js";import*as t from"react";import{createComponent as a}from"./utils/createComponent.js";var n={onValidated:"validated",onChange:"change",onOpenedChanged:"opened-changed",onValueChanged:"value-changed",onInvalidChanged:"invalid-changed"},r=a({elementClass:e,events:n,react:t,tagName:"vaadin-date-picker-light"});export{r as DatePickerLight,e as DatePickerLightElement};
2
- //# sourceMappingURL=DatePickerLight.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["src/DatePickerLight.ts", "src/generated/DatePickerLight.ts"],
4
- "sourcesContent": ["export * from \"@vaadin/date-picker/vaadin-date-picker-light.js\";\nexport * from './generated/DatePickerLight.js';\n", "import type { EventName } from \"@lit/react\";\nimport { DatePickerLight as DatePickerLightElement, type DatePickerLightEventMap as _DatePickerLightEventMap, } from \"@vaadin/date-picker/vaadin-date-picker-light.js\";\nimport * as React from \"react\";\nimport { createComponent, type WebComponentProps } from \"../utils/createComponent.js\";\nexport { DatePickerLightElement, };\nexport type DatePickerLightEventMap = Readonly<{\n onValidated: EventName<_DatePickerLightEventMap[\"validated\"]>;\n onChange: EventName<_DatePickerLightEventMap[\"change\"]>;\n onOpenedChanged: EventName<_DatePickerLightEventMap[\"opened-changed\"]>;\n onValueChanged: EventName<_DatePickerLightEventMap[\"value-changed\"]>;\n onInvalidChanged: EventName<_DatePickerLightEventMap[\"invalid-changed\"]>;\n}>;\nconst events = { onValidated: \"validated\", onChange: \"change\", onOpenedChanged: \"opened-changed\", onValueChanged: \"value-changed\", onInvalidChanged: \"invalid-changed\" } as DatePickerLightEventMap;\nexport type DatePickerLightProps = WebComponentProps<DatePickerLightElement, DatePickerLightEventMap>;\nexport const DatePickerLight = createComponent({\n elementClass: DatePickerLightElement, events, react: React, tagName: \"vaadin-date-picker-light\"\n});\n"],
5
- "mappings": "AAAA,WAAc,kDCCd,OAAS,mBAAmBA,MAAyF,kDACrH,UAAYC,MAAW,QACvB,OAAS,mBAAAC,MAA+C,6BASxD,IAAMC,EAAS,CAAE,YAAa,YAAa,SAAU,SAAU,gBAAiB,iBAAkB,eAAgB,gBAAiB,iBAAkB,iBAAkB,EAE1JC,EAAkBC,EAAgB,CAC3C,aAAcC,EAAwB,OAAAH,EAAQ,MAAOI,EAAO,QAAS,0BACzE,CAAC",
6
- "names": ["DatePickerLightElement", "React", "createComponent", "events", "DatePickerLight", "createComponent", "DatePickerLightElement", "React"]
7
- }
package/css/Material.css DELETED
@@ -1,13 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
- @import url(./material/FontIcons.css);
4
-
5
- @import url(./material/ColorBase.css);
6
-
7
- @import url(./material/Font.css);
8
-
9
- @import url(./material/Typography.css);
10
-
11
- @import url(./material/Shadow.css);
12
-
13
- @import url(./material/UserColors.css);
@@ -1,85 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
-
4
- html {
5
- /* Button */
6
- --vaadin-button-background: var(--lumo-contrast-5pct);
7
- --vaadin-button-border: none;
8
- --vaadin-button-border-radius: var(--lumo-border-radius-m);
9
- --vaadin-button-font-size: var(--lumo-font-size-m);
10
- --vaadin-button-font-weight: 500;
11
- --vaadin-button-height: var(--lumo-size-m);
12
- --vaadin-button-margin: var(--lumo-space-xs) 0;
13
- --vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
14
- --vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
15
- --vaadin-button-text-color: var(--lumo-primary-text-color);
16
- --vaadin-button-primary-background: var(--lumo-primary-color);
17
- --vaadin-button-primary-border: none;
18
- --vaadin-button-primary-font-weight: 600;
19
- --vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
20
- --vaadin-button-tertiary-background: transparent !important;
21
- --vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
22
- --vaadin-button-tertiary-font-weight: 500;
23
- --vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
24
- /* Checkbox */
25
- --vaadin-checkbox-background: var(--lumo-contrast-20pct);
26
- --vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
27
- --vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
28
- --vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
29
- --vaadin-checkbox-checkmark-char-indeterminate: '';
30
- --vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
31
- --vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
32
- --vaadin-checkbox-label-color: var(--lumo-body-text-color);
33
- --vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
34
- --vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
35
- --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
36
- --vaadin-checkbox-disabled-checkmark-color: var(--lumo-contrast-30pct);
37
- --vaadin-checkbox-disabled-background: var(--lumo-contrast-10pct);
38
- /* Radio button */
39
- --vaadin-radio-button-background: var(--lumo-contrast-20pct);
40
- --vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
41
- --vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
42
- --vaadin-radio-button-dot-size: 3px;
43
- --vaadin-radio-button-label-color: var(--lumo-body-text-color);
44
- --vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
45
- --vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
46
- var(--lumo-space-xs);
47
- --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
48
- --vaadin-radio-button-disabled-background: var(--lumo-contrast-10pct);
49
- --vaadin-radio-button-disabled-dot-color: var(--lumo-contrast-30pct);
50
- --vaadin-selection-color: var(--lumo-primary-color);
51
- --vaadin-selection-color-text: var(--lumo-primary-text-color);
52
- --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
53
- --vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
54
- --vaadin-focus-ring-width: 2px;
55
- /* Label */
56
- --vaadin-input-field-label-color: var(--lumo-secondary-text-color);
57
- --vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
58
- --vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
59
- --vaadin-input-field-label-font-size: var(--lumo-font-size-s);
60
- --vaadin-input-field-label-font-weight: 500;
61
- /* Helper */
62
- --vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
63
- --vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
64
- --vaadin-input-field-helper-font-weight: 400;
65
- --vaadin-input-field-helper-spacing: 0.4em;
66
- /* Error message */
67
- --vaadin-input-field-error-color: var(--lumo-error-text-color);
68
- --vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
69
- --vaadin-input-field-error-font-weight: 400;
70
- /* Input field */
71
- --vaadin-input-field-background: var(--lumo-contrast-10pct);
72
- --vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
73
- --vaadin-input-field-icon-size: var(--lumo-icon-size-m);
74
- --vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
75
- --vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
76
- --vaadin-input-field-disabled-background: var(--lumo-contrast-5pct);
77
- --vaadin-input-field-disabled-value-color: var(--lumo-disabled-text-color);
78
- --vaadin-input-field-height: var(--lumo-size-m);
79
- --vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
80
- --vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
81
- --vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
82
- --vaadin-input-field-value-color: var(--lumo-body-text-color);
83
- --vaadin-input-field-value-font-size: var(--lumo-font-size-m);
84
- --vaadin-input-field-value-font-weight: 500;
85
- }
@@ -1,7 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
- @import url(./ColorLight.css);
4
-
5
- @import url(./ColorDark.css);
6
-
7
- @import url(./ColorBase.css);
@@ -1,26 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
-
4
- html {
5
- /* Text colors */
6
- --material-body-text-color: var(--light-theme-text-color, rgba(0, 0, 0, 0.87));
7
- --material-secondary-text-color: var(--light-theme-secondary-color, rgba(0, 0, 0, 0.54));
8
- --material-disabled-text-color: var(--light-theme-disabled-color, rgba(0, 0, 0, 0.38));
9
-
10
- /* Primary colors */
11
- --material-primary-color: var(--primary-color, #6200ee);
12
- --material-primary-contrast-color: var(--dark-theme-base-color, #fff);
13
- --material-primary-text-color: var(--material-primary-color);
14
-
15
- /* Error colors */
16
- --material-error-color: var(--error-color, #b00020);
17
- --material-error-text-color: var(--material-error-color);
18
-
19
- /* Background colors */
20
- --material-background-color: var(--light-theme-background-color, #fff);
21
- --material-secondary-background-color: var(--light-theme-secondary-background-color, #f5f5f5);
22
- --material-disabled-color: rgba(0, 0, 0, 0.26);
23
-
24
- /* Divider colors */
25
- --material-divider-color: rgba(0, 0, 0, 0.12);
26
- }
@@ -1,47 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
-
4
- html {
5
- /* Text colors */
6
- --material-body-text-color: var(--dark-theme-text-color, rgba(255, 255, 255, 1));
7
- --material-secondary-text-color: var(--dark-theme-secondary-color, rgba(255, 255, 255, 0.7));
8
- --material-disabled-text-color: var(--dark-theme-disabled-color, rgba(255, 255, 255, 0.5));
9
-
10
- /* Primary colors */
11
- --material-primary-color: var(--light-primary-color, #7e3ff2);
12
- --material-primary-text-color: #b794f6;
13
-
14
- /* Error colors */
15
- --material-error-color: var(--error-color, #de2839);
16
- --material-error-text-color: var(--material-error-color);
17
-
18
- /* Background colors */
19
- --material-background-color: var(--dark-theme-background-color, #303030);
20
- --material-secondary-background-color: var(--dark-theme-secondary-background-color, #3b3b3b);
21
- --material-disabled-color: rgba(255, 255, 255, 0.3);
22
-
23
- /* Divider colors */
24
- --material-divider-color: rgba(255, 255, 255, 0.12);
25
-
26
- /* Undocumented internal properties (prefixed with three dashes) */
27
-
28
- /* Text field tweaks */
29
- --_material-text-field-input-line-background-color: #fff;
30
- --_material-text-field-input-line-opacity: 0.7;
31
- --_material-text-field-input-line-hover-opacity: 1;
32
- --_material-text-field-focused-label-opacity: 1;
33
-
34
- /* Button tweaks */
35
- --_material-button-raised-background-color: rgba(255, 255, 255, 0.08);
36
- --_material-button-outline-color: rgba(255, 255, 255, 0.2);
37
-
38
- /* Grid tweaks */
39
- --_material-grid-row-hover-background-color: rgba(255, 255, 255, 0.08);
40
- --_material-grid-row-selected-overlay-opacity: 0.16;
41
-
42
- /* Split layout tweaks */
43
- --_material-split-layout-splitter-background-color: rgba(255, 255, 255, 0.8);
44
-
45
- background-color: var(--material-background-color);
46
- color: var(--material-body-text-color);
47
- }
@@ -1,96 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
-
4
- html {
5
- /* Text colors */
6
- --material-body-text-color: var(--light-theme-text-color, rgba(0, 0, 0, 0.87));
7
- --material-secondary-text-color: var(--light-theme-secondary-color, rgba(0, 0, 0, 0.54));
8
- --material-disabled-text-color: var(--light-theme-disabled-color, rgba(0, 0, 0, 0.38));
9
-
10
- /* Primary colors */
11
- --material-primary-color: var(--primary-color, #6200ee);
12
- --material-primary-contrast-color: var(--dark-theme-base-color, #fff);
13
- --material-primary-text-color: var(--material-primary-color);
14
-
15
- /* Error colors */
16
- --material-error-color: var(--error-color, #b00020);
17
- --material-error-text-color: var(--material-error-color);
18
-
19
- /* Background colors */
20
- --material-background-color: var(--light-theme-background-color, #fff);
21
- --material-secondary-background-color: var(--light-theme-secondary-background-color, #f5f5f5);
22
- --material-disabled-color: rgba(0, 0, 0, 0.26);
23
-
24
- /* Divider colors */
25
- --material-divider-color: rgba(0, 0, 0, 0.12);
26
-
27
- /* Undocumented internal properties (prefixed with three dashes) */
28
-
29
- /* Text field tweaks */
30
- --_material-text-field-input-line-background-color: initial;
31
- --_material-text-field-input-line-opacity: initial;
32
- --_material-text-field-input-line-hover-opacity: initial;
33
- --_material-text-field-focused-label-opacity: initial;
34
-
35
- /* Button tweaks */
36
- --_material-button-raised-background-color: initial;
37
- --_material-button-outline-color: initial;
38
-
39
- /* Grid tweaks */
40
- --_material-grid-row-hover-background-color: initial;
41
-
42
- /* Split layout tweaks */
43
- --_material-split-layout-splitter-background-color: initial;
44
-
45
- background-color: var(--material-background-color);
46
- color: var(--material-body-text-color);
47
- }
48
-
49
- [theme~='dark'] {
50
- /* Text colors */
51
- --material-body-text-color: var(--dark-theme-text-color, rgba(255, 255, 255, 1));
52
- --material-secondary-text-color: var(--dark-theme-secondary-color, rgba(255, 255, 255, 0.7));
53
- --material-disabled-text-color: var(--dark-theme-disabled-color, rgba(255, 255, 255, 0.5));
54
-
55
- /* Primary colors */
56
- --material-primary-color: var(--light-primary-color, #7e3ff2);
57
- --material-primary-text-color: #b794f6;
58
-
59
- /* Error colors */
60
- --material-error-color: var(--error-color, #de2839);
61
- --material-error-text-color: var(--material-error-color);
62
-
63
- /* Background colors */
64
- --material-background-color: var(--dark-theme-background-color, #303030);
65
- --material-secondary-background-color: var(--dark-theme-secondary-background-color, #3b3b3b);
66
- --material-disabled-color: rgba(255, 255, 255, 0.3);
67
-
68
- /* Divider colors */
69
- --material-divider-color: rgba(255, 255, 255, 0.12);
70
-
71
- /* Undocumented internal properties (prefixed with three dashes) */
72
-
73
- /* Text field tweaks */
74
- --_material-text-field-input-line-background-color: #fff;
75
- --_material-text-field-input-line-opacity: 0.7;
76
- --_material-text-field-input-line-hover-opacity: 1;
77
- --_material-text-field-focused-label-opacity: 1;
78
-
79
- /* Button tweaks */
80
- --_material-button-raised-background-color: rgba(255, 255, 255, 0.08);
81
- --_material-button-outline-color: rgba(255, 255, 255, 0.2);
82
-
83
- /* Grid tweaks */
84
- --_material-grid-row-hover-background-color: rgba(255, 255, 255, 0.08);
85
- --_material-grid-row-selected-overlay-opacity: 0.16;
86
-
87
- /* Split layout tweaks */
88
- --_material-split-layout-splitter-background-color: rgba(255, 255, 255, 0.8);
89
-
90
- background-color: var(--material-background-color);
91
- color: var(--material-body-text-color);
92
- }
93
-
94
- a {
95
- color: inherit;
96
- }
@@ -1,22 +0,0 @@
1
- /* Generated file, do not edit */
2
-
3
-
4
- html {
5
- /* Font family */
6
- --material-font-family: 'Roboto', sans-serif;
7
-
8
- /* Font sizes */
9
- --material-h1-font-size: 6rem;
10
- --material-h2-font-size: 3.75rem;
11
- --material-h3-font-size: 3rem;
12
- --material-h4-font-size: 2.125rem;
13
- --material-h5-font-size: 1.5rem;
14
- --material-h6-font-size: 1.25rem;
15
- --material-body-font-size: 1rem;
16
- --material-small-font-size: 0.875rem;
17
- --material-button-font-size: 0.875rem;
18
- --material-caption-font-size: 0.75rem;
19
-
20
- /* Icon size */
21
- --material-icon-font-size: 20px;
22
- }