react-input-material 0.0.712 → 0.0.714

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.
@@ -0,0 +1,18 @@
1
+ import { FunctionComponent, ReactElement } from 'react';
2
+ import { ThemeProviderProps } from '@rmwc/theme';
3
+ /**
4
+ * Wraps a theme provider to given element if a configuration is provided.
5
+ * @param properties - Component provided properties.
6
+ * @param properties.children - Component or string to wrap.
7
+ * @param properties.configuration - Potential theme provider configuration.
8
+ * @param properties.wrap - Instead of injecting a div tag, wrap a child
9
+ * component by merging the theme styles directly onto it. Useful when you
10
+ * don't want to mess with layout.
11
+ * @returns Wrapped content.
12
+ */
13
+ export declare const WrapThemeProvider: FunctionComponent<{
14
+ children: ReactElement;
15
+ configuration?: ThemeProviderProps['options'];
16
+ wrap?: boolean;
17
+ }>;
18
+ export default WrapThemeProvider;
@@ -0,0 +1 @@
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@rmwc/theme"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["@rmwc/theme","react/jsx-runtime"],r);else{var n="object"==typeof exports?r(require("@rmwc/theme"),require("react/jsx-runtime")):r(e["@rmwc/theme"],e["react/jsx-runtime"]);for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,(function(e,r){return function(){var n={1:function(e){e.exports=r},6:function(r){r.exports=e}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{WrapThemeProvider:function(){return l}});var u=o(6),a=o(1),l=function(e){var r=e.children,n=e.configuration,t=e.wrap;return n?(0,a.jsx)(u.ThemeProvider,{options:n,wrap:!1!==t,children:r}):r};return i.default=l,i}()}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.712",
3
+ "version": "0.0.714",
4
4
  "description": "Reusable material design based input field with support for (richt-)text, code, selections, numbers, dates and so on.",
5
5
  "keywords": [
6
6
  "form-field",
@@ -26,8 +26,8 @@
26
26
  "dist/components/WrapConfigurations.js",
27
27
  "dist/components/WrapStrict.d.ts",
28
28
  "dist/components/WrapStrict.js",
29
- "dist/components/WrapThemeProvicer.d.ts",
30
- "dist/components/WrapThemeProvicer.js",
29
+ "dist/components/WrapThemeProvider.d.ts",
30
+ "dist/components/WrapThemeProvider.js",
31
31
  "dist/components/WrapTooltip.d.ts",
32
32
  "dist/components/WrapTooltip.js",
33
33
  "dist/components/FileInput/helper.d.ts",
@@ -99,7 +99,7 @@
99
99
  },
100
100
  "runkitExample": "require('@babel/runtime/package.json')\n\nglobalThis.window = globalThis\n\nconst {TextInput} = require('react-input-material')\n\nTextInput.webComponentAdapterWrapped",
101
101
  "devDependencies": {
102
- "@babel/eslint-parser": "^7.27.5",
102
+ "@babel/eslint-parser": "^7.28.0",
103
103
  "@babel/plugin-transform-proto-to-assign": "^7.27.1",
104
104
  "@babel/preset-react": "^7.27.1",
105
105
  "@babel/runtime": "^7.27.6",
@@ -129,14 +129,14 @@
129
129
  "@rmwc/typography": "^14.3.5",
130
130
  "@stylistic/eslint-plugin": "^5.1.0",
131
131
  "@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
132
- "@tiptap/core": "^2.23.1",
133
- "@tiptap/react": "^2.23.1",
134
- "@tiptap/starter-kit": "^2.23.1",
132
+ "@tiptap/core": "^2.24.1",
133
+ "@tiptap/react": "^2.24.1",
134
+ "@tiptap/starter-kit": "^2.24.1",
135
135
  "@types/ejs": "^3.1.5",
136
136
  "@types/html-minifier": "^4.0.5",
137
137
  "@types/jquery": "^3.5.32",
138
138
  "@types/jsdom": "^21.1.7",
139
- "@types/node": "^24.0.8",
139
+ "@types/node": "^24.0.10",
140
140
  "@types/react": "^18.3.23",
141
141
  "@types/react-dom": "^18.3.7",
142
142
  "@types/react-transition-group": "^4.4.12",
@@ -145,15 +145,15 @@
145
145
  "@typescript-eslint/eslint-plugin": "^8.35.1",
146
146
  "@typescript-eslint/parser": "^8.35.1",
147
147
  "blob-util": "^2.0.2",
148
- "clientnode": "3.0.1299",
148
+ "clientnode": "3.0.1300",
149
149
  "css-loader": "^7.1.2",
150
150
  "cssnano": "^7.0.7",
151
- "documentation-website": "^1.0.391",
152
- "eslint": "^9.30.0",
151
+ "documentation-website": "^1.0.392",
152
+ "eslint": "^9.30.1",
153
153
  "eslint-config-google": "^0.14.0",
154
- "eslint-plugin-jsdoc": "^51.3.1",
154
+ "eslint-plugin-jsdoc": "^51.3.3",
155
155
  "identity-obj-proxy": "^3.0.0",
156
- "jest": "^30.0.3",
156
+ "jest": "^30.0.4",
157
157
  "jsdoc": "^4.0.4",
158
158
  "material-components-web": "^14.0.0",
159
159
  "material-icons": "^1.13.14",
@@ -166,20 +166,20 @@
166
166
  "prop-types": "^15.8.1",
167
167
  "react": "^18.3.1",
168
168
  "react-dom": "^18.3.1",
169
- "react-generic-animate": "^0.0.78",
170
- "react-generic-dummy": "^0.0.97",
171
- "react-generic-tools": "^0.0.71",
169
+ "react-generic-animate": "^0.0.79",
170
+ "react-generic-dummy": "^0.0.98",
171
+ "react-generic-tools": "^0.0.72",
172
172
  "react-transition-group": "^4.4.5",
173
173
  "react-useanimations": "^2.10.0",
174
174
  "spark-md5": "^3.0.2",
175
175
  "style-loader": "^4.0.0",
176
- "stylelint": "^16.21.0",
176
+ "stylelint": "^16.21.1",
177
177
  "stylelint-config-standard": "^38.0.0",
178
178
  "tslib": "^2.8.1",
179
179
  "typescript-eslint": "^8.35.1",
180
180
  "typescript-plugin-css-modules": "^5.1.0",
181
- "web-component-wrapper": "^0.0.519",
182
- "weboptimizer": "^2.0.1594",
181
+ "web-component-wrapper": "^0.0.520",
182
+ "weboptimizer": "^2.0.1595",
183
183
  "webpack-dev-server": "^5.2.2"
184
184
  },
185
185
  "peerDependencies": {