kmaterialize 2.3.3-1.0.2 → 2.3.3-1.0.21

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 (42) hide show
  1. package/README.md +4 -4
  2. package/components/air-datepicker/_air-datepicker.scss +137 -0
  3. package/components/air-datepicker/air-datepicker.ts +192 -0
  4. package/components/alert/_alerts.scss +130 -0
  5. package/components/alert/alert.ts +73 -0
  6. package/components/appbar/appbar.css +301 -4
  7. package/components/button/_buttons.scss +39 -1
  8. package/components/card/_cards.scss +9 -1
  9. package/components/checkbox/_checkboxes.scss +120 -229
  10. package/components/collapsible/_collapsible.scss +50 -0
  11. package/components/color-input/_color-input.scss +124 -0
  12. package/components/color-input/color-input.ts +203 -0
  13. package/components/dropdown/dropdown.ts +1 -1
  14. package/components/file-input/_file-input-enhanced.scss +61 -0
  15. package/components/file-input/file-input.ts +203 -0
  16. package/components/kanban/_kanban.scss +148 -0
  17. package/components/kanban/kanban.ts +133 -0
  18. package/components/list/_collection.scss +10 -2
  19. package/components/number-input/number-input.ts +103 -0
  20. package/components/password-input/password-input.ts +72 -0
  21. package/components/slider/_range.scss +5 -1
  22. package/components/switch/_switches.scss +5 -0
  23. package/components/textfield/_input-fields.scss +4 -4
  24. package/components/textfield/_select.scss +54 -0
  25. package/components/tom-select/_tom-select-field.scss +256 -0
  26. package/components/tom-select/tom-select-field.ts +175 -0
  27. package/components/toolbar/_toolbar.scss +324 -0
  28. package/components/toolbar/toolbar.ts +152 -0
  29. package/dist/css/materialize.colors.min.css +2 -2
  30. package/dist/css/materialize.css +10575 -711
  31. package/dist/css/materialize.min.css +2 -2
  32. package/dist/css/materialize.min.css.map +1 -1
  33. package/dist/js/materialize.cjs.js +1136 -45
  34. package/dist/js/materialize.d.ts +227 -2
  35. package/dist/js/materialize.js +1136 -45
  36. package/dist/js/materialize.min.js +2 -2
  37. package/dist/js/materialize.mjs +1128 -46
  38. package/package.json +45 -1
  39. package/sass/_colors.scss +191 -5
  40. package/sass/_global.scss +240 -1
  41. package/sass/materialize.scss +14 -1
  42. package/sass/mixins.module.scss +6 -6
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "The responsive front-end library based on Material Design from Google.",
4
4
  "author": "The Materialize Team",
5
5
  "homepage": "https://materialize.kevinzarshenas.com",
6
- "version": "2.3.3-1.0.2",
6
+ "version": "2.3.3-1.0.21",
7
7
  "style": "dist/css/materialize.css",
8
8
  "sass": "sass/materialize.scss",
9
9
  "typings": "dist/js/materialize.d.ts",
@@ -56,19 +56,62 @@
56
56
  "dependencies": {
57
57
  "normalize.css": "^8.0.1"
58
58
  },
59
+ "peerDependencies": {
60
+ "@simonwep/pickr": "^1.9.0",
61
+ "air-datepicker": "^3.5.0",
62
+ "filepond": "^4.30.0",
63
+ "filepond-plugin-file-validate-type": "^1.2.0",
64
+ "filepond-plugin-image-exif-orientation": "^1.0.0",
65
+ "filepond-plugin-image-preview": "^4.6.0",
66
+ "imask": "^7.6.0",
67
+ "tom-select": "^2.3.0"
68
+ },
69
+ "peerDependenciesMeta": {
70
+ "@simonwep/pickr": {
71
+ "optional": true
72
+ },
73
+ "air-datepicker": {
74
+ "optional": true
75
+ },
76
+ "filepond": {
77
+ "optional": true
78
+ },
79
+ "filepond-plugin-file-validate-type": {
80
+ "optional": true
81
+ },
82
+ "filepond-plugin-image-exif-orientation": {
83
+ "optional": true
84
+ },
85
+ "filepond-plugin-image-preview": {
86
+ "optional": true
87
+ },
88
+ "imask": {
89
+ "optional": true
90
+ },
91
+ "tom-select": {
92
+ "optional": true
93
+ }
94
+ },
59
95
  "devDependencies": {
60
96
  "@fontsource/material-icons": "^5.2.5",
61
97
  "@rollup/plugin-terser": "^1.0.0",
62
98
  "@rollup/plugin-typescript": "^11.1.6",
99
+ "@simonwep/pickr": "^1.9.0",
63
100
  "@storybook/addon-docs": "^9.0.12",
64
101
  "@storybook/addon-themes": "^9.0.12",
65
102
  "@storybook/html": "^9.0.12",
66
103
  "@storybook/html-vite": "^9.0.12",
67
104
  "@types/node": "^20.5.2",
105
+ "air-datepicker": "^3.5.0",
68
106
  "archiver": "^7.0.1",
69
107
  "autoprefixer": "^10.4.21",
70
108
  "eslint": "^9.10.0",
71
109
  "eslint-plugin-storybook": "^9.0.12",
110
+ "filepond": "^4.30.0",
111
+ "filepond-plugin-file-validate-type": "^1.2.0",
112
+ "filepond-plugin-image-exif-orientation": "^1.0.0",
113
+ "filepond-plugin-image-preview": "^4.6.0",
114
+ "imask": "^7.6.0",
72
115
  "jasmine": "^5.1.0",
73
116
  "jasmine-browser-runner": "^2.5.0",
74
117
  "jasmine-core": "^5.2.0",
@@ -79,6 +122,7 @@
79
122
  "rollup-plugin-scss": "^4.0.0",
80
123
  "sass": "^1.77.8",
81
124
  "storybook": "^9.0.12",
125
+ "tom-select": "^2.3.0",
82
126
  "tslib": "^2.6.3",
83
127
  "typescript": "^5.4.3",
84
128
  "typescript-eslint": "^8.6.0",
package/sass/_colors.scss CHANGED
@@ -1,4 +1,8 @@
1
1
  @charset "UTF-8";
2
+ @use "sass:map";
3
+ @use "sass:list";
4
+ @use "sass:meta";
5
+ @use "sass:math";
2
6
  // Google Color Palette defined: http://www.google.com/design/spec/style/color.html
3
7
 
4
8
  $materialize-red: (
@@ -371,12 +375,12 @@ $colors: (
371
375
 
372
376
 
373
377
  // usage: colorFunc("name_of_color", "type_of_color")
374
- // to avoid to repeating map-get($colors, ...)
378
+ // to avoid to repeating map.get($colors, ...)
375
379
  @function colorFunc($color, $type) {
376
- @if map-has-key($colors, $color) {
377
- $curr_color: map-get($colors, $color);
378
- @if map-has-key($curr_color, $type) {
379
- @return map-get($curr_color, $type);
380
+ @if map.has-key($colors, $color) {
381
+ $curr_color: map.get($colors, $color);
382
+ @if map.has-key($curr_color, $type) {
383
+ @return map.get($curr_color, $type);
380
384
  }
381
385
  }
382
386
  @warn "Unknown `#{$color}` - `#{$type}` in $colors.";
@@ -385,6 +389,11 @@ $colors: (
385
389
 
386
390
 
387
391
  // Color Classes
392
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/color_class.scss
393
+ // Adds the -border variant (background/text already existed) plus
394
+ // .light-mode-*/.dark-mode-* variants below, so a color can be forced
395
+ // regardless of the current color-scheme (e.g. an element that should
396
+ // always render "the light-mode red" no matter which theme is active).
388
397
  @each $color_name, $color in $colors {
389
398
  @each $color_type, $color_value in $color {
390
399
  @if $color_type == "base" {
@@ -394,6 +403,32 @@ $colors: (
394
403
  .#{$color_name}-text {
395
404
  color: $color_value !important;
396
405
  }
406
+ .#{$color_name}-border {
407
+ border-color: $color_value !important;
408
+ }
409
+
410
+ @media (prefers-color-scheme: light) {
411
+ .light-mode-#{$color_name} {
412
+ background-color: $color_value !important;
413
+ }
414
+ .light-mode-#{$color_name}-text {
415
+ color: $color_value !important;
416
+ }
417
+ .light-mode-#{$color_name}-border {
418
+ border-color: $color_value !important;
419
+ }
420
+ }
421
+ @media (prefers-color-scheme: dark) {
422
+ .dark-mode-#{$color_name} {
423
+ background-color: $color_value !important;
424
+ }
425
+ .dark-mode-#{$color_name}-text {
426
+ color: $color_value !important;
427
+ }
428
+ .dark-mode-#{$color_name}-border {
429
+ border-color: $color_value !important;
430
+ }
431
+ }
397
432
  }
398
433
  @else if $color_name != "shades" {
399
434
  .#{$color_name}.#{$color_type} {
@@ -402,11 +437,38 @@ $colors: (
402
437
  .#{$color_name}-text.text-#{$color_type} {
403
438
  color: $color_value !important;
404
439
  }
440
+ .#{$color_name}-border.border-#{$color_type} {
441
+ border-color: $color_value !important;
442
+ }
443
+
444
+ @media (prefers-color-scheme: light) {
445
+ .light-mode-#{$color_name}.#{$color_type}-light-mode {
446
+ background-color: $color_value !important;
447
+ }
448
+ .light-mode-#{$color_name}-text.text-#{$color_type}-light-mode {
449
+ color: $color_value !important;
450
+ }
451
+ .light-mode-#{$color_name}-border.border-#{$color_type}-light-mode {
452
+ border-color: $color_value !important;
453
+ }
454
+ }
455
+ @media (prefers-color-scheme: dark) {
456
+ .dark-mode-#{$color_name}.#{$color_type}-dark-mode {
457
+ background-color: $color_value !important;
458
+ }
459
+ .dark-mode-#{$color_name}-text.text-#{$color_type}-dark-mode {
460
+ color: $color_value !important;
461
+ }
462
+ .dark-mode-#{$color_name}-border.border-#{$color_type}-dark-mode {
463
+ border-color: $color_value !important;
464
+ }
465
+ }
405
466
  }
406
467
  }
407
468
  }
408
469
 
409
470
  // Shade classes
471
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/color_class.scss
410
472
  @each $color, $color_value in $shades {
411
473
  .#{$color} {
412
474
  background-color: $color_value !important;
@@ -414,4 +476,128 @@ $colors: (
414
476
  .#{$color}-text {
415
477
  color: $color_value !important;
416
478
  }
479
+ .#{$color}-border {
480
+ border-color: $color_value !important;
481
+ }
482
+
483
+ @media (prefers-color-scheme: light) {
484
+ .light-mode-#{$color} {
485
+ background-color: $color_value !important;
486
+ }
487
+ .light-mode-#{$color}-text {
488
+ color: $color_value !important;
489
+ }
490
+ .light-mode-#{$color}-border {
491
+ border-color: $color_value !important;
492
+ }
493
+ }
494
+ @media (prefers-color-scheme: dark) {
495
+ .dark-mode-#{$color} {
496
+ background-color: $color_value !important;
497
+ }
498
+ .dark-mode-#{$color}-text {
499
+ color: $color_value !important;
500
+ }
501
+ .dark-mode-#{$color}-border {
502
+ border-color: $color_value !important;
503
+ }
504
+ }
505
+ }
506
+
507
+ /// Gradients
508
+ ///////////////////////////////////////////////////////
509
+ ///
510
+
511
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/color_class.scss (angle/direction helpers + linear-gradient mixin)
512
+ // Convert an angle between units. @author Chris Eppstein
513
+ @function convert-angle($value, $unit) {
514
+ $convertable-units: deg grad turn rad;
515
+ $conversion-factors: 1 (10grad/9deg) (1turn/360deg) (3.1415926rad/180deg);
516
+
517
+ @if list.index($convertable-units, math.unit($value)) and list.index($convertable-units, $unit) {
518
+ @return $value / list.nth($conversion-factors, list.index($convertable-units, math.unit($value))) * list.nth($conversion-factors, list.index($convertable-units, $unit));
519
+ }
520
+
521
+ @warn "Cannot convert `#{math.unit($value)}` to `#{$unit}`.";
522
+ }
523
+
524
+ // Is `$value` a direction keyword or an angle?
525
+ @function is-direction($value) {
526
+ $is-direction: list.index((to top, to top right, to right top, to right, to bottom right, to right bottom, to bottom, to bottom left, to left bottom, to left, to left top, to top left), $value);
527
+ $is-angle: meta.type-of($value) == 'number' and list.index('deg' 'grad' 'turn' 'rad', math.unit($value));
528
+
529
+ @return $is-direction or $is-angle;
530
+ }
531
+
532
+ // Prints a linear-gradient with a plain color fallback (the gradient's own
533
+ // start color, so something reasonable still shows if gradients aren't
534
+ // supported) ahead of the real `linear-gradient()` declaration.
535
+ @mixin linear-gradient($direction, $color-stops...) {
536
+ @if is-direction($direction) == false {
537
+ $color-stops: ($direction, $color-stops);
538
+ $direction: 180deg;
539
+ }
540
+
541
+ background: list.nth(list.nth($color-stops, 1), 1);
542
+ background: linear-gradient($direction, $color-stops);
543
+ }
544
+
545
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/color_gradient_collection.scss
546
+ // 30 ready-made two-color gradients, each built from the palette above via
547
+ // colorFunc() so they stay in sync if a palette color ever changes.
548
+ $gradient-colors: (
549
+ gradient-45deg-light-blue-teal: ('start-color': colorFunc("light-blue", "lighten-4"), 'end-color': colorFunc("teal", "accent-2"), 'direction': 45deg),
550
+ gradient-45deg-indigo-light-blue: ('start-color': colorFunc("indigo", "darken-1"), 'end-color': colorFunc("light-blue", "lighten-2"), 'direction': 45deg),
551
+ gradient-45deg-light-blue-indigo: ('start-color': colorFunc("light-blue", "lighten-4"), 'end-color': colorFunc("indigo", "lighten-3"), 'direction': 45deg),
552
+ gradient-45deg-yellow-green: ('start-color': colorFunc("yellow", "accent-1"), 'end-color': colorFunc("green", "accent-1"), 'direction': 45deg),
553
+ gradient-45deg-orange-deep-orange: ('start-color': colorFunc("orange", "lighten-4"), 'end-color': colorFunc("deep-orange", "lighten-4"), 'direction': 45deg),
554
+ gradient-45deg-deep-purple-purple: ('start-color': colorFunc("deep-purple", "lighten-4"), 'end-color': colorFunc("purple", "lighten-5"), 'direction': 45deg),
555
+ gradient-45deg-red-pink: ('start-color': colorFunc("red", "accent-2"), 'end-color': colorFunc("pink", "lighten-3"), 'direction': 45deg),
556
+ gradient-45deg-light-green-amber: ('start-color': colorFunc("light-green", "lighten-3"), 'end-color': colorFunc("amber", "lighten-5"), 'direction': 45deg),
557
+ gradient-45deg-amber-amber: ('start-color': colorFunc("amber", "darken-4"), 'end-color': colorFunc("amber", "lighten-1"), 'direction': 45deg),
558
+ gradient-45deg-purple-pink: ('start-color': colorFunc("purple", "accent-1"), 'end-color': colorFunc("pink", "lighten-5"), 'direction': 45deg),
559
+ gradient-45deg-teal-cyan: ('start-color': colorFunc("teal", "lighten-5"), 'end-color': colorFunc("cyan", "accent-3"), 'direction': 45deg),
560
+ gradient-45deg-blue-grey-blue-grey: ('start-color': colorFunc("blue-grey", "lighten-4"), 'end-color': colorFunc("blue-grey", "darken-1"), 'direction': 45deg),
561
+ gradient-45deg-orange-amber: ('start-color': colorFunc("orange", "darken-4"), 'end-color': colorFunc("blue", "darken-2"), 'direction': 45deg),
562
+ gradient-45deg-indigo-blue: ('start-color': colorFunc("indigo", "darken-2"), 'end-color': colorFunc("blue", "darken-2"), 'direction': 45deg),
563
+ gradient-45deg-brown-brown: ('start-color': colorFunc("brown", "darken-1"), 'end-color': colorFunc("blue", "lighten-4"), 'direction': 45deg),
564
+ gradient-45deg-blue-grey-blue: ('start-color': colorFunc("blue-grey", "darken-4"), 'end-color': colorFunc("blue", "accent-3"), 'direction': 45deg),
565
+ gradient-45deg-purple-deep-orange: ('start-color': colorFunc("purple", "darken-1"), 'end-color': colorFunc("deep-orange", "accent-2"), 'direction': 45deg),
566
+ gradient-45deg-green-teal: ('start-color': colorFunc("green", "darken-1"), 'end-color': colorFunc("teal", "accent-3"), 'direction': 45deg),
567
+ gradient-45deg-purple-light-blue: ('start-color': colorFunc("purple", "accent-2"), 'end-color': colorFunc("light-blue", "lighten-2"), 'direction': 45deg),
568
+ gradient-45deg-cyan-cyan: ('start-color': colorFunc("cyan", "accent-2"), 'end-color': colorFunc("cyan", "accent-3"), 'direction': 45deg),
569
+ gradient-45deg-yellow-teal: ('start-color': colorFunc("yellow", "lighten-4"), 'end-color': colorFunc("teal", "accent-2"), 'direction': 45deg),
570
+ gradient-45deg-purple-deep-purple: ('start-color': colorFunc("purple", "darken-2"), 'end-color': colorFunc("deep-purple", "accent-2"), 'direction': 45deg),
571
+ gradient-45deg-cyan-light-green: ('start-color': colorFunc("cyan", "darken-2"), 'end-color': colorFunc("light-green", "accent-2"), 'direction': 45deg),
572
+ gradient-45deg-purple-amber: ('start-color': colorFunc("purple", "accent-3"), 'end-color': colorFunc("amber", "darken-2"), 'direction': 45deg),
573
+ gradient-45deg-indigo-purple: ('start-color': colorFunc("indigo", "darken-2"), 'end-color': colorFunc("purple", "darken-2"), 'direction': 45deg),
574
+ gradient-45deg-deep-purple-blue: ('start-color': colorFunc("deep-purple", "accent-4"), 'end-color': colorFunc("blue", "darken-2"), 'direction': 45deg),
575
+ gradient-45deg-deep-orange-orange: ('start-color': colorFunc("deep-orange", "darken-4"), 'end-color': colorFunc("orange", "darken-2"), 'direction': 45deg),
576
+ gradient-45deg-light-blue-cyan: ('start-color': colorFunc("light-blue", "darken-2"), 'end-color': colorFunc("cyan", "lighten-1"), 'direction': 45deg),
577
+ gradient-45deg-blue-indigo: ('start-color': colorFunc("blue", "accent-4"), 'end-color': colorFunc("indigo", "darken-1"), 'direction': 45deg),
578
+ gradient-45deg-semi-dark: ('start-color': #00aeff, 'end-color': #3369e6, 'direction': -90deg),
579
+ ) !default;
580
+
581
+ @each $gcolor_name, $gcolor in $gradient-colors {
582
+ $start-color: map.get($gcolor, start-color);
583
+ $end-color: map.get($gcolor, end-color);
584
+ $direction: map.get($gcolor, direction);
585
+
586
+ .#{$gcolor_name} {
587
+ @include linear-gradient($direction, $start-color, $end-color);
588
+
589
+ // Drop shadow tinted to match the gradient's end color, for a
590
+ // raised/glowing look instead of a flat generic shadow.
591
+ &.gradient-shadow {
592
+ box-shadow: 0 6px 20px 0 rgba($end-color, 0.5) !important;
593
+ }
594
+ }
595
+
596
+ // Standalone version of the same shadow: doesn't require the matching
597
+ // .#{$gcolor_name} background class, so it can be dropped onto any
598
+ // element (e.g. a plain card, a button) that just wants the tinted
599
+ // glow without the actual gradient fill.
600
+ .#{$gcolor_name}-shadow {
601
+ box-shadow: 0 6px 20px 0 rgba($end-color, 0.5) !important;
602
+ }
417
603
  }
package/sass/_global.scss CHANGED
@@ -91,7 +91,15 @@ a {
91
91
  }
92
92
 
93
93
  // Blockquote
94
- blockquote { margin: 20px 0; padding-left: 1.5rem; border-left: 5px solid var(--md-sys-color-primary); }
94
+ blockquote { margin: 20px 0; padding-left: 0.9rem; border-left: 1px solid var(--md-sys-color-primary); }
95
+
96
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/component_enhance.scss
97
+ // Icon inside a blockquote inherits the surrounding text size and sits on
98
+ // the baseline instead of towering over the first line.
99
+ blockquote i.material-icons {
100
+ font-size: inherit;
101
+ vertical-align: sub;
102
+ }
95
103
 
96
104
  // Icon Styles
97
105
  i {
@@ -470,6 +478,21 @@ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5
470
478
  }
471
479
  }
472
480
 
481
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/dimensions.scss
482
+ // Same all-direction spacing as .p-*/.m-* above (reuses $spacing-values,
483
+ // so the 0-6 steps and their rem values stay a single source of truth),
484
+ // under the .padding-*/.margin-* names some projects already use in their
485
+ // markup. Excludes "auto": the source only ever defined steps 0-6.
486
+ @each $property, $shortcut in $spacing-shortcuts {
487
+ @each $name, $value in $spacing-values {
488
+ @if $name != "auto" {
489
+ .#{$property}-#{$name} {
490
+ #{$property}: $value !important;
491
+ }
492
+ }
493
+ }
494
+ }
495
+
473
496
  // Docked display
474
497
  .display-docked {
475
498
  position: absolute;
@@ -478,13 +501,229 @@ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5
478
501
  visibility: hidden;
479
502
  }
480
503
 
504
+ /**************************
505
+ Utility Typography Classes
506
+ **************************/
507
+
508
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/typography.scss
509
+ // Numeric font weights: .font-weight-100 through .font-weight-900
510
+ @for $i from 1 through 9 {
511
+ .font-weight-#{$i * 100} {
512
+ font-weight: $i * 100 !important;
513
+ }
514
+ }
515
+
516
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/typography.scss
517
+ // Keyword font weights
518
+ .font-weight-normal { font-weight: normal !important; }
519
+ .font-weight-bold { font-weight: bold !important; }
520
+ .font-weight-lighter { font-weight: lighter !important; }
521
+ .font-weight-bolder { font-weight: bolder !important; }
522
+
523
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/typography.scss
524
+ .line-height-normal { line-height: normal !important; }
525
+
526
+ /**************************
527
+ Utility Cursor Classes
528
+ **************************/
529
+
530
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/cursors.scss
531
+ // One class per CSS cursor keyword (.cursor-pointer, .cursor-grab, ...),
532
+ // plus an !important variant of each for overriding a more specific rule.
533
+ $cursor-types: (
534
+ "alias": alias,
535
+ "all-scroll": all-scroll,
536
+ "auto": auto,
537
+ "cell": cell,
538
+ "col-resize": col-resize,
539
+ "context-menu": context-menu,
540
+ "copy": copy,
541
+ "crosshair": crosshair,
542
+ "default": default,
543
+ "e-resize": e-resize,
544
+ "ew-resize": ew-resize,
545
+ "grab": grab,
546
+ "grabbing": grabbing,
547
+ "help": help,
548
+ "move": move,
549
+ "n-resize": n-resize,
550
+ "ne-resize": ne-resize,
551
+ "nesw-resize": nesw-resize,
552
+ "ns-resize": ns-resize,
553
+ "nw-resize": nw-resize,
554
+ "nwse-resize": nwse-resize,
555
+ "no-drop": no-drop,
556
+ "none": none,
557
+ "not-allowed": not-allowed,
558
+ "pointer": pointer,
559
+ "progress": progress,
560
+ "row-resize": row-resize,
561
+ "s-resize": s-resize,
562
+ "se-resize": se-resize,
563
+ "sw-resize": sw-resize,
564
+ "text": text,
565
+ "w-resize": w-resize,
566
+ "wait": wait,
567
+ "zoom-in": zoom-in,
568
+ "zoom-out": zoom-out
569
+ ) !default;
570
+
571
+ @each $name, $value in $cursor-types {
572
+ .cursor-#{$name} {
573
+ cursor: $value;
574
+ }
575
+ .cursor-#{$name}-important {
576
+ cursor: $value !important;
577
+ }
578
+ }
579
+
481
580
  .confirmation-btns {
482
581
  margin-left: auto;
483
582
  }
484
583
 
584
+ /**************************
585
+ Utility Screen-Fit Classes
586
+ **************************/
587
+
588
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/dimensions.scss
589
+ // Size an element to (or at least to) the viewport.
590
+ .screen-fit {
591
+ width: 100%;
592
+ height: 100vh;
593
+ }
594
+
595
+ .screen-fit-x {
596
+ width: 100%;
597
+ }
598
+
599
+ .screen-fit-y {
600
+ align-items: stretch;
601
+ }
602
+
603
+ .screen-fit-min {
604
+ min-width: 100%;
605
+ min-height: 100vh;
606
+ }
607
+
608
+ .screen-fit-min-x {
609
+ min-width: 100%;
610
+ height: 100vh;
611
+ }
612
+
613
+ .screen-fit-min-y {
614
+ width: 100%;
615
+ min-height: 100vh;
616
+ }
617
+
618
+ /**************************
619
+ Utility Screen-Flex Classes
620
+ **************************/
621
+
622
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/dimensions.scss
623
+ // A one-class-per-modifier flexbox layout system: `.screen-flex` turns the
624
+ // element into a flex container, and each `.screen-*` modifier below is
625
+ // meant to be combined with it directly on the same element.
626
+ .screen-flex {
627
+ display: flex;
628
+
629
+ &.screen-flex-important {
630
+ display: flex !important;
631
+ }
632
+
633
+ // Alignment on both axes
634
+ &.screen-center {
635
+ justify-content: center;
636
+ align-items: center;
637
+ }
638
+ &.screen-left {
639
+ justify-content: left;
640
+ align-items: center;
641
+ }
642
+ &.screen-right {
643
+ justify-content: right;
644
+ align-items: right;
645
+ }
646
+
647
+ // Wrapping
648
+ &.screen-wrap {
649
+ flex-wrap: wrap;
650
+ }
651
+ &.screen-no-wrap {
652
+ flex-wrap: nowrap;
653
+ }
654
+
655
+ // Vertical (cross-axis) alignment only
656
+ &.screen-center-y {
657
+ align-items: center;
658
+ }
659
+ &.screen-bottom-y {
660
+ align-items: flex-end;
661
+ }
662
+ &.screen-top-y {
663
+ align-items: flex-start;
664
+ }
665
+
666
+ // Horizontal (main-axis) alignment only
667
+ &.screen-center-x {
668
+ justify-content: center;
669
+ }
670
+ &.screen-center-space-x {
671
+ justify-content: space-around;
672
+ }
673
+ &.screen-center-distributed-x {
674
+ justify-content: space-evenly;
675
+ }
676
+ &.screen-distributed-x {
677
+ justify-content: space-between;
678
+ }
679
+
680
+ // Direction
681
+ &.screen-direction-y-asc {
682
+ flex-direction: column;
683
+ }
684
+ &.screen-direction-y-desc {
685
+ flex-direction: column-reverse;
686
+ }
687
+ &.screen-direction-x-asc {
688
+ flex-direction: row;
689
+ }
690
+ &.screen-direction-x-desc {
691
+ flex-direction: row-reverse;
692
+ }
693
+
694
+ // Direct children
695
+ .element-flex-grow-1 {
696
+ flex-grow: 1;
697
+ }
698
+ }
699
+
700
+ .element-flex {
701
+ display: flex;
702
+ }
703
+
704
+ /**************************
705
+ Utility Object-Fit Classes
706
+ **************************/
707
+
708
+ // @implement /Users/kzarshenas/Sites/CrazyProject/CrazyPHP/resources/Scss/style/dimensions.scss
709
+ .object-fit-cover {
710
+ object-fit: cover;
711
+ }
712
+
713
+ .object-fit-fill {
714
+ object-fit: fill;
715
+ }
716
+
485
717
  /* This is needed for some mobile phones to display the Google Icon font properly */
486
718
  .material-icons, .material-symbols-outlined,
487
719
  .material-symbols-rounded, .material-symbols-sharp {
488
720
  text-rendering: optimizeLegibility;
489
721
  font-feature-settings: 'liga';
722
+
723
+ // @implement /Users/kzarshenas/Sites/RodeoFx/rodeo_toolkit_2/app/Front/style/scss/component_enhance.scss
724
+ // Icon glyphs are decorative/actionable, not text - a double-click or
725
+ // drag shouldn't be able to select them.
726
+ -webkit-user-select: none;
727
+ -ms-user-select: none;
728
+ user-select: none;
490
729
  }
@@ -13,12 +13,13 @@
13
13
  @forward './grid';
14
14
  // animations
15
15
  @forward './transitions.css';
16
- @forward './pulse.css';
17
16
  // custom
18
17
  @forward './table_of_contents';
19
18
  @forward './tapTarget';
20
19
 
21
20
  @forward '../components/button/buttons';
21
+ @forward '../components/alert/alerts';
22
+ @forward '../components/kanban/kanban';
22
23
  @forward '../components/collapsible/collapsible'; // custom
23
24
  @forward '../components/badge/badges';
24
25
  @forward '../components/card/cards';
@@ -31,6 +32,7 @@
31
32
  @forward '../components/dialog/modal';
32
33
  @forward '../components/dialog/materialbox'; // custom
33
34
  @forward '../components/chip/chips';
35
+ @forward '../components/toolbar/toolbar';
34
36
  //@forward '../components/appbar/navbar';
35
37
  @forward '../components/appbar/appbar.css';
36
38
  @forward '../components/navigation-drawer/sidenav';
@@ -49,3 +51,14 @@
49
51
  @forward '../components/textfield/select';
50
52
  @forward '../components/textfield/file-input';
51
53
  @forward '../components/textfield/formfields.css';
54
+ @forward '../components/color-input/color-input';
55
+ @forward '../components/air-datepicker/air-datepicker';
56
+ @forward '../components/file-input/file-input-enhanced';
57
+ @forward '../components/tom-select/tom-select-field';
58
+
59
+ // Forwarded last so its overflow:visible on .pulse wins any specificity
60
+ // ties against components like .btn-floating (overflow:hidden) - pulse's
61
+ // expanding ::before ring needs to render outside its host element's
62
+ // bounds, which an earlier source position let .btn-floating silently
63
+ // clip away.
64
+ @forward './pulse.css';
@@ -75,23 +75,23 @@
75
75
  }
76
76
 
77
77
  @mixin btn-elevated {
78
- //color: var(--md-sys-color-on-secondary-container);
79
- //background-color: var(--md-sys-color-secondary-container);
78
+ color: var(--md-sys-color-on-secondary-container);
79
+ background-color: var(--md-sys-color-secondary-container);
80
80
  @extend .z-depth-1;
81
81
 
82
82
  &:hover,
83
83
  &:focus {
84
- //color: var(--md-sys-color-primary);
84
+ color: var(--md-sys-color-primary);
85
85
  }
86
86
 
87
87
  &:hover {
88
88
  @extend .z-depth-2;
89
- //background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-on-secondary-container) 16%);
89
+ background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-on-secondary-container) 16%);
90
90
  }
91
91
 
92
92
  &:focus {
93
93
  @extend .z-depth-1;
94
- //background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-primary) 20%);
94
+ background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-primary) 20%);
95
95
  }
96
96
 
97
97
  @include focus-visible();
@@ -127,7 +127,7 @@
127
127
  @mixin btn-flat {
128
128
  @extend .z-depth-0;
129
129
  color: var(--md-sys-color-primary);
130
- background-color: transparent;
130
+ background-color: var(--md-sys-color-surface-variant);
131
131
 
132
132
  &:hover,
133
133
  &:focus {