@mezzanine-ui/core 1.0.0-beta.5 → 1.0.0-beta.6

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 (89) hide show
  1. package/_styles.scss +3 -5
  2. package/autocomplete/_autocomplete-styles.scss +9 -0
  3. package/autocomplete/autocomplete.d.ts +1 -0
  4. package/autocomplete/autocomplete.js +1 -0
  5. package/breadcrumb/_breadcrumb-styles.scss +4 -2
  6. package/calendar/_calendar-styles.scss +1 -0
  7. package/date-time-range-picker/_date-time-range-picker-styles.scss +25 -0
  8. package/date-time-range-picker/_date-time-range-picker.scss +1 -0
  9. package/date-time-range-picker/_index.scss +1 -0
  10. package/date-time-range-picker/dateTimeRangePicker.d.ts +7 -0
  11. package/date-time-range-picker/dateTimeRangePicker.js +9 -0
  12. package/date-time-range-picker/index.d.ts +1 -0
  13. package/date-time-range-picker/index.js +1 -0
  14. package/drawer/_drawer-styles.scss +15 -7
  15. package/drawer/drawer.d.ts +2 -0
  16. package/drawer/drawer.js +2 -0
  17. package/filter-area/_filter-area-styles.scss +7 -0
  18. package/form/_form-field-styles.scss +27 -0
  19. package/form/formField.d.ts +10 -0
  20. package/form/formField.js +13 -1
  21. package/form/index.js +1 -1
  22. package/modal/_modal-styles.scss +8 -8
  23. package/modal/modal.d.ts +1 -0
  24. package/modal/modal.js +1 -0
  25. package/multiple-date-picker/_index.scss +1 -0
  26. package/multiple-date-picker/_multiple-date-picker-styles.scss +77 -0
  27. package/multiple-date-picker/_multiple-date-picker.scss +1 -0
  28. package/multiple-date-picker/index.d.ts +1 -0
  29. package/multiple-date-picker/index.js +1 -0
  30. package/multiple-date-picker/multipleDatePicker.d.ts +20 -0
  31. package/multiple-date-picker/multipleDatePicker.js +19 -0
  32. package/notification-center/_notification-center-styles.scss +6 -2
  33. package/package.json +3 -3
  34. package/picker/_picker-styles.scss +1 -2
  35. package/section/_index.scss +1 -0
  36. package/section/_section-styles.scss +18 -0
  37. package/section/_section.scss +1 -0
  38. package/section/index.d.ts +1 -0
  39. package/section/index.js +1 -0
  40. package/section/section.d.ts +4 -0
  41. package/section/section.js +6 -0
  42. package/select/_select-styles.scss +9 -27
  43. package/select/_select.scss +0 -1
  44. package/select/select.d.ts +1 -3
  45. package/select/select.js +1 -3
  46. package/time-panel/_time-panel-styles.scss +3 -13
  47. package/time-panel/timePanel.d.ts +0 -1
  48. package/time-panel/timePanel.js +0 -1
  49. package/app-bar/_app-bar-styles.scss +0 -125
  50. package/app-bar/_app-bar.scss +0 -5
  51. package/app-bar/_index.scss +0 -1
  52. package/app-bar/appBar.d.ts +0 -8
  53. package/app-bar/appBar.js +0 -8
  54. package/app-bar/appBarBrand.d.ts +0 -4
  55. package/app-bar/appBarBrand.js +0 -8
  56. package/app-bar/appBarMain.d.ts +0 -4
  57. package/app-bar/appBarMain.js +0 -8
  58. package/app-bar/appBarSupport.d.ts +0 -4
  59. package/app-bar/appBarSupport.js +0 -8
  60. package/app-bar/index.d.ts +0 -4
  61. package/app-bar/index.js +0 -4
  62. package/date-range-picker/_date-range-picker-styles.scss +0 -21
  63. package/date-range-picker/_date-range-picker.scss +0 -5
  64. package/date-range-picker/_index.scss +0 -1
  65. package/date-range-picker/dateRangePicker.d.ts +0 -11
  66. package/date-range-picker/dateRangePicker.js +0 -13
  67. package/date-range-picker/index.d.ts +0 -1
  68. package/date-range-picker/index.js +0 -1
  69. package/date-time-picker/_date-time-picker-styles.scss +0 -15
  70. package/date-time-picker/_date-time-picker.scss +0 -2
  71. package/date-time-picker/_index.scss +0 -1
  72. package/date-time-picker/dateTimePicker.d.ts +0 -9
  73. package/date-time-picker/dateTimePicker.js +0 -11
  74. package/date-time-picker/index.d.ts +0 -1
  75. package/date-time-picker/index.js +0 -1
  76. package/popconfirm/_index.scss +0 -1
  77. package/popconfirm/_popconfirm-styles.scss +0 -31
  78. package/popconfirm/_popconfirm.scss +0 -1
  79. package/popconfirm/index.d.ts +0 -1
  80. package/popconfirm/index.js +0 -1
  81. package/popconfirm/popconfirm.d.ts +0 -5
  82. package/popconfirm/popconfirm.js +0 -7
  83. package/popover/_index.scss +0 -1
  84. package/popover/_popover-styles.scss +0 -27
  85. package/popover/_popover.scss +0 -1
  86. package/popover/index.d.ts +0 -1
  87. package/popover/index.js +0 -1
  88. package/popover/popover.d.ts +0 -6
  89. package/popover/popover.js +0 -8
package/_styles.scss CHANGED
@@ -28,7 +28,6 @@
28
28
 
29
29
  // Utility
30
30
  @include _load-styles($options, backdrop);
31
- @include _load-styles($options, popover);
32
31
  @include _load-styles($options, tooltip);
33
32
  @include _load-styles($options, calendar);
34
33
  @include _load-styles($options, time-panel);
@@ -49,7 +48,6 @@
49
48
  @include _load-styles($options, pagination);
50
49
  @include _load-styles($options, drawer);
51
50
  @include _load-styles($options, navigation);
52
- @include _load-styles($options, app-bar);
53
51
  @include _load-styles($options, page-footer);
54
52
  @include _load-styles($options, page-header);
55
53
  @include _load-styles($options, content-header);
@@ -65,6 +63,7 @@
65
63
  @include _load-styles($options, tree);
66
64
  @include _load-styles($options, table);
67
65
  @include _load-styles($options, inline-message);
66
+ @include _load-styles($options, section);
68
67
 
69
68
  // Data Entry
70
69
  @include _load-styles($options, checkbox);
@@ -80,8 +79,8 @@
80
79
  @include _load-styles($options, upload, upload-item);
81
80
  @include _load-styles($options, upload, upload-picture-card);
82
81
  @include _load-styles($options, picker);
83
- @include _load-styles($options, date-range-picker);
84
- @include _load-styles($options, date-time-picker);
82
+ @include _load-styles($options, multiple-date-picker);
83
+ @include _load-styles($options, date-time-range-picker);
85
84
  @include _load-styles($options, slider);
86
85
  @include _load-styles($options, dropdown);
87
86
 
@@ -95,7 +94,6 @@
95
94
  @include _load-styles($options, message);
96
95
  @include _load-styles($options, modal);
97
96
  @include _load-styles($options, notification-center);
98
- @include _load-styles($options, popconfirm);
99
97
  @include _load-styles($options, progress);
100
98
  @include _load-styles($options, spin);
101
99
  @include _load-styles($options, skeleton);
@@ -1,9 +1,18 @@
1
1
  @use '../select/select' as select;
2
2
  @use './autocomplete' as *;
3
+ @use '~@mezzanine-ui/system/spacing' as spacing;
3
4
 
4
5
  .#{$prefix} {
5
6
  position: relative;
6
7
 
8
+ &--single {
9
+ min-width: spacing.semantic-variable(size, container, snug);
10
+ }
11
+
12
+ &--multiple {
13
+ min-width: spacing.semantic-variable(size, container, slim);
14
+ }
15
+
7
16
  &--full-width {
8
17
  width: 100%;
9
18
  }
@@ -8,4 +8,5 @@ export declare const autocompleteClasses: {
8
8
  readonly host: "mzn-autocomplete";
9
9
  readonly hostFullWidth: "mzn-autocomplete--full-width";
10
10
  readonly hostInsideClosed: "mzn-autocomplete--inside-closed";
11
+ readonly hostMode: (mode: AutoCompleteMode) => string;
11
12
  };
@@ -3,6 +3,7 @@ const autocompleteClasses = {
3
3
  host: autocompletePrefix,
4
4
  hostFullWidth: `${autocompletePrefix}--full-width`,
5
5
  hostInsideClosed: `${autocompletePrefix}--inside-closed`,
6
+ hostMode: (mode) => `${autocompletePrefix}--${mode}`,
6
7
  };
7
8
 
8
9
  export { autocompleteClasses, autocompletePrefix };
@@ -45,9 +45,7 @@
45
45
  width: spacing.semantic-variable(size, container, tight);
46
46
 
47
47
  &__content {
48
- margin: spacing.semantic-variable(padding, vertical, tight) 0;
49
48
  background-color: palette.semantic-variable('background', base);
50
- padding: 0 spacing.semantic-variable(padding, horizontal, tight);
51
49
  width: 100%;
52
50
  display: grid;
53
51
  }
@@ -119,6 +117,10 @@
119
117
  &:focus-visible {
120
118
  box-shadow: effect.variable(focus, primary);
121
119
  }
120
+
121
+ &:hover {
122
+ background-color: palette.semantic-variable('background', neutral-faint);
123
+ }
122
124
  }
123
125
 
124
126
  &__icon {
@@ -350,6 +350,7 @@
350
350
  }
351
351
 
352
352
  .#{$footer-actions-prefix} {
353
+ box-sizing: border-box;
353
354
  width: 100%;
354
355
  border-top: 1px solid palette.semantic-variable(separator, neutral-faint);
355
356
  padding: spacing.semantic-variable(padding, vertical, base) spacing.semantic-variable(padding, horizontal, comfort);
@@ -0,0 +1,25 @@
1
+ @use 'sass:map';
2
+ @use '~@mezzanine-ui/system/spacing';
3
+ @use '~@mezzanine-ui/system/palette';
4
+ @use './date-time-range-picker' as *;
5
+
6
+ .#{$prefix} {
7
+ display: inline-flex;
8
+ align-items: center;
9
+ gap: spacing.semantic-variable(gap, base);
10
+
11
+ &--row {
12
+ flex-direction: row;
13
+ }
14
+
15
+ &--column {
16
+ flex-direction: column;
17
+ }
18
+
19
+ &__arrow {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ color: palette.semantic-variable(icon, neutral-light);
24
+ }
25
+ }
@@ -0,0 +1 @@
1
+ $prefix: mzn-date-time-range-picker;
@@ -0,0 +1 @@
1
+ @forward './date-time-range-picker';
@@ -0,0 +1,7 @@
1
+ export declare const dateTimeRangePickerPrefix = "mzn-date-time-range-picker";
2
+ export declare const dateTimeRangePickerClasses: {
3
+ readonly host: "mzn-date-time-range-picker";
4
+ readonly row: "mzn-date-time-range-picker--row";
5
+ readonly column: "mzn-date-time-range-picker--column";
6
+ readonly arrow: "mzn-date-time-range-picker__arrow";
7
+ };
@@ -0,0 +1,9 @@
1
+ const dateTimeRangePickerPrefix = 'mzn-date-time-range-picker';
2
+ const dateTimeRangePickerClasses = {
3
+ host: dateTimeRangePickerPrefix,
4
+ row: `${dateTimeRangePickerPrefix}--row`,
5
+ column: `${dateTimeRangePickerPrefix}--column`,
6
+ arrow: `${dateTimeRangePickerPrefix}__arrow`,
7
+ };
8
+
9
+ export { dateTimeRangePickerClasses, dateTimeRangePickerPrefix };
@@ -0,0 +1 @@
1
+ export { dateTimeRangePickerPrefix, dateTimeRangePickerClasses, } from './dateTimeRangePicker';
@@ -0,0 +1 @@
1
+ export { dateTimeRangePickerClasses, dateTimeRangePickerPrefix } from './dateTimeRangePicker.js';
@@ -5,7 +5,6 @@
5
5
  @use '~@mezzanine-ui/system/spacing';
6
6
  @use '~@mezzanine-ui/system/radius';
7
7
 
8
- @use '../app-bar';
9
8
  @use './drawer' as *;
10
9
 
11
10
  $drawer-size: 256px !default;
@@ -70,11 +69,24 @@ $drawer-size-config: (
70
69
  }
71
70
  }
72
71
 
72
+ &__control-bar {
73
+ align-items: center;
74
+ border-block-end: 1px solid palette.semantic-variable(separator, neutral-faint);
75
+ display: flex;
76
+ justify-content: space-between;
77
+ padding-block: spacing.semantic-variable(padding, vertical, base) spacing.semantic-variable(padding, vertical, comfort);
78
+ padding-inline: spacing.semantic-variable(padding, horizontal, spacious);
79
+
80
+ &--button-only {
81
+ justify-content: flex-end;
82
+ }
83
+ }
84
+
73
85
  &__content {
86
+ flex-grow: 1;
87
+ overflow: auto;
74
88
  padding-block: spacing.semantic-variable(padding, vertical, comfort);
75
89
  padding-inline: spacing.semantic-variable(padding, horizontal, spacious);
76
- overflow: auto;
77
- flex-grow: 1;
78
90
  }
79
91
 
80
92
  &__bottom {
@@ -94,10 +106,6 @@ $drawer-size-config: (
94
106
  }
95
107
  }
96
108
 
97
- .#{app-bar.$prefix} {
98
- border: none;
99
- }
100
-
101
109
  &__overlay {
102
110
  z-index: z-index.get(drawer);
103
111
  }
@@ -14,4 +14,6 @@ export declare const drawerClasses: {
14
14
  readonly bottom__actions: "mzn-drawer__bottom__actions";
15
15
  readonly size: (size: DrawerSize) => string;
16
16
  readonly content: "mzn-drawer__content";
17
+ readonly controlBar: "mzn-drawer__control-bar";
18
+ readonly controlBarButtonOnly: "mzn-drawer__control-bar--button-only";
17
19
  };
package/drawer/drawer.js CHANGED
@@ -8,6 +8,8 @@ const drawerClasses = {
8
8
  bottom__actions: `${drawerPrefix}__bottom__actions`,
9
9
  size: (size) => `${drawerPrefix}--${size}`,
10
10
  content: `${drawerPrefix}__content`,
11
+ controlBar: `${drawerPrefix}__control-bar`,
12
+ controlBarButtonOnly: `${drawerPrefix}__control-bar--button-only`,
11
13
  };
12
14
 
13
15
  export { drawerClasses, drawerPrefix };
@@ -3,6 +3,7 @@
3
3
  @use '~@mezzanine-ui/system/radius' as radius;
4
4
  @use '~@mezzanine-ui/system/transition' as transition;
5
5
  @use './filter-area' as *;
6
+ @use '../form/form-field' as formField;
6
7
 
7
8
  // Actions alignment configs
8
9
  $actions-align-configs: (
@@ -135,6 +136,12 @@ $layout-configs: (
135
136
  min-width: 0;
136
137
  grid-column: span var(--#{$prefix}-filter-span);
137
138
 
139
+ .#{formField.$prefix}__data-entry {
140
+ max-width: none;
141
+ min-width: 0;
142
+ width: 100%;
143
+ }
144
+
138
145
  @include _apply-filter-align(stretch);
139
146
 
140
147
  @each $span, $value in $filter-span-configs {
@@ -64,6 +64,23 @@ $form-field-counter-colors: (
64
64
  .#{$prefix}__label-area {
65
65
  padding-top: spacing.semantic-variable(padding, vertical, calm);
66
66
  padding-bottom: spacing.semantic-variable(padding, vertical, calm);
67
+ box-sizing: border-box;
68
+ display: flex;
69
+ align-items: center;
70
+
71
+ &--horizontal-main {
72
+ padding-top: spacing.semantic-variable(padding, vertical, calm);
73
+ min-height: spacing.semantic-variable(size, container, micro);
74
+ }
75
+
76
+ &--horizontal-sub {
77
+ padding-top: spacing.semantic-variable(padding, vertical, tight);
78
+ min-height: spacing.semantic-variable(size, container, atomic);
79
+ }
80
+
81
+ &--vertical {
82
+ padding-top: spacing.semantic-variable(padding, vertical, tiny);
83
+ }
67
84
  }
68
85
 
69
86
  @each $size in $form-field-sizes {
@@ -174,6 +191,16 @@ $form-field-counter-colors: (
174
191
  gap: spacing.semantic-variable(gap, slim);
175
192
  }
176
193
 
194
+ .#{$prefix}__control-field-slot {
195
+ &--main {
196
+ min-height: spacing.semantic-variable(size, container, micro);
197
+ }
198
+
199
+ &--sub {
200
+ min-height: spacing.semantic-variable(size, container, atomic);
201
+ }
202
+ }
203
+
177
204
  .#{$prefix}__hint-text-and-counter-area {
178
205
  display: flex;
179
206
  flex-flow: row nowrap;
@@ -15,12 +15,22 @@ export declare enum FormFieldSize {
15
15
  STRETCH_WIDE = "stretch-wide",
16
16
  VERTICAL = "vertical"
17
17
  }
18
+ export declare enum LabelLayout {
19
+ HORIZONTAL_MAIN = "horizontal-main",
20
+ HORIZONTAL_SUB = "horizontal-sub",
21
+ VERTICAL = "vertical"
22
+ }
23
+ export declare enum ControlFieldSlotLayout {
24
+ MAIN = "main",
25
+ SUB = "sub"
26
+ }
18
27
  export declare const formFieldPrefix = "mzn-form-field";
19
28
  export declare const formHintIcons: Record<SeverityWithInfo, IconDefinition>;
20
29
  export declare const formFieldClasses: {
21
30
  readonly host: "mzn-form-field";
22
31
  readonly counter: "mzn-form-field__counter";
23
32
  readonly counterColor: (color: FormFieldCounterColor) => string;
33
+ readonly controlFieldSlot: "mzn-form-field__control-field-slot";
24
34
  readonly dataEntry: "mzn-form-field__data-entry";
25
35
  readonly disabled: "mzn-form-field--disabled";
26
36
  readonly fullWidth: "mzn-form-field--full-width";
package/form/formField.js CHANGED
@@ -18,6 +18,17 @@ var FormFieldSize;
18
18
  FormFieldSize["STRETCH_WIDE"] = "stretch-wide";
19
19
  FormFieldSize["VERTICAL"] = "vertical";
20
20
  })(FormFieldSize || (FormFieldSize = {}));
21
+ var LabelLayout;
22
+ (function (LabelLayout) {
23
+ LabelLayout["HORIZONTAL_MAIN"] = "horizontal-main";
24
+ LabelLayout["HORIZONTAL_SUB"] = "horizontal-sub";
25
+ LabelLayout["VERTICAL"] = "vertical";
26
+ })(LabelLayout || (LabelLayout = {}));
27
+ var ControlFieldSlotLayout;
28
+ (function (ControlFieldSlotLayout) {
29
+ ControlFieldSlotLayout["MAIN"] = "main";
30
+ ControlFieldSlotLayout["SUB"] = "sub";
31
+ })(ControlFieldSlotLayout || (ControlFieldSlotLayout = {}));
21
32
  const formFieldPrefix = `${formPrefix}-field`;
22
33
  const formHintIcons = {
23
34
  success: CheckedFilledIcon,
@@ -29,6 +40,7 @@ const formFieldClasses = {
29
40
  host: formFieldPrefix,
30
41
  counter: `${formFieldPrefix}__counter`,
31
42
  counterColor: (color) => `${formFieldPrefix}__counter--${color}`,
43
+ controlFieldSlot: `${formFieldPrefix}__control-field-slot`,
32
44
  dataEntry: `${formFieldPrefix}__data-entry`,
33
45
  disabled: `${formFieldPrefix}--disabled`,
34
46
  fullWidth: `${formFieldPrefix}--full-width`,
@@ -46,4 +58,4 @@ const formFieldClasses = {
46
58
  size: (size) => `${formFieldPrefix}--${size}`,
47
59
  };
48
60
 
49
- export { FormFieldCounterColor, FormFieldSize, formFieldClasses, formFieldPrefix, formHintIcons };
61
+ export { ControlFieldSlotLayout, FormFieldCounterColor, FormFieldSize, LabelLayout, formFieldClasses, formFieldPrefix, formHintIcons };
package/form/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export { formPrefix } from './form.js';
2
- export { FormFieldCounterColor, FormFieldSize, formFieldClasses, formFieldPrefix, formHintIcons } from './formField.js';
2
+ export { ControlFieldSlotLayout, FormFieldCounterColor, FormFieldSize, LabelLayout, formFieldClasses, formFieldPrefix, formHintIcons } from './formField.js';
@@ -37,10 +37,7 @@ $modalSizes: (
37
37
  }
38
38
 
39
39
  .#{$prefix} {
40
- position: absolute;
41
- top: 50%;
42
- left: 50%;
43
- transform: translate(-50%, -50%);
40
+ position: relative;
44
41
  display: flex;
45
42
  flex-direction: column;
46
43
  background-color: palette.semantic-variable("background", base);
@@ -81,12 +78,15 @@ $modalSizes: (
81
78
  }
82
79
 
83
80
  &__overlay {
81
+ z-index: z-index.get(modal);
82
+ }
83
+
84
+ &__content-wrapper {
84
85
  display: flex;
85
- width: 100%;
86
- height: 100%;
87
86
  justify-content: center;
88
87
  align-items: center;
89
- z-index: z-index.get(modal);
88
+ width: 100%;
89
+ height: 100%;
90
90
  }
91
91
 
92
92
  &__close-icon {
@@ -436,7 +436,7 @@ $modalSizes: (
436
436
  color: palette.semantic-variable(text, fixed-light);
437
437
  z-index: z-index.get(modal);
438
438
 
439
- @include typography.variant(body1);
439
+ @include typography.semantic-variable(body);
440
440
  }
441
441
 
442
442
  &__media-preview-close-button {
package/modal/modal.d.ts CHANGED
@@ -14,6 +14,7 @@ export declare const modalStatusTypeIcons: {
14
14
  export declare const modalClasses: {
15
15
  readonly host: "mzn-modal";
16
16
  readonly overlay: "mzn-modal__overlay";
17
+ readonly contentWrapper: "mzn-modal__content-wrapper";
17
18
  readonly closeIcon: "mzn-modal__close-icon";
18
19
  readonly modalStatusType: (severity: ModalStatusType) => string;
19
20
  readonly size: (size: ModalSize) => string;
package/modal/modal.js CHANGED
@@ -12,6 +12,7 @@ const modalStatusTypeIcons = {
12
12
  const modalClasses = {
13
13
  host: modalPrefix,
14
14
  overlay: `${modalPrefix}__overlay`,
15
+ contentWrapper: `${modalPrefix}__content-wrapper`,
15
16
  closeIcon: `${modalPrefix}__close-icon`,
16
17
  modalStatusType: (severity) => `${modalPrefix}--${severity}`,
17
18
  size: (size) => `${modalPrefix}--${size}`,
@@ -0,0 +1 @@
1
+ @forward './multiple-date-picker';
@@ -0,0 +1,77 @@
1
+ @use '~@mezzanine-ui/system/palette';
2
+ @use '~@mezzanine-ui/system/spacing';
3
+ @use '~@mezzanine-ui/system/transition';
4
+ @use '../text-field';
5
+ @use './multiple-date-picker' as *;
6
+
7
+ .#{$prefix} {
8
+ position: relative;
9
+ min-width: spacing.semantic-variable(size, container, slim);
10
+
11
+ &--full-width {
12
+ width: 100%;
13
+ }
14
+ }
15
+
16
+ .#{$prefix}-trigger {
17
+ cursor: pointer;
18
+
19
+ &--readonly {
20
+ cursor: default;
21
+ }
22
+
23
+ &--disabled {
24
+ cursor: not-allowed;
25
+ }
26
+
27
+ &--selected {
28
+ padding: spacing.semantic-variable(padding, vertical, tiny)
29
+ spacing.semantic-variable(padding, horizontal, cozy)
30
+ spacing.semantic-variable(padding, horizontal, tiny)
31
+ spacing.semantic-variable(padding, vertical, tiny);
32
+ gap: spacing.semantic-variable(gap, slim);
33
+ }
34
+
35
+ &__input {
36
+ appearance: none;
37
+ min-width: 0;
38
+ padding: 0;
39
+
40
+ &--absolute {
41
+ position: absolute;
42
+ inset: 0;
43
+ z-index: -1;
44
+ }
45
+ }
46
+
47
+ &__tags-wrapper {
48
+ width: 100%;
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: flex-start;
52
+ flex: 1;
53
+ flex-wrap: wrap;
54
+
55
+ &--ellipsis {
56
+ flex-wrap: nowrap;
57
+ }
58
+ }
59
+
60
+ &__tags {
61
+ width: auto;
62
+ max-width: calc(
63
+ 100% - var(--#{text-field.$prefix}-prefix-x-gap) - var(
64
+ --#{text-field.$prefix}-icon-size
65
+ )
66
+ );
67
+ display: flex;
68
+ flex-flow: row wrap;
69
+ align-items: center;
70
+ justify-self: flex-start;
71
+ position: relative;
72
+
73
+ &--ellipsis {
74
+ flex-wrap: unset;
75
+ }
76
+ }
77
+ }
@@ -0,0 +1 @@
1
+ $prefix: mzn-multiple-date-picker;
@@ -0,0 +1 @@
1
+ export { multipleDatePickerClasses, multipleDatePickerPrefix, type MultipleDatePickerValue, } from './multipleDatePicker';
@@ -0,0 +1 @@
1
+ export { multipleDatePickerClasses, multipleDatePickerPrefix } from './multipleDatePicker.js';
@@ -0,0 +1,20 @@
1
+ import { DateType } from '../calendar';
2
+ /** Prefix */
3
+ export declare const multipleDatePickerPrefix = "mzn-multiple-date-picker";
4
+ /** Classes */
5
+ export declare const multipleDatePickerClasses: {
6
+ readonly host: "mzn-multiple-date-picker";
7
+ readonly hostFullWidth: "mzn-multiple-date-picker--full-width";
8
+ readonly trigger: "mzn-multiple-date-picker-trigger";
9
+ readonly triggerSelected: "mzn-multiple-date-picker-trigger--selected";
10
+ readonly triggerDisabled: "mzn-multiple-date-picker-trigger--disabled";
11
+ readonly triggerReadOnly: "mzn-multiple-date-picker-trigger--readonly";
12
+ readonly triggerTagsWrapper: "mzn-multiple-date-picker-trigger__tags-wrapper";
13
+ readonly triggerTagsWrapperEllipsis: "mzn-multiple-date-picker-trigger__tags-wrapper--ellipsis";
14
+ readonly triggerTags: "mzn-multiple-date-picker-trigger__tags";
15
+ readonly triggerTagsEllipsis: "mzn-multiple-date-picker-trigger__tags--ellipsis";
16
+ readonly triggerInput: "mzn-multiple-date-picker-trigger__input";
17
+ readonly triggerInputAbsolute: "mzn-multiple-date-picker-trigger__input--absolute";
18
+ };
19
+ /** Types */
20
+ export type MultipleDatePickerValue = DateType[];
@@ -0,0 +1,19 @@
1
+ /** Prefix */
2
+ const multipleDatePickerPrefix = 'mzn-multiple-date-picker';
3
+ /** Classes */
4
+ const multipleDatePickerClasses = {
5
+ host: multipleDatePickerPrefix,
6
+ hostFullWidth: `${multipleDatePickerPrefix}--full-width`,
7
+ trigger: `${multipleDatePickerPrefix}-trigger`,
8
+ triggerSelected: `${multipleDatePickerPrefix}-trigger--selected`,
9
+ triggerDisabled: `${multipleDatePickerPrefix}-trigger--disabled`,
10
+ triggerReadOnly: `${multipleDatePickerPrefix}-trigger--readonly`,
11
+ triggerTagsWrapper: `${multipleDatePickerPrefix}-trigger__tags-wrapper`,
12
+ triggerTagsWrapperEllipsis: `${multipleDatePickerPrefix}-trigger__tags-wrapper--ellipsis`,
13
+ triggerTags: `${multipleDatePickerPrefix}-trigger__tags`,
14
+ triggerTagsEllipsis: `${multipleDatePickerPrefix}-trigger__tags--ellipsis`,
15
+ triggerInput: `${multipleDatePickerPrefix}-trigger__input`,
16
+ triggerInputAbsolute: `${multipleDatePickerPrefix}-trigger__input--absolute`,
17
+ };
18
+
19
+ export { multipleDatePickerClasses, multipleDatePickerPrefix };
@@ -51,6 +51,7 @@ $drawer-container-config: (
51
51
 
52
52
  @if $severity-map {
53
53
  $value: map.get($severity-map, $property);
54
+
54
55
  @return $value;
55
56
  }
56
57
 
@@ -60,12 +61,14 @@ $drawer-container-config: (
60
61
  // Get drawer type configuration value
61
62
  @function _get-drawer-type-value($property) {
62
63
  $value: map.get($drawer-type-config, $property);
64
+
63
65
  @return $value;
64
66
  }
65
67
 
66
68
  // Get drawer container configuration value
67
69
  @function _get-drawer-container-value($property) {
68
70
  $value: map.get($drawer-container-config, $property);
71
+
69
72
  @return $value;
70
73
  }
71
74
 
@@ -160,7 +163,7 @@ $drawer-container-config: (
160
163
  height: fit-content;
161
164
  padding: spacing.semantic-variable(padding, vertical, comfort) spacing.semantic-variable(padding, vertical, comfort) spacing.semantic-variable(padding, vertical, spacious);
162
165
  border-radius: radius.variable(roomy);
163
- background-color: palette.semantic-variable(background, base);
166
+ background-color: palette.semantic-variable("background", base);
164
167
  box-shadow: effect.variable(shadow, floating);
165
168
  box-sizing: border-box;
166
169
  pointer-events: auto;
@@ -184,6 +187,7 @@ $drawer-container-config: (
184
187
  &__prepend-tips {
185
188
  color: palette.semantic-variable(text, neutral);
186
189
  @include typography.semantic-variable(body);
190
+
187
191
  padding-top: spacing.semantic-variable(padding, vertical, comfort);
188
192
  padding-bottom: spacing.semantic-variable(padding, vertical, micro);
189
193
  padding-inline: spacing.semantic-variable(padding, horizontal, comfort);
@@ -254,7 +258,7 @@ $drawer-container-config: (
254
258
  &__severity-icon {
255
259
  padding: spacing.semantic-variable(padding, vertical, micro) 0;
256
260
  color: var(--#{$prefix}-color);
257
- font-size: typography.prop(h1, font-size);
261
+ font-size: typography.semantic-prop(h1, font-size);
258
262
  }
259
263
 
260
264
  &__close-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezzanine-ui/core",
3
- "version": "1.0.0-beta.5",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "Core for mezzanine-ui",
5
5
  "author": "Mezzanine",
6
6
  "repository": {
@@ -40,8 +40,8 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@mezzanine-ui/icons": "1.0.0-beta.5",
44
- "@mezzanine-ui/system": "1.0.0-beta.5",
43
+ "@mezzanine-ui/icons": "1.0.0-beta.6",
44
+ "@mezzanine-ui/system": "1.0.0-beta.6",
45
45
  "lodash": "^4.17.21",
46
46
  "tslib": "^2.8.1"
47
47
  },
@@ -11,8 +11,7 @@
11
11
  &__arrow-icon {
12
12
  display: flex;
13
13
  align-items: center;
14
- margin: 0 4px;
15
- color: palette.color(action-inactive);
14
+ color: palette.semantic-variable(icon, neutral-light);
16
15
  }
17
16
 
18
17
  &__input-mono {
@@ -0,0 +1 @@
1
+ @forward './section';
@@ -0,0 +1,18 @@
1
+ @use '~@mezzanine-ui/system/palette' as palette;
2
+ @use '~@mezzanine-ui/system/radius' as radius;
3
+ @use '~@mezzanine-ui/system/spacing' as spacing;
4
+ @use './section' as *;
5
+
6
+ .#{$prefix} {
7
+ width: 100%;
8
+ box-sizing: border-box;
9
+ padding: spacing.semantic-variable(padding, vertical, spacious) spacing.semantic-variable(padding, horizontal, spacious);
10
+ border-radius: radius.variable(base);
11
+ background-color: palette.semantic-variable('background', base);
12
+
13
+ display: flex;
14
+ flex-flow: column;
15
+ justify-content: flex-start;
16
+ align-items: stretch;
17
+ gap: spacing.semantic-variable(gap, calm);
18
+ }
@@ -0,0 +1 @@
1
+ $prefix: mzn-section;
@@ -0,0 +1 @@
1
+ export * from './section';
@@ -0,0 +1 @@
1
+ export { sectionClasses, sectionPrefix } from './section.js';
@@ -0,0 +1,4 @@
1
+ export declare const sectionPrefix = "mzn-section";
2
+ export declare const sectionClasses: {
3
+ readonly host: "mzn-section";
4
+ };