@lucca-front/scss 21.0.3 → 21.1.0-split.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.
Files changed (59) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +3 -2
  3. package/src/commons/base.scss +1 -1
  4. package/src/commons/config.scss +7 -7
  5. package/src/commons/vars.scss +2 -1
  6. package/src/components/appLayout/component.scss +0 -1
  7. package/src/components/appLayout/index.scss +0 -5
  8. package/src/components/appLayout/mods.scss +0 -4
  9. package/src/components/bubbleIcon/component.scss +54 -0
  10. package/src/components/bubbleIcon/exports.scss +4 -0
  11. package/src/components/bubbleIcon/index.scss +48 -0
  12. package/src/components/bubbleIcon/mods.scss +39 -0
  13. package/src/components/bubbleIcon/states.scss +13 -0
  14. package/src/components/bubbleIcon/vars.scss +13 -0
  15. package/src/components/bubbleIllustration/component.scss +20 -0
  16. package/src/components/bubbleIllustration/exports.scss +4 -0
  17. package/src/components/bubbleIllustration/index.scss +34 -0
  18. package/src/components/bubbleIllustration/mods.scss +11 -0
  19. package/src/components/bubbleIllustration/states.scss +14 -0
  20. package/src/components/bubbleIllustration/vars.scss +4 -0
  21. package/src/components/callout/component.scss +1 -0
  22. package/src/components/clear/index.scss +2 -1
  23. package/src/components/color/component.scss +82 -0
  24. package/src/components/color/exports.scss +4 -0
  25. package/src/components/color/index.scss +74 -0
  26. package/src/components/color/mods.scss +48 -0
  27. package/src/components/color/states.scss +15 -0
  28. package/src/components/color/vars.scss +13 -0
  29. package/src/components/container/index.scss +1 -0
  30. package/src/components/container/mods.scss +2 -1
  31. package/src/components/dialog/index.scss +0 -4
  32. package/src/components/dialog/mods.scss +0 -4
  33. package/src/components/dialog/vars.scss +1 -1
  34. package/src/components/emptyState/component.scss +1 -6
  35. package/src/components/emptyState/index.scss +10 -0
  36. package/src/components/emptyState/mods.scss +9 -0
  37. package/src/components/emptyState/vars.scss +2 -1
  38. package/src/components/errorPage/component.scss +58 -42
  39. package/src/components/errorPage/index.scss +0 -4
  40. package/src/components/errorPage/mods.scss +0 -38
  41. package/src/components/fieldset/component.scss +0 -4
  42. package/src/components/filterPill/component.scss +1 -12
  43. package/src/components/form/component.scss +1 -1
  44. package/src/components/form/index.scss +6 -0
  45. package/src/components/form/mods.scss +9 -0
  46. package/src/components/highlightData/component.scss +0 -1
  47. package/src/components/highlightData/mods.scss +2 -3
  48. package/src/components/highlightData/vars.scss +2 -3
  49. package/src/components/horizontalNavigation/component.scss +1 -1
  50. package/src/components/index.scss +3 -0
  51. package/src/components/inputFramed/component.scss +11 -16
  52. package/src/components/mainLayout/component.scss +4 -2
  53. package/src/components/mainLayout/mods.scss +2 -0
  54. package/src/components/mainLayout/vars.scss +2 -0
  55. package/src/components/multiSelect/mods.scss +1 -1
  56. package/src/components/navside/component.scss +0 -4
  57. package/src/components/resourceCard/mods.scss +10 -0
  58. package/src/components/resourceCard/states.scss +10 -0
  59. package/src/components/simpleSelect/mods.scss +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/scss",
3
- "version": "21.0.3",
3
+ "version": "21.1.0-split.0",
4
4
  "description": "A Sass framework for Lucca products.",
5
5
  "main": "src/main.scss",
6
6
  "scripts": {},
@@ -23,6 +23,7 @@
23
23
  "normalize.css": "^8.0.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "@lucca-front/icons": "21.0.3"
26
+ "@lucca-front/icons": "21.1.0-split.0",
27
+ "@lucca/prisme": "21.1.0-split.0"
27
28
  }
28
29
  }
@@ -6,7 +6,7 @@
6
6
  @use '@lucca-front/scss/src/commons/utils/color';
7
7
 
8
8
  @mixin body {
9
- background-color: var(--pr-t-elevation-surface-default);
9
+ background-color: var(--commons-background-base);
10
10
  color: var(--pr-t-color-text);
11
11
  font: var(--pr-t-font-body-M);
12
12
  text-rendering: geometricPrecision;
@@ -523,16 +523,16 @@ $pumpkin: (
523
523
  ) !default;
524
524
 
525
525
  $pineapple: (
526
- 50: #fdf8e3,
527
- 100: #faf2c6,
528
- 200: #f8eaa5,
526
+ 50: #fef7d7,
527
+ 100: #fbf1b6,
528
+ 200: #fae999,
529
529
  300: #f9e16c,
530
530
  400: #f8dc4f,
531
531
  500: #e7c623,
532
532
  600: #d6b300,
533
- 700: #c29e00,
534
- 800: #9e8100,
535
- 900: #7a6400,
533
+ 700: #b89600,
534
+ 800: #8a7000,
535
+ 900: #665400,
536
536
  ) !default;
537
537
 
538
538
  // https://sass-lang.com/documentation/variables/#advanced-variable-functions
@@ -613,7 +613,7 @@ $colorInput: (
613
613
  icon-disabled: var(--palettes-neutral-500),
614
614
  background: var(--palettes-neutral-0),
615
615
  background-critical: var(--palettes-critical-50),
616
- background-disabled: var(--palettes-neutral-100),
616
+ background-disabled: var(--palettes-neutral-50),
617
617
  border: var(--palettes-neutral-300),
618
618
  border-hover: var(--palettes-neutral-400),
619
619
  border-checked: var(--palettes-product-400),
@@ -82,7 +82,7 @@
82
82
  --commons-font-family: '#{config.$fontFamily}', Tahoma, sans-serif;
83
83
  --commons-font-family-brand: '#{config.$fontFamilyBrand}', sans-serif;
84
84
 
85
- --commons-background-base: var(--palettes-neutral-25);
85
+ --commons-background-base: var(--pr-t-elevation-surface-default);
86
86
 
87
87
  --commons-divider-color: var(--palettes-neutral-200);
88
88
 
@@ -90,6 +90,7 @@
90
90
  --commons-container-maxWidth: 100rem; // 100 + 0 = 100
91
91
 
92
92
  --commons-navSide-width: 0px;
93
+
93
94
  /* stylelint-disable-next-line property-disallowed-list */
94
95
  --commons-navSide-compact-width: 7.5rem;
95
96
  --commons-navSide-mobile-toggle-height: 3.5rem;
@@ -19,7 +19,6 @@
19
19
  }
20
20
 
21
21
  .appLayout-navSide {
22
- min-inline-size: 0;
23
22
  grid-area: navSide;
24
23
  overflow-y: var(--components-appLayout-navSide-overflowX);
25
24
  overflow-x: var(--components-appLayout-navSide-overflowY);
@@ -17,10 +17,5 @@
17
17
  @include mobileNavSideBottom;
18
18
  }
19
19
  }
20
-
21
- &:has(.appLayout-banner:empty),
22
- &:not(:has(.appLayout-banner)) {
23
- @include withNoBanner;
24
- }
25
20
  }
26
21
  }
@@ -13,7 +13,3 @@
13
13
  --components-appLayout-navSide-overflowX: visible;
14
14
  --components-appLayout-navSide-overflowY: visible;
15
15
  }
16
-
17
- @mixin withNoBanner {
18
- --commons-banner-height: 0px;
19
- }
@@ -0,0 +1,54 @@
1
+ @use '@lucca-front/scss/src/commons/utils/namespace';
2
+
3
+ @mixin component($atRoot: namespace.$defaultAtRoot) {
4
+ color: var(--components-bubbleIcon-color);
5
+ inline-size: var(--components-bubbleIcon-size);
6
+ block-size: var(--components-bubbleIcon-size);
7
+ display: inline-grid;
8
+
9
+ @at-root ($atRoot) {
10
+ .bubbleIcon-icon,
11
+ .bubbleIcon-bubble {
12
+ grid-column-start: 1;
13
+ grid-row-start: 1;
14
+ }
15
+
16
+ .bubbleIcon-bubble {
17
+ scale: var(--components-bubbleIcon-bubble-scale);
18
+ inline-size: 100%;
19
+ block-size: 100%;
20
+ }
21
+
22
+ .bubbleIcon-bubble-pathBlock,
23
+ .bubbleIcon-bubble-pathInline {
24
+ fill: var(--components-bubbleIcon-bubble-path-fill);
25
+ }
26
+
27
+ .bubbleIcon-bubble-pathBlock {
28
+ display: var(--components-bubbleIcon-bubble-pathBlock-display);
29
+ }
30
+
31
+ .bubbleIcon-bubble-pathInline {
32
+ display: var(--components-bubbleIcon-bubble-pathInline-display);
33
+ }
34
+
35
+ .bubbleIcon-icon {
36
+ display: flex;
37
+ isolation: isolate;
38
+ position: relative;
39
+ inset-block-start: var(--components-bubbleIcon-icon-insetBlockStart);
40
+ inset-block-end: var(--components-bubbleIcon-icon-insetBlockEnd);
41
+ inset-inline-start: var(--components-bubbleIcon-icon-insetInlineStart);
42
+ inset-inline-end: var(--components-bubbleIcon-icon-insetInlineEnd);
43
+
44
+ lu-icon,
45
+ .lucca-icon {
46
+ margin: auto;
47
+
48
+ .lucca-icon {
49
+ margin: 0;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,4 @@
1
+ @forward 'vars';
2
+ @forward 'mods';
3
+ @forward 'states';
4
+ @forward 'component';
@@ -0,0 +1,48 @@
1
+
2
+
3
+ @use 'exports' as *;
4
+
5
+ .bubbleIcon {
6
+ @layer components {
7
+ @include vars;
8
+ @include component;
9
+ }
10
+
11
+ @layer mods {
12
+ &.mod-S {
13
+ @include S;
14
+ }
15
+
16
+ &.mod-L {
17
+ @include L;
18
+ }
19
+
20
+ &.is-success {
21
+ @include success;
22
+ }
23
+
24
+ &.is-critical {
25
+ @include critical;
26
+ }
27
+
28
+ &.is-warning {
29
+ @include warning;
30
+ }
31
+
32
+ &.mod-top {
33
+ @include top ;
34
+ }
35
+
36
+ &.mod-bottom {
37
+ @include bottom;
38
+ }
39
+
40
+ &.mod-left {
41
+ @include left;
42
+ }
43
+
44
+ &.mod-right {
45
+ @include right;
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,39 @@
1
+ @use '@lucca-front/icons/src/icon/exports' as icon;
2
+
3
+ @mixin S {
4
+ --components-bubbleIcon-size: var(--pr-t-spacings-400);
5
+
6
+ .lucca-icon {
7
+ @include icon.XS;
8
+ }
9
+ }
10
+
11
+ @mixin L {
12
+ --components-bubbleIcon-size: var(--pr-t-spacings-600);
13
+
14
+ .lucca-icon {
15
+ @include icon.L;
16
+ }
17
+ }
18
+
19
+ @mixin left {
20
+ --components-bubbleIcon-icon-insetInlineStart: var(--components-bubbleIcon-icon-insetOffset);
21
+ }
22
+
23
+ @mixin right {
24
+ --components-bubbleIcon-icon-insetInlineEnd: var(--components-bubbleIcon-icon-insetOffset);
25
+ --components-bubbleIcon-bubble-scale: -1 -1;
26
+ }
27
+
28
+ @mixin top {
29
+ --components-bubbleIcon-icon-insetBlockStart: var(--components-bubbleIcon-icon-insetOffset);
30
+ --components-bubbleIcon-bubble-pathBlock-display: inherit;
31
+ --components-bubbleIcon-bubble-pathInline-display: none;
32
+ }
33
+
34
+ @mixin bottom {
35
+ --components-bubbleIcon-icon-insetBlockEnd: var(--components-bubbleIcon-icon-insetOffset);
36
+ --components-bubbleIcon-bubble-pathBlock-display: inherit;
37
+ --components-bubbleIcon-bubble-pathInline-display: none;
38
+ --components-bubbleIcon-bubble-scale: -1 -1;
39
+ }
@@ -0,0 +1,13 @@
1
+ @use '@lucca-front/scss/src/commons/utils/color';
2
+
3
+ @mixin success {
4
+ @include color.palette('success');
5
+ }
6
+
7
+ @mixin critical {
8
+ @include color.palette('critical');
9
+ }
10
+
11
+ @mixin warning {
12
+ @include color.palette('warning');
13
+ }
@@ -0,0 +1,13 @@
1
+ @mixin vars {
2
+ --components-bubbleIcon-size: var(--pr-t-spacings-500);
3
+ --components-bubbleIcon-color: var(--palettes-600, var(--palettes-product-600));
4
+ --components-bubbleIcon-bubble-path-fill: var(--palettes-100, var(--palettes-product-100));
5
+ --components-bubbleIcon-bubble-pathBlock-display: none;
6
+ --components-bubbleIcon-bubble-pathInline-display: inherit;
7
+ --components-bubbleIcon-bubble-scale: 1;
8
+ --components-bubbleIcon-icon-insetOffset: 1px;
9
+ --components-bubbleIcon-icon-insetBlockStart: auto;
10
+ --components-bubbleIcon-icon-insetBlockEnd: auto;
11
+ --components-bubbleIcon-icon-insetInlineStart: auto;
12
+ --components-bubbleIcon-icon-insetInlineEnd: auto;
13
+ }
@@ -0,0 +1,20 @@
1
+
2
+ @use '@lucca-front/scss/src/commons/utils/namespace';
3
+
4
+ @mixin component($atRoot: namespace.$defaultAtRoot) {
5
+ display: inline-block;
6
+ inline-size: var(--components-bubbleIllustration-size);
7
+ block-size: var(--components-bubbleIllustration-size);
8
+
9
+ svg {
10
+ display: block;
11
+ inline-size: 100%;
12
+ block-size: 100%;
13
+ }
14
+
15
+ @at-root ($atRoot) {
16
+ .bubbleIllustration-action {
17
+ display: var(--components-bubbleIllustration-action-display);
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,4 @@
1
+ @forward 'vars';
2
+ @forward 'mods';
3
+ @forward 'states';
4
+ @forward 'component';
@@ -0,0 +1,34 @@
1
+ @use 'exports' as *;
2
+
3
+ .bubbleIllustration {
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
7
+ }
8
+
9
+ @layer mods {
10
+ &.mod-S {
11
+ @include S;
12
+ }
13
+
14
+ &.mod-L {
15
+ @include L;
16
+ }
17
+
18
+ &.is-success {
19
+ @include success;
20
+ }
21
+
22
+ &.is-critical {
23
+ @include critical;
24
+ }
25
+
26
+ &.is-warning {
27
+ @include warning;
28
+ }
29
+
30
+ &:not(.mod-action) {
31
+ @include noAction;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,11 @@
1
+ @mixin S {
2
+ --components-bubbleIllustration-size: var(--pr-t-spacings-400);
3
+ }
4
+
5
+ @mixin L {
6
+ --components-bubbleIllustration-size: var(--pr-t-spacings-600);
7
+ }
8
+
9
+ @mixin noAction {
10
+ --components-bubbleIllustration-action-display: none;
11
+ }
@@ -0,0 +1,14 @@
1
+ @use '@lucca-front/scss/src/commons/utils/color';
2
+
3
+
4
+ @mixin success {
5
+ @include color.palette('success');
6
+ }
7
+
8
+ @mixin critical {
9
+ @include color.palette('critical');
10
+ }
11
+
12
+ @mixin warning {
13
+ @include color.palette('warning');
14
+ }
@@ -0,0 +1,4 @@
1
+ @mixin vars {
2
+ --components-bubbleIllustration-action-display: block;
3
+ --components-bubbleIllustration-size: var(--pr-t-spacings-500);
4
+ }
@@ -45,6 +45,7 @@
45
45
  justify-content: space-between;
46
46
  gap: var(--pr-t-spacings-150);
47
47
  align-items: flex-start;
48
+
48
49
  }
49
50
 
50
51
  .callout-content-description-actions {
@@ -25,7 +25,8 @@
25
25
  .filterPill[disabled] &,
26
26
  .filterPill:not(.is-filled) &,
27
27
  .textfield-input[disabled] &,
28
- .textfield-input:not(.is-filled) & {
28
+ .textfield-input:not(.is-filled) &,
29
+ .textfield-input:not(.is-selected) & {
29
30
  @include hidden;
30
31
  }
31
32
 
@@ -0,0 +1,82 @@
1
+ @use '@lucca-front/icons/src/commons/utils/icon';
2
+ @use '@lucca-front/scss/src/commons/utils/namespace';
3
+ @use '@lucca-front/scss/src/commons/utils/a11y';
4
+ @use '@lucca-front/scss/src/commons/utils/text';
5
+
6
+ @mixin component($atRoot: namespace.$defaultAtRoot) {
7
+ display: flex;
8
+ align-items: center;
9
+ gap: var(--pr-t-spacings-100);
10
+
11
+ .color-value {
12
+ inline-size: var(--components-color-value-inlineSize);
13
+ aspect-ratio: 1;
14
+ background: var(--components-color-value-backgroundColor);
15
+ color: rgb(from var(--components-color-value-backgroundColor) var(--components-color-value-channel) var(--components-color-value-channel) var(--components-color-value-channel));
16
+ border-radius: var(--pr-t-border-radius-small);
17
+ box-shadow: inset 0 0 0 1px var(--components-color-value-boxShadowColor);
18
+ scale: var(--components-color-value-scale);
19
+ transition-property: scale;
20
+ transition-duration: var(--commons-animations-durations-fast);
21
+ flex-shrink: 0;
22
+
23
+ &::before {
24
+ @include icon.generate('sign_confirm');
25
+
26
+ display: var(--components-color-value-before-display);
27
+ position: absolute;
28
+ inset: 0;
29
+ place-items: center;
30
+ font-size: 1.5rem;
31
+ }
32
+ }
33
+
34
+ @at-root ($atRoot) {
35
+ .color-name {
36
+ @include text.ellipsis;
37
+ }
38
+ }
39
+ }
40
+
41
+ @mixin componentPicker($atRoot: namespace.$defaultAtRoot) {
42
+ inline-size: var(--components-colorPicker-inlineSize);
43
+
44
+ .simpleSelect-field-value {
45
+ padding: 1px;
46
+ margin: -1px;
47
+ min-inline-size: 0;
48
+ }
49
+
50
+ .simpleSelect-field-input {
51
+ padding-inline-start: var(--components-colorPicker-input-paddingInlineStart);
52
+ color: transparent;
53
+ }
54
+ }
55
+
56
+ @mixin componentPanel($atRoot: namespace.$defaultAtRoot) {
57
+ .lu-picker-content {
58
+ .cdk-overlay-pane:has(&) {
59
+ min-inline-size: 0 !important;
60
+ inline-size: 17rem;
61
+ }
62
+ }
63
+
64
+ [role="listbox"] {
65
+ display: flex;
66
+ flex-wrap: wrap;
67
+ padding: var(--pr-t-spacings-100);
68
+ }
69
+
70
+ .color {
71
+ padding: var(--pr-t-spacings-50);
72
+ }
73
+
74
+ @at-root ($atRoot) {
75
+ .colorPanel-highlighted {
76
+ display: flex;
77
+ padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
78
+ margin: 0 var(--pr-t-spacings-100) var(--pr-t-spacings-100);
79
+ gap: var(--pr-t-spacings-50);
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,4 @@
1
+ @forward 'vars';
2
+ @forward 'mods';
3
+ @forward 'states';
4
+ @forward 'component';
@@ -0,0 +1,74 @@
1
+ @use 'exports' as *;
2
+
3
+ .color {
4
+ @layer components {
5
+ @include vars;
6
+ @include component;
7
+ }
8
+
9
+ @layer mods {
10
+ &.mod-M {
11
+ @include M;
12
+ }
13
+
14
+ &.mod-L {
15
+ @include L;
16
+ }
17
+
18
+ &.mod-XL {
19
+ @include XL;
20
+ }
21
+
22
+ [aria-selected="true"] & {
23
+ @include selected;
24
+ }
25
+
26
+ .optionItem.is-highlighted &,
27
+ [role="listbox"] .optionItem:hover & {
28
+ @include highlighted;
29
+ }
30
+ }
31
+ }
32
+
33
+ .colorPicker {
34
+ @layer components {
35
+ @include varsPicker;
36
+ @include componentPicker;
37
+ }
38
+
39
+ @layer mods {
40
+ &.mod-compact {
41
+ @include compact;
42
+
43
+ .form-field.mod-S & {
44
+ @include compactS;
45
+ }
46
+
47
+ &.is-clearable {
48
+ @include compactClearable;
49
+
50
+ .form-field.mod-S & {
51
+ @include compactClearableS;
52
+ }
53
+ }
54
+ }
55
+
56
+ &.is-selected:not(.is-searchFilled) {
57
+ @include selectedNotFilled;
58
+
59
+ .form-field.mod-S & {
60
+ @include selectedNotFilledS;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ .colorPanel {
67
+ @layer components {
68
+ @include componentPanel;
69
+ }
70
+
71
+ @layer mods {
72
+ @include childrenReset;
73
+ }
74
+ }
@@ -0,0 +1,48 @@
1
+ @use '@lucca-front/scss/src/commons/utils/a11y';
2
+
3
+ @mixin M {
4
+ --components-color-value-inlineSize: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
5
+ }
6
+
7
+ @mixin L {
8
+ --components-color-value-inlineSize: var(--pr-t-spacings-300);
9
+ }
10
+
11
+ @mixin XL {
12
+ --components-color-value-inlineSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
13
+ }
14
+
15
+ @mixin compact {
16
+ --components-colorPicker-inlineSize: 4.625rem;
17
+
18
+ .color-name {
19
+ @include a11y.mask;
20
+ }
21
+ }
22
+
23
+ @mixin compactS {
24
+ --components-colorPicker-inlineSize: 3.75rem;
25
+ }
26
+
27
+ @mixin compactClearable {
28
+ --components-colorPicker-inlineSize: 6.125rem;
29
+ }
30
+
31
+ @mixin compactClearableS {
32
+ --components-colorPicker-inlineSize: 4.875rem;
33
+ }
34
+
35
+ @mixin childrenReset {
36
+ .lu-picker-content {
37
+ padding: 0;
38
+ }
39
+
40
+ .optionItem-value {
41
+ padding: 0;
42
+ background-color: transparent !important;
43
+
44
+ &::before {
45
+ display: none;
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,15 @@
1
+ @mixin selected {
2
+ --components-color-value-before-display: grid;
3
+ }
4
+
5
+ @mixin highlighted {
6
+ --components-color-value-scale: calc(7/6);
7
+ }
8
+
9
+ @mixin selectedNotFilled {
10
+ --components-colorPicker-input-paddingInlineStart: var(--pr-t-spacings-400);
11
+ }
12
+
13
+ @mixin selectedNotFilledS {
14
+ --components-colorPicker-input-paddingInlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
15
+ }
@@ -0,0 +1,13 @@
1
+ @mixin vars {
2
+ --components-color-value-before-display: none;
3
+ --components-color-value-scale: 1;
4
+ --components-color-value-inlineSize: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
5
+ --components-color-value-boxShadowColor: transparent;
6
+ --components-color-value-backgroundColor: transparent;
7
+ --components-color-value-channel: clamp(0, (((r * .299) + (g * .587) + (b * .114)) - 128) * -1000, 255);
8
+ }
9
+
10
+ @mixin varsPicker {
11
+ --components-colorPicker-input-paddingInlineStart: 0;
12
+ --components-colorPicker-inlineSize: auto;
13
+ }
@@ -12,6 +12,7 @@
12
12
  @include center;
13
13
  }
14
14
 
15
+ // deprecated
15
16
  &.mod-S {
16
17
  @include S;
17
18
  }
@@ -2,8 +2,9 @@
2
2
  --commons-container-marginInline: auto;
3
3
  }
4
4
 
5
+ // deprecated
5
6
  @mixin S {
6
- --commons-container-padding: var(--pr-t-spacings-200);
7
+ --commons-container-padding: 0 var(--pr-t-spacings-200);
7
8
  }
8
9
 
9
10
  @mixin maxM {
@@ -61,10 +61,6 @@
61
61
  @include withCloseButton;
62
62
  }
63
63
 
64
- &:has(.dialog-inside-header-actionOptional:not(:empty)) {
65
- @include withAction;
66
- }
67
-
68
64
  &.mod-stacked {
69
65
  @include stacked;
70
66
  }
@@ -90,10 +90,6 @@
90
90
  }
91
91
  }
92
92
 
93
- @mixin withAction {
94
- --components-dialog-insideHeaderAreas: 'container action close';
95
- }
96
-
97
93
  @mixin stacked {
98
94
 
99
95
  }