dirk-cfx-react 1.1.9 → 1.1.10

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/dist/index.cjs CHANGED
@@ -2247,6 +2247,20 @@ var error = {
2247
2247
  fontSize: "var(--mantine-font-size-xs)",
2248
2248
  fontFamily: "Akrobat Regular"
2249
2249
  };
2250
+ var description = {
2251
+ fontSize: "var(--mantine-font-size-xs)"
2252
+ };
2253
+ var genericInputStyles = {
2254
+ styles: {
2255
+ label,
2256
+ error,
2257
+ description,
2258
+ input: {
2259
+ backgroundColor: "rgba(76, 76, 76, 0.3)",
2260
+ minHeight: "4vh"
2261
+ }
2262
+ }
2263
+ };
2250
2264
  var theme = core.createTheme({
2251
2265
  primaryColor: "dirk",
2252
2266
  primaryShade: 9,
@@ -2300,27 +2314,14 @@ var theme = core.createTheme({
2300
2314
  }
2301
2315
  }
2302
2316
  },
2303
- Textarea: {
2304
- styles: {
2305
- label,
2306
- error
2307
- }
2308
- },
2309
- Button: {
2310
- styles: {
2311
- root: {
2312
- fontSize: "var(--mantine-font-size-xs)"
2313
- }
2314
- }
2315
- },
2316
- Select: {
2317
- styles: {
2318
- label,
2319
- input: {
2320
- padding: "var(--mantine-spacing-sm)"
2321
- }
2322
- }
2323
- },
2317
+ Input: genericInputStyles,
2318
+ TextInput: genericInputStyles,
2319
+ NumberInput: genericInputStyles,
2320
+ Select: genericInputStyles,
2321
+ MultiSelect: genericInputStyles,
2322
+ Textarea: genericInputStyles,
2323
+ ColorInput: genericInputStyles,
2324
+ DateInput: genericInputStyles,
2324
2325
  Pill: {
2325
2326
  styles: (theme2) => ({
2326
2327
  root: {
@@ -2332,52 +2333,12 @@ var theme = core.createTheme({
2332
2333
  textTransform: "uppercase",
2333
2334
  letterSpacing: "0.05em",
2334
2335
  fontFamily: "Akrobat Bold",
2335
- fontSize: theme2.fontSizes.xs,
2336
+ fontSize: "1.25vh",
2336
2337
  borderRadius: theme2.defaultRadius,
2337
- padding: `${theme2.spacing.xs} ${theme2.spacing.sm}`
2338
+ paddingBottom: "0.5vh",
2339
+ paddingTop: "0.5vh"
2338
2340
  }
2339
2341
  })
2340
- },
2341
- Input: {
2342
- styles: {
2343
- label,
2344
- error,
2345
- input: {
2346
- padding: "var(--mantine-spacing-sm)",
2347
- backgroundColor: "rgba(76, 76, 76, 0.3)"
2348
- }
2349
- }
2350
- },
2351
- ColorInput: {
2352
- styles: {
2353
- label,
2354
- input: {
2355
- padding: "var(--mantine-spacing-sm)"
2356
- }
2357
- }
2358
- },
2359
- TextInput: {
2360
- styles: {
2361
- label,
2362
- wrapper: {},
2363
- section: {
2364
- marginRight: "0.2vh"
2365
- },
2366
- input: {
2367
- padding: "var(--mantine-spacing-sm)"
2368
- }
2369
- }
2370
- },
2371
- NumberInput: {
2372
- styles: {
2373
- label,
2374
- input: {
2375
- padding: "var(--mantine-spacing-sm)"
2376
- },
2377
- section: {
2378
- pointerEvents: "all"
2379
- }
2380
- }
2381
2342
  }
2382
2343
  },
2383
2344
  colors: {